I would greatly appreciate someone's help with this. I am used to modding my saves for SS and SV so I decided to mod some 4th and 5th gen saves as well. I changed around a couple of values for the Battle Tower, items in my backpack, etc., and did not think much of it. When I loaded up all three saves back into my 3ds, I got the description that the save files had been corrupted. I was confused as I made sure with the original saves I had titled them "main," but nonetheless I could not even load them up back into PKHex in order to re edit them as I received an error message that it was unreadable. Luckily, PKHex made backups of my files. They are bak files, so for my Alpha Sapphire I created an identical copy of the file through another save file I created in PKHex, with all of these values still being before I hacked the original file. Oddly enough it still loaded up as a corrupt save file on my 3DS even though it was a duplicate of the original! I am very confused as to what to do as all of these files are readable on PKHex, however I cannot get them to work again on my hardware. What would be the solution?
main [Sapphire (AS) - 2024-07-24 03ː33].bak
POKEMON W.sav [White (W) - 16ː33ː41].bak
POKEMON P.sav [PEARL (DP) - 18ː17ː38].bak