mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
b728ec1ef544571b02ef5fe05f418b9935c2b071
* J3DUClipper sinit * sincosTable_ etc * decompile JMATrigonometric sinit * f_op_actor_mng * move f_op_actor_mng and parts of mDo_ext * J3DSys sinit * f_op_scene_req * failed matching attempt for decodeSZS__9JKRDecompFPUcPUcUlUl * mX -> x * fix mCull and fopAcM_prm_class members * fix a few function parameters * move missing NON_MATCHING * remove some unneeded data * turns out that data was not unused * remove unused asm * readd asm deleted by accident
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
- Download and run the latest release of the Windows devkitpro installer
- Run the executable located at
devkitPro\msys2\msys2.exe - Update pacman by running the following command:
pacman -Syu - Install the necessary dependencies by running the following command:
pacman -S python3-pip base-devel gcc vim cmake - Change to the directory of where you cloned this repository
- Install the required python dependencies with
python3 -mpip install -r tools/requirements.txt
Build Instructions
- Obtain a clean DOL of TP (GCN USA) and place it at the root of the repo and name it
baserom.dol. - 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.
- Run
makeat the root of the repo.
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.
Description
Languages
C++
53.6%
C
45.4%
Python
0.4%
POV-Ray SDL
0.3%
Pawn
0.3%