Building Petari produces an output binary that is byte-for-byte identical to the originalDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/SMGCommunity/Petari/llms.txt
Use this file to discover all available pages before exploring further.
sys/main.dol from your game disc. You will need an existing copy of Super Mario Galaxy 1 (Korean version) and the dependencies installed from the previous page. The process takes about four steps from a clean checkout to a successful build.
Extract the game disc
Open Dolphin Emulator, right-click your Super Mario Galaxy 1 disc image, and choose Extract Entire Disc. Extract the contents into the
orig/RMGK01 folder inside your Petari checkout.Only
sys/main.dol is required from the extracted disc. All other extracted files can be deleted to save disk space.Run the configure script
Generate the Ninja build files by running:By default this targets version Supported versions:
RMGK01 (Rev 0, Korea). To build RMGK02 (Rev 1, Korea) instead, pass the --version flag:| Version ID | Description |
|---|---|
RMGK01 | Rev 0 (Korea) |
RMGK02 | Rev 1 (Korea) |