taylus / shiny-hunter

Shiny hunt Pokemon by sending keystrokes to mGBA using .NET Core
7 stars 1 forks source link

## Automated shiny hunting

Given running mGBA processes with save files standing before your starter of choice, this program repatedly sends keystrokes to collect the starter, check its stats, and reset until a shiny is found.

Detection technique

The shiny ⭐ icon on the Pokemon's status page is detected by looking for its color of rgb(255, 214, 82) at expected pixel coordinates in a screenshot. When found, the program exits, leaving the emulator running and awaiting further input.

Usage

> start mGBA.exe "path_to_pokemon_fire_red.gba"
> start mGBA.exe "path_to_pokemon_fire_red.gba"
> dotnet run --project .\ShinyHunter\ShinyHunter.csproj

screenshot

Why not just use PKHeX?

Because this is more fun.

Potential enhancements