Greetz everybody.
For as long as I've been playing with PKM files, I've wanted a way to create them through the commandline for quick/batch generation. So, after a lot of searching and re-learning python, I made my PKM Generator.
It's designed to make generating legal pokes as easy as possible. There's still a bunch of work to do, but for now it's functional.
Example usage:
python pkmgen.py --pokemon="larvitar" --move1="bite" --move2="leer" --edate="21,09,12" --mdate="21,09,12" --ivs="31,31,31,31,31,31" --gender="male" --ability="guts" --nature="timid" --level="10" --ot="Name,0,0,male" > newpoke.pkm
I'd love some feedback, especially if someone understands better than I how to generate the PID properly (at the moment it only seems to generate a valid PID about 50% of the time).
Credits go to Ceol, creator of pypkm (https://github.com/ceol/pypkm), without which I would not have been able to create this.
PKM Generator..zip