HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Super Mario World Credits Warp Explained

Frieze2 HN recommenders · recommended in 2 months, 2015-2025
YouTube
638K views · 11 years ago · explainer · evergreen

A speedrunner-made explanation of the Super Mario World credits warp, an arbitrary code execution glitch that jumps the game straight to the ending. It simplifies the underlying assembly and memory behavior with animations so non-experts can follow.

HN people cite it as the clearest explanation of how the credits warp exploit works.

Speedrunning, glitches & game hackingGame history & retro gaming#supermarioworld#arbitrarycodeexecution#speedrunning#snes#assembly

4 comments from Hacker News

@NobodyNada2025 · in “Donkey Kong Country 2 and Open Bus”

Open bus quite literally means that the data bus lines are an open circuit -- the CPU has placed an unmapped or write-only address on the address bus, and no hardware on the bus has responded, so the bus lines aren't being driven and are just floating. Thus, nominally, this is a case of undefined behavior at the hardware level. In order to understand what actually happens, we need to look a little closer at the physical structure of a data bus -- you have long conductors carrying the signals around the motherboard and to the cartridge, separated from the ground plane by a thin layer of insulating substrate. This looks a lot like a capacitor, and in fact this is described and modeled as "parasitic capacitance" by engineers who try to minimize it, since this effect limits the maximum speed of data transmission over the bus. But this effect means that, whenever the bus is not being driven, it tends to stay at whatever voltage it was last driving to -- just like a little DRAM cell, producing the "open-bus reads return the last value transferred across the bus" effect described in the article. It's not uncommon for games to accidentally rely on open-bus effects, like DKC2. On the NES, the serial port registers for connecting to a controller only drive the low-order bits and the high bits are open-bus; there are a few games that read the controller input with the instruction LDA $4016 and expect to see the value $40 or $41 (with the 4 sticking around because of open-bus). There's a

CitesView on HN
@mlinsey2018 · in “Mario Kart Wii: The History of the Ultra Shortcut [video]”

The most interesting speedrun I've ever seen is the Super Mario World credits warp, which requires the player to write + execute arbitrary code in game by carefully positioning koopa shells. At first thought to only be possible with tools in an emulator, this has been done on an actual console! Summoning Salt video about the overall history of SMW speedruns: link Detailed explanation of how the credits warp exploit works: ▶ this video

RecommendsView on HN
@lovehashbrowns2018 · in “A man accused of cheating at video games may lose his Guinness World Record”

There are some games where you can modify the program state to glitch to the end, like Super Mario World: ▶ this video The explanation for the glitch is really interesting. But something like this has to be given its own category. There's a Super Mario World category that allows for that "Credits Warp" glitch. The other categories have different rules for what you can and can't do. So it's possible that Todd did something funky, but that would still make his scores illegitimate.

CitesView on HN
@JonnieCache2015 · in “MarI/O – Machine Learning for Video Games”

Here's the author taking the world record (now superseded) at glitching mario world into the credits to "win" the game in 3:07: link This is on a real console, not an emulator. They overflow the snes into the controller registers to achieve arbitrary code execution by hand. They do this by placing koopa shells at pixel-perfect locations to spell out ASM, overflow to the controller registers, and press a specific combination of buttons to jump to the sprite table and their literal shellcode. At the start of this year there was a crazy few weeks where different speedrunners were competing to execute the "credits warp" in the quickest and most efficient way. It started at around 6 minutes, now it's down to around 2 I think, most of which is the game's intro. Fun stuff. SethBling was the first person to ever execute it on a real console. Here's a video explaining it, from a different speedrunner: ▶ this video

RecommendsView on HN
Super Mario World -- Credits Warp in 5:59.6 (First Time Ever on Console)9:01

Super Mario World -- Credits Warp in 5:59.6 (First Time Ever on Console)

SethBling
4.3M views • 11 years ago
[TAS] Super Mario World "Arbitrary Code Execution" in 02:25.19 by Masterjun2:29

[TAS] Super Mario World "Arbitrary Code Execution" in 02:25.19 by Masterjun

Masterjun3
943K views • 12 years ago
Super Mario World: Arbitrary Code Injection At AGDQ 2014, Performed Live6:08

Super Mario World: Arbitrary Code Injection At AGDQ 2014, Performed Live

invalidation
225K views • 12 years ago
SNES Code Injection -- Flappy Bird in SMW6:31

SNES Code Injection -- Flappy Bird in SMW

SethBling
3M views • 10 years ago
The Complete History of the A Button Challenge5:22:14

The Complete History of the A Button Challenge

Bismuth
2.4M views • 3 years ago
TasBlock at AGDQ 2017: TASBot58:44

TasBlock at AGDQ 2017: TASBot

TASVideosChannel
398K views • 9 years ago
How a Laser-Shot Disk Defeats Hackers & Pirates (Coding Secrets)5:01

How a Laser-Shot Disk Defeats Hackers & Pirates (Coding Secrets)

GameHut
132K views • 8 years ago
How We Solved the Worst Minigame in Zelda's History24:32

How We Solved the Worst Minigame in Zelda's History

Linkus7
1.1M views • 6 years ago
[TAS] [Obsoleted] GBC Pokémon: Yellow Version "arbitrary code execution" by Fracta[...] in 03:14.153:15

[TAS] [Obsoleted] GBC Pokémon: Yellow Version "arbitrary code execution" by Fracta[...] in 03:14.15

TASVideosChannel
154K views • 13 years ago
FIXING the ENTIRE SM64 Source Code (INSANE N64 performance)18:20

FIXING the ENTIRE SM64 Source Code (INSANE N64 performance)

Kaze Emanuar
3.2M views • 4 years ago
[TAS] Pokémon Yellow - Arbitrary Code Execution7:45

[TAS] Pokémon Yellow - Arbitrary Code Execution

MrWint
598K views • 9 years ago
Walls, Floors, & Ceilings37:23

Walls, Floors, & Ceilings

UncommentatedPannen
385K views • 9 years ago
Reverse emulating the NES to give it SUPER POWERS!22:21

Reverse emulating the NES to give it SUPER POWERS!

suckerpinch
1.1M views • 8 years ago
Ocarina of Time TAS by dwangoAC, TASBot, Savestate, Sauraen in 53:05 - Summer Games Done Quick 20221:12:43

Ocarina of Time TAS by dwangoAC, TASBot, Savestate, Sauraen in 53:05 - Summer Games Done Quick 2022

Games Done Quick
564K views • 4 years ago
The Legend of Zelda: Ocarina of Time Speedrun in 22:38, live at AGDQ201324:56

The Legend of Zelda: Ocarina of Time Speedrun in 22:38, live at AGDQ2013

CosmoSpeedruns
1.9M views • 13 years ago
Did Nintendo really forget to Optimize Super Mario 64 ? | MVG13:14

Did Nintendo really forget to Optimize Super Mario 64 ? | MVG

Modern Vintage Gamer
1.3M views • 6 years ago
Exploring Sid Meier's Pirates! - BASIC Code, Quirks, Bugs on Commodore 6446:01

Exploring Sid Meier's Pirates! - BASIC Code, Quirks, Bugs on Commodore 64

8-Bit Show And Tell
115K views • 5 years ago
34C3 -  Console Security - Switch56:50

34C3 - Console Security - Switch

media.ccc.de
135K views • 8 years ago
SM64 - Watch for Rolling Rocks - 0.5x A Presses (Commentated) [OUTDATED]24:39

SM64 - Watch for Rolling Rocks - 0.5x A Presses (Commentated) [OUTDATED]

pannenkoek2012
5.5M views • 10 years ago
27c3: Console Hacking 2010 (en)44:11

27c3: Console Hacking 2010 (en)

Christiaan008
33K views • 15 years ago