- Track your resets during shiny hunting on emulator
- Safeguard to avoid miscounting resets when typing on Discord or other apps
- Integrate your counter into OBS by loading the text file as a source
- Discord Rich Presence with a cool little animated gif of the shiny you're currently hunting.
- Install Python 3. Tested on Python 3.12.7.
- This only works on Windows, due to how window title is checked using the win32 API. You can probably edit this to make it Linux compatible with some googling and a tiny bit of python knowledge, i'm not bothering. Feel free to make a fork!
- Clone this repository, then install dependencies :
pip install -r requirements.txt
- Edit config.toml with the pokemon you're hunting (keep it lowercase and in english)
- Set your emulator's name. Resets will only be counted when a window with that string of characters in it's title is focused. This is to avoid miscounting resets when tabbed out on Discord or whatever other application.
- Set the key you want to reset with. By default, it's
r. Change it to whatever you've bound soft resetting to. - Run the script :
python main.py - To stop the script, you can just
Ctrl + Cit, or close your terminal.
- Add a new Text Source, select "Read from file" then select
counter.txt.
- Just set counter.txt back to 0.
I couldn't find a counter program or scripts that could capture input by just a keypress, with configurable keybindings, while not having the software focused (as the emulator would be focused). Seriously, nobody ever thought of something that simple?
- Thanks to projectpokemon.org's massive library of sprites.
- discord-rpc, pywin32 and tomli devs
