Super Mario World Credits Warp Explained

Channel:Frieze · Length:11:54 · Published:2015-02-21 · Views:638442

Watch on YouTube

Summary

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.

Why HN recommends it

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

Detailed explanation of how the credits warp exploit works — HN, 2018

Game history & retro gaming · Speedrunning, glitches & game hacking

Subtitles (excerpt)

The credits warp in Super Mario World is a very complex and intricate glitch that involves executing arbitrary code that is written by the player in game. A summary of the route goes like this. Write some code using Koopa shells, set up some pointers by manipulating sprites, then perform a glitch that will allow the code to be executed in real time. Before we jump into the route, there are a few things that need to be explained about the game first that will make understanding this a bit easier. In Super Mario World, there can only be 12 sprites loaded in memory at one time. We can represent these 12 sprites as being in slots, which we'll show as these boxes. The slots are numbered 0 through 11, with 0 being the first slot and 11 being the last. Notice that slots 10 and 11 are different. In Yoshi's Island 2, these slots are reserved for special sprites such as berries and items coming out of the item box. Since it's relevant, we'll display the low byte of the sprite's Y position on the left and its X position on the right. Its Y position will increase as the sprite moves downward and the X position will increase as the sprite moves to the right. Since we're only looking at the low byte, as soon as we hit the highest value FF,

On Hacker News

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… — mlinsey, 2018-10
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, an… — JonnieCache, 2015-06
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 littl… — NobodyNada, 2025-06
There are some games where you can modify the program state to glitch to the end, like Super Mario World: [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 th… — lovehashbrowns, 2018-01

Related videos