Cloned Games

Starflight

ToolSporadic

Tooling used for decompilation and recompilation work.

Starflight screenshotLinks, repository & details

About

Starflight-Reverse is a reverse-engineering project for the 1980s game Starflight. Because the game was written in Forth, its disassembler translates the compiled Forth code from the game's DOS executable into C-style code, most of which compiles. So far 6,256 words containing either code or data have been identified.

Getting started

Put the files of the original Starflight game into the two input folders and run make. This produces two disassembler executables that write their results into the matching output folders; the generated output is already included in the repository.

What you need to run it

Original game files required. The project ships code only; you provide your own copy of the game.

Additional notes

Executable
The compiled code keeps the structure of the Forth source, more than 90% of the executable is 16-bit pointers, and about 2000 of around 6000 word names are still present but encrypted.
Overlays
The executable makes heavy use of code overlays, which makes decoding more complicated.

FAQ

What is Starflight?
Starflight is an open-source tool. Tooling used for decompilation and recompilation work.
Do I need the original game files to run Starflight?
Yes. The project does not include the original game's assets, so you need your own copy.
Share: