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
33
XP
40
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,463
Trophies
1
XP
2,676
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
128
Trophies
0
Age
41
XP
256
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
34,319
Trophies
2
Website
trastindustries.com
XP
23,401
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
34,319
Trophies
2
Website
trastindustries.com
XP
23,401
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.
 
General chit-chat
Help Users
    KennieDaMeanie @ KennieDaMeanie: The steamdecks work around will be AAA titles printed on micro sd