mkdd/README.md
2024-05-20 15:24:37 +02:00

2.1 KiB

mkdd

WIP 1:1 Decompilation of Mario Kart Double Dash!!

Building

Requirements

Initial setup

  • Install python, 3.10.4 is recommended as it gets installed by default on most recent Linux distros
  • Install devkitPro, the only package you need is devkitPPC which gets installed by selecting either Wii or GameCube development
  • Add the path where ninja is located to your environment variables under PATH
  • Download the GC MW Compilers
  • Clone the repo using git clone https://github.com/SwareJonge/mkdd --recursive
  • Install the modules from requirements.txt (pip install -r requirements.txt)
  • Dump a copy of the Debug or PAL version and extract main.dol
  • For Debug place main.dol in orig/MarioClub_us/
  • For PAL place main.dol in orig/Release_eu/
  • Put the contents of the GC folder inside compilers_latest.zip in the tools folder

Instructions

  • To target Debug, run python configure.py -r us
  • To target PAL, run python configure.py -r eu
  • If dol_slices.yml changed, rerun the configure script
  • Run ninja
  • Last build step should say something like: main.dol: OK
  • Output is located in the out folder

Credits

  • Seeky for ppcdis, without it this project wouldn't have been where it is now

Matching

Used code from the following repositories(JSystem, SDK)

And many thanks to the people who helped me match some game functions(sorry if i forgot someone)