A work-in-progress decompilation of Super Mario 64 DS.
Important
This repository does not contain any game assets or assembly whatsoever. An existing copy of the game is required. This project itself is not, and will not, produce a port, to PC or any other platform. It is a decompilation of the original game code, which can be compiled back into a binary identical to the original.
- Zig (for build system)
- dsd (DS decomp toolkit)
- MWCC ARM compiler (place in
build/compiler/mwccarm.exe) - Wine (Linux/Mac) for running MWCC
- objdiff-cli (optional, for progress tracking)
-
Place your SM64DS ROM as
sm64ds.ndsin the root directory -
Extract the ROM:
zig build extract
-
Generate delink data:
zig build delink
-
Generate objdiff configuration:
zig build objdiff
-
Compile all enrolled files:
zig build
zig build single -- path/to/file.o- Compile a single filezig build all- Compile all enrolled fileszig build report- Generate objdiff progress report
See CONTRIBUTING.md for more details.