Hacker News front pageadonis-singh5 min readrelease notesadvanced
Resident Evil 4 (GameCube) – complete byte-identical decompilation to C/C++
Summary
The project releases a full, byte‑identical C/C++ decompilation of Resident Evil 4 for GameCube, reproducing the original binaries down to every byte. It ships with build scripts, verification tools, and detailed documentation of the matching process.
- Provides a complete, byte‑identical C/C++ reconstruction of Resident Evil 4 GameCube debug build, matching main.dol and 114 REL overlays.
- Build uses SN GCC 2.95.3 and Metrowerks CodeWarrior; verification via SHA‑1 hashes and per‑object byte‑by‑byte diff tools.
- Source totals ~555k lines, 15641 functions; only 644 compiler‑diff comments and 231 asm‑generated instructions remain.
- Includes a suite of scripts (configure, ninja, bytecmp, fdiff, asmcheck) and extensive docs on matching methodology.
Reverse engineers, console developers, and preservationists can study a real-world legacy game engine and compiler behavior without proprietary binaries.
8/10
