Static recompiler
GB Recompiled: Experimental static recompiler that turns GB/GBC ROMs into portable C projects
Category: Developer & security tools · Type: Reconstruction
Target: Game Boy / Game Boy Color ROMs · LR35902 static recompiler · SDL2 runtime · C/Python
Experimental static recompiler for Game Boy and Game Boy Color ROMs: it analyzes banked LR35902 code, emits reviewable C plus metadata, and links the result with a shared SDL2 runtime (video, audio, input, saves and timing) so a supplied ROM can be built into a portable native executable. The repository also includes a ROM-free Pokémon Crystal flagship port that verifies a user-supplied US/Europe Rev 1 ROM before generating private output. The repository contains no ROMs or Nintendo assets.
Relationship
Independent reimplementation
Evidence scope
Upstream README describes GB Recompiled as turning Game Boy and Game Boy Color ROMs into portable C projects: it analyzes LR35902 code, emits generated C, and links that code with a shared SDL2 runtime. The pipeline is ROM to decoder and analyzer to IR plus metadata to a generated C project. It contains no ROMs, calls itself an experimental recompiler rather than a whole-catalogue compatibility claim, and documents a separate Crystal Recompiled port that verifies a user-supplied US/Europe Rev 1 ROM before generating private output. No REA involvement is claimed.
Know before you try
The README says hardware accuracy and game coverage remain active work, and that successful code generation does not guarantee every scene will run correctly. The Crystal port is described as a source-only alpha verified end-to-end on macOS arm64, with other hosts best-effort. We have not independently tested it.
Status
Active (default branch main); latest GitHub release v0.1.0 (2026-08-03)
License
MIT
MIT covers this project. The LICENSE file is marked Copyright (c) 2026 arcanite24. Game Boy / Game Boy Color ROMs and Nintendo assets are not included; users must supply legally obtained ROMs. Dear ImGui in the vendored runtime snapshot keeps its own license. The README states the project is not affiliated with or endorsed by Nintendo.
Source checked
