0xreversed/with.ai
By target

AI game decompilation: games decompiled, recompiled and ported with AI

AI game decompilation means using a language model to turn a game's compiled machine code back into source code that people can read, build and change. The projects on this page did that for PC, console and home computer games, from small 6502 ROMs to PlayStation and Nintendo 64 titles. Most used an agent such as Claude Code or Codex, often connected to Ghidra or IDA through an MCP server, so the model could read the disassembly, rename functions and check its own work against the original. Some aimed for a matching decompilation, where the rebuilt code compiles to the same bytes as the game. Others recompiled a game to run natively on new hardware, ported it to the web, or patched one behaviour for a mod. Each entry links the author's own writeup or repo and lists the model, tools and reported outcome. Results vary: some games are fully playable, others are partial and still in progress.

Projects
19
Outcomes
Works14Partial5
Models used
Claude14GPT5
19 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
Unnamed first-person shooter: preview from momo5502.com
Works
Blog · Games and mods
Pick

600+ billion tokens: an agent swarm decompiled a first-person shooter

15+ agents, three months, 99% of a shooter rebuilt in C++.

Time About 3 months
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
Works
GitHub · Games and mods
Pick

InfinityUnlocked: traced a content restriction across native code

The most requested Disney Infinity feature in 13 years, found in stripped native code.

Model Claude Opus 4.6
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.

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
Harvester (1996): preview from alexbevi.com
Partial
Blog · Games and mods

Started a ScummVM engine for the 1996 DOS game Harvester with Codex and GhidraMCP

A ScummVM engine for a 1996 horror adventure, started in about a day.

Time About a day for the first playable scenes
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
River Raid (Atari 8-bit): preview from quesma.com
Works
Blog · Games and mods

Gave Atari River Raid unlimited lives with Claude driving Ghidra

One byte in an 8 kB Atari ROM, found by Claude driving Ghidra.

Model Claude
Klonoa: Empire of Dreams (GBA): preview from gambiconf.substack.com
Partial
Blog · Games and mods

Started a decompilation from zero: Claude Code and 51% of a 2001 GBA game

A GBA decompilation started from zero, now past halfway.

Model Claude
Snowboard Kids 2 (N64): preview from blog.chrislewis.au
Works
Blog · Games and mods

One-shot matching decompilation of Snowboard Kids 2 with Claude in a loop

Three weeks of Claude in a loop beat the previous three months by hand.

Time 3 weeks
Works
GitHub · Games and mods

universal-modder: skills and tools for AI-driven game modding

Point Claude at a PC game and get a mod, backed by per-game knowledge notes.

Model Claude
Final Fantasy VII Rebirth: preview from atpeaz.com
Works
Blog · Games and mods

Repaired the FFVIIHook mod after a game update

A game update broke the mod; Claude and Ghidra found what moved.

Model Claude
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

Yes, with limits. The projects here show models turning game binaries into readable C, C++ or new ports, but nearly all of them used a human to set goals, check results and fix mistakes. Matching decompilations also need a build setup that compares the output with the original bytes.

Explore

Other topics