aplumafreak500 / DisMKW

pret-style disassembly of Mario Kart Wii. WIP
20 stars 1 forks source link
disassembly mario-kart mario-kart-wii nintendo reverse-engineering wii

DisMKW

pret-style disassembly of Mario Kart Wii.

This is a work in progress and far from production-ready.

Currently, all PPC code within the game (including the Mario Kart Channel) is buildable. Only the NTSC-U version is disassembled at the moment.

Common patches to main.dol and StaticR.rel that are included:

How to use

Install devkitPPC to assemble/compile this project.

Obtain the NTSC-U main.dol and StaticR.rel from a USA (NTSC-U) copy of Mario Kart Wii. Ensure they are named basemain.dol and baseStaticR.rel. Note that this repository does not contain, use, or assemble any other game files, though that may change in the future.

For Mac OS X, run this command in Terminal.

xcode-select --install

For Windows, download Cygwin: setup-x86_64.exe for 64-bit Windows, setup-x86.exe for 32-bit.

Run the Cygwin setup and leave the default settings. At "Select Packages", set the view to "Full" and choose to install the following:

Next, run these commands to set up your enviornment. (Replace /opt/devkitPro with where you installed devkitPro to.)

export DEVKITPRO=/opt/devkitPro
echo "export DEVKITPRO=$DEVKITPRO" >> ~/.bashrc
export DEVKITARM=$DEVKITPRO/devkitPPC
echo "export DEVKITPPC=$DEVKITPPC" >> ~/.bashrc

git clone https://github.com/aplumafreak500/DisMKW

cd DisMKW

To build main.dol and StaticR.rel:

make

Disassembly Progress

(Also known as: What currently requires incbin calls)