Star on GitHubStar2.4k stars

Case study

RubySapphireRecomp: statically recompiling Pokémon Ruby and Sapphire

RubySapphireRecomp statically translates Pokémon Ruby and Sapphire USA revision 1 ROMs into native C. Ruby SHA-1 is 610b96a9c9a7d03d2bafb655e7560ccff1a6d894. Sapphire SHA-1 is 4722efb8cd45772ca32555b98fd3b9719f8e60a9. The runtime refuses an unrecognized ROM. The files are variants/ruby/roms/ruby_usa.gba and variants/sapphire/roms/sapphire_usa.gba. gba_recompile writes the generated C, and cmake --build build --target RubyRecomp builds one executable.

Targets
Game
Category
Independent reconstruction cases
Relationship
Independent reconstruction project
Sources reviewed
Evidence class
C1 partial scope or analysis entry
Stars
26
Last commit
2026-11-06
Language
Python

GitHub data as of 2026-11-10

Copy as MarkdownView JSONCite

Evidence

Demo available · no screenshot

Observed
Download and demo observed; the case covers part of the target software.
Scope
Partial
Checked
2026-11-09

How evidence classes are assigned

Requirements & limits

  • Windows with MSYS2 mingw64 GCC and G++, CMake 3.16 or newer, Ninja, and SDL2. Clone gbarecomp beside this repository.
  • License: PolyForm Noncommercial 1.0.0.

Cite

BibTeX

@misc{ruby-sapphire-recomp,
  title = {{RubySapphireRecomp: statically recompiling Pokémon Ruby and Sapphire}},
  howpublished = {\url{https://github.com/mstan/RubySapphireRecomp}},
  url = {https://github.com/mstan/RubySapphireRecomp},
  urldate = {2026-11-07},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/ruby-sapphire-recomp/}}
}

Plain text

RubySapphireRecomp: statically recompiling Pokémon Ruby and Sapphire. https://github.com/mstan/RubySapphireRecomp (accessed 2026-11-07). Awesome REA entry: https://awesomerea.org/resources/ruby-sapphire-recomp/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · mstan/RubySapphireRecomp · Revision cf670ed

More in Games

All 2976 entries in GamesGames case studies (2832)

↑↓ move↵ open⌘↵ new tab