this post was submitted on 23 Mar 2022
37 points (100.0% liked)

Gaming

20904 readers
321 users here now

Sub for any gaming related content!

Rules:

founded 5 years ago
MODERATORS
 

What an incredible effort by these people! I personally can't wait until someone mods in 60fps (which is confirmed to be in the works). This really is a dream come true.

GitHub here: https://github.com/zeldaret/oot

As for where to get the PC build directly, I guess you'll have to ๐Ÿดโ€โ˜ ๏ธ

top 7 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 5 points 2 years ago (2 children)

How does one decompile a game?

[โ€“] [email protected] 7 points 2 years ago

It's a long grueling process of reverse-engineering. I don't know the details, but from what I know you can see the values of things and how they work from the outside, then they figure out what each value is and then re-implement it by trying to rewrite the source code. The github says this:

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.

[โ€“] [email protected] 3 points 2 years ago

Not an expert, but from my understanding of how this worked for the Mario 64 project:

  • Take the ROM and run it through a disassembler.
  • Rewrite (by hand) the assembly in C, one function at a time, with the goal of producing a bit-for-bit identical instructions when compiled using the same tool chain as was used by the Nintendo devs back in the day.
  • Since you now have a reconstructed version of the C source code, you can easily do with it what you can do with any C codebase, like port it to PC or add features, that would be difficult or impossible to do with the MIPS assembly.
[โ€“] [email protected] 3 points 2 years ago (1 children)

I wish Zeldaret didn't post the decompilation on GitHub; Nintendo is going to file a cease and desist letter and the project will be gone.

[โ€“] [email protected] 6 points 2 years ago (1 children)

They won't. The decompilation is entirely legal and doesn't provide any assets, you need the rom of the game (assumedly dumped legally) to be able to compile it this. The super mario 64 decompilation project is still up and has been finished for over a year.

[โ€“] [email protected] 3 points 2 years ago
[โ€“] [email protected] -1 points 2 years ago

You can also play OoT on the Switch