SNES Code Injection -- Flappy Bird in SMW

Channel:SethBling · Length:6:31 · Published:2016-03-28 · Views:2979612

Watch on YouTube

Summary

SethBling uses Super Mario World glitches to inject and run Flappy Bird code on an unmodified SNES, entering it purely with controller inputs. It was the first time a human completed this kind of exploit by hand.

Why HN recommends it

Constantly cited as the canonical example of arbitrary code execution through gameplay and of deep system knowledge among speedrunners.

By hand. No savestates. It took forever and the run through is really and truly fascinating — HN, 2025

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

Subtitles (excerpt)

Welcome back, SethBling here. A little over a year ago, I became the first person to complete a Super Mario World credits warp on the Super Nintendo console using a route created by Jeffw356. Yesterday, I became the first human to do something much crazier on console. I used a series of Super Mario World glitches to inject 331 bytes of processor instructions into system RAM. It was the source code for Flappy Bird. I did this using standard unmodded Super Nintendo hardware. While this kind of thing has been done before by feeding prerecorded controller inputs into a console from a computer, no human has ever completed this kind of exploit, until now. In this video, I want to explain how I pulled it off. But first I want to give a huge thank you to p4plus2, who is well known in the Super Nintendo hacking community. He wrote most of the assembly code and provided a ton of technical information necessary to complete this exploit. He is the real brains behind this operation. I also want to thank MrCheeze, who found the arbitrary code execution setup that made this whole project possible, as well as suggesting some vital improvements to my method. Now let me show you how it was done. To begin with, I completed Yoshi’s Island 2 and 3, making sure to pick up Yoshi and

On Hacker News

This reminds me of the incredible Flappy Birds SNES Code Injection into Super Mario World. A must-see video. [VIDEO] — qwertox, 2020-11
My understanding is that they're glitching the game to inject data into memory, in this case processor instructions. And then they use another glitch to jump to and execute that code. No modifications needed to the hardware or ROM, you're just being extremely selective about how to play the game to cause memory to get flipped. This video is done by hand and explains a bit more about how and why i… — BuildTheRobots, 2025-09
I'm a speedrunner, and I'm pretty sure this is well known -- and accepted as standard in some categories! It's a pretty well accepted standard (to the point of the headline being almost a mild offense!). In the gaming world, undefined software behavior is critical to this sort of thing, we see this especially in some games like the legendary exploits found in the Ocarina of Time speedruns for exa… — tbalsam, 2025-03
Sometimes even after you've come up with the exploit, you can create something really beautiful for the console to run afterwards. Pokemon Yellow: [LINK] Super Mario World: [VIDEO] — Dwedit, 2024-05
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

Related videos