Skip to content

Krummers/mkw-sp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Mario Kart Wii - Service Pack

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 71.8%
  • C 10.5%
  • Python 6.6%
  • Rust 5.0%
  • Assembly 4.1%
  • JavaScript 1.6%
  • Other 0.4%