Cellsplitter Posted October 21, 2017 Posted October 21, 2017 I am currently playing Pokemon Crystal (EU) again on my Game Boy Color and with the help of a Mega Memory cart and a GB USB Smart card I am able to backup and transfer the save file to my PC. I then tried to load this save file in the PKHeX application but I am met with the following error messages. Here's a link to download the save file: https://drive.google.com/file/d/0B_mmJOG1759lRGtyQ1BoTFJacVE/view?usp=sharing
Kaphotics Posted October 21, 2017 Posted October 21, 2017 PKHeX only supports common emulators and dumping functions. For all others, you'll have to do some converting. public const int SIZE_G2BAT_U = 0x802C; public const int SIZE_G2EMU_U = 0x8030; public const int SIZE_G2RAW_J = 0x10000; public const int SIZE_G2BAT_J = 0x1002C; public const int SIZE_G2EMU_J = 0x10030; ^ list of valid file sizes; yours is ~2-4 times the expected size.
Cellsplitter Posted October 21, 2017 Author Posted October 21, 2017 (edited) Is there a way to compress the save file in any way to make it load? I can still load the save in more oldschool save editors like PikaSav for example (with the "force SAV" function"). Edited October 21, 2017 by Cellsplitter
Kaphotics Posted October 21, 2017 Posted October 21, 2017 Open the file up in a hex editor (like HxD); majority of the data past 0x8000 is empty. If we cut out the first 0x8000 bytes (0-0x7FFF) into a new file, we can check to see if it's the actual save file (not cartridge metadata). Opening the cropped file in PKHeX... crystal_2017-10-21.sav Just edit the cropped file, then throw in 0x8000-0x1FFFF at the end before re-importing with your cartridge reader/writer.
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