# MegaManZeroRecomp: statically recompiling Mega Man Zero

> MegaManZeroRecomp statically translates the Mega Man Zero USA revision 0 ROM, SHA-1 193b14120119162518a73c70876f0b8bffdbd96e, from ARM and Thumb into native C++. The runtime hash-gates the ROM. The ROM file is roms/megaman_zero_usa.gba. The repository is cloned beside gbarecomp, gba_recompile regenerates the translation units, and cmake --build build --target MegaManZeroRecomp builds the Windows program.

- 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/MegaManZeroRecomp>
- Primary source: <https://github.com/mstan/MegaManZeroRecomp/blob/fa410ff4be97fe08225c94f0315cbf9f47529f26/README.md>
- Catalog page: <https://awesomerea.org/resources/megaman-zero-recomp/>
- Record JSON: <https://awesomerea.org/resources/megaman-zero-recomp/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/megaman-zero-recomp/index.md)

## Requirements & limits

- Windows with CMake, Ninja, and MSYS2 mingw64 GCC, G++, and SDL2. A retail GBA BIOS is selected at launch.
- License: PolyForm Noncommercial 1.0.0.

## Primary sources

1. <https://github.com/mstan/MegaManZeroRecomp/blob/fa410ff4be97fe08225c94f0315cbf9f47529f26/README.md>

## More in Games

- [Melee Unlocked: a Windows source port and static recompilation of Melee](https://awesomerea.org/resources/melee-unlocked-case/index.md) · Case study
- [MeleePad: a native Apple static recompilation of Super Smash Bros. Melee](https://awesomerea.org/resources/meleepad-melee-port-case/index.md) · Case study
- [Metal Gear Solid Recompiled: static recompilation of Metal Gear Solid](https://awesomerea.org/resources/mgs-recomp/index.md) · Case study
- [Metal Slug XX: recompiling the game with ReXGlue](https://awesomerea.org/resources/metal-slug-xx-recomp/index.md) · Case study
- [metal-slug-x-recomp: a Neo Geo static recompilation and native runtime](https://awesomerea.org/resources/metal-slug-x-recomp-case/index.md) · Case study
- [Metroid Dread: a native PC recompilation from Switch game files](https://awesomerea.org/resources/metroid-dread-recomp-pc-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.
