# SuperMarioRPGSNESRecomp: an early 65816 static recompilation

> SuperMarioRPGSNESRecomp applies snesrecomp to Super Mario RPG: Legend of the Seven Stars, compiling qualified 65816 code paths to C while other paths run through an interpreter. The shared snesrecomp runner emulates the game's SA-1 coprocessor, and coverage tools collect dispatch misses to guide later regeneration. The author reports a working attract loop and early-game replay, with two qualified ahead-of-time variants.

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

## Requirements & limits

- **Prerequisites:** A matching personal US Super Mario RPG ROM is required.
- **Prerequisites:** Windows builds use MSYS2/MinGW, CMake, SDL3 and Python 3.9+; Linux builds use CMake, a C toolchain, SDL3 and OpenGL development files.
- **Limits:** Only two ahead-of-time variants qualify in the described build; most code runs through the interpreter.
- **License:** PolyForm Noncommercial License 1.0.0.

## Primary sources

1. <https://github.com/mstan/SuperMarioRPGRecomp/blob/1f48acad974bb9f1ac444f435edb5fbee5d6ea9a/README.md>
2. <https://github.com/mstan/SuperMarioRPGRecomp/blob/1f48acad974bb9f1ac444f435edb5fbee5d6ea9a/RELEASE_NOTES_v0.0.3.md>

## More in Games

- [SuperMarioWorldRecomp: statically recompiling Super Mario World](https://awesomerea.org/resources/smw-recomp/index.md) · Case study
- [SuperMetroidSNESRecomp: a selective 65816 static recompilation](https://awesomerea.org/resources/super-metroid-recomp-case/index.md) · Case study
- [SVR2011-Recomp: a ReXGlue recompilation of WWE SmackDown vs. Raw 2011](https://awesomerea.org/resources/svr2011-recomp-case/index.md) · Case study
- [SymphonyRecomp: a RecompOne static recompilation of Symphony of the Night](https://awesomerea.org/resources/symphonyrecomp-case/index.md) · Case study
- [Syphon Filter 2 Recompiled: a native Windows build of the PS1 game](https://awesomerea.org/resources/syphon-filter-2-recomp-case/index.md) · Case study
- [Takedawn: statically recompiling Burnout 3: Takedown](https://awesomerea.org/resources/takedawn/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.
