Back to the archive

The Cartridge Forge / Research ongoing · SM64 runs natively

Nintendo 64 games, recompiled into native programs

A research tool that analyzes an untouched Nintendo 64 ROM into a closed program, lowers it to C, and links it into a native x86-64 or ARM64 build with no emulator inside.

RustCMIPS VR4300N64 RSPRT64SDL
* CHECK
SUBJECT
Plaid
TYPE
Static recompilation research
STATUS
Research ongoing · SM64 runs natively

* 99.03% of Super Mario 64 functions discovered automatically.

PROOF SIGNAL

99.03%of Super Mario 64 functions discovered automatically

The mission

What the system does

A research tool that analyzes an untouched Nintendo 64 ROM into a closed program, lowers it to C, and links it into a native x86-64 or ARM64 build with no emulator inside.

  • Automatic code discovery from the ROM alone, scored against a decompilation map used only as an oracle
  • A closure solver that accounts for every jump under an explicit, listed set of assumptions
  • CPU and RSP microcode lowered to C, each instruction form differential-tested against the ares emulator
  • Super Mario 64 runs natively at full speed with input, saves, and audio; Ocarina of Time reaches file select

Engineering log

Decisions behind the build

What the system handles, and why it works this way.

BOSS 01

Where does the code go next?

Function pointers, jump tables, and relocated overlays hide control flow. A ROM only counts as closed when every indirect site is resolved, and each solver scope names the assumptions it rests on.

BOSS 02

Proof over plausibility

Lowered instructions are checked against a pinned reference interpreter, so the native build is measured against ares instead of trusted because it boots.

System map

How signals move

A plain technical view. The map still works without hovering.

01
ROM.z64

Untouched cartridge image

02
DiscoveryRust

Finds code, loads, and overlays

03
ClosureRust solver

Accounts for every jump

04
LoweringC

CPU and RSP code to portable C

05
RuntimeC / RT64 / SDL

Native graphics, audio, and input

LOG ENTRY / WHAT I LEARNED

“A result with its assumptions written down is worth more than a bigger number without them.”

Source signal

Inspect the work.