Skip to content
Case studies
Own projectFive calendar weeks, no source code

How we brought back a 25-year-old game without its source code, using AI agents

Updated:

Portrait of Levente IllésLevente IllésFounder & Lead AI Consultant
The remastered stateThe original state
Sky Town, the tower: the lamps light the walls around them, the COCKTAIL BAR signs glow as neon, and the tower now carries neon signs such as RADIO DIESEL FM 106.7, made from sign art the original shipped but never drew.

Ballistics came out in 2001: a racing game by the Swedish studio GRIN in which hover craft race through transparent tubes winding past cities, canyons, sewers and the sea floor, faster than sound. It never got a remaster, and its source code did not survive; what remains is the program itself. That is where we started on 20 October 2026: with AI agents we reverse-engineered the 25-year-old program, fixed it, widened it to today's screens and re-lit every track with path tracing, light computed by following its rays in real time. This is our own project, not client work. We show it because it is how we work on a company's old system too.

Why this is hard

A remaster usually starts from the source code: the developers change their own program and build it again. That road was closed here. Every fix goes into 25-year-old compiled machine code, in memory, while the game runs, and one wrong address is enough to crash it. Path tracing adds more: the game's drawing has to be intercepted from outside, and every surface, light and patch of fog needs a new, physically plausible description, track by track.

The project reached this point in five calendar weeks, and test runs measured the result on the real game.

A program without its source code

A game from 2001 survives as a compiled program in machine code. Before it can be fixed, it has to be understood: where it loads the tracks, how it draws, how it steers the computer opponents, how it plays sound. The agents did this with Ghidra, a reverse-engineering tool: they mapped 7,852 functions in the program and wrote down what they found in 13 documents, more than 23,000 lines, with memory addresses as evidence. The work started from the executable of a pre-release beta.

The fixes live in a small companion library that the game loads by itself at start, in place of a Windows input DLL. It changes the program in memory: it widens the picture and the menu to 21:9 ultrawide screens, redraws the in-game display (HUD) and the fonts at a higher resolution, adds a settings overlay to the pause menu, handles gamepads, speeds up start-up and fixes bugs in the beta.

The remastered stateThe original state
The main menu: the original 4:3 picture with black bars, and the same menu filling a 21:9 screen.

Light that travels as it does in reality

A classic game paints light onto surfaces. Path tracing follows light rays as they bounce: metal reflects, glass refracts, a lamp lights the wall around it, and smoke glows from the fire inside it. For old DirectX games, NVIDIA's RTX Remix makes this possible: it intercepts the game's drawing calls and renders the scene again.

Most of the work comes after that. Every surface gets a physical material (the remastered materials come to almost 3,000 texture files: colour, roughness and relief maps), real lights go where the original only painted them, and fog, exposure and colour were tuned track by track until each looked as intended.

The racing craft close up, with path tracing.

Track by track

Each pair below comes from a track's flyby, frozen at the same moment in both versions. The "before" frame is the game's own renderer with its original textures, already widened to 21:9 by the companion library; the "after" frame is the RTX remaster.

Sky Town

The remastered stateThe original state
Sky Town, the skyline: the towers show lit windows, the flying cars carry red tail lamps, and the night sky keeps the original's violet.

Zensoku

The remastered stateThe original state
Zensoku, the tunnel: the tunnel's own lights now reach its walls; the steel vault over the glass tube gleams blue and its panels show where the original was nearly black.

Belize

The remastered stateThe original state
Belize, the lagoon: the original's moonlit night stays, but the water now mirrors the stone statue and the plants, and the moss and rock around it, nearly black in the original, now read.

Grand Canyon

The remastered stateThe original state
Grand Canyon, the canyon: a low warm sun through red dust; the rock shows its relief, and the cables and the tube cast real shadows across it.
The remastered stateThe original state
Grand Canyon, the tunnel: instead of the original's flat, even lighting, a row of lamps runs along the roof and lights the red rock and the rails into the distance.

Sharp Reef

The remastered stateThe original state
Sharp Reef, the reef: light from the surface through blue water shows the rock's colour and form where the original was black, and the station tube's lamps and orange neon light its metal panels.

More than graphics

The game was once sold on breaking the sound barrier. In test runs of the remaster we measured craft faster than that on each of the seven original tracks; the fastest, a computer-driven opponent, reached 2,963 km/h on Grand Canyon, two and a half times the speed of sound. In the RTX version a vapour cone forms round the craft near the sound barrier; in both versions sonic booms crack and you hear other craft go past.

The computer opponents obey the same physics, fuel and obstacles as the player on every difficulty; difficulty changes only their skill.

Outside the tubes, 22 kinds of attractions were made for the tracks: whales and other sea life, freight convoys, ore trains, koi, macaws, bats, jellyfish, a waterfall and lightning arcs in a power hall. A new, eighth track, SKYHOOK, is in progress.

Crashes are new as well: a fireball, sparks, debris and soot, and the wreck keeps burning where it stops.

The remastered stateThe original state
0.6 seconds after impact, with path tracing: the fire lights the tube.
The remastered stateThe original state
The crash in the Classic version, 0.25 seconds after impact: a fireball, sparks and soot instead of the beta's small flash.

There are two versions. Classic keeps the game's own renderer with sharper textures and runs at 120 frames per second; RTX is the path-traced one. Classic is also prepared for the Steam Deck and the Proton DXVK translation layer it runs games through under Linux.

Prepared for the Steam Deck: Sky Town at 1280×800, Classic version.

How the agents worked

Almost all of the code was written by AI coding agents working in parallel, coordinated by our own agent orchestration solution. The work is cut into independent lanes, one feature each. One agent builds a lane in its own copy of the repository, another reviews it, a third re-checks the fixes, and the lanes are merged in order. On 23 November alone, 70 commits went into the main line.

The machine checks the machine. Every change has to pass the automated tests: 112 Python test files and 57 native test suites that run the companion library against the game's code, laid out in memory the way the game lays it out. A test batch deploys the build, launches the real game more than 70 times (races, crashes, time trials, the Steam Deck version on a PC under DXVK), takes screenshots at exact moments, and dozens of automated checks measure them against written rules: brightness, colour, frame time, and whether a creature is actually in view. On 23 November that was 72 launches in a little over three hours.

When a check fails, an agent has to show whether the game is wrong or the check is, and a fix goes in only with a test that fails without it. On 23 November the Steam Deck version, running on a PC under DXVK, crashed at the start of a race. A bisect pointed at two features, but a probe build showed that the real cause was elsewhere: the state block of an overlay drawn over the game re-bound a texture the game had already freed. That is harmless under Windows' Direct3D and fatal under DXVK. The fix went in with a test that reproduces DXVK's behaviour.

We set the goals and looked over the finished result. Everything in between was the agents' work: they read, coded, tested and documented, and it was mainly they who checked one another's work.

In numbers

Start
20 October 2026
Commits
763 (to 23 November 2026)
Python: tools, asset pipeline, test harness
58,229 lines, 131 files
C++: the companion library
40,816 lines, 119 files
Tests
112 Python test files, 57 native test suites
Documentation
20 documents (13 on the reverse engineering), 30,227 lines
Functions mapped in the 2001 executable
7,852
Texture files of the RTX version's materials
2,981 (25 November 2026)
Tracks
7 original; an eighth in progress
Kinds of attractions made
22
Fastest craft measured on the original tracks
2,963 km/h, Mach 2.5 (computer-driven, Grand Canyon)
RTX at 3440×1440 on an RTX 5090
78–91 fps (median in the tracks' flybys; RTX Remix's automatic preset, DLSS upscaling on, no frame generation)
Classic
about 120 fps (capped)
Test batch (23 November)
72 game launches, a little over 3 hours

What this means for a company

Many companies run a program nobody fully knows any more: its developer has left, the documentation has gaps, the source code is old or not available at all. We work the same way there. First we map what the system does and write it down with evidence. A change goes in only with its tests, and a regular check measures the result on the real system. The agents bring volume and speed, a person makes the decisions, and the tests and measurements make sure the speed does not cost reliability. On client work the whole team carries it: a project manager, senior developers and an AI DevOps engineer.

Timeline

5 calendar weeks

The first commit was on 20 October 2026; the figures are as of 23 November. Parallel AI agents wrote the code, often overnight, coordinated by our own agent orchestration solution.

Result

Five calendar weeks, no source code

Technology Stack

GhidraC++PythonNVIDIA RTX RemixDXVKAI agents

Facing a similar challenge?

A short description is enough, and we reply in writing within one working day. If you would rather talk, you can also ask for a 30-minute call with no obligation.

Describe your task

Or write to us: info@leventech.hu