A tool for generating a random, progression-viable party of Pokémon for use in a playthrough. Pokémon availability and game progression are respected in the final output, and customization options are available to curate the output further.
TeamGen generates (prescribes) a party for use in a playthrough — either to introduce an element of challenge or simply for team inspiration. The tool is universal in the sense that it maintains compatibility with most generations of Pokémon, but also with romhacks that might contain the following (as long as the relevant game data files are added):
- New Pokémon
- New locations
- Changes to existing game data (location data, evolution methods, etc.)
- Vanilla
- Pokémon Red & Blue
- Pokémon Gold & Silver
- Pokémon Ruby & Sapphire
- Romhacks
Prerequisites:
- Python 3.10+
pip- (Optional)
venv
Steps:
- Clone this repository (or download the latest release source code and extract it)
cd teamgen- (Optional) Create a virtual environment first for less headache
python -m venv .venvsource .venv/bin/activate
- Install dependencies (
pip install -r requirements.txt) - Run with
python main.py
- Download
teamgen-<version>.zipfrom the latest release assets - Extract
- Run
teamgen.exe
ENTER– Generate a party with the current settingsM– Toggle the generation mode between 'Progression' and 'Random'- Progression: Considers game data, locations, progression, config settings
- Random: Completely random generation using current game's National Dex
G– Open the 'Supported Games' menu to switch current gameR– Reload the config file (after making any config changes while the app is running)H– Display help menuQ– Quit the app
Open /config/config_gen1.yaml (for example, for Generation 1 games). Modify values according to your preferences.
Save the file and then use the R option in the app to reload.
Note
If you are running the Windows executable, the config files are in /_internal/config.
If you'd like to add support for a missing game or romhack, see CONTRIBUTING.md.
TeamGen is licensed under the MIT License. See LICENSE for full details.
