0xreversed/with.ai
By target

Port old software with AI: recover lost source and rebuild old programs

Many old programs survive only as executables, with the source code lost and no build that runs on a modern system. The projects on this page used a language model to bring such programs back. Some rebuilt working C, C++, Rust or TypeScript from DOS, Apple II, Commodore 64 or early Windows binaries. Others reconstructed a game from scripts, manuals and old logs, or recompiled it to run natively on new hardware. The usual method is to have the model disassemble the binary, document file formats and logic, and then write a new implementation that can be compared with the original, ideally by replaying the same input and checking the output. Where the authors report it, the results range from complete, playable ports to partial rebuilds that are still in progress. Each entry links the source and lists the model, tools, outcome and what the human had to fix.

Projects
14
Outcomes
Works8Partial6
Models used
Claude9GPT4
14 projects

The projects

Legends of Future Past (1992): preview from meditations.metavert.io
Works
Blog · Games and mods
Pick

Resurrected a 1992 MUD from its scripts, a GM manual and a 1996 session log

A MUD dead since 1999, playable again from its scripts and an old log.

Time A weekend
Tomba! (PlayStation): preview from 1379.tech
Works
Blog · Games and mods
Pick

Built a PS1 static recompiler with no prior experience and got Tomba! playable

No prior experience, three weeks, and a PS1 game running as native code.

Time About 3 weeks for the prototype
Chromatron: preview from quesma.com
Works
Blog · Games and mods
Pick

Recompiled a 20-year-old puzzle game for Apple Silicon and the web

A 20-year-old puzzle game, running natively on Apple Silicon and in the browser.

Model Claude Opus 4.6
Works
YouTube · Games and mods

Reverse engineering GTA San Andreas with autonomous LLM agents (ReAgent)

A reverser LLM, a checker LLM and Ghidra evidence gates, used on San Andreas.

Partial
GitHub · Legacy software

Reconstructing source for Labyrinth, the first VRML browser (1995), with Claude Code

The first VRML browser's lost source, being rebuilt from its 1995 executable.

Model Claude
Ammaar Reshi
@ammaar

I asked Claude Fable 5 to reverse engineer a 1993 DOS game with no source code. It read the raw machine code, rewrote the engine in C, and gave me a fully editable port for every platform. 30 min from EXE to iPhone. Sharing it all so you can revive your own childhood games!

Partial
GitHub · Games and mods

Reverse engineering SkyRoads from its DOS executable into a native Rust port with Codex

A 1993 DOS racer rebuilt in Rust, still being matched against DOS traces.

Model Codex 5.4
Partial
Blog · Games and mods

Recovered Touhou 4's bullet-ring logic from its PC-98 DOS binary with REA

Touhou 4's aimed bullet rings, recovered as C++ that matches the original bytes.

Partial
Blog · Games and mods

Reconstructing DX-Ball 1.07 as C with Codex and REA, tested against the original x86

DX-Ball as C, checked against the original x86 across 3,205 cases.

Model Codex
Works
Blog · Games and mods

Ported the 1983 Apple II adventure Masquerade to JavaScript with Claude and Ghidra MCP

The first port failed; gap audit after gap audit, the second plays right.

Model Claude
Weltendämmerung: preview from github.com/s-macke
Works
GitHub · Games and mods

Reverse engineered the C64 strategy game Weltendämmerung and ported it to the web

A 7 KB C64 binary, three days and $100 later, playable in the browser.

Time 3 daysCost $100 in API usage over 50+ sessions
宝玉
@dotey

@embirico @OpenAI How I Used Codex to "Recover" Lost Source Code in 5 Days Ever lost your source code? It's a terrible feeling. Years ago, I built an Electron drawing app. Then I lost the source code. All I had left was the compiled version. I thought about rewriting it from scratch, but the

Works
Talk · Games and mods

Era Online: resurrecting a 1999 VB6 MMORPG with Claude Code

One person and Claude bring a 1999 Visual Basic MMORPG back.

Model Claude
Partial
Blog · Legacy software

Turned a 1988 DOS EXE and a 2015 Win32 EXE into working C code

Old executables back to working source, with a few details missed.

Model Claude 3.7 Sonnet
Did something like this?

Share the writeup or repo, and what the AI got right and wrong.

Submit a project
Learn

Related guides

Tools

Tools these projects used

All tools
FAQ

Common questions

It can produce new source that behaves like the original. Projects here rebuilt DOS, Apple II, C64 and Windows programs this way. The result is a reconstruction, not the original source, and it needs testing against the real program.

Explore

Other topics