FIXING the ENTIRE SM64 Source Code (INSANE N64 performance)
What it is
Kaze Emanuar explains how he rewrote and optimized the Super Mario 64 source code so it runs far faster on real N64 hardware. He covers performance bottlenecks and fixes in detail for his ROM hacks.
Why Hacker News recommends it
HN loves the deep, hands-on look at N64 hardware quirks such as bus contention and the surprisingly large wins from low-hanging optimizations.
- 7 people recommended it
- 7 different months
- 2 strong recommendations
- first 2022, last 2025
What HN commenters said
“amazing video about refactoring Mario 64 to reach 30 FPS and render 6x faster on N64”
Refactoring Mario 64 for 30 FPS and split-screen co-op
CSMastermind, 2024-01 · Strong recommendation · in “Decompilation of Paper Mario for N64”
“I love that channel, he reworked the entire Mario 64 code”
Reworked Mario 64 code for stable 60FPS
alpaca128, 2024-02 · Strong recommendation · in “How video games use lookup tables”
“Kaze has done a deep dive into optimizing the Super Mario 64 source code for his ROM hacks.”
Deep dive into optimizing Super Mario 64 source
MarioMan, 2023-01 · Recommendation · in “Nintendo 64 Java”
“If you like this stuff Kaze Emanuar does loads of neat work”
N64 quirks and decompiled Mario 64 optimization work
psychphysic, 2023-03 · Recommendation · in “The model for the coins in Super Mario Odyssey is 65% simpler than in SM Galaxy”
“an amazing series about optimizing Super Mario 64”
Overview of optimizing Super Mario 64 for complex romhacks
rdlw, 2023-10 · Recommendation · in “The Worlds First FPGA N64”
“enjoying watching this young modder on YouTube optimize all of the original SM64 source code”
Modder optimizing SM64 source to double frame rate
Wolfbeta, 2024-01 · Recommendation · in “Super Mario 64 on the Web”
“optimized the ever living hell out of to get 60fps+”
Developer optimized SM64 code to 60fps+
Apofis, 2024-04 · Recommendation · in “I ported thousands of apps to Windows 95 [video]”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: super mario 64, n64, optimization, romhacking, retro hardware
Also recommended by the same people
explainerThe Most Underrated AlgorithmVeritasium · 5 HN recommenders · 2022–2024
explainerNoether's Theorem and The Symmetries of RealityPBS Space Time · 5 HN recommenders · 2018–2026
tutorialLearn music theory in half an hour.ANDREW HUANG · 4 HN recommenders · 2019–2023
demoSynthesizing Chicken Noodle Soup From Pure ChemicalsThe Thought Emporium · 1 HN recommender · 2023–2024
explainerDoes "land area" assume a country is perfectly flat?Stand-up Maths · 3 HN recommenders · 2020–2023
demoComputer program that learns to play classic NES gamessuckerpinch · 9 HN recommenders · 2015–2025
tutorialThe world's worst video card?Ben Eater · 8 HN recommenders · 2019–2024
tutorialWorld's worst video card? The exciting conclusionBen Eater · 2 HN recommenders · 2019–2020