This repository contains ruby scripts helping to map PokeAPI data to usable data like Pokémon Studio data files.
- Have Ruby
- Run
git submodule update --init
- Open IRB at repository root
- Run
require_relative 'generated/schema'
- Run
PokeAPI.load_all
- Run
PokeAPI.save_all
This allows other script to run faster by not having to parse CSV files.
- Run
ruby scripts/generate_schema.rb
- Do setup instruction for
When schema is already generated
ruby scripts/generate_type_by_gen.rb GEN_ID
: generates the Pokémon Studio types intoout/types
based on the generation you want.ruby scripts/generate_type_text.rb
: Generate the CSV file containing the type names in the available locales (in PSDK format).ruby scripts/generate_abilities_by_gen.rb GEN_ID [--no-unofficial]
: generates the Pokémon Studio abilities intoout/abilities
based on the generation you want.ruby scripts/generate_type_text.rb VER_ID
: Generate the CSV file containing the ability names and description in the available locales (in PSDK format) based on the version group you want.ruby scripts/generate_dex.rb
: Generate all the Dex in Studio format (Note: form are not yet supported).ruby scripts/generate_dex_text.rb
: Generate the CSV file containing the Dex names.