Decompilation of The Legend of Zelda: Twilight Princess (GCN, USA)
Go to file
TakaRikka 2f4904dae2
move d_a_itembase_static / d_a_item_static / Z2StatusMgr (#123)
* move d_a_itembase_static

* move d_a_item_static

* moved Z2StatusMgr

* clang

* fixes

* clang?

* move d_save

* move d_meter2_info

* some d_meter2_info fixes

* move most d_a_player

* move d_bg_s stuff

* move c_cc_s stuff

* move d_cc stuff

* move d_attention / d_event / d_stage
2021-05-02 13:13:14 -04:00
.github/workflows
asm move d_a_itembase_static / d_a_item_static / Z2StatusMgr (#123) 2021-05-02 13:13:14 -04:00
defs demangle data-symbols 2021-04-08 01:47:05 +02:00
docs
include move d_a_itembase_static / d_a_item_static / Z2StatusMgr (#123) 2021-05-02 13:13:14 -04:00
libs move d_a_itembase_static / d_a_item_static / Z2StatusMgr (#123) 2021-05-02 13:13:14 -04:00
rel moved strings + decompile simple store functions 2021-04-10 07:02:38 +02:00
src move d_a_itembase_static / d_a_item_static / Z2StatusMgr (#123) 2021-05-02 13:13:14 -04:00
tools move d_a_itembase_static / d_a_item_static / Z2StatusMgr (#123) 2021-05-02 13:13:14 -04:00
.clang-format
.gitignore
Doxyfile
Makefile
README.md
asmdiff.sh
diff.py
diff_settings.py
dolzel2.sha1
include_link.mk
obj_files.mk
tp

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 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. Run make at 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.