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.
- devkitPro
- python3
- Obtain the original ELF executable found in the
120903_zelda.tgc
file on the Japanese Collector's Edition disk and place it in the base working directory and name itSIM_original.elf
- Obtain a copy of the MWCC for embedded PowerPC and place it in the
tools/mwcc_compiler/1.1/
folder. (NOTE: This compiler's executables [mwcceppc.exe mwasmeppc.exe and mwldeppc.exe] can be installed with Codewarrior 1.1 for Gamecube, but no license or crack is provided with this project. Please obtain access to the compiler on your own.) - Run
make setup
andmake