Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    SNES Code Injection -- Flappy Bird in SMW

    SethBling

    9 HN recommenders · recommended in 15 months, 2016–2025

    YouTube

    6:31 · 3M views · Mar 28, 2016

    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.

    Games & Game DevelopmentSpeedrunning, glitches & game hackingGame history & retro gaming
    1. 7:45
      [TAS] Pokémon Yellow - Arbitrary Code ExecutionMrWint598K views • 9 years ago
    2. 19:08
      NaN Gates and Flip FLOPSsuckerpinch314K views • 7 years ago
    3. 6:08
      Super Mario World: Arbitrary Code Injection At AGDQ 2014, Performed Liveinvalidation225K views • 12 years ago
    4. 2:29
      [TAS] Super Mario World "Arbitrary Code Execution" in 02:25.19 by MasterjunMasterjun3943K views • 12 years ago
    5. 58:44
      TasBlock at AGDQ 2017: TASBotTASVideosChannel398K views • 9 years ago
    6. 11:55
      Super Mario World Credits Warp ExplainedFrieze638K views • 11 years ago
    7. 22:21
      Reverse emulating the NES to give it SUPER POWERS!suckerpinch1.1M views • 8 years ago
    8. 9:01
      Super Mario World -- Credits Warp in 5:59.6 (First Time Ever on Console)SethBling4.3M views • 11 years ago
    9. 6:22
      Interactive programming Flappy Bird in ClojureScriptBruce Hauman55K views • 12 years ago
    10. 3:15
      [TAS] [Obsoleted] GBC Pokémon: Yellow Version "arbitrary code execution" by Fracta[...] in 03:14.15TASVideosChannel154K views • 13 years ago
    11. 5:58
      MarI/O - Machine Learning for Video GamesSethBling12M views • 11 years ago
    12. 24:32
      How We Solved the Worst Minigame in Zelda's HistoryLinkus71.1M views • 6 years ago
    13. 18:20
      FIXING the ENTIRE SM64 Source Code (INSANE N64 performance)Kaze Emanuar3.2M views • 4 years ago
    14. 24:39
      SM64 - Watch for Rolling Rocks - 0.5x A Presses (Commentated) [OUTDATED]pannenkoek20125.5M views • 10 years ago
    15. 13:14
      Did Nintendo really forget to Optimize Super Mario 64 ? | MVGModern Vintage Gamer1.3M views • 6 years ago
    16. 5:22:14
      The Complete History of the A Button ChallengeBismuth2.4M views • 3 years ago
    17. 1:25
      Armok InvadersBaronWable57K views • 10 years ago
    18. 5:01
      How a Laser-Shot Disk Defeats Hackers & Pirates (Coding Secrets)GameHut132K views • 8 years ago
    19. 31:37
      How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars TechnicaArs Technica5.2M views • 6 years ago
    20. 1:12:43
      Ocarina of Time TAS by dwangoAC, TASBot, Savestate, Sauraen in 53:05 - Summer Games Done Quick 2022Games Done Quick564K views • 4 years ago

    20 comments from Hacker News

    1. @qwertoxNov 2020· 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 recommendsView on HN
    2. @kibwenSep 2020· in “Super Mario Bros. 3 in 3 Minutes – World Record Speedrun Explained [video]”

      I don't know about the run shown in the OP, but there are a fair number of memory-manipulation/ACE speedruns that are feasible in RTA ("real-time attack", a.k.a. something a human could pull off, as distinct from TAS). Off the top of my head I can think of such routes for Pokemon Red/Blue, Ocarina of Time, and Super Mario World. To answer your question of "how likely is one to pull this off" for those three, the Pokemon one requires no almost advanced execution, other than turning off the console at a precise point to corrupt the save data you otherwise just need to follow a simple (though long) series of steps. The Mario one requires some pixel-perfect precision, and runners often used hacked ROMs that display coordinates in order to train. The Zelda one requires exact angles to be held on the analog stick, and I've heard of people creating guides out of cardboard and rubber bands in order to help them achieve the angles more reliably. Sorry that I don't have any video links on hand, but you could almost certainly find examples of these in the GDQ archives. EDIT: Found a good video for the SMW example, by SethBling, which actually goes a step further and manually reprograms SMW into Flappy Bird: this video EDIT 2: Here's an excellent explanation of the Zelda ACE: [LINK]

      RecommendsView on HN
    3. @tbalsamMar 2025· 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!

      RecommendsView on HN
    4. @SkeuomorphicBeeJul 2022· 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

      RecommendsView on HN
    5. @BuildTheRobotsSep 2025· 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

      RecommendsView on HN