Skip to content
/ tp Public
forked from zeldaret/tp

Decompilation of The Legend of Zelda: Twilight Princess (GCN, USA)

Notifications You must be signed in to change notification settings

notyourav/tp

 
 

Repository files navigation

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
  6. Install the required python dependencies with python3 -mpip install -r tools/requirements.txt

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 compiler (version 2.7 to be exact). See below for a link to our Discord server which has the CodeWarrior compilers pinned in the #tp-decomp channel.
  3. Replace tools/mwcc_compiler/2.7/mwcceppc.exe with the custom one also pinned in the #tp-decomp channel.
  4. Run make at the root of the repo.

Dump Assets

  1. Place a vanilla copy of the NTSC-U version at the root of the folder and call it gz2e01.iso.
  2. Make the game directory.
mkdir game
  1. Run make assets.
make assets

Contributions

All contributions are welcome. This is a group effort, and even small contributions can make a difference. Some tasks also don't require much knowledge to get started.

Most discussions happen on our Discord Server, where you are welcome to ask if you need help getting started, or if you have any questions regarding this project and other decompilation projects.

About

Decompilation of The Legend of Zelda: Twilight Princess (GCN, USA)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 64.3%
  • C++ 21.2%
  • Python 13.7%
  • Other 0.8%