An automated computer program that speedruns Pokémon generation 1 games.
Pokémon Red (Any% Glitchless) personal best runs:
Pokémon Yellow (Any% Glitchless) personal best runs:
PokéBot’s official streaming channel on Twitch. Consider following there to find out when we’re streaming, or follow the Twitter feed for announcements when we get personal best pace runs going.
Running the PokéBot on your own machine is easy. You will need a Windows environment (it runs great in VMs on Mac/Linux too).
-
Download the latest version of PokéBot, and unzip it to your computer.
-
Download the BizHawk 1.6.1 emulator and extract the ZIP file anywhere you like to “install” it.
-
Run the BizHawk prerequisites installer, which should update a C++ distributable needed by BizHawk.
-
Procure a ROM file of Pokémon Red or Yellow (you should own the game).
-
Open BizHawk.exe, then drag your ROM file onto the window, and the game should start up.
-
By default, the bot completes every run it can, without resetting if it gets too far behind its best run time. Set
RESET_FOR_TIME
inmain.lua
totrue
instead offalse
to reset more aggressively, i.e. if you’re trying to get a new record. -
Under the Tools menu, select Lua Console. Press the “open folder” button, and navigate to the PokéBot folder you downloaded. Select
main.lua
and press “open”. The bot should start running!
PokéBot comes with a built-in run recording feature that takes advantage of random number seeding to reproduce runs in their entirety. Any time the bot resets or beats the game, it will log a number to the Lua console that is the seed for the run. If you set CUSTOM_SEED
in main.lua
to that number, the bot will reproduce your run, allowing you to share your times with others. Note that making any other modifications will prevent this from working. So if you want to make changes to the bot and share your time, be sure to fork the repo and push your changes.
The bot is designed to run "any% glitchless" (beat the game as fast as possible, without major glitches) categories - the most popular in the speedrunning community. However, the bot can easily be adapted for other purposes including use in testing frame data for human players, or to run different categories of the game.
Red Any% No Save Corruption by Marc-Andre Boulet
If you're interested in adapting the bot to other categories or games, we'd love to see it, and are happy to help answer questions.
Kyle Coburn: Original concept, Red/Yellow routing
Michael Jondahl: Combat algorithm, Java bridge for Twitch chat/responders, LiveSplit, DB, Twitter, etc.
To MoofinSeeker - for the amazing channel description artwork (seen above).
To our Twitch chat moderators who help answer questions, and make the stream a great place to hang out.
To LiveSplit for providing the custom component for integrating in-game time splits.
To the contributor community here, who have helped track seeds and improve the bot.
To the Pokémon speedrunning community members who inspired the idea, and shared their knowledge on ways to improve the bot.
Enjoy!