* Frame tweaks * Match frame matrix functions * Match some framebuffer functions * Match frameBegin
oot-gc
This repo contains a WIP decompilation of the N64 Emulator ELF executable intended for use with the Gamecube releases of The Legend of Zelda Ocarina of Time. Currently the decompilation specifically targets the version shipped with the Japanese Zelda Collector's Edition disk as symbols and other debugging information was left unstripped.
It builds the following ELF executables:
SIM.elf : md5: 64428C7350B31E0AAD3DDE221C5B18A5
SIM_S.elf : md5: EDDD2DED9906AD2312F7EC585B3D72CE
SIM_S is a version of the build with stripped symbols which when diffed against a similarly stripped original matches byte for byte if assembled and linked, which is the most realistic goal for verifying the accuracy of the decompilation.
Building
Requirements
You will need the following dependencies:
- gcc or clang
- make
- git
- python3
- WiBo (Linux)
- 32-bit wine (macOS)
- wget
- unzip
- clang-format (optional)
Ubuntu/Debian
In order to install WiBo, you will need to download it and run:
sudo install wibo /usr/bin
You can install the dependencies with the following commands:
sudo apt-get update
sudo apt-get install build-essential git python3 wget unzip
macOS
You can install dependencies via Homebrew with the following command:
brew install coreutils python3 wget wine
Instructions
- Obtain the original ELF executable found in the
120903_zelda.tgcfile on the Japanese Collector's Edition disk and place it in the base working directory and name itSIM_original.elf - Run
make setupandmake