UrbanFever Posted October 6, 2023 Posted October 6, 2023 I've been playing around with the PKHeX.Core.dll trying to get an idea off the ground but ran into an issue when trying to load up a gen 9 save. I have used the SaveUtil.GetVariantSAV() function to great success with every generation except for gen 9. When attempting with Pokemon Scarlet it just returns null. I tried pulling and debugging from GitHub but as far as I can see the flow is the same for gen 9 and any other gen. Any insight would be greatly appreciated. I've attached some screenshots from LINQPad showing the difference in output from gen 8 to gen 9.
Kaphotics Posted October 6, 2023 Posted October 6, 2023 Double check: does your Gen9 save file open in the latest PKHeX release, and that your PKHeX.Core you're referencing is the latest release as well? Could be that the file size is unrecognized. You can directly call the constructor if you wish by passing the `byte[]` via new SAV9SV(data);
UrbanFever Posted October 6, 2023 Author Posted October 6, 2023 Ah, just checked and I was using 23.8.24 instead of the latest 23.9.25. Updated to the latest version and it works now! Probably should have thought of that myself, but nevertheless I really appreciate the help!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now