English / 中文文档
Automate PokeRogue's Daily Run based on Daily Run Guide, by OCR and emulated keyboard input.
⚠ Note ⚠
1. The project needs to be runned in the foreground
2. Still WIP. Due to possible errors in command recognition,it cannot be guaranteed to be 100% correctly executed.
- Chrome
- Python
- pip
- Code
- Clone code
- Install dependencies
pip install -r requirements.txt - Create the configuration file(
config.json)python config.py
- Cookie (Don't share your cookies)
- Log in to pokerogue in Chrome
- View Cookies (Tutorial)
- Fill in the value of the
pokerogue_sessionIdfield intoCOOKIEinconfig.json
- Chrome Driver
- Update Chrome
- Download chromedriver according to your computer platform
- Unzip and place the
chromedriverbinary into the code directory
- Activate the daily challenge(to make sure you can enter the challenge you want by
Continue)- New:refresh=>
Daily Run=>choose slot=>Menu=>Save And Quit - Existing:Refresh=>
Load Game=>choose slot=>Menu=>Save And Quit
- New:refresh=>
- Get Guide
- Find the Daily Run Guide corresponding to the Daily Run date
- Copy the instructions in
Spreadsheet Guides.Pastebin(Text-Based Versionis also correct, but when the instructions are modified, generally only the Google Doc will be updated) - Create a
daily.txtfile in the code directory, paste the instructions and save it
- Run
python machine.py
Caused by screenshot, there is no solution found yet
- Identify shiny
- Training ocr by fonts
-
Simple automatic battle? (e.g. Endless mode)
