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.
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:
make
git
gcc-core
gcc-g++
libpng-devel
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
(Also known as: What currently requires incbin calls)