proomt

Search

Search posts, papers, and topics

All posts

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

Related reading

  1. A custom virtual machine for the Stars! 4X game

    Stars!VM is a 32‑bit Windows executable that embeds a custom 80286 emulator and a Win16‑to‑Win32 bridge to run the 1995 4X game Stars! without any external emulators. The author adds differential fuzzing, hot‑routine patching, I/O buffering and asset compression, achieving about a 2× speedup in turn generation.

    Chris Wellonsnullprogram.com5 minHN8422
  2. PCB is brought to you by Fable 5

    The author used the AI tool Fable 5 to generate a 4‑layer RP2350 development board for an E‑ink display from a short English description and ordered it from JLCPCB. While the AI handled component placement, it left many DRC errors and routing gaps, requiring manual fixes and highlighting the limits of current AI‑driven PCB design.

    Hacker News front pagea6mzero.com6 minHN159106