We currently have over 200 monsters listed on the Tuxemon wiki, many completed, which is awesome news! With so many monsters, I wanted to start including a lot of these new additions to Tuxemon, but found the sheer number of monsters daunting to add manually.
To overcome this, I recently wrote a python script that will automatically download all the monster sprites from the wiki with completed front, back, and menu sprites, so we can include them all in the actual game. You can look at the script itself here:https://github.com/Tuxemon/Tuxemon/blob … onsters.py
I'd like to add more functionality to this script, so any changes or improvements are welcome!
Here's what currently works right now:
That sounds great! One thing I've thought about adding to the wiki is a checkbox for "complete". The scraper could then avoid grabbing incomplete monsters (or maybe grab them all, but put the incomplete monsters in a different location).
Should we probably include the generated json file in the wiki?With https://make.tuxemon.org/ it shouldn't be much work to do so (I think????)
Also +1 to Lori's complete checkbox. This would also be a great addition for the creature progress tracker
We'll meet again, don't know where, don't know when. But I know we'll meet again some sunny day!