Star on GitHubStar4.0k stars

Tool

GB Recompiled

Static recompiler that turns Game Boy and Game Boy Color ROMs into portable C projects: it decodes and analyzes banked LR35902 code, emits C with machine-readable metadata, and links it with a shared SDL2 runtime for video, audio, input, saves and hardware timing. Jump targets that static analysis missed fall back to an interpreter. The repository also carries differential, replay and frame and audio capture tooling, plus a Pokémon Crystal port that builds native features on hooks into the exact ROM.

Targets
Binary · Game
Category
Game analysis tools
Relationship
Foundation tool
Sources reviewed
Evidence level
L1 reinforcement-learning environment
Stars
469
Last commit
2026-09-10
Language
Python
License (GitHub)
MIT

GitHub data as of 2026-12-05

Copy as MarkdownView JSONCite

Evidence

Demo screenshot from the project's public documentation
Observed
Code, documentation, download and demo observed for a tool, integration, guide or analysis entry.
Scope
Analysis, tool or guide
Checked
2026-11-07

How evidence levels are assigned

Requirements & limits

  • The README calls it an experimental recompiler and says successful code generation can still leave scenes running incorrectly. ACCURACY.md (generated 2026-07-13) reports 8 of 8 Blargg and 63 of 67 Mooneye test ROMs passing; those results measure the listed test ROMs. Commercial-game compatibility remains unmeasured.
  • Users supply their own .gb or .gbc ROMs; the repository contains no ROMs. The bundled Crystal Recompiled port is ROM-free: it requires the user's exact US/Europe Rev 1 ROM, checks its hash before writing any ROM-derived output, and keeps generated projects in ignored local or private-cache paths, and its distribution policy forbids releasing ROMs, generated C or extracted assets. That port's alpha is verified end to end only on macOS arm64.
  • Release v0.1.0 (2026-08-03) ships prebuilt gbrecomp archives for Linux x64, macOS Intel and Apple silicon, and Windows x64; the reviewed main commit is 13 commits ahead, last committed 2026-09-10. Building from source needs CMake 3.20+, Ninja, SDL2 development files and a C11/C++20 compiler, and generated projects build with CMake and Ninja. ANDROID.md documents a separate single-ROM APK workflow.
  • A CTest suite covers isolated invariants. The README notes that differential mode shares runtime devices with the interpreter, leaving SameBoy comparisons and frame, audio and state captures as separate evidence. The only GitHub workflow builds release archives and smoke-tests them with a generated fixture ROM; an optional manual job checks the Crystal port against a privately held ROM without publishing.
  • MIT-licensed; the vendored Dear ImGui keeps its own license. The README states no affiliation with Nintendo, and the Crystal port none with Nintendo, The Pokémon Company, Game Freak or Creatures. The README points contributors and coding agents to AGENTS.md.

Cite

BibTeX

@misc{gb-recompiled,
  title = {{GB Recompiled}},
  howpublished = {\url{https://github.com/arcanite24/gb-recompiled}},
  url = {https://github.com/arcanite24/gb-recompiled},
  urldate = {2026-10-19},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/gb-recompiled/}}
}

Plain text

GB Recompiled. https://github.com/arcanite24/gb-recompiled (accessed 2026-10-19). Awesome REA entry: https://awesomerea.org/resources/gb-recompiled/

Useful? Star Awesome REA on GitHub4.0k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · arcanite24/gb-recompiled · Revision 9150f87
  2. ACCURACY.md GitHub · arcanite24/gb-recompiled · Revision 9150f87
  3. ports/pokemon-crystal/README.md GitHub · arcanite24/gb-recompiled · Revision 9150f87
  4. ports/pokemon-crystal/LEGAL.md GitHub · arcanite24/gb-recompiled · Revision 9150f87
  5. .github/workflows/release.yml GitHub · arcanite24/gb-recompiled · Revision 9150f87
  6. LICENSE GitHub · arcanite24/gb-recompiled · Revision 9150f87
  7. https://github.com/arcanite24/gb-recompiled/releases/tag/v0.1.0

More in Games

All 3214 entries in Games

↑↓ move↵ open⌘↵ new tab