mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
0cf65151b3a1a85a5d3ad74a367045e596aee1aa
* split c_math * split c_angle * split c_API_controller_pad * split c_API_graphic * split c_bg_s_chk * c_bg_s_gnd_chk split * more c_bg split * split c_cc_d * delete asm * split c_cc_s * split c_lib * split c_m2d and c_m3d_g_aab * split c_m3d_g_cir * split c_m3d_g_cps * split rest of c_m3d_g * split c_m3d * split c_malloc * split c_request * split c_sxyz * split and partly decompile c_xyz * format * c_angle.h * begin c_angle decomp * c_angle * progress adding stub classes for SComponent * more c_m3d * remove some asm and format * more m3d headers * more c_angle decomp * c_lib headers * add public to classes * fix csXyz member names * c_sxyz partly OK * move Zero csXyz to c_sxyz header * c_API_graphic * delete some unused asm * move math extern data, decompile some functions * delete unused asm * fix duplicated c_angle.h * fix an inlined function name, add more inlined functions for c_angle.h (currently unused) * format Co-authored-by: Pheenoh <pheenoh@gmail.com>
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 and you are ready to build!
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%