r/MarioGolf • u/monde-lointain • 2d ago
Mario Golf for the Nintendo 64 has been 100% decompiled
I've recently finished decompiling Mario Golf (USA version) for the Nintendo 64.
This is a project I've worked on-and-off on for years now. Being my first and only experience decompiling a game, progress was incredibly slow. However with recent advancements in AI for reverse engineering work, I decided to start fresh, using Claude Opus for assistance with matching. With Claude doing the grunt work of matching functions while I occasionally nudged it to enforce consistent style and avoid "fake matching" patterns, where the AI would generate code that is non-human looking to force matching, we managed to decompile the entire game in only a few weeks.
For the future, I'll be doing more work in the following areas:
- Improving documentation and labeling further to clean up the few areas which aren't correctly labeled yet
- Finishing the PC port, which will include options for higher resolutions, framerates, upscaled textures, controller remapping, GBA character importing and online netplay among other things
- Releasing tools for creating and importing custom characters and courses
- Improving infrastructure to allow for mod development with the decompilation project as a base
- Support for building other region releases, with limited support for building PC versions of the other region's releases as well
You can check out the decomp repo here: https://github.com/monde-lointain/mariogolf64
Let me know if you have any ideas for additional modding projects or if you wish to contribute to future work! Mario Golf is one of my favorite childhood games, and the journey of seeing the logic of the game I loved slowly revealed to me was truly magical.