A native port of the PC version of OutRun 2006: Coast 2 Coast (Sumo Digital /
Sega, 2006) to Windows, Linux, Nintendo Switch, macOS (Apple silicon), PS5
and PS4 (homebrew), PS Vita (homebrew) and Xbox One / Series (Developer
Mode). The game code is a reconstruction of the
PC executable in C++ (part of it still translated from x86 by tools/x86tr,
the rest written by hand); the platform layer (graphics, audio, input,
files, network) is native to each system.
This repository holds code only. It contains no game data and no part of the original executable. To play, you need your own copy of the game (Steam version).
- The folder of your OutRun 2006: Coast 2 Coast installation (Steam).
- Its
OR2006C2C.EXE. The port reads code tables and constants from it at the first launch, checks every range it uses against SHA-256 hashes (src/system/exe_image_ranges.inc), then keeps a prepared image,OR2006C2C.cache, in the game folder. Later launches only read that file.
The game files are read in place and never modified; OR2006C2C.cache can be
deleted at any time and is rebuilt at the next launch.
Every port uses one game folder: the port's program at its root, the Steam game
unchanged in pc/, the arcade files in arcade/ (optional), and what the game
writes at the root or in cache/ (options.ini, savegame/, cache/, the log
when Options > Settings > LOG FILE is on, crash.txt after a crash). Older
installs (the Steam game at the root) keep working.
| Platform | Where the game folder goes | Also needed |
|---|---|---|
| Windows 10/11 (x64) | the program in its folder, the Steam game in pc/ |
nothing (Vulkan, Direct3D 12 or 11) |
| Linux | the program in its folder, the Steam game in pc/ |
a Vulkan 1.1 driver, SDL2, FFmpeg, libvorbis |
| macOS (Apple silicon) | the application in the game folder (or chosen at launch) | nothing |
| Nintendo Switch | the NRO in its folder on the SD card, the Steam game in pc/ |
Homebrew Menu in full-memory mode |
| PS5 / PS4 (homebrew) | see ps5/README.md; PS4: /data/OutRun2006 |
a jailbroken console |
| PS Vita / PS TV | ux0:data/outrun2/ |
the system's shader compiler (below) |
| Xbox One / Series | LocalState\OutRun2006, the Steam game in its pc |
Developer Mode |
The Vita runs the same game code, with the costlier enhancements off by
default; it is still in development and slow in races. Besides the Steam game
folder in ux0:data/outrun2/ (or the path written in ux0:data/outrun2.txt),
it needs the system's shader compiler: extract ur0:data/libshacccg.suprx once
with the ShaRKBR33D homebrew, as for most vitaGL ports. Without it the game
cannot build its shaders.
Optional: ALL.PSP from your own US PSP edition (v1.03,
PSP_GAME/USRDIR/ALL.PSP), copied to the same folder, feeds the experimental
native PSP stage renderer (Palm Beach only, off by default; settings and
limits in vita/NATIVE_PSP.md). The
arcade textures and models below are off by default on the Vita (not tested
there). Status and controls: vita/README.md.
All of these go in the game folder, the folder holding options.ini. None is
needed: without them the PC's textures and models stay. The game only reads
them; nothing is written there.
| Platform | Game folder |
|---|---|
| Windows, Linux, macOS | the program's folder |
| Nintendo Switch | sdmc:/switch/outrun2 (the NRO's folder) |
| PS5 | /data/homebrew/PPSA99106 |
| PS4 | /data/OutRun2006 |
| Xbox | LocalState\OutRun2006 |
| PS Vita | ux0:data/outrun2 |
Arcade textures and models. If you own the arcade version, OutRun 2 SP
SDX (Sega Lindbergh), copy its whole data folder
(or2g/disk0/Jennifer/data) into arcade/. Keep the original filenames and
compressed files; the port handles conversion itself:
<game folder>/pc/ # Your Steam installation
<game folder>/arcade/data/ # Your arcade data folder
Older installations still work: the Steam files can remain at the game-folder
root, and the arcade files directly in arcade/ or in their original tree
(arcade/or2g/disk0/Jennifer/data). Three rows of ENHANCEMENTS > GRAPHICS
choose each feature independently, including during a race:
| Row | Arcade (default) | PC |
|---|---|---|
| TEXTURES | the arcade's sharper stage, car and character textures (up to 4 times the PC's size) | the PC's textures |
| MODELS | the arcade's car and stage models (stages with up to 85% more geometry) | the PC's models |
| CAR LIGHTING | the arcade's car lighting (colours, shine), on either models | the PC's car lighting |
You can mix PC models with arcade textures, or the reverse. TEXTURES and MODELS
are the current names of the older ARCADE TEXTURES / ARCADE MODELS controls;
existing options.ini settings remain compatible.
An existing converted DDS pack in textures/arcade/ also works for textures;
models need the original arcade files. The arcade files are converted in memory
as the game reads ahead, on a spare core. Without arcade assets the PC textures
and models stay; CAR LIGHTING still gives the arcade's lighting to the PC cars,
from a table built into the game (src/enhancements/car_lighting_table.inc). Checked on
Windows and Linux; the same code runs on the other platforms. Off by default
on the Vita. This repository holds only the port's tables (which arcade picture
or object goes where, src/enhancements/arcade_*_table.inc) and the arcade's
car material values (car_lighting_table.inc), no arcade textures or models;
making them: tools/arcade/README.md.
Course repairs. Under ENHANCEMENTS > FIXES, COURSE GEOMETRY FIXES (default: On) repairs small defects in the authored course meshes. It covers the verges at the first Coast 2 Coast checkpoint, the Bay Area hillside seam, and the arcade Palm Beach wall corner.
HD texture packs. Packs made for OutRun2006Tweaks (for example the HD GUI
Pack) work as they are. Put each pack in packs/<name>/textures/load/, or keep
it as packs/<name>.zip, then choose it in ENHANCEMENTS > GRAPHICS > HD PACK.
The older layout below still works: copy the pack's textures folder into the
game folder and select GAME FOLDER in HD PACK:
<game folder>/textures/load/...
The game looks in two places, the first one found wins:
<game folder>/textures/load/<game folder>/pc/textures/load/(an OutRun2006Tweaks install copied whole intopc/, its packs included)
Keep the pack's subfolders as they are. Each file replaces the texture its
name points to (<HASH>_<W>x<H>.dds, any size); names with an <INDEX>_ prefix
also work without renaming. Packs can replace menus, HUD, fonts, stages and
cars. Every DDS format the packs use is read (DXT1/3/5 and the uncompressed
ones). A file in a format the game cannot read (BC7) is skipped: the original
texture stays and the log says so. A pack comes before the arcade textures.
The folder is read at launch: restart the game after adding a pack.
Music. Sound/<track>.flac or Sound/<track>.wav plays instead of the
matching track (for example a full-length version), with CUSTOM MUSIC on. The
name is the track's .ogg name; FLAC is tried first.
The Scud Race and Daytona USA 2 bonus courses from OutRun 2 on Xbox are an
unfinished preview. Place your own Xbox game's data2.cvm in
<game folder>/xbox/. The game reads and converts it in memory; no Xbox game
data is distributed.
OutRun adds Bonus Stage 1 (Scud Race) and Bonus Stage 2 (Daytona USA 2) after the four existing course cards. Time Attack > Course adds them as entries 7 and 8. They remain unavailable without the disc file. Vehicle placement, traffic, section transitions and finishes still need work; these courses do not load or write records or ghosts.
For development, debug_course=scud / dayt select a whole bonus course in
OutRun; 6a..6d and 7a..7c select individual sections in Time Attack.
With owned data, configure OR2_XBOX_ASSET_ROOT to the game folder and run
test_xbox_stages <game folder> (OR2_EXE names the owned PC executable/cache).
Compared with the original, unmodified PC release, the port offers the following optional additions and improvements:
- Arcade course / car models and textures from your own Lindbergh files, with independent PC/Arcade selectors.
- Arcade HUD artwork, fonts and meters; arcade car lighting, sky glow and sun style, plus PC/Xbox lighting for PC models.
- Directional shadows for rivals, traffic and trailers, with adjustable draw distance, plus the restored base shadow under the player's car.
- Fixes for PC effects: missing lens flares, double-sided material shading, grass/gravel particle size and placement, and Metropolis fireworks; reduced shimmering on distant water and improved sorting of transparent surfaces.
- Course geometry repairs and a restored water backdrop in Deep Lake, plus geometry and texture-mapping repairs for the optional arcade courses.
- Corrected widescreen HUD and edge culling, extended scenery draw distance and scenery retained beside and behind the car. Higher-resolution reflections and an adjustable reflection update rate.
- Rendering above 60 FPS with interpolated cars and camera, while game logic stays at 60 Hz. Available frame rates depend on the platform.
- Modern graphics backends and additional antialiasing and upscaling options: Direct3D 11, Direct3D 12 and Vulkan on Windows. Supported platforms also offer FSR upscaling, DLSS on Windows and frame generation where available.
- Adjustable steering dead zone, direct steering and PlayStation, Xbox and Switch button icons. Added controller vibration, including Switch HD rumble and DualSense support.
- Custom camera editing, smooth view changes and right-stick look-around.
- Custom FLAC/WAV music and track switching during a race.
- HD texture pack selection.
- Community replacement-server support for the online modes, UPnP port mapping, lobby notices and community chat.
Most enhancements can be changed in Settings or the pause menu; RESET restores
their defaults. Available settings depend on the platform and installed files.
The option keys are listed in src/enhancements/tweaks.cpp.
- Better menus and fonts.
- Steering wheel support.
- Fix the Scud Race / Daytona USA 2 bonus courses.
- Continue PS Vita and Xbox development.
- Platform presets.
| Folder | Content |
|---|---|
src/driving, src/platform |
the game code, ported function by function (*_tr.cpp: code still translated from x86) |
src/*.cpp (control, asset_views, pc_pmt) |
input control, asset views and the PC model (PMT) loader shared by the game code |
src/recomp |
runtime of the translated code (x86rt.hpp: guest registers, memory, flags) |
src/system |
files, clocks, EXE image loading and checking, first-launch setup screen |
src/ports |
in-memory extraction of the Steam OR2006C2C.EXE (see its README.md) |
src/runtime |
the shared game runner (game_host) used by every platform |
src/input |
pad and lifecycle adapter shared by the Mac and PS5 builds |
src/render |
Direct3D 9 relay and the shared Vulkan, Direct3D 12 and Direct3D 11 renderers (Windows, Linux, PS5, Xbox) |
src/enhancements |
port additions kept apart from the reconstructed game: extra Options > Settings rows (aspect ratio, resolution, anti-aliasing, frame rate), vibration, arcade textures; each platform lists what it supports (enhancements_*.cpp in its source/) |
assets/enhancements/buttons/custom |
project-made controller button artwork; the only bundled enhancement images |
matching/ |
matching decompilation: sources the original compiler turns back into the game's exact bytes (see its README.md) |
windows/, linux/, switch/, mac/, ps5/, ps4/, vita/, xbox/ |
one folder per platform, same layout in each |
tests/ |
unit and regression tests (CTest) |
tools/ |
EXE image tools, leak check, x86 translator, decompilation tracking, generators, build and package scripts |
images/ |
screenshots |
Each platform folder has source/ (platform code), tests/, tools/,
third_party/ where needed, its build file and a README.md on how to
build and install it. Shader sources are in switch/shaders; the
Mac, PS5, Linux, Windows and Xbox builds generate their shaders from them
(Metal, SPIR-V, HLSL). ps5/title builds the PS5 native title,
ps5/sce_sys holds its tile and backgrounds, xbox/package the UWP
manifest and logos.
icon.png and bg.png are the project's icon and background.
tools/make_icons.ps1 derives each platform's images from them, at the
size and format each one expects: the Switch NRO icon, the PS5 tile and
backgrounds, the Xbox package logos and the Mac application icon.
| Platform | Command | Details |
|---|---|---|
| Windows | cmake with -DOR2_WINDOWS=ON (Visual Studio 2026, ClangCL) |
windows/README.md |
| Linux | cmake with -DOR2_LINUX=ON (SDL2, Vulkan) |
linux/README.md |
| Nintendo Switch | make -C switch |
switch/README.md |
| macOS | cmake --preset mac-full |
mac/README.md |
| PS5 | Build-PS5.ps1 (Windows + WSL; makes the .pkg) |
ps5/README.md |
| PS4 | tools/build_ps4.sh (WSL, OpenOrbis; Build-PS4.ps1 from Windows) |
ps4/README.md |
| PS Vita | cmake with the VitaSDK toolchain |
vita/README.md |
| Xbox | cmake with -DOR2_XBOX=ON (Visual Studio 2026, UWP) |
xbox/README.md |
Linux host (runner and tests):
cmake -S . -B build -G Ninja -DOR2_EXE=<your OR2006C2C.EXE> \
-DOR2_PC_ASSET_ROOT=<your game folder>
cmake --build build
ctest --test-dir build
Tests that need the game files take them from these two settings.
tools/leak_check.py <your OR2006C2C.EXE> <built binary> --allow tools/leak_check_allow.txt
verifies that no byte run of the original executable is compiled into a binary.
Inspired and using tweaks by OutRun2006Tweaks
by emoose. See THIRD_PARTY_NOTICES.md.
OutRun is a trademark of Sega. This project is not affiliated with or endorsed by Sega or Sumo Digital.
This source code is be freely available for use, modification, and redistribution, subject to the licenses of the original projects it is based on.
This project is released under the MIT License (see LICENSE).
Feel free to reuse any part of this project in your own work. Please give proper credit where due.
If you reuse our modifications, please keep an appropriate reference to this project and its contributors.
This project is developed and maintained in my free time.
If you enjoy the project and would like to support its development, donations are appreciated but entirely optional:

