Go to file
Mathias Bynens 1a960ac188 seed(91852936): Add v1.4.2 stats
Full log below:

1. Pallet Rival: 0:01:58 (01:58)

2. Nidoran grass: 0:06:52 (04:54)

13 12 13 14

beat Brock with a great Nidoran! Att: 16, Def: 13, Speed: 15, Special: 13, caught at level 3.

3. Brock's Gym: 0:11:35 (04:43)

4. Route 3: 0:18:10 (06:35)

8 Moon encounters, and we caught a Paras!

5. Mt. Moon: 0:26:01 (07:51)

RCE 5374

13 12 13 14

55 48 52 48

6. Nugget Bridge: 0:33:55 (07:54)

7. Misty's Gym: 0:39:21 (05:26)

Great, 5 try Trashcans! || 0:47:19

8. Surge's Gym: 0:48:24 (09:03)

needs a 4-turn thrash (1 in 2 chance) to beat this dangerous trainer...

gen 1 missed :( (1 in 256 chance)

Giovanni skip strats!

9. HM02 Fly: 0:59:00 (10:36)

is using Rock Slide to one-hit these Ghastlies in red-bar (each is 1 in 10 to miss)

10. Pokemon Tower: 1:06:40 (07:40)

11. Silph Giovanni: 1:17:25 (10:45)

EQ Elixer: Koga's Gym

12. Koga's Gym: 1:21:04 (03:39)

13. Erika's Gym: 1:26:12 (05:08)

14. Blaine's Gym: 1:29:06 (02:54)

EQ Elixer: Saffron City

15. Sabrina's Gym: 1:30:51 (01:45)

16. Giovanni's Gym: 1:34:17 (03:26)

is skipping the Center and attempting to red-bar the Elite 4!

17. Lorelei: 1:42:19 (08:02)

18. Bruno: 1:43:44 (01:25)

19. Agatha: 1:45:27 (01:43)

20. Lance: 1:47:21 (01:54)

21. Blue: 1:50:22 (03:01)

v1.4.2: 397345 frames, with seed 91852936

beat the game in 1:50:22!
2015-04-15 15:55:30 +02:00
action Cleanup 2015-04-13 11:21:27 -07:00
ai Merge branch 'master' of https://github.com/kylecoburn/PokeBot 2015-04-13 11:22:21 -07:00
data Standardize more shared Strategies 2015-04-13 00:47:34 -07:00
storage Abstract more menu memory value checks across versions 2015-04-13 00:43:20 -07:00
util Cleanup 2015-04-13 01:18:28 -07:00
.gitignore Make Git ignore any ROM files 2015-04-10 17:04:11 +02:00
Changelog.md Update Changelog.md 2015-04-05 13:33:43 -07:00
LICENSE Initial public commit 2014-07-12 18:47:39 -07:00
NidoranStats.md Create NidoranStats.md 2015-04-03 09:40:23 -07:00
Readme.md Link to new video 2015-04-13 19:53:20 +02:00
Seeds.md seed(91852936): Add v1.4.2 stats 2015-04-15 15:55:30 +02:00
main.lua 1.4.2 2015-04-13 01:40:47 -07:00

Readme.md

PokéBot

An automated computer program that speedruns Pokémon Red, Blue, or Yellow.

Here are the bots best runs so far in the Pokémon Red Any% Glitchless category:

Watch live

twitch.tv/thepokebot

PokéBots official streaming channel on Twitch. Consider following there to find out when were streaming, or follow the Twitter feed for announcements when we get personal best pace runs going.

Run the bot locally

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).

  1. First, clone this repository (or download and unzip it) to your computer.

  2. Download the BizHawk 1.6.1 emulator and extract the ZIP file anywhere you like to “install” it.

    Note: BizHawk v1.6.1 (Windows only) is the only version known to work. Later versions like v1.7.2a do not seem to work, due to differences with reading bytes from memory.

  3. Run the BizHawk prerequisites installer, which should update a C++ distributable needed by BizHawk.

  4. Procure a ROM file of Pokémon Red (you should personally own the game).

    The ROM file has a name like Pokemon Red (UE) [S][!].gb, but the file name doesnt matter. Upload it to fileformat.info/tool/hash.htm to verify its the correct version. The linked website will spit out lots of hashes; make sure the two below match:

    MD5: 3d45c1ee9abd5738df46d2bdda8b57dc
    SHA-1: ea9bcae617fdf159b045185467ae58b2e4a48b9a
    

    Open the ROM file with BizHawk (drag the .gb file onto EmuHawk), and Pokémon Red should start up.

    The colors may look weird. To fix this, go to GBPalette Editor, and then find the POKEMON RED.pal file which should be under GameboyPalettes in the directory where BizHawk was extracted.

  5. If you want to test the full run, set RESET_FOR_TIME in main.lua to false instead of true.

  6. Then, under the Tools menu, select Lua Console. Click the “open folder” button, and navigate to the PokéBot folder you downloaded. Select main.lua and press “open”. The bot should start running!

Seeds

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.

Credits

Developers

Kyle Coburn: Original concept, Red routing

Michael Jondahl: Combat algorithm, Java bridge for connecting the bot to Twitch chat, LiveSplit, Twitter, etc.

Special thanks

To LiveSplit for providing custom component for integrating in-game time splits.

To the Pokémon speedrunning community members who inspired the idea, and shared ways to improve the bot.