Super Mario 64 Decompilation
Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported.
Based on Super Mario 64
Original game imageAbout
A full decompilation of Super Mario 64 covering the Japan, North America, Europe, Shindou and iQue Player releases, with naming and documentation of the source code still in progress. It builds ROMs for each of those releases. The repository does not include all assets needed to build, so a prior copy of the game is required to extract them.
Getting started
Install the build prerequisites (on Windows via WSL), clone the repo, place a Super Mario 64 ROM named baserom.VERSION.z64 in the project folder for asset extraction, where VERSION is jp, us, eu, sh or cn, then run make with the chosen VERSION. Docker is also supported, and the repo path must not exceed 255 characters.
What you need to run it
Additional notes
- Build options
- Make variables include VERSION, GRUCODE, COMPARE and NON_MATCHING, the last of which uses functionally equivalent C for non-matching sections.
FAQ
- What is Super Mario 64 Decompilation?
- Super Mario 64 Decompilation is an open-source decompilation of Super Mario 64. Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported.
- Do I need the original game files to run Super Mario 64 Decompilation?
- Yes. The project does not include the original game's assets, so you need your own copy.


