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
Evidence
Demo available · no screenshot
- Observed
- Download and demo observed; the case covers part of the target software.
- Scope
- Partial
- Checked
- 2026-11-09
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.
Primary sources
- README.md GitHub · mstan/RubySapphireRecomp · Revision cf670ed
More in Games
- Rumble Roses XX: experimental Xbox 360 static recompilation · Case study
- RumbleRecomp: a Windows static recompilation of Poke Rumble · Case study
- rushrecomp: static recompilation and analysis of Sonic Rush · Case study
- SacredStonesRecomp: statically recompiling Fire Emblem: The Sacred Stones · Case study
- Saint Seiya: The Hades: a PS2 static recompilation for Linux · Case study
- Saints Reborn: a ReXGlue static recompilation of Saints Row · Case study