DRIG: an open-source engine for Race Driver: GRID (2008)
An open-source reimplementation of Race Driver: GRID (2008) for modern systems, written in Rust with the Bevy engine. It plays with the game data from your own copy.
Download the latest release All releases and changelog Source on GitHub
DRIG is a reimplementation of Codemasters’ Race Driver: GRID (2008) in Rust with the Bevy engine. The goal is a 1:1 recreation: the same handling, AI, damage, events and menus as the original game, running on a modern, open codebase.
The repository contains no game assets. The engine reads tracks, cars, textures, sounds and game data from your own installed copy of GRID, the same way OpenMW uses Morrowind’s data files or OpenRCT2 uses RollerCoaster Tycoon 2’s.
Screenshots
All shots are DRIG’s own renderer at 1600x900 (scaled to 1280x720), HUD included, with game data read from a purchased copy.
Shibuya, Tokyo
Chevrolet Lacetti, chase camera
Yokohama Docks
Nissan Silvia, cockpit camera
Long Beach
Toyota Supra, chase camera
San Francisco
BMW 320si, far chase camera
Spa-Francorchamps
Aston Martin DBR9, chase camera
Milan
Koenigsegg CCX, cockpit camera
Istanbul Park
Mazda 787B, chase camera
Haruna, Midnight Touge (night)
Chevrolet Lacetti, chase camera
Donington Park, Open Wheel
Dallara F3, chase camera
Detroit Demolition Derby
stock car, far chase camera
Le Mans 24 Hours
Aston Martin DBR9, cockpit camera
Race Day event menu
text layout for now; the original menu art is next on the roadmap
Progress
docs/PROGRESS.md
measures how far DRIG is from the original game, in the style of other decompilation projects, and keeps a dated history. Game code is counted by the share of the original executable’s game code that is documented, ported to Rust and verified against the original; code that Bevy and the Rust readers replace (renderer, platform layer, file I/O) and third-party libraries are left out of the denominator.
- 19.0%of the original game code ported to Rust (by bytes)
- 5.7%of the game code verified against the original
- 32.6%of the game code documented
- 78.9%of the original content working: routes, cars, formats, disciplines, modes
- 10/12fixed gameplay scenarios passed in the last local run with game data; CI can pass at most 6 of 12
Status
Early and experimental, but you can already race. What works today:
- Driving. The vehicle physics, tyres, suspension, gearbox and driver aids (traction control, stability control, braking assist, automatic or manual gearbox) are ported from the original code.
- Events. Circuit races, Time Trial, Drift (Battle, GP, Freestyle), Touge, Demolition Derby, the Le Mans 24 Hours and the championship series (Touring, GT1, GT2, Pro Tuned, Open Wheel, Prestige, Le Mans Series and others). You choose them from the original Race Day menu.
- AI opponents that follow the original racing lines, overtaking and drift logic.
- Damage. Body contacts, collision damage, wheel detachment, mechanical and handling damage.
- Audio. Engine, gear changes, tyres and collisions.
- Career. GRID World with its events, fields, payouts, head-to-heads, driver offers, eBay Motors and the Le Mans selection events. Start it with
--career; it is not in the main menu yet, and its window is fixed at 1280x800 for now. - Front end. The Race Day menu, pause menu, HUD, results screens and the options for sound, screen and wheel controls.
- Replays and Flashback. Instant Replay with the race cameras and slow motion, and Flashback to rewind and jump back in. Some replay sounds are still missing.
- Graphics. The original’s lighting, shadows, post-processing, tyre marks, smoke and crowds are rebuilt, with differences that remain.
- Input. Keyboard, gamepad and steering wheel.
- Android. An experimental build with tilt and touch steering and gamepad support.
Expect crashes, physics blow-ups, missing features and visual differences from the original. Fidelity work is tracked in docs/FIDELITY_BACKLOG.md
; what comes next, in order, is in docs/ROADMAP.md
.
Try it
Get the latest release and download the file for your system:
| System | File |
|---|---|
| Windows | DRIG-vX-windows-x86_64.exe: one program file, nothing to unpack |
| Linux | DRIG-vX-linux-x86_64.AppImage (chmod +x it and run it; needs FUSE 2, or start it with --appimage-extract-and-run) or DRIG-vX-linux-x86_64.tar.gz (unpack it and run drig) |
| macOS | the DMG, added to the release by the Mac build |
| Android | experimental arm64 build; see docs/ANDROID.md |
What you need: a legally purchased copy of Race Driver: GRID (2008) for PC, for example from Steam, and one of:
- Windows 10 or 11 with a reasonably modern GPU;
- Linux on x86_64 with glibc 2.35 or newer (Ubuntu 22.04, Debian 12, SteamOS 3 or newer) and a working Vulkan driver. So far it was tested only in WSLg on Windows 11, not on native Linux hardware;
- macOS on Apple Silicon;
- an arm64 phone with Android 12 or newer (experimental).
No game data is included. DRIG looks for your copy in your Steam libraries. If it is somewhere else, start DRIG with --game-root "D:\Games\GRID" (any path), or set root under [game] in DRIG-data/settings.ini. --help lists every player option, and --career starts the career.
Put the program in a folder you can write to. DRIG keeps your settings, records, replays and the log in a DRIG-data folder next to it. To update, replace the program file; DRIG-data stays.
The builds are not signed by Microsoft or notarized by Apple, so the system may warn you the first time:
- Windows SmartScreen: click “More info”, then “Run anyway”.
- macOS Gatekeeper: if it refuses to open the app, open System Settings, Privacy & Security, and click “Open Anyway”.
Each release’s notes list what was tested on each system. SHA256SUMS.txt in the release lets you check your download. Found a problem? Open an issue and attach the run log from DRIG-data/playtest/, your GPU, CPU, driver version and resolution, and the event, track and car.
Support DRIG
DRIG is free and open source. If you would like to help it along, you can sponsor its development on GitHub Sponsors, monthly or once. Sponsorship helps cover development tools and leaves more time for testing builds, tracking down bugs and improving race performance. It comes with no rewards, early access or release dates; every build stays free for everyone.
Trying a build and reporting what happened (Try it) helps just as much. Thank you.
Documentation
| Topic | Where |
|---|---|
| Settings, data folder and command-line options | docs/SETTINGS.md |
| Event menu (Race Day) and career screen | docs/EVENT_MENU.md
, docs/CAREER_SCREEN.md |
| Trying the prototype: controls, wheels, pads, driver aids | docs/TRY_THE_PROTOTYPE.md
, docs/DRIVER_AIDS.md |
| Android, macOS, Linux | docs/ANDROID.md
, docs/MACOS.md
, docs/LINUX.md |
| Rendering and performance | docs/PERFORMANCE.md |
| Roadmap and fidelity backlog | docs/ROADMAP.md
, docs/FIDELITY_BACKLOG.md |
| Progress measurement | docs/PROGRESS.md |
| Toolchain, builds and git hooks | docs/TOOLCHAIN.md |
| Reverse-engineering notes | docs/re/README.md |
| Index of every research note | docs/INDEX.md |
| Project state and log | PROJECT_LOG.md
, log/INDEX.md |
The original grid.exe is studied with Ghidra and other reverse-engineering tools. Its behaviour is then written again in Rust and checked against the original: recorded driving, AI and audio traces, plus bit-exact comparisons of individual routines. The port does not reuse original code or bundle original data.
Legal
DRIG is an independent project. It is not affiliated with, endorsed by or connected to Codemasters or Electronic Arts. “Race Driver: GRID” and related names are trademarks of their respective owners. You need your own copy of the original game to play.
New versions of DRIG are distributed under the GNU General Public License, version 3 or any later version (GPL-3.0-or-later). The banner and the screenshots belong to the project: the banner is original artwork, and the screenshots show DRIG’s own renderer drawing game data from a purchased copy. They contain no extracted game files.