The Ocarina of Time decompilation project is complete, source code fully reverse engineered

zelda.png

After two hard years of work, the Zelda Reverse Engineering Team has finished one of their biggest projects: recreating The Legend of Zelda: Ocarina of Time's source code, from scratch. We've seen similar successful attempts in the past, such as when Super Mario 64 was also decompiled, which spawned further fan projects that saw the game ported to the Nintendo Switch before Nintendo could, and with widescreen and 60fps support, to boot.

This is a WIP decompilation of The Legend of Zelda: Ocarina of Time. The purpose of the project is to recreate a source code base for the game from scratch, using information found inside the game along with static and/or dynamic analysis. It is not producing a PC port.

Currently, the official website for the decompilation shows the project at 98% completion, as the last finishing touches are done, but are yet to be submitted as a pull request on the project's GitHub. Once it's completed and publically available, it's likely we'll see PC ports and mods being made--not from the ZRET team themselves though, as they want to focus purely on documenting their work and trying to reverse engineer different versions of Ocarina of Time and other Zelda games. For now, the decompilation applies to the Master Quest release of Ocarina of Time on the GameCube.

We thought for a time that we may never be able to match every function completely, so this is an incredibly exciting accomplishment. Dozens of people helped work on this project, and together we were able to achieve something amazing.

If you're looking for other Zelda fan projects to tide you over until the decompilation is released, then you might want to check out the Spaceworld '97 Experience romhack, which came out last week.

:arrow: Source
 

blazer728544

Member
Newcomer
Joined
Oct 27, 2021
Messages
20
Trophies
0
Age
36
XP
70
Country
United States
except that would be pointless and take too much time

you would end up with better results and an overall experience if they just ported the N64 OOT to 3DS and implemented the ro hacks to that

instead of trying to decompile the 3ds version and port over romhacks to its platform

its gonna end up like how sm64 got ported to like 10 consoles with optional patches that you could toggle etc
ah ok i do agree with that i twould be cool to get the original n63 game ported
 

ut2k4master

Lord Tourettes
Member
Joined
Feb 20, 2010
Messages
1,717
Trophies
2
XP
3,742
Country
Germany
is this the original v1.0.0 or the master quest version? hoping the 1.0.0 since it has lots of glitch for speedrunning
pal master quest debug. the progress has been adjusted and isnt at 100% anymore. also theres still a lot of work to do to adapt to all the other oot versions and then additional months of work to make it work on pc etc
 

Ottoclav

Well-Known Member
Member
Joined
May 27, 2020
Messages
132
Trophies
0
Age
43
XP
290
Country
United States
So does this mean it's possible to take that source code and apply to that one fan's pet Unreal engine LoZ project where everything is just stunningly recreated from LoZ:OoT?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,284
Country
United Kingdom
So does this mean it's possible to take that source code and apply to that one fan's pet Unreal engine LoZ project where everything is just stunningly recreated from LoZ:OoT?
Probably not in any kind of copy and paste way that means anything like you might be when Majora's Mask appears.

However with the code in front of them then they could tune the Unreal engine remake to behave exactly like the N64 effort (same speeds of animations, attack damages, movements, controller lag or not...). Could have done that with the stock game, either by observation or code analysis, but that is tedious and hard respectively.
 
  • Like
Reactions: Ottoclav

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,284
Country
United Kingdom
here's to hoping this project won't get taken down.
I am unsure as to Nintendo's logic in leaving things up but so far they have left all such projects alone, be they disassembly (some of the NES disassemblies and pokemon having been up for years at this point) or decompilation. From where I sit they have every right to do so but they ignore them. Anything made with the projects as an extra (PC port, fan mod...) tends to get a slap in short order but the baseline projects get left alone and I don't understand why.

Still if you encounter such a project and there is source code available like this then while there probably are several hundred people that have done it before you then
git_download.jpg


Something like that will be available on github or any of the other source code repositories it might be posted to. If it turns out to be one of the "keep sharing the tapes" scenarios then you will have your own copy to maybe seed something else (assuming you care to participate in such activities of course).
Equally if it is a piece of homebrew you like then do the same as you might be one to get a particular version (several things on the DS went lost source code if you think it can't happen today, and any number of things might get false flagged where the original author is no longer around). Same could apply to disassembles and decompilations but for the most part by the time you hear of them then they are already pretty complete, though again any ports to other platforms or modified versions are a different matter.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    maaaaan that's so awesome but I also don't want to fork over a hundo for it
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Leo could not withstand communism.
  • SylverReZ @ SylverReZ:
    Its OUR products to begin with lol.
    SylverReZ @ SylverReZ: Its OUR products to begin with lol.