Hello.
I recently played through a romhack for Emerald called Pokemon Emerald Revelations (basically just a QOL patch, game is still fairly vanilla), but after beating the Elite 4 and the Champion, my savegame "deleted" itself with the message "The save file has been erased due to corruption or damage.", though I still managed to grab the file from gm9. From what I've been able to gather, this is because when originally making the rom into a GBA VC inject, the save that was created for it was 64 kb, while Emerald (and other Pokemon games?) requires 128 kb. I believe I have now managed to make a new GBA VC that makes 128 kb saves by using New 3DS Super Injector instead (the new save I made as a test is 128 kb at least), but I cannot fix the original save: I tried to make it into a 128 kb save using a Hex Editor (Hex Workshop) and a guide I found on another post, but trying to inject it via gm9 always results with the game stating the save was corrupted and deleted.
I'm not very knowledgeable when it comes to fixing something like this, so I'm hoping I can get some help here. Attached is the original 64 kb save, along with the 128 kb failed "fixed" save I made.
0004000000E7D700.gbavc.sav
0004000000E7D700fix_attempt.gbavc.sav