Decompilation of The Legend of Zelda: Twilight Princess (GCN, USA)
Go to file
Pheenoh c72fc0c64a
Merge pull request #1 from Thar0/makefile-changes
Makefile changes: Remove objcopy hack and allow building with WSL
2020-08-29 23:20:04 -04:00
asm ok 2020-08-29 17:54:55 -04:00
include ok 2020-08-29 17:54:55 -04:00
src ok 2020-08-29 17:54:55 -04:00
tools Allow building with wsl and remove objcopy hack with appropriate change to elf2dol 2020-08-30 01:16:07 +01:00
.gitignore ok 2020-08-29 17:54:55 -04:00
Makefile Allow building with wsl and remove objcopy hack with appropriate change to elf2dol 2020-08-30 01:16:07 +01:00
README.md ok 2020-08-29 17:54:55 -04:00
asmdiff.sh ok 2020-08-29 17:54:55 -04:00
dolzel2.sha1 ok 2020-08-29 17:54:55 -04:00
ldscript.lcf ok 2020-08-29 17:54:55 -04:00
obj_files.mk ok 2020-08-29 17:54:55 -04:00
rels_sha1.md ok 2020-08-29 17:54:55 -04:00

README.md

The Legend of Zelda: Twilight Princess

This repo contains a WIP decompilation of The Legend of Zelda: Twilight Princess (GCN USA).

It builds the following DOL:

main.dol - sha1: 4997D93B9692620C40E90374A0F1DBF0E4889395

And will eventually build all the RELs.

Windows Prerequisites

  1. Download and run the latest release of the Windows devkitpro installer
  2. Run the executable located at devkitPro\msys2\msys2.exe
  3. Update pacman by running the following command: pacman -Syu
  4. Install the necessary dependencies by running the following command: pacman -S python3-pip base-devel gcc vim cmake
  5. Change to the directory of where you cloned this repository and you are ready to build!

Build Instructions

  1. Obtain a clean DOL of TP (GCN USA) and place it at the root of the repo and name it baserom.dol.
  2. Obtain a copy of the MWCC PowerPC (from GC CW 3.0) and place it in tools/mwcc_compiler/3.0/ folder in tools/. (NOTE: This compiler's executables [mwcceppc.exe mwasmeppc.exe and mwldeppc.exe] can be installed with Codewarrior 3.0 for Gamecube, but no license or crack is provided with this project. If you can't find it on your own just DM me Pheenoh#0001).
  3. Run make at the root of the repo

Contributions

Contributions and PRs are welcome.