Skip to content

thetechconspiracy/TrainerTournament

Repository files navigation

Usage

  1. Install the Python libraries "mwparserfromhell", "bs4", and "requests". This is required to parse the wikicode.
  2. Create empty folders in the root of the project called "pkl", "wiki", "json", "sprites", "out" and "location"
  3. Put wikicode for Bulbapedia articles in the "wiki" directory
  4. Use parseBulbapedia.py inside a bash for loop to parse all files in the "wiki" directory
  5. Create the directories "trainer" and "pokemon" inside the pkl directory
  6. Move *.trainer.pkl to the trainer directory, and *.pokemon.pkl to the pokemon directory

Once articles are parsed, use { while read region game; do python parseData.py $region $game > out/$region-$game; done } < locationList to generate CSV files in the out directory

The final charts are available at https://jtstill.com/pokemonLevels/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published