# 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.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-07
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/mstan/RubySapphireRecomp>
- Primary source: <https://github.com/mstan/RubySapphireRecomp/blob/cf670eda27cc9a118584d169b6b61ffc2e1ac17e/README.md>
- Catalog page: <https://awesomerea.org/resources/ruby-sapphire-recomp/>
- Record JSON: <https://awesomerea.org/resources/ruby-sapphire-recomp/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/ruby-sapphire-recomp/index.md)

## 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.

## Primary sources

1. <https://github.com/mstan/RubySapphireRecomp/blob/cf670eda27cc9a118584d169b6b61ffc2e1ac17e/README.md>

## More in Games

- [Rumble Roses XX: experimental Xbox 360 static recompilation](https://awesomerea.org/resources/rumble-roses-xx-recomp-case/index.md) · Case study
- [RumbleRecomp: a Windows static recompilation of Poke Rumble](https://awesomerea.org/resources/rumblerecomp-case/index.md) · Case study
- [rushrecomp: static recompilation and analysis of Sonic Rush](https://awesomerea.org/resources/rushrecomp-case/index.md) · Case study
- [SacredStonesRecomp: statically recompiling Fire Emblem: The Sacred Stones](https://awesomerea.org/resources/sacred-stones-recomp/index.md) · Case study
- [Saint Seiya: The Hades: a PS2 static recompilation for Linux](https://awesomerea.org/resources/saint-seiya-recomp-case/index.md) · Case study
- [Saints Reborn: a ReXGlue static recompilation of Saints Row](https://awesomerea.org/resources/saints-reborn-recomp-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
