Install the following dependencies using apt:
sudo apt install build-essential python3 git binutils-mips-linux-gnuInstall the following depencies using pacman:
sudo pacman -S base-devel pythonand then install the following AUR package:
Create a Python virtual environment and activate it:
python3 -m venv .venv
source .venv/bin/activateInstall the required Python dependencies:
pip install -r requirements.txtFor each version of the game you want to build, copy a retail ROM of the version into the root directory of the repository and name it baserom.<version>.z64. For example, for the US version, copy the US retail ROM and name it baserom.us.z64.
This is required for asset extraction.
Run the following command to extract assets from the ROM:
make setup VERSION=usReplace us with the version you want to extract assets from.
Run the following command to build the game:
make VERSION=usReplace us with the version you want to build.
Make sure that you have extracted the assets from the ROM for the specified version before building.
Install Windows Subsystem for Linux (WSL) and follow the Linux instructions.
Here is a guide on how to install WSL: How to install Linux on Windows with WSL