Features
Shift Engine reimplements the core gameplay, rendering, audio and progression systems in native C++20 while reading assets and tuning tables directly from your disc.
Driving physics and assists#
Car physics run at a fixed 120 Hz outer rate (3 x 360 Hz internal substeps) decoupled from the display refresh rate (libs/drive — see the full Vehicle physics deep dive for equations, solvers, BVH8 collision, and voxel damage):
- Per-car database parameters: Mass, inertia, drivetrain, torque curves, gear ratios, forced-induction boost lag, brake torque and bias, aerodynamic drag and downforce, axle differentials, suspension geometry and upgrade parts are read directly from your disc's
gamedb.slt(streaming cars on the fly without a multi-gigabyte car bake, or optionally from.shiftbakefiles). - Surface physics: Asphalt, dirt, gravel, grass and water respond with surface friction, bumpiness and damping rules derived from Colorado's collision geometry.
- Vehicle damage & deformation: Supports cosmetic and simulation damage using each car's
.carbindeformation tail, a soft-body voxel deformation grid, panel denting, scratch overlays, and cracked windshields/glass. - Transmission and assists: Automatic, Manual and Manual+Clutch shifting; toggleable ABS, traction control (TCS), stability management (STM), steering assist and auto-brake, with difficulty reward bonuses.
- 3D driving line and rewind: Full or braking-only 3D racing line projected onto the road surface, and a rolling rewind ring buffer with rewind camera playback.
- AI drivers and rubberbanding controls: Multi-car race AI and free-roam road traffic running on a persistent worker pool (with traffic automatically cleared during closed-course races). Live Difficulty settings let you adjust opponent skill and tune AI Rubberbanding directly — toggle it completely off (
Fairmode) or customize overall Strength, Catchup, and Slowdown scales (0%–150%, or via--no-rubberband,--rubberband-strength,--rubberband-catchup,--rubberband-slowdown).
Audio and radio#
Audio runs on a dedicated allocation-free real-time thread (libs/audio, apps/carview/audio_host.cpp):
- Engine synthesis & DSP: Decodes your disc's FSB4/XMA2 engine loops in-process (or reads optional offline
soundbakePCM banks). At runtime the engine reads each car's engine, harmonic and listener XML curves to crossfade loops by RPM, load and throttle, applies retail-matched low-mid punch DSP (100–250 Hzpresence) and FEV1 DSP envelopes (Lowpass, Tremolo, Flange, SpeakerLevel and Compressor), plays 12-slot exhaust burble/backfire pools, and drives 615-pair surface collisions, tyre slip, wind, fireworks and stereo UI fanfares. - 3D spatial acoustics: True-stereo
AMB_Quads, a 64 m emitter spatial hash, camera-swing Doppler, tunnel/wall proximity cues, SatNav breath pauses and CoDriver panning. - Radio stations: Reads
RadioSystem.xmlandRadioSoundbankInfoto schedule Bass Arena, Horizon Pulse and Horizon Rocks on a shared clock, streaming MPEG tracks viadr_mp3with ident/vocal-aware DJ scheduling and station popups. - Custom radio and mix controls: Separate volume levels for engine, other cars, tyres, wind, ambience, voiceover and music, plus your own music tracks packed asynchronously through the launcher's Custom Radio Station Builder.
Colorado world, career and DLC#
- Open world streaming & 4-tier PVS/LOD: Background workers stream Colorado's terrain tiles, props, road network, kind-7 billboard trees, collision meshes, smashable objects and far-ring UberLOD geometry using the disc's visibility tables (
PVSZLookup) and 4-tier LOD selection without stalling the render thread. - Time of day, terrain, water & lighting: Calibrated 24-hour sky and time-of-day curves, sun/moon position, stars, terrain/road blending, reflective lake/reservoir water shaders, grass shells, cascaded sun shadows with configurable Shadow Draw Distance (
LowthroughUltra/Extended, extending Mid/Far cascade & tree shadow range), dynamic environment cubemaps, car headlights and backlit interior instrument gauges. - Free roam and progression: Road discovery, discount signs, barn finds, speed traps and speed zones, skill chains, sponsor challenges, popularity levels, manufacturer affinity, outposts, street races, PR stunts and showcases.
- Garage, Autoshow and tuning: 240+ disc cars (plus imported DLC cars), Autoshow manufacturer and color selection, My Garage with instant hot car swaps (~0.21 s), performance upgrades, PI recalculation, tuning, visual parts, rims and the livery/paint editor.
- DLC, Title Update v4, Rally and 1000 Club: Verify and import your own Xbox 360 STFS packages (
CON/LIVE/PIRS) or extracted offer folders inshift-launcher, Android setup, or/play/. With your Title Update v4 and expansion files mounted, Horizon Rally (rally stages and co-driver pace notes) and offline 1000 Club medal challenges are supported.
UI4 interface and overlays#
Shift Engine parses the disc's Anark UI4 scene graphs (.bgf, .bsg, .fbf, including SUPER_STACKER and 9-slice pane layouts), .xds masks and artwork, and all 11 vector fonts (fontmap.xml) directly:
- Authentic tilted chrome and 4K typography: Menus, HUD, pause menu, Autoshow, garage, event hubs, map and Shift Engine's own utility screens share the game's tilted blade layout and vector typography with 4K VFont rasterization buckets (up to 192 px), atlas eviction protection, small-text pixel snapping, uniform scaling across 4:3, 16:10, 16:9, ultrawide and portrait displays, inverse hit-testing, and Metric/Imperial unit parity across HUD, PR Stunts, 1000 Club and tuning sliders.
- Live settings (F6): Change graphics presets (default
retail1:1 Xbox 360 parity with automaticcustomswitching), shadows and Shadow Draw Distance, MSAA (Off/2x/4x), LOD/anisotropy, XeGTAO, Hi-Z SSR, FXAA, bloom, upscaling (CAS, FSR1, TAAU, Apple MetalFX), per-monitor HDR10 calibration, audio mix, assists, difficulty & AI Rubberbanding, touch options and camera settings without restarting (kept bidirectionally in sync withshift-launcher). - Trainer (F10): Separate cheat profile for credits, wristbands, time of day, game speed, free camera and testing tools so career saves stay untouched.
- Frame inspector and telemetry overlay (F3): Live frame-time, 12-phase hitch profiler, CPU/GPU/RAM/swap/thermal hardware metrics, VRAM/RSS and draw-count telemetry.
Controllers, wheels, DualSense and head tracking#
- Gamepads and keyboard: Native SDL3 controller support (Xbox, PlayStation, Nintendo Switch, Steam Input, generic USB/BT gamepads) with platform-matched button glyphs (including Nintendo Switch), controller disconnect pause/notice, rumble (including WebGPU browser rumble relay), full keyboard driving with live-resolved glyph prompts and colliding-rebind swap, plus an Android multi-touch HUD.
- Racing wheels and Separate USB devices: Combined or multi-USB Separate Devices evaluation (wheel base + separate pedals + H-shifter / handbrake), steering/throttle/brake/clutch axis mapping with deadzones, saturation, linearity curves, and force-feedback tuning (including Xbox-licensed wheel FFB recognition).
- DualSense: Adaptive trigger resistance (throttle/brake feedback with pedal-swap gating) and lightbar integration over USB.
- Head tracking and UDP telemetry: OpenTrack UDP head-tracking input for cockpit and hood cameras, plus outbound Forza-style UDP physics telemetry for external dashboards and motion rigs.
Photo Mode, replays and achievements#
- Photo Mode (P) and Horizon Promo: Free orbit camera with
516_I_EFFECTSMODEeffects, aperture/shutter/exposure/filter controls, projected blur, PNG export (stb_image_write), 2-step gallery deletion and Horizon Promo occlusion-checked car capture. - Replays: Rolling race and free-roam replay capture with seek/scrub, vehicle grounding, camera switching and focused-car / reverse audio.
- Achievements (F7): Reads your disc's SPA achievement definitions and 64×64 icons, tracks progress bars and live unlock toasts offline, and groups achievements by wristband tier and category.