In 1998, millions of players spent tens of hours navigating the temples, dungeons, and sprawling landscapes of The Legend of Zelda: Ocarina of Time. They solved puzzles, collected equipment, and defeated bosses in the sequence the developers at Nintendo had intended. Today, an elite tier of gamers can start a fresh save file of that exact same game and force the end credits to roll in less than four minutes.

They do not do this by skipping cutscenes or taking obvious shortcuts. They do it by tricking the game’s internal code into rewriting itself, forcing Link to walk through solid stone walls, and executing precise sequences of inputs that trick the console’s memory into believing the final boss has already been slain.
Welcome to the world of speedrunning—the subculture turned global competitive sport where players dismantle the digital architecture of video games to finish them as quickly as humanly possible. What began decades ago as informal playground bragging rights has evolved into a highly technical, multi-million-dollar charity ecosystem powered by software engineering, statistics, and extreme physical dexterity.
Behind the jaw-dropping world records lies a fascinating collision of human limits and computer logic. To understand how speedrunners beat 80-hour games in mere minutes, one must understand how video games actually work under the hood.
The Anatomy of a Break: How Games Fall Apart at the Seams
At its core, every video game is a complex, continuous calculation. The console or PC updates the world dozens of times per second, calculating physics, character positions, collision boundaries, and enemy artificial intelligence. Speedrunning is the art of finding the exact scenarios where these calculations fail.
The most fundamental tool in a speedrunner’s arsenal is the boundary break, often called “clipping” or going “out of bounds” (OOB). Game developers save computing power by rendering geometry only where players are supposed to look. If a player can force their character through a wall, they step into a void of unrendered space where collision detection no longer applies.
This clipping is achieved through several recurring mechanical oversights:
- Collision Overload: By forcing a player character into a tight wedge between two geometry hitboxes, the game’s physics engine can fail to compute the character’s location, inadvertently pushing them through the wall to resolve the error.
- Subpixel Positioning: Video game movement relies on floating-point numbers to calculate position. By moving at ultra-precise angles, runners can align their character with the invisible seam between two polygon textures, slipping directly through solid barriers.
- Velocity Exploitation: In games like Super Mario 64, players use famous maneuvers like the “Backward Long Jump” (BLJ). By executing repeated long jumps backward on specific slopes, the game fails to apply an upper cap to Mario’s backward speed. The player accumulates infinite velocity, blasting through doors and barriers that normally require dozens of collectible stars to unlock.
Once outside the intended map boundaries, speedrunners can navigate through the darkness directly to trigger zones—invisible boxes placed by developers that load new areas, initiate boss fights, or launch the victory cinematic.
Rewriting the Code: Arbitrary Code Execution and RAM Manipulation
While clipping through walls is impressive, the most mind-bending speedruns rely on a phenomenon known as Arbitrary Code Execution (ACE). In these runs, players do not just bypass levels; they reprogram the game while playing it.
Video game consoles store information in Random Access Memory (RAM). Certain bytes of RAM store the player’s health, inventory, position, and active quest states. Other sections of memory store the actual program instructions that tell the console what to do next.
If a game contains a flaw in how it manages memory—such as a buffer overflow or an uninitialized variable—players can manipulate items in their inventory or move their character in precise coordinate patterns to write specific numerical values into the console’s RAM. If done correctly, the console misinterprets these player-generated values as executable code.
In Super Mario World on the Super Nintendo, runners execute a precise series of coin collections, enemy juggling, and pixel-exact movements. Without realizing it, the player is using the controller inputs to write assembly code directly into the console’s memory chips. Within 45 seconds of starting the game, the software jumps execution directly to the end-credits sequence, entirely bypassing the game’s 96 levels.
Similar ACE exploits have been discovered in early Pokémon titles, The Legend of Zelda, and Paper Mario, allowing runners to literally program custom mini-games or force instant victory screens purely through normal game controllers.
The R&D Engine: Tool-Assisted Speedruns and Data Mining
Human speedrunners rarely discover these game-breaking glitches entirely by accident. Behind every world record is a massive collaborative effort driven by reverse engineers, data miners, and Tool-Assisted Speedrun (TAS) creators.
A TAS is not a human playing in real-time. Instead, it is a run created using specialized emulation software that allows researchers to input commands frame by frame, with complete visibility into the game’s internal memory registers. A TAS acts as the theoretical research-and-development arm of the speedrunning community. It answers the question: What is the absolute mathematical limit of this game if human error is completely eliminated?
Once a TAS script demonstrates that a new glitch or routing path is theoretically possible, human runners step in to figure out how to replicate it without computer assistance.
This process involves extensive data mining:
- Decompiling Code: Reverse engineers read the game’s original assembly or C code to identify logic flaws, oversight conditions, or unhandled exceptions.
- RNG Manipulation: Random Number Generators (RNG) govern item drops, enemy behaviors, and critical hits. Data miners analyze how the game’s pseudorandom number generator works. Runners then memorize specific movement patterns or timing sequences (such as holding a direction on the title screen) to force the game to generate favorable “random” outcomes every single time.
- Route Optimization: Route planners use computer algorithms to calculate the mathematically optimal path through a game, factoring in movement speed, item acquisition time, and probability factors.
The Human Element: Frame-Perfect Precision and Setup Cues
Translating theoretical computer science into human performance requires an astounding level of physical execution. Most modern console games run at either 30 or 60 frames per second. At 60 frames per second, a single frame lasts just 16.67 milliseconds.
Many of the highest-level speedrunning glitches are “frame-perfect,” meaning the player must press a specific button during a window of time lasting less than two-hundredths of a second. Hitting two frame-perfect inputs in a row reduces the margin of error even further.
To achieve this level of consistency without visual aid, runners develop intricate setups based on audio and visual cues:
- Visual Anchors: A runner might align a pixel on their character’s sword with a specific line in a wall texture before pressing a button.
- Pause Buffering: If a glitch requires inputs on consecutive frames, runners will rapidly open and close the pause menu. The pause menu gives the player infinite real-world time to buffer the next button input before advancing the game by a single frame.
- Audio Beats: Players often sync their controller taps to background music or specific sound effects to hit strict rhythm windows.
The physical strain is real. Top-tier runners practice specific tricks for hundreds of hours, developing deep muscle memory. Mental fortitude is equally crucial; a single missed frame forty minutes into a run can invalidate dozens of hours of near-perfect effort.
Categorization and the Ethics of Breaking Games
To maintain fair competition, the speedrunning community—largely centralized around platform databases like speedrun.com—has developed strict rulebooks and structural categories. Because breaking a game can mean different things to different people, categories dictate what methods are permissible:
- Any%: The flagship category. The goal is simple: reach the end credits as fast as possible by any means necessary. All glitches, clips, and memory manipulations are allowed unless explicitly banned by community consensus.
- 100%: Requires the player to complete the game fully—collecting every item, beating every boss, or clearing every level—while still optimizing for time.
- Glitchless / No Major Glitches (NMG): Designed for players and viewers who want to see the game played intended, but optimized to absolute human perfection. Banned techniques typically include out-of-bounds movement, memory corruption, and sequence breaks.
- Console-Specific Categories: Games are often split by platform (e.g., Original Hardware vs. Emulator) because load times, hardware lag, and processor speeds can give certain platforms an inherent advantage.
Integrity is enforced through rigorous peer verification. Submitting a world record requires unedited video evidence, often accompanied by input-display overlays that show the exact buttons being pressed on controller hardware. In high-profile runs, verifiers conduct audio spectrum analysis, frame-by-frame video examination, and statistical probability checks to ensure the run was not spliced, simulated, or modified via unauthorized software patches.
From Niche Hobby to Global Phenomenon
What began in internet relay chats and early web forums has transformed into a massive cultural force. The centerpiece of modern speedrunning is Games Done Quick (GDQ), a bi-annual week-long marathon where runners stream non-stop speedruns to hundreds of thousands of concurrent viewers on Twitch.
These events have raised tens of millions of dollars for charities such as the Prevent Cancer Foundation and Doctors Without Borders. They showcase not only the mind-bending technical prowess of the runners but also the infectious enthusiasm of a community dedicated to dissecting their favorite childhood media.
Speedrunning has fundamentally altered how game developers design software as well. Modern studios now routinely consult speedrunners during development, building dedicated “speedrun modes,” built-in game timers, and leaderboards directly into titles like Celeste, Metroid Dread, and Hollow Knight. Some developers even deliberately leave harmless, technical glitches intact because they know the speedrunning community will embrace them as high-skill gameplay mechanics.
At its core, speedrunning is a celebration of human curiosity and mastery. It strips away the illusions built by game creators and reveals the digital scaffolding underneath. By pushing code to its breaking point and human reflexes to their physical limits, speedrunners transform video games from passive stories into interactive playgrounds of pure performance art.
