Super Mario Galaxy Decompilation
Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported.
Based on Super Mario Galaxy
Original game imageAbout
An in-development matching decompilation of Super Mario Galaxy, in which all code compiles 1:1 to the original game when using the original compiler at its highest optimization level. Compiled code is placed back into the original executable and the result is hashed to check that it matches the original.
How it differs from the original
The original game was written and compiled as C++03, but this project uses several modern C++ features such as nullptr and override for readability, and defines them out when compiling for C++03. Original access modifiers and trivial encapsulations were lost to the optimizer, so the author reconstructed them and added debug assertions.
Additional notes
- Documentation
- Every fully understood piece of reverse engineered data is documented in a consistent doxygen style.
- Goal
- Once all code is decompiled, the setup will build a new executable from scratch without sampling any of the original.
FAQ
- What is Super Mario Galaxy Decompilation?
- Super Mario Galaxy Decompilation is an open-source decompilation of Super Mario Galaxy. Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported.
