Super Mario World: Arbitrary Code Injection At AGDQ 2014, Performed Live
Channel:invalidation · Length:6:07 · Published:2014-01-21 · Views:224817
Summary
A live performance at AGDQ 2014 in which Super Mario World is made to execute arbitrary injected code, running other games like Pong and Snake on the cartridge. It is done through a TASBot feeding precise controller inputs.
Why HN recommends it
Used as the canonical example of arbitrary code execution through nothing but controller input, often in talks about speedrunning and exploits.
(this second video is really good, he goes into detail of the process) — HN, 2022
Game history & retro gaming · Speedrunning, glitches & game hacking
Subtitles (excerpt)
whatever this run is they wouldn't even tell me what it was can we power without yeah go for it okay three two one okay okay you delet the file right uh I sure hope so looks like it no oh no you didn't oh did you use a different cartridge no okay we got to delete the same maybe maybe I can grab yes okay is that restarted okay 3 two 1 I think I forgot to switch there we go that's better all right uh this is a Super Mario World task by Master June contrary to what I said a few minutes ago this one task is not featured on task videos yet this is a brand new task um it was finished yesterday uh midnight so we've done extensive testing we know exactly what's going to happen all right um the only two people who know what's going to happen is me and alen here so I'm looking forward to everything that you're going to see here is seemingly random seemingly random completely intended despite what you might what it might look like whoa what is that that was that was Del oh what he's actually doing is spawning a spawning tiles in a specific order um there's this thing called the oam which is just a table which um contains all the physical Graal um properties of all the of all the tiles on screen the P switch is really the key factor here what he just did right here he
On Hacker News
At its most extreme, this crossover gets you things like arbitrary code execution on Super Mario World. EDIT: There was supposed to be a link here. [VIDEO] — pdpi, 2025-03
Just to add some context, arbitrary code execution in Super Mario World is nothing new, it has been known since 2014. There was a tool assisted demonstration at Awesome Games Done Quick 2014 [1] where they inject a pong and a snake game using a TASBot (a robot controller that replays input scripts to the console). And in 2016 a streamer performed it manually to inject a flappy birds game [2] (thi… — SkeuomorphicBee, 2022-07
> Evolved player makes invalid moves far away in the board, causing opponent players to run out of memory and crash Well, this sounds like speedrunning. People have found arbitrary code execution vulnerabilities in SNES and used them to jump to the credits (which counts as completed the game) in less than a minute: [LINK] They also used the same technique to inject runnable code in the game: [VID… — eatitraw, 2019-09
Related videos
- 8 Bit & '8 Bitish' Graphics-Outside the Box · GDC Festival of Gaming · 1:25:34
- SM64 - Watch for Rolling Rocks - 0.5x A Presses (Commentated) [OUTDATED] · pannenkoek2012 · 24:38
- Reverse emulating the NES to give it SUPER POWERS! · suckerpinch · 22:21
- The Ultimate Game Boy Talk (33c3) · media.ccc.de · 1:01:06
- How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica · Ars Technica · 31:37
- MarI/O - Machine Learning for Video Games · SethBling · 5:57
- The Engoodening of No Man's Sky · Internet Historian · 53:51
- Computer program that learns to play classic NES games · suckerpinch · 16:17
- SNES Code Injection -- Flappy Bird in SMW · SethBling · 6:31
- 'Diablo': A Classic Game Postmortem · GDC Festival of Gaming · 1:17:43
- FIXING the ENTIRE SM64 Source Code (INSANE N64 performance) · Kaze Emanuar · 18:20
- How we fit an NES game into 40 Kilobytes · Morphcat Games · 12:04
- Old pinball machines are amazingly complex · Technology Connections · 50:08
- Classic Game Postmortem: Sid Meier's Civilization · GDC Festival of Gaming · 1:02:15
- MyHouse.WAD - Inside Doom's Most Terrifying Mod · Power Pak · 1:42:01
- How lucky is too lucky?: The Minecraft Speedrunning Dream Controversy Explained · Stand-up Maths · 39:47