Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 1.31 KB

BUILDING.md

File metadata and controls

25 lines (23 loc) · 1.31 KB

Prerequisites

To build this software, you need to have the n64 tools installed. See the readme in the n64 repository for instructions. To make a VC inject with a Wii WAD, you need gzinject, and optionally a C compiler that targets PowerPC (see Patching).

Building

To build all gz binaries, navigate to the root directory of the repository and run make. To build binaries that will work correctly on the Wii VC, you must have configured the n64 tools with --enable-vc when building the MIPS toolchain.

Patching

To create a UPS patch or a pre-patched rom, run ./make-patch <rom-file> or ./make-rom <rom-file>. <rom-file> should be an unmodified rom to be used for creating the patch. Use ./make-patch-vc <rom-file> to create a rom patch that targets the Wii VC. To create a patched Wii WAD with a gz rom inject, run ./make-wad <wad-file>. You will need powerpc-eabi-gcc (provided by devkitPPC or wii-toolchain) to build the homeboy submodule, which is required to enable certain features for Wii VC, such as SD card access. To make a wad without such features, use ./make-wad --no-homeboy.