The sm64dx repository includes aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Project516/sm64dx/llms.txt
Use this file to discover all available pages before exploring further.
Dockerfile that sets up an Ubuntu 18.04 environment with all required build dependencies pre-installed: binutils-mips-linux-gnu, build-essential, git, pkgconf, and python3. Building with Docker means you do not need to install any native MIPS cross-compiler toolchain on your host machine — it works identically on macOS, Linux, and any other system with Docker available.
Prerequisites
Install and start Docker. No other toolchain is required.Build steps
Place your baserom
Copy your original Super Mario 64 ROM into the project root. The file must be named
baserom.<VERSION>.z64:Build the Docker image
Create the Docker image from the included The image is tagged
Dockerfile. This only needs to be done once (or after the Dockerfile changes):sm64 for use in subsequent docker run commands.Run the build
Mount your local project directory into the container at
/sm64 and invoke make. Use the command for your host operating system:On Linux, Docker runs as root inside the container by default, which would create build output files owned by root. The
--user $UID:$GID flag instructs Docker to run as your current user so that output files are owned by you.Build output
All build artifacts are written to thebuild/ directory inside your local project checkout — not inside the container. The final ROM is located at:
build/us/sm64.us.z64.
Building other versions
Pass anymake variable on the docker run command line after make: