0xreversed/with.ai
Games and modsWorksSource available
Target: Space Rangers 1 (PC, v1.7.2 English Steam)

Decompiled Space Rangers 1 into Delphi source that rebuilds the exe byte for byte, almost all by GPT-6 Astra

Space Rangers 1 (PC, v1.7.2 English Steam): Delphi source that compiles to an identical 2.3 MB executable.
Image: GitHub (pakompom/SpaceRangers1_decomp)

What was done

pakompom used GPT-6 Astra in Codex, with some Opus 5.5 cleanup, to recover the Delphi source of Space Rangers 1 so that it compiles to a byte-for-byte identical Rangers.exe.

This project recovers the Delphi source code of Space Rangers 1 (Kosmicheskie reindzhery). The recovered source compiles to a byte-for-byte identical Rangers.exe. The README has an AI disclosure: the decompilation was carried out almost entirely by GPT-6 Astra in Codex, with some human steering, and Opus 5.5 was also used for some source cleanup.

How it was done

It targets version 1.7.2, the English Steam release, with a 2,371,072 byte executable and a published SHA-256. The setup command downloads and prepares the Delphi toolchain, and a verify command checks the whole rebuilt executable against the original hash. Development and progress reports and Pascal annotations are in the docs folder.

Results

The README states that the rebuilt executable is identical to the original, which anyone can check with the verify command. The author also has a portable C reimplementation of okgf.dll and a companion decompilation of Space Rangers HD: A War Apart. The project is unofficial and the README includes a rights and attribution notice.