The Decompilation & Recompilation Thread (N64, Arcade etc.)
- Dr. Zoidberg
- Site Admin
- Posts: 26200
- Joined: Tue Feb 03, 2015 2:33 am
The Decompilation & Recompilation Thread (N64, Arcade etc.)
N64: Recompiled
N64: Recompiled is a tool to statically recompile N64 binaries into C code that can be compiled for any platform. This can be used for ports or tools as well as for simulating behaviors significantly faster than interpreters or dynamic recompilation can. More widely, it can be used in any context where you want to run some part of an N64 binary in a standalone environment.
This is not the first project that uses static recompilation on game console binaries. A well known example is jamulator, which targets NES binaries. Additionally, this is not even the first project to apply static recompilation to N64-related projects: the IDO static recompilation recompiles the SGI IRIX IDO compiler on modern systems to faciliate matching decompilation of N64 games. This project works similarly to the IDO static recomp project in some ways, and that project was my main inspiration for making this.
https://github.com/Mr-Wiseguy/N64Recomp
Zelda 64: Recompiled is a project that uses N64: Recompiled to statically recompile Majora's Mask (and soon Ocarina of Time) into a native port with many new features and enhancements. This project uses RT64 as the rendering engine to provide some of these enhancements.
https://github.com/Mr-Wiseguy/Zelda64Recomp
- Dr. Zoidberg
- Site Admin
- Posts: 26200
- Joined: Tue Feb 03, 2015 2:33 am
Re: N64 Recompiled: An Incredible New Way to Keep N64 Games Alive (N64 binaries statically recompiled into C code)
We've seen recompilation projects before - and Nintendo 64 titles have received more than their fair share of them - but Zelda 64 Recompiled takes this to the next level. Alex Battaglia goes in depth on Zelda 64 Recompiled, essentially a new native PC port of Majora's Mask, reveals how it works, how accurate it is, how modern hardware offers so many more options and looks forward to what this project means for N64 games on PC going forward.
-
- Site Admin
- Posts: 8275
- Joined: Sat Mar 26, 2016 7:45 am
- pixel
- Posts: 5458
- Joined: Sun Mar 27, 2016 3:09 am
Re: N64 Recompiled: An Incredible New Way to Keep N64 Games Alive (N64 binaries statically recompiled into C code)
The recomp is just as easy as an emulator. I copied the Linux executable to my Steam Deck and told it where my Majora's Mask ROM was saved. No fuss, no muss.
The autosaving might be the biggest feature no one's talking about. I might actually 100% this time, 24 years later.
The autosaving might be the biggest feature no one's talking about. I might actually 100% this time, 24 years later.
- Skynet
- Site Admin
- Posts: 2393
- Joined: Sat Mar 26, 2016 8:54 am
Re: N64 Recompiled: An Incredible New Way to Keep N64 Games Alive (N64 binaries statically recompiled into C code)
If it's anything like the PD recomp I have on my PC, yeah it's so good.pixel wrote: Wed May 22, 2024 5:12 am The recomp is just as easy as an emulator. I copied the Linux executable to my Steam Deck and told it where my Majora's Mask ROM was saved. No fuss, no muss.
The autosaving might be the biggest feature no one's talking about. I might actually 100% this time, 24 years later.
I think MVG did touch on the auto save in the above video, but yeah you'd think they'd be making a bigger deal of that
-
- Site Admin
- Posts: 8275
- Joined: Sat Mar 26, 2016 7:45 am
-
- Site Admin
- Posts: 8275
- Joined: Sat Mar 26, 2016 7:45 am
-
- Site Admin
- Posts: 8275
- Joined: Sat Mar 26, 2016 7:45 am
- Manoel
- Posts: 168
- Joined: Wed Aug 23, 2017 10:38 am
Re: N64 Recompiled: An Incredible New Way to Keep N64 Games Alive (N64 binaries statically recompiled into C code)
Isn't that old news? There's a guy making a Mario Kart 64 mod with 3D models and a lot of new stuff already.
- Dr. Zoidberg
- Site Admin
- Posts: 26200
- Joined: Tue Feb 03, 2015 2:33 am
Re: The Decompilation & Recompilation Thread (N64, Arcade etc.)
Sonic The Fighters Has Been Successfully Decompiled
AM2's arcade fighter could get a native PC port soon

Sonic the Fighters has been decompiled, it has been revealed.
Decompilation is a complex process that turns 'executable' code back into human-readable source code, and is a vital step in 'recompiling' games as native PC ports.
"The first functioning 'decomp' of Sonic the Fighters has been pushed to the github repo," reports biggestsonicfan. "It's currently all assembly language, but if you know anyone who likes to fiddle with documentation, formatting, or tools, I need all the help I can get!"
It's important to note that successful decompilation does not guarantee that a game will get a native PC recompilation, but if it does happen, then fans can expect a better frame rate, boosted resolution and other enhancements.
Originally released in arcades in 1996, Sonic the Fighters was developed by Sega's AM2 division. Running on the Model 2 arcade hardware, it was never ported to any home system during the '90s but would eventually find its way to PS2 and GameCube as part of 2005's Sonic Gems Collection.
Since then, it has been released digitally on the PS3 and Xbox 360 and was included as a bonus game in Lost Judgment (2021) and Like a Dragon Gaiden: The Man Who Erased His Name (2023).
Source: Time Extension
- pixel
- Posts: 5458
- Joined: Sun Mar 27, 2016 3:09 am
Re: N64 Recompiled: An Incredible New Way to Keep N64 Games Alive (N64 binaries statically recompiled into C code)
I'm not sure if this is the same mod but I remember seeing that too:Manoel wrote: Fri May 16, 2025 10:12 pm Isn't that old news? There's a guy making a Mario Kart 64 mod with 3D models and a lot of new stuff already.
The decomp lets modders write new content directly in C and compile for any platform. Compiled versions can target any frame rate and resolution
Otherwise it's ROM patches and emulator texture packs. They still work great but these decomps run so well on anything.
- Manoel
- Posts: 168
- Joined: Wed Aug 23, 2017 10:38 am
Re: N64 Recompiled: An Incredible New Way to Keep N64 Games Alive (N64 binaries statically recompiled into C code)
No, it's not the same. I'm talking about Mario Kart 64 Amped Up, which does use real-time 3D models, has new tracks and power-ups:
- melancholy
- Posts: 2339
- Joined: Sat Mar 26, 2016 1:32 am
Re: N64 Recompiled: An Incredible New Way to Keep N64 Games Alive (N64 binaries statically recompiled into C code)
I REALLY hope they make that work on original hardware. I would love to play this on my N64.Manoel wrote: Sat May 24, 2025 7:02 amNo, it's not the same. I'm talking about Mario Kart 64 Amped Up, which does use real-time 3D models, has new tracks and power-ups:
-
- Site Admin
- Posts: 8275
- Joined: Sat Mar 26, 2016 7:45 am
-
- Site Admin
- Posts: 8275
- Joined: Sat Mar 26, 2016 7:45 am
- Dr. Zoidberg
- Site Admin
- Posts: 26200
- Joined: Tue Feb 03, 2015 2:33 am
Re: The Decompilation & Recompilation Thread (N64, Arcade etc.)
Everyone loves retro gaming decompilations and retro gaming recompilations, having given us The Legend of Zelda: Majora's Mask decompilation, the Star Fox 64 decompilation, the Sonic Unleashed Decompilation, the Mystical Ninja Starring Goemon decompilation, The Mario Kart 64 decompilation (and Mario Kart 64 Dreamcast port) and even the San Francisco Rush decompilation...and here are four more Nintendo 64 Decompilation games in the works that are coming "soon" (they are in development. Could be next month! Could be Winter!)
Games Featured: Castlevania 64, Bomberman Hero, Snowboard Kids 2 and F-Zero X
and this is hot on the heels of the Zelda 64 static recompilation project...so its a good month to be a Nintendo 64 fan!
- Dr. Zoidberg
- Site Admin
- Posts: 26200
- Joined: Tue Feb 03, 2015 2:33 am
- Dr. Zoidberg
- Site Admin
- Posts: 26200
- Joined: Tue Feb 03, 2015 2:33 am
-
- Site Admin
- Posts: 8275
- Joined: Sat Mar 26, 2016 7:45 am
- Dr. Zoidberg
- Site Admin
- Posts: 26200
- Joined: Tue Feb 03, 2015 2:33 am