HackerTube

SNES Code Injection -- Flappy Bird in SMW

SethBling9 HN recommenders · recommended in 9 months, 2016–2025
YouTube
demo · intermediate · evergreen · 2016–2025 on HN

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.

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

12 comments from Hacker News

@qwertox2020-11 · in “Flappy Bird in 228 bytes”

This reminds me of the incredible Flappy Birds SNES Code Injection into Super Mario World. A must-see video. ▶ this video

Strongly recommends View on HN
@BuildTheRobots2025-09 · in “Bad Apple but it's played inside Super Mario Bros”

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 it works: ▶ this video

Recommends View on HN
@tbalsam2025-03 · in “Speedrunners are vulnerability researchers, they just don't know it yet”

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 example. I mean, in Super Mario World, SethBling did code injection to manually run a version of Flappy Bird (how ironic given the origin of the pipes!) in the game. By hand. No savestates. It took forever and the run through is really and truly fascinating: ▶ this video I speedrun things other than games as well -- and so the generalization is not just that we are security researchers, we are people who fundamentally learn the "shape" of a thing very, very well, and ways that this shape can be used to get from one state on that shape to another. In conclusion -- yes, it can be something as simple as security research! But the joy and the beauty of speedrunning is something so much bigger and beautiful than that -- though it certainly is one outcome that can be had!

Recommends View on HN
@Dwedit2024-05 · in “Hackers discover how to reprogram NES Tetris from within the game”

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: ▶ this video

Recommends View on HN
@SkeuomorphicBee2022-07 · in “Arbitrary Code Execution in Super Mario All-Stars [video]”

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] (this second video is really good, he goes into detail of the process). So, what this newer demonstration brings is the use of the known arbitrary code execution capabilities of "Super Mario World" to help finish all 5 games in "Super Mario All-Stars + Super Mario World" as quick as possible. [1] link [2] ▶ this video

Recommends View on HN