Skip to main content

Documentation 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.

Building sm64dx natively on macOS requires Homebrew to supply a modern GNU make and a MIPS cross-compiler toolchain, because the versions of make and the toolchain shipped with Xcode are either absent or too old. Alternatively, you can use Docker to run an Ubuntu-based build environment without touching your host system’s toolchain at all. Both approaches are documented below.

Install dependencies

Install Homebrew if you haven’t already, then install the required packages:
brew update
brew install coreutils make pkg-config tehzz/n64-dev/mips64-elf-binutils
This installs GNU coreutils, GNU make (available as gmake), pkg-config, and a MIPS64 ELF binutils cross-toolchain from the tehzz/n64-dev tap.
macOS ships with a BSD version of make that is too old to build sm64dx. Always use gmake (the Homebrew GNU make) instead of make when building on macOS.

Build steps

1

Clone the repository

git clone https://github.com/Project516/sm64dx.git
cd sm64dx
</Step>
<Step title="Place your baserom">
Copy your original Super Mario 64 ROM into the project root, naming it `baserom.<VERSION>.z64`:

```bash
cp /path/to/your/rom.z64 baserom.us.z64
2

Run gmake

Use gmake (not make) to build. The default version is us:
gmake VERSION=us
To build the Japanese version with 4 parallel jobs:
gmake VERSION=jp -j4
Build artifacts are placed in the build/ directory.

Build docs developers (and LLMs) love