Firefighter (DOS shareware, 1985) · Works · Source available

Decompiled the 1985 DOS game Firefighter to Pascal and ported it to Rust with ChatGPT

Can I play it?
Works
Original game
DOS and home computers
Runs on
Unix terminal
You need
Your own copy of the game. I never link game files.
What it is
Decompilation
View JSON

Who did what

Raymond made the interface changes and the scoring fix himself on top of the model's translation.

What was done

ChatGPT 5.5 decompiled the DOS binary of Firefighter to readable Borland Pascal and then translated it to Rust. Eric S. Raymond ships it as a terminal game with the original author's permission.

Eric S. Raymond recovered Firefighter, a 1985 DOS shareware game by Eben Sprinsock, from its binary alone. ChatGPT 5.5 decompiled the executable back to Borland Pascal, then translated that Pascal to Rust. The result runs in an ANSI terminal and is released as open source with the original author's permission.

The project's history file lists the steps. Raymond says the model could tell the source language from the way string literals were stored. In the post on X, Raymond adds that it gave back readable Pascal with sensibly chosen function and variable names. Raymond added an optional RNG seed on the command line, cursor movement with mouse clicks and other interface changes.

The gameplay logic is unchanged from the shareware version, while the interface is modernised. Raymond also fixed what looks like a bug in the original: the maximum scores per difficulty did not match the real score calculation. The port is part of Raymond's collection of heritage games, and Raymond applies a joint copyright with Sprinsock.

Questions about Firefighter (DOS shareware, 1985)

Discussion

Your library

Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. Checked against the sources on 18 Oct 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.

The weekly dump: new projects, once a week