macOS is supported through two approaches: Homebrew, which installs the MIPS toolchain natively, and Docker, which runs the build inside a pre-configured Ubuntu container. Both produce the same output ROM.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/n64decomp/sm64/llms.txt
Use this file to discover all available pages before exploring further.
The version of
make bundled with macOS (via Xcode Command Line Tools) is too old to build SM64. Both methods below account for this — Homebrew users must invoke gmake instead of make.- Homebrew
- Docker
Homebrew is the simplest option if you want to build natively on macOS. The n64-dev tap provides a pre-built
mips64-elf-binutils bottle for Apple Silicon and Intel Macs.Install Homebrew
If you do not already have Homebrew installed, run the official install script in your terminal:Follow the on-screen instructions. On Apple Silicon, also follow the steps Homebrew prints to add it to your
PATH.Install build dependencies
Update Homebrew and install the required packages. The This installs:
tehzz/n64-dev tap provides mips64-elf-binutils:coreutils— GNU core utilities (providessha1sum, etc.)make— GNU make, accessible asgmakepkg-config— build helper used by the Makefilemips64-elf-binutils— MIPS cross-assembler and linker
Place the baserom
Copy your original SM64 ROM into the project directory with the correct version suffix:
Verifying the build
After a successful build the ROM appears atbuild/<VERSION>/sm64.<VERSION>.z64. The Makefile checks the SHA-1 hash by default (COMPARE=1):
| Version | Expected SHA-1 |
|---|---|
jp | 8a20a5c83d6ceb0f0506cfc9fa20d8f438cafe51 |
us | 9bef1128717f958171a4afac3ed78ee2bb4e86ce |
eu | 4ac5721683d0e0b6bbb561b58a71740845dceea9 |
sh | 3f319ae697533a255a1003d09202379d78d5a2e0 |
cn | 2e1db2780985a1f068077dc0444b685f39cd90ec |