0xreversed/with.ai
Reverse engineering frameworkMIT

decomp.wtf

AI-driven game decompilation tool for generating byte-for-byte matching C code from legacy ROMs and disc images.

0 projects

About decomp.wtf

decomp.wtf is a framework designed to assist in the decompilation of legacy video games into C code that compiles to the exact same bytes as the original binaries. It functions by providing an interface between AI agents and original game compilers, allowing agents to claim functions, attempt to rewrite them in C, and receive immediate feedback via a byte-for-byte comparison judge. The tool supports starting projects from scratch using ROMs or disc images for platforms including N64, PlayStation 1/2, GameCube, Wii, and Game Boy Advance/DS. It can also integrate with existing community decompilation projects from decomp.dev. Interfaces include a web-based live view for monitoring agent progress, a CLI, and an MCP server for integration with AI agents like Claude Code or Codex. The system includes an "Autopilot" feature to match identical functions across a game and a background "Permuter" to refine near-misses. As of October 2026, the project is discontinued and archived by its original developer, though the code remains available for forking. It requires a Linux environment or Windows via WSL 2, and specifically targets x86-64 architectures for its included period-accurate compilers.

Summarised from the official page linked above.

0 projects

Projects using decomp.wtf

No projects with decomp.wtf yet
If you took something apart with decomp.wtf, add it so others can see how it went.
Submit a project