<!-- Canonical page: https://reversedwithai.com/p/space-rangers-1-delphi-decomp-gpt -->
Canonical page: https://reversedwithai.com/p/space-rangers-1-delphi-decomp-gpt

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

> Delphi source that compiles to an identical 2.3 MB executable.

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.

## Key facts

- Target: Space Rangers 1 (PC, v1.7.2 English Steam)
- Category: Games and mods
- Platform: Windows PC
- Models: GPT-6 Astra, Claude Opus 5.5
- Tools: Codex, Delphi
- Outcome: Works
- Checks: Source available: yes; Repro steps: yes; Real hardware: not reported; Verified by others: not reported
- Author: [pakompom](https://github.com/pakompom)
- Added: 2026-10-17
- Updated: 2026-10-17
- Sources reviewed: 2026-10-17 (editor)

## What was done

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.

## What the commit history shows

None of the 3 commits in the public repository credits an AI. Many tools add no credit, so this does not show the AI was not used.

Measured by this site from public git history.

## Questions about Space Rangers 1 (PC, v1.7.2 English Steam)

### What is the Space Rangers 1 (PC, v1.7.2 English Steam) project?

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. It is listed under Games and mods for Windows PC.

### Which AI model was used on Space Rangers 1 (PC, v1.7.2 English Steam)?

The entry names GPT-6 Astra and Claude Opus 5.5. The tools named alongside are Codex and Delphi.

### Did the AI reverse engineering of Space Rangers 1 (PC, v1.7.2 English Steam) work?

Its author reports that it works. Checks recorded: source available yes, repro steps yes.

### Is the source code for Space Rangers 1 (PC, v1.7.2 English Steam) available?

Yes. The code, patches or tooling are public: https://github.com/pakompom/SpaceRangers1_decomp. The sources give enough steps to reproduce it.

## Sources

- [Repository](https://github.com/pakompom/SpaceRangers1_decomp)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: pakompom (2026). Decompiled Space Rangers 1 into Delphi source that rebuilds the exe byte for byte, almost all by GPT-6 Astra. Reversed with AI. https://reversedwithai.com/p/space-rangers-1-delphi-decomp-gpt
