This repository is a template project for building a Kirby Air Ride mod using the Hoshi modding framework.
This project is written in C and uses make to manage the build process. It outputs .bin (code) and .dat (asset) files and can be built on Windows, macOS, and Linux.
1. devkitPPC
This contains the required PowerPC compiler. After installing, make sure the DEVKITPPC environment variable is set. You can verify this by typing echo %DEVKITPPC% in the Windows command prompt.
This project depends on a script written in Python to pack the compiled .o file into a .bin file to be used by the game. Make sure Python 3 is installed and available in your PATH.
- Windows: Download from python.org and check the "Add to PATH" option during installation.
- Linux/macOS: Use your package manager (e.g.,
sudo apt install python3orbrew install python).
Navigate to the root folder of the project and run:
make allThis will:
- Compile and link the source files.
- Pack each mod into a hoshi compatible
.binfile using the Python script. - Output
.binand asset.datfiles to theout/directory.
Built files are placed in the /out directory. These files should be placed in your hoshi iso.