{
  "api_version": "1.0.0",
  "slug": "firefighter-dos-game-rust-port-chatgpt",
  "url": "https://reversedwithai.com/p/firefighter-dos-game-rust-port-chatgpt",
  "markdown_url": "https://reversedwithai.com/p/firefighter-dos-game-rust-port-chatgpt.md",
  "json_url": "https://reversedwithai.com/p/firefighter-dos-game-rust-port-chatgpt.json",
  "title": "Decompiled the 1985 DOS game Firefighter to Pascal and ported it to Rust with ChatGPT",
  "tagline": "A 1985 shareware game, decompiled to Pascal and rebuilt in Rust.",
  "summary": "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.",
  "target": {
    "name": "Firefighter (DOS shareware, 1985)",
    "type": "game",
    "type_label": "Games and mods"
  },
  "platform": "MS-DOS to Unix terminal (Rust)",
  "models": [
    "GPT-5.5"
  ],
  "tools": [
    "ChatGPT",
    "Rust"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": "BSD",
  "checks": {
    "source_available": "yes",
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "Eric S. Raymond",
    "url": "https://gitlab.com/esr"
  },
  "sources": {
    "repository": "https://gitlab.com/esr/firefighter",
    "writeup": null,
    "discussions": [
      "https://x.com/esrtweet/status/2106983467141509385"
    ],
    "all": [
      "https://gitlab.com/esr/firefighter",
      "https://x.com/esrtweet/status/2106983467141509385"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/firefighter-dos-game-rust-port-chatgpt.webp",
    "credit": "Title card: Reversed with AI"
  },
  "commit_history": null,
  "added_at": "2026-10-18T08:00:40.144075+00:00",
  "updated_at": "2026-10-18T08:00:40.144075+00:00",
  "sources_reviewed_at": "2026-10-18T08:00:40.144075+00:00",
  "reviewed_by": "editor",
  "human_notes": "Raymond made the interface changes and the scoring fix himself on top of the model's translation.",
  "reproduce": null,
  "body_md": "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.\n\nThe 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.\n\nThe 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.",
  "ai_use_excerpts": null
}
