Jump to content

Parsing PKHex save files


Recommended Posts

Hey, I'm trying to make a program that parses data from PKHex into a general database for my casual pokemon across generations, but I'm currently reading from smogon sets which are missing too much info.

Can anyone help me in parsing the saved pokemn data straight from PKHex? Ideally someone with hexidecimal experience, but if there's a shortcut I'm all ears. I'm hoping to build a program to parse PK data, across multi-generational playthrough, into a mass database and would appreciate anyone willing to lend a hand to a fletching developer.

Link to comment
Share on other sites

PKHeX.Core is available on NuGet and can be used to create whatever you want with the API it exposes.

Iterate through all save files from a folder, dig through the box data and party data, and rip out whatever information you want, or just dump the pkm files to a folder.

PKHeX already has a pkmdb feature where you can search for any file from your backups / external folder.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...