All ideasMore in Hobbies

LLMs decompiled a 1991 strategy game back to source that matches the original byte for byte

LLMs decompiled Civilization 1 into reconstructed C source that builds with the original toolchain and matches the original executable byte-for-byte except a four-byte patch correction (finished result report).

How it works

  1. LLMs decompile the game
  2. Reconstruct the C source
  3. It builds with the original toolchain
  4. The result matches the original executable byte for byte except a four-byte patch correction

Why it’s worth knowing

Byte-for-byte is the strictest test a reconstruction can pass.

Where it’s from

Summarized from a public post on github.com. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.