Decompilation of The Legend of Zelda: Twilight Princess (GCN, USA)
Go to file
Erin Moon b8bd1bbab1
OS.h: more type elaboration (#21)
* move OS function decls to their own header, os.h

* os.h: OSReport (+related), OSMutex, OSThread; fixup uses

* os.h: OS{Mutex,Thread}{Link,Queue}, OSCond

* os.h: OSxx typedefs, OSMessageQueue

* os.h: fix time function decls

* os.h: retype misc sched fns, create u32 OSSoundMode enum (and fixup use)

* os.h: more retyping

* merge os.h into os/OS.h

@Julgodis did this in parallel to me and added some functions beyond
what was in functions.h, so I merged our versions together

* os.h: retype the rest of the (currently decl'd) thread functions

* d_save: move OS import

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-07 15:05:20 -05:00
.github/workflows don't filter branches 2020-09-05 15:35:42 -04:00
asm JKernel (#20) 2020-12-06 15:02:25 -05:00
include OS.h: more type elaboration (#21) 2020-12-07 15:05:20 -05:00
libs JKernel (#20) 2020-12-06 15:02:25 -05:00
src OS.h: more type elaboration (#21) 2020-12-07 15:05:20 -05:00
tools rm asm-differ 2020-12-06 20:47:05 -05:00
.gitignore Improved handling of virtual inheritance. (#7) 2020-12-01 15:18:01 -05:00
Makefile f_pc_layer (#16) 2020-12-05 23:58:12 -05:00
README.md Add discord server link 2020-09-05 15:21:05 -04:00
asmdiff.sh Start Z2SceneMgr and Various Fixes (#11) 2020-12-02 20:35:32 -05:00
dolzel2.sha1 ok 2020-08-29 17:54:55 -04:00
ldscript.lcf JKernel (#20) 2020-12-06 15:02:25 -05:00
obj_files.mk JKernel (#20) 2020-12-06 15:02:25 -05: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 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.