Software:Super Mario 64
Appearance
| Developer | Nintendo EAD |
|---|---|
| Publisher | Nintendo |
| Platforms | Platform:Nintendo 64 |
| Versions | JP, US, EU, Shindou (SH), iQue Player (CN) |
| On this wiki | Facts · Code · Notes · Topics |
3D platformer by Nintendo EAD (1996, Nintendo 64). The n64decomp/sm64 project rebuilds the Japan, North America, Europe, Shindou and iQue Player releases byte for byte.
Overview
The decompilation (https://github.com/n64decomp/sm64) builds five ROMs, selected with make VERSION=<jp|us|eu|sh|cn>. SHA-1 of each matching ROM (README and sm64.*.sha1): see the Build pages. Assets are extracted from the user's own ROM (baserom.<VERSION>.z64).
Toolchain
- Default compiler: the SGI IRIX
ido5.3 C compiler (-O2,-G 0,-mips2,-non_shared -Wab,-r4300_mul -Xcpluscomm -Xfullwarn -signed -32), run either throughqemu-irixor as a statically recompiled copy (tools/ido-static-recomp).COMPILER=gccbuilds a non-matching ROM. - Library code (libultra,
lib/src/math) uses per-file overrides such as-mips2,-mips3 -32for the 64-bit long-long routines (ll%.o). - iQue Player files use an egcs build (
tools/ique_egcs) with-mcpu=r4300 -mgp32. - Audio and level data are produced by tools in
tools/(sequence, sample bank and sky conversion).
See Platform:Nintendo 64 and Tool:Splat.
Code & repositories
- https://github.com/n64decomp/sm64 @
9921382a68bb0c865e5e45eb594d9c64db59b1af· license: CC0-1.0
Matching decompilation of Super Mario 64 (jp, us, eu, sh, cn). Useful without building: README and sm64.*.sha1 (SHA-1 of every ROM), Makefile (IDO 5.3 flags, per-file overrides, iQue egcs), assets.json.
Tested on: source read, not run: Read at commit 9921382: README, Makefile, sha1 files; not built · checked 2026-10-18; last activity 2024-02-04