SNES Code Injection -- Flappy Bird in SMW
Channel:SethBling · Length:6:31 · Published:2016-03-28 · Views:2979612
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
- The LED's Challenge to High Pressure Sodium · Technology Connections · 21:39
- The Epic Of Gilgamesh In Sumerian · Peter Pringle · 3:55
- NaN Gates and Flip FLOPS · suckerpinch · 19:07
- Mechanical Computer (All Parts) - Basic Mechanisms In Fire Control Computers · Excelsior10000 · 41:53
- Mars Helicopter (before it went to Mars) · Veritasium · 16:00
- RAT POISON AND BRANDY: THE 1904 ST. LOUIS OLYMPIC MARATHON. · Jon Bois · 21:02
- Was Roman Concrete Better? · Practical Engineering · 9:34
- TRUE Limits Of Humanity – The Final Border We Will Never Cross · Kurzgesagt – In a Nutshell · 11:40
- Thinking outside the 10-dimensional box · 3Blue1Brown · 25:13
- 1,000km Cable to the Stars - The Skyhook · Kurzgesagt – In a Nutshell · 7:00
- William Shatner - Common People · dsjkhd · 4:43
- Lyle Bickley explains the PDP-1 (and we play the original Spacewar!) · CuriousMarc · 22:23
- How does Computer Memory Work? 💻🛠 · Branch Education · 35:32
- A Better Default Colormap for Matplotlib | SciPy 2015 | Nathaniel Smith and Stéfan van der Walt · Enthought · 19:08
- 3D Gaussian Splatting - Why Graphics Will Never Be The Same · IndividualKex · 2:12
- Surface-Stable Fractal Dithering Explained · runevision · 21:45
- [TAS] Pokémon Yellow - Arbitrary Code Execution · MrWint · 7:45
- The Artificial Intelligence That Deleted A Century · Tom Scott · 6:16