Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.68 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.68 KB

Mario Kart Wii - Service Pack

Mario Kart Wii - Service Pack is an experimental, open-source, cross-platform mod for MKW aiming to provide a variety of features and improvements over the base game. More details on the website.

Building

You need:

  • devkitPPC (with the DEVKITPPC environment variable set)
  • ninja (samurai also works)
  • protoc
  • Python 3
  • pyjson5 (if installing from pip, the package is json5 NOT pyjson5)
  • pyelftools
  • itanium_demangler
  • protobuf (the Python package)

Compile the project by running build.py:

./build.py

The out directory will contain the generated binaries and assets.

Contributing

If you are working on something please comment on the relevant issue (or open a new one if necessary).

The codebase uses both C and asm, C should be preferred for full function replacements and for any kind of complex logic. No assumption about the use of registers by C code should be made other than the ABI. If necessary asm wrappers can be employed to restore and backup volatile registers.

The codebase is automatically formatted using clang-format (15), this will be checked by CI and must be run before merge.

If you need a unoptimised build with debugging information, use python3 build.py -- debug.

Resources