Jump to content

Tool-assisted speedrun

From Wikipedia, the free encyclopedia

A tool-assisted speedrun or tool-assisted superplay (TAS; /tæs/) is generally defined as a speedrun or playthrough composed of precise inputs recorded with tools such as video game emulators. Tool-assisted speedruns are generally created with the goal of creating theoretically perfect playthroughs. This includes but is not limited to the fastest possible route to complete a game and/or showcasing new ways to optimize existing world records.[1]

TAS requires research into the theoretical limits of the games and their respective competitive categories. The fastest categories are those without any restrictions and often involve a level of gameplay impractical or even impossible for a human player, while those made according to real-time attack rules serve to research limits doable by human players.

The TAS developer has full control over the game's movement, per video frame, to record a sequence of fully precise inputs. Other tools include savestates and branches, rewriting recorded inputs, splicing together best sequences, macros, and scripts to automate gameplay actions. These tools give TAS creators the ability to perform with precision and accuracy beyond what a human player can do.

History

[edit]

The term was coined during early Doom speedrunning. When Andy "Aurican" Kempling released a modified version of the Doom source code that made it possible to record demos in slow motion and in several sessions, it was possible for the first players to start recording tool-assisted demos. In a few months, in June 1999, Finnish Esko Koskimaa, Swedish Peo Sjöblom, and Israeli Yonatan Donner opened the first site to share these demos, "Tools-Assisted Speedruns".[citation needed]

In 2003, a video of a Japanese player named Morimoto completing the NES game Super Mario Bros. 3 in 11 minutes and performing stunts started floating around the Internet. The video was controversial, as not many people knew about tool-assisted speedruns, especially for the NES. The video was not clearly labelled as such, so many people considered an emulator cheating. It inspired Joel "Bisqwit" Yliluoma to start the NESvideos website for TAS for the NES, and was renamed TASVideos.[2]

Tool-assisted speedruns have been made for some ROM hacks and for published games. In 2014, the speedrunning application TASBot was developed, capable of direct controller input.[3]

Method

[edit]

Creating a tool-assisted speedrun is the process of finding the optimal set of inputs to fulfill a given criterion — usually completing a game as fast as possible. No limits are imposed on the tools used for this search, but the result has to be a set of timed key-presses that, when played back on the actual console, achieves the target criterion. The basic method used to construct such a set of inputs is to record one's input while playing the game on an emulator, all the while saving and loading the emulator's state repeatedly to test out various possibilities and only keep the best result. To make this more precise, the game is slowed down. Initially, it was common to slow down to some low fraction of normal speed. However, due to advances in the field, it is now expected that the game is paused during recording, with emulation advanced one frame at a time to eliminate any mistakes made due to the urgency.

The use of savestates facilitates luck manipulation, which uses player input as entropy to make favorable outcomes. Examples include making the ideal piece drop in Tetris, making fire bars start in a position that allows Mario to go through the section without needing to slow down in Super Mario Bros., or getting a rare item drop from a defeated enemy.[4]

Re-recording emulators

[edit]

Tool-assisted speedrunning relies on the same series of inputs being played back at different times always giving the same results. The emulation must be deterministic with regard to the saved inputs, and random seeds must not change. Otherwise, a speedrun that was optimal on one playback might not even complete it on a second playback. This desynchronization occurs when the state of the emulated machine at a particular time index no longer corresponds with that which existed at the same point in the movie's production. Desyncs can also be caused by incomplete savestates, which cause the emulated machine to be restored in a state different from that which existed when it was saved. Desyncs can also occur when a user attempts to match inputs from an input file downloaded from TASVideos and fail to match the correct enemy reactions due to bad AI or undesirable RNG.

Verification

[edit]

Some players have fraudulently recorded speedruns, either by creating montages of other speedrun or altering the playing time, posting them as TAS or RTA. Because tool-assisted speedruns can account for all aspects of the game code, including its inner workings, and press buttons precisely and accurately, they can be used to help verify whether an unassisted speedrun record is legitimate.

One of the best-known cases is Billy Mitchell, who had his Donkey Kong and Pac-Man Guinness records revoked in 2018, considering that he used an emulator, MAME in particular.[5]

In 2018, the world record for Dragster by Todd Rogers was removed from Twin Galaxies and Guinness records after an experiment showed that his 5.51 second time was impossible to achieve even with a TAS.[6][7]

Another fraudulent RTA case is from Badabun, where Tavo Betancourt streamed a Super Mario Bros. speedrun, finishing it at 05:12'120.[8] Later, it was discovered that he was only pretending to play a series of speedruns from other YouTubers.[9][10] The stream has been parodied by several YouTubers of the genre, including Kosmic,[11] former world recorder holder for Super Mario Bros.[12]

Because of many past cheating attempts in the Super Mario 64 speedrunning community, many emulators were banned from speedrunning the game, like all versions of Mupen64 because of the TASing capabilities it offers, which is how many past cheating attempts were performed. The past cheated runs ultimately left the Emulator speedruns of Super Mario 64 with bad reputation.

Examples

[edit]
  • Super Mario Bros. — The current Famicom/NES human-theory world record, created by Maru, stands at 4:57.54 (4:54.265 in RTA timing).[13][14] Using a combination of glitches that often feature frame-perfect inputs and pixel-perfect positioning, sometimes even subpixel-perfect (1/16 of a pixel used by the game for smoother movement).
  • Super Mario Bros. 3 — Arbitrary code execution along with credits warp allows injecting a hack that simulates a Unix-like console, providing extra features to Mario. The current TAS standing at 216 milliseconds (13 frames) was performed by exploiting a small bug with the Famicom/NES hardware in which the CPU makes a lot of extra "read" requests from one of the controller inputs, registering many more button presses than have occurred; the A button is 'mashed' at a rate of 8 kilohertz (8000 times per second), performing the credits warp glitch.[15]
  • Super Mario World Arbitrary code execution allows injection of playable versions of Flappy Bird,[16] Pong,[17] Snake,[17] and Super Mario Bros.[18]

See also

[edit]
  • Time attack — a mode which allows the player to finish a game (or a part of it) as fast as possible, saving record times.
  • Score attack — the attempt to reach a record logged point value in a game.
  • Electronic sports — video games that are played as competitive sports.
  • Piano roll
  • Meta Runner — a web series inspired by the tool assisted speedruns.

References

[edit]
  1. ^ Bismuth (May 25, 2019). How to create the perfect speedrun - Tool-assisted speedrunning explained. Retrieved September 16, 2024 – via YouTube.
  2. ^ "TASVideos". TASVideos. Retrieved September 16, 2024.
  3. ^ Orland, Kyle (January 5, 2015). "Pokémon plays Twitch: How a robot got IRC running on an unmodified SNES". Ars Technica. Retrieved September 18, 2019.
  4. ^ "RNG Mechanics: Practical Guides to RNG Abuse". Smogon University. September 21, 2024. Retrieved September 21, 2024.
  5. ^ Crecente, Brian (April 13, 2018). "Guinness World Records Disqualifies Billy Mitchell's Perfect 'Pac-Man' Run, Other Achievements". Variety. Retrieved July 26, 2020.
  6. ^ "Dragster Designer David Crane Has No Doubts Of Todd Rogers' Record [UPDATED]". www.twingalaxies.com. Retrieved May 29, 2021.
  7. ^ Frank, Allegra (January 29, 2018). "Longest-standing video game record declared 'impossible,' thrown out after 35 years (update)". Polygon. Retrieved May 29, 2021.
  8. ^ Pasando Super Mario en 5 minutos, December 17, 2017, retrieved May 29, 2021
  9. ^ Karl Jobst (January 10, 2020). The Worst Fake Speedrun on Youtube. Retrieved September 16, 2024 – via YouTube.
  10. ^ MartinPixel (January 14, 2020). "Badabun, el canal de YouTube mexicano es acusado de mentir en un SpeedRun de 'Mario Bros', utilizando clips de otros jugadores". Xataka México (in Spanish). Retrieved July 29, 2020.
  11. ^ Kosmic (April 1, 2020). Passing Super Mario Bros. in 5 minutes. Retrieved September 16, 2024 – via YouTube.
  12. ^ Beck, Kellen (September 25, 2018). "Speedrunner beats 'Super Mario Bros.' in unbelievable time". Mashable. Retrieved July 29, 2020.
  13. ^ DJ Incendration (November 25, 2021). Super Mario bros. human theory TAS in 4:54.265. Retrieved September 16, 2024 – via YouTube.
  14. ^ Degraffinried, Natalie (May 1, 2019). "Speedrunner Smashes A Computer-Assisted Super Mario Bros. Record By A Single Frame". Kotaku. Retrieved March 22, 2023.
  15. ^ Orland, Kyle (July 12, 2016). "How to beat Super Mario Bros. 3 in less than a second". Ars Technica. Retrieved December 22, 2023.
  16. ^ "Streamer transforma Super Mario World en Flappy Bird". LevelUp (in Spanish). March 28, 2016. Retrieved July 30, 2020.
  17. ^ a b Masterjun3 (January 5, 2014). [TAS] Super Mario World "Arbitrary Code Execution" in 02:25.19 by Masterjun. Retrieved September 16, 2024 – via YouTube.{{cite AV media}}: CS1 maint: numeric names: authors list (link)
  18. ^ Kosmic (April 20, 2021). Speedrunning Super Mario Bros. INSIDE Mario World?!. Retrieved September 16, 2024 – via YouTube.
[edit]
  • TASVideos tool-assisted speedruns and resources