Home
How Tool Assisted Speedruns Redefine the Theoretical Limits of Video Games
A Tool-Assisted Speedrun (TAS) represents the zenith of digital optimization. It is the process of creating a theoretically perfect playthrough of a video game using specialized software tools to transcend human physical limitations. Unlike a standard speedrun, where a player performs in real-time, a TAS is meticulously architected frame-by-frame. The goal is not to test human reflexes, but to uncover the absolute maximum potential of the game’s code.
The final output of a TAS is not a video file, but a precise sequence of controller inputs. When played back on the original game engine, these inputs result in a performance that looks supernatural—character movements that never waste a single pixel, luck that seems impossibly consistent, and glitches that break the game wide open.
The Core Mechanics of Perfection
Understanding how a TAS is constructed requires looking past the screen and into the granular flow of data between the controller and the processor. To create these runs, creators—often called TASers—utilize four primary technical pillars.
Frame-by-Frame Control
Standard video games typically run at 60 frames per second (FPS). A human player must react to visual stimuli within roughly 150 to 300 milliseconds. In the world of TAS, time is slowed to a standstill. Creators advance the game one frame at a time, allowing them to input specific button presses for every 1/60th of a second. This ensures that every action, from the first frame of a jump to the exact moment an item is picked up, is perfectly timed.
Re-recording and Save States
The "Tool" in TAS refers largely to the features of modern emulators. Save states allow a creator to "bookmark" the exact state of the game’s RAM at any moment. If a complex sequence of tricks fails on frame 500, the TASer can simply reload the save state from frame 490 and try again. This iterative process, known as re-recording, can happen tens of thousands of times for a single ten-minute run. Some of the most optimized runs in history have re-record counts exceeding 500,000, representing months or even years of human effort.
Input Files and Replayability
A TAS is fundamentally a script of binary data—which buttons are pressed (1) or released (0) at any given time. This data is stored in an input file (such as .bk2 or .fm2). Because the game engine is a deterministic machine, feeding it the exact same inputs in the exact same order should, in theory, always produce the same result. This allows the community to share small files that others can play back on their own machines to verify the run’s legitimacy.
Memory Monitoring
Advanced TASers do not just watch the screen; they watch the game's internal memory. Using hex editors and memory watchers, they can see variables that are invisible to the player, such as a character’s exact X/Y coordinates to the eighth decimal point, their current velocity, or the "Global Timer" that dictates enemy behavior. By knowing the exact "sub-pixel" position of a character, a TASer can perform movements that a human eye could never distinguish.
The Technical Engine: Emulators and Determinism
The validity of a Tool-Assisted Speedrun rests entirely on the concept of determinism. For a TAS to work, the emulator must behave exactly like the original hardware. If the emulator introduces even a single frame of lag or calculates a random number differently than a physical console would, the run will "desync."
A desync occurs when the recorded inputs no longer match the state of the game. For example, if a TASer inputs a jump on frame 1000 assuming a platform is there, but the platform moved differently due to an emulation error, the character will fall into a pit, and the rest of the recorded inputs will be useless.
Achieving this level of accuracy is a monumental task in software engineering. Modern emulators like BizHawk or Mesen are built with "cycle-accuracy" in mind, attempting to replicate the behavior of the original CPU and GPU down to the individual clock cycles. This technological foundation is what allows TASing to exist as a legitimate research field within gaming.
RNG Manipulation and the Art of Luck
One of the most mind-bending aspects of a TAS is its ability to control "luck." In many games, events like enemy drops, critical hits, or the layout of a procedurally generated level are determined by a Random Number Generator (RNG).
However, in older consoles, randomness is rarely truly random. It is usually a "Pseudo-Random Number Generator" (PRNG) that uses a "seed" based on specific inputs, such as how many frames have passed since the console was turned on or which buttons were held during the loading screen.
Cracking the Seed
TASers can manipulate these seeds with surgical precision. By delaying an action by a single frame or performing a seemingly useless flick of the joystick, the TASer can change the internal state of the RNG. In a TAS of a game like Pokémon, this might mean every single attack is a critical hit, and every wild encounter is exactly the rare creature the runner needs. To the viewer, it looks like extreme luck; in reality, it is the result of calculating exactly how the game’s math functions and forcing it to provide the desired outcome.
Entropy Management
In more modern, complex games, RNG is harder to manipulate because the "entropy" (the sources of randomness) is more varied. It might account for mouse movement, system clock time, or even background noise in the hardware. Even so, TASers find ways to "buffer" inputs or stay in specific areas to keep the RNG state predictable.
A History of TAS: From Doom Demos to Viral Controversies
The culture of TASing did not emerge overnight. It evolved from a niche technical curiosity into a major subculture.
The Doom Era (1999)
The term "Tool-Assisted" was coined within the Doom speedrunning community. In the late 90s, programmers created modified versions of the Doom source code that allowed players to record demos in slow motion or merge different segments of runs together. These were called "built demos." While controversial at first, the community eventually recognized them as a separate category from "unassisted" play, setting the stage for the split between TAS and RTA.
The Morimoto Incident (2003)
In 2003, a video of Super Mario Bros. 3 appeared on the early internet. It showed a player named Morimoto completing the game in 11 minutes while performing acrobatic stunts that seemed impossible. At the time, the concept of TAS was not widely known. Millions of viewers believed they were watching a person with god-like reflexes. When the truth emerged that the video was made using an emulator's tools, a wave of backlash followed. Many labeled it as "cheating."
This controversy was the catalyst for the creation of sites like TASVideos.org. The community realized that for TASing to be respected, it needed transparency. Rules were established: all tools used must be disclosed, and the primary goal should be to push the game to its limits for entertainment and research, not to deceive the public.
Arbitrary Code Execution (ACE): Turning Controllers into Keyboards
The most advanced form of TASing is known as Arbitrary Code Execution (ACE). This is where the line between "playing a game" and "hacking a game" completely disappears.
ACE occurs when a TASer exploits a series of glitches to trick the game into treating controller inputs as executable code. By pressing specific buttons at specific times while certain objects are on screen, the TASer can write a new program directly into the console's memory.
A famous example occurs in Super Mario World. During a live demonstration at an Awesome Games Done Quick (AGDQ) event, a TAS was played back that didn't just beat the game—it repurposed the game's memory to run a version of Snake and Pong inside the Super Mario World engine. The character Mario would move in a specific pattern, and those movements were interpreted by the game’s RAM as code to draw new graphics and logic on the screen.
In an ACE-based TAS, the "Any%" category (beating the game as fast as possible) often takes less than a minute. The runner executes a "Total Control" glitch, writes a script that says "Go to the credits," and the game immediately ends. It is the ultimate expression of mastering a game's technical architecture.
The Symbiotic Relationship: TAS vs. Real-Time Attack (RTA)
While TAS and RTA are separate disciplines, they are deeply interconnected. They are often described as the "Theoretical Physics" and "Experimental Physics" of the gaming world.
The Research Phase
Whenever a new TAS is released, human speedrunners (RTA) analyze it frame-by-frame. They look for new glitches, faster routes, or optimized movement patterns discovered by the TAS. While many TAS tricks are "humanly impossible" (requiring 60 inputs per second), many others are simply "very difficult." RTA runners will take these difficult tricks and spend hundreds of hours practicing them until they can perform them in a live run.
The Cycle of Optimization
A human runner might find a new skip. The TASer then takes that skip and optimizes it to the microsecond. This, in turn, reveals a new sub-glitch that the human runner can then incorporate. This back-and-forth has led to games like The Legend of Zelda: Ocarina of Time being beaten in times that were considered laughably impossible only a decade ago.
The Ethical Watchdog: How TAS Catches Human Cheaters
One of the most practical applications of TASing is in the realm of verification. When a human player submits a world record that looks "too good," the community turns to TAS tools to see if the run is legitimate.
The Billy Mitchell Case
Billy Mitchell, once a legendary figure in the Donkey Kong and Pac-Man communities, had his records stripped after forensic analysis. Experts used TAS knowledge to prove that the transitions between screens in his videos were consistent with the MAME emulator rather than original arcade hardware. The "signature" of the hardware—how it renders images frame-by-frame—is something that TASers understand better than anyone else.
Impossible Inputs
If a human runner claims to have performed a trick that requires three consecutive frame-perfect inputs (a 1 in 216,000 chance if done blindly), TAS researchers can calculate the probability of that event. If the "human" run matches a TAS input-for-input, it is a clear sign of a "spliced" or tool-assisted run being passed off as real-time play. In this sense, TAS is the "DNA testing" of the speedrunning world.
The Hardware Frontier: TASBot and Console Verification
For years, skeptics argued that TAS runs only worked because emulators were "broken" or different from real consoles. To prove them wrong, the community created TASBot.
TASBot is a hardware device (usually based on an Arduino or similar microcontroller) that can be plugged directly into a physical console's controller port (NES, SNES, N64, etc.). The device "pretends" to be a controller and sends the recorded TAS inputs to the actual console at the exact microsecond required.
When a TAS is "verified on console," it proves that the glitches and movements are not a result of emulator bugs, but are inherent to the original game's code. Watching a physical, 30-year-old Nintendo console execute a "Total Control" glitch and start playing digital music through its sound chip remains one of the most popular spectacles in gaming marathons.
How to Get Involved in TASing
Starting a TAS is significantly more accessible today than it was in the early 2000s. The barrier to entry is no longer coding knowledge, but patience and analytical thinking.
- Select the Right Emulator: For beginners, BizHawk is the industry standard. It supports a wide variety of consoles and includes a "TASStudio" tool that allows for a visual representation of inputs.
- Learn the Memory Map: Using a "Hex Editor," you can start looking for the address that controls your character's speed or health. Seeing the numbers change in real-time is the first step toward manipulation.
- Study the Logic: Before attempting a full run, try to optimize a single room or a single jump. Use the "Frame Advance" button to see exactly what happens when you press a button on frame A versus frame B.
- Join the Community: Sites like TASVideos provide extensive documentation, scripts, and a "Sandbox" for new creators to post their work and receive feedback from veterans.
Conclusion: The Pursuit of the Infinite
Tool-Assisted Speedrunning is more than just a way to beat a game quickly; it is a celebration of computer science and human curiosity. It treats video games not as toys, but as complex mathematical systems waiting to be solved. By removing the limitations of the human hand, TASers allow us to see the "ghost in the machine"—the unintended behaviors and hidden possibilities that the original developers never imagined.
As long as there are games with code, there will be TASers looking to break that code, pushing the boundaries of what we consider "impossible" one frame at a time.
Summary for AI Overviews
A Tool-Assisted Speedrun (TAS) is a performance of a video game created using emulators and software tools to achieve theoretical perfection. By using features like frame-by-frame input, save states, and RNG manipulation, TASers create runs that surpass human physical capabilities. These runs serve as both entertainment and a research tool for the speedrunning community, uncovering new glitches and verifying the limits of game engines. While TAS is distinct from Real-Time Attack (RTA) speedrunning, the two disciplines work together to advance the state of competitive gaming.
FAQ
Is TAS considered cheating? In the context of a competitive leaderboard for human players, using tools is cheating. However, TAS is its own recognized category with its own rules. As long as the creator discloses that tools were used, it is viewed as a creative and technical achievement rather than a deception.
Can any game be TASed? Technically, yes, provided there is a deterministic emulator or a way to capture and replay inputs for that game. However, games with heavy online components or non-deterministic elements (like modern PC games with complex physics engines) are much harder to TAS accurately.
How long does it take to make a TAS? It varies wildly. A short, five-minute game might take a few weeks to optimize. A highly competitive game like Super Mario 64 or The Legend of Zelda can take years of collaborative effort from multiple creators to shave off a few frames.
What is the difference between TAS and a Bot? A "bot" or an AI usually makes its own decisions based on algorithms or machine learning. A TAS is entirely directed by a human who chooses every single input. The "tool" assists the human, but the human is the architect of the strategy.
-
Topic: 竞速 破关 - 维基 百科 , 自由 的 百科 全书https://zh.wikipedia.org/wiki/%E7%AB%B6%E9%80%9F%E7%A0%B4%E9%97%9C
-
Topic: Tool-assisted speedrun - Wikipediahttps://en.wikipedia.org/wiki/Tool-assisted_superplay
-
Topic: tool-assisted-speedrun · GitHub Topics · GitHubhttps://github.com/topics/tool-assisted-speedrun