Hardware GBA GBA Unlicensed Batteryless SRAM Cart - Pokemon Emerald Save-Writing Issues

  • Thread starter Thread starter euliDuck_
  • Start date Start date
  • Views Views 493
  • Replies Replies 3

euliDuck_

New Member
Newbie
Joined
May 8, 2026
Messages
2
Reaction score
0
Trophies
1
Age
20
XP
15
Country
United States
Hi, I have a GBxCart RW + FlashGBX, and I'm trying to write an emulator .sav to a batteryless SRAM repro cart (FlashGBX identifies it as: Save Type: Unlicensed 512K SRAM 64KiB, Cartridge Type: 2006_TSOP_64BALL_6106 with W29GL128SH9B).
Screenshot 2026-05-07 at 9.42.21 PM.png


My emulator save is 131088 bytes ("Pokemon - Emerald Version.zip"; 128KB + 16 byte header I think). Every attempt to write it via FlashGBX ends in either "save file was erased due to corruption" or it reverts to a previous save.


I also tried patching a fresh Emerald ROM with the gbarompatcher website (SRAM Batteryless patch) and writing that instead, same result.


I dumped the SRAM after making a test save on the cart and ran it through Python to check the sector structure, the magic bytes don't match standard Emerald format (expected 0x08012025, getting values like 0x01006f4f). PKHeX also rejects the dumped .sav with "unsupported file type/size" even though it's 65536 bytes.


og_save_weird_format.png


("FreshPatched.zip" is a rom and save dump from after I wrote the patched rom to the cart, and "TestSave.zip" is a save on said patched rom up to the point of acquiring a starter, and then saved at Route 101. I progressed to the same point for "OG.zip")

Writing to the OG, Patched, and Test-Saved roms through FlashGBX and injections all ended in errors, regardless of how many times I tried to read the bytes and find the save point.


At some point in the process, it started saying that the SRAM size was 64KiB even though I could have sworn it was saying 128KiB for a while but then it changed and I don't know how or why that might be. Maybe I'm just going insane. I've been doing trial-and-error for two days now.

Questions:
  • What save format does a batteryless SRAM cart like this actually use, and is it compatible with a standard emulator .sav at all?
  • How can I write my save properly to a cart like this?
  • Is there a tool to convert/inject an emulator save into the format this cart expects?

Thanks in advance.
 

Attachments

Hi, I have a GBxCart RW + FlashGBX, and I'm trying to write an emulator .sav to a batteryless SRAM repro cart (FlashGBX identifies it as: Save Type: Unlicensed 512K SRAM 64KiB, Cartridge Type: 2006_TSOP_64BALL_6106 with W29GL128SH9B).
View attachment 571971

My emulator save is 131088 bytes ("Pokemon - Emerald Version.zip"; 128KB + 16 byte header I think). Every attempt to write it via FlashGBX ends in either "save file was erased due to corruption" or it reverts to a previous save.


I also tried patching a fresh Emerald ROM with the gbarompatcher website (SRAM Batteryless patch) and writing that instead, same result.


I dumped the SRAM after making a test save on the cart and ran it through Python to check the sector structure, the magic bytes don't match standard Emerald format (expected 0x08012025, getting values like 0x01006f4f). PKHeX also rejects the dumped .sav with "unsupported file type/size" even though it's 65536 bytes.


View attachment 571974

("FreshPatched.zip" is a rom and save dump from after I wrote the patched rom to the cart, and "TestSave.zip" is a save on said patched rom up to the point of acquiring a starter, and then saved at Route 101. I progressed to the same point for "OG.zip")

Writing to the OG, Patched, and Test-Saved roms through FlashGBX and injections all ended in errors, regardless of how many times I tried to read the bytes and find the save point.


At some point in the process, it started saying that the SRAM size was 64KiB even though I could have sworn it was saying 128KiB for a while but then it changed and I don't know how or why that might be. Maybe I'm just going insane. I've been doing trial-and-error for two days now.

Questions:
  • What save format does a batteryless SRAM cart like this actually use, and is it compatible with a standard emulator .sav at all?
  • How can I write my save properly to a cart like this?
  • Is there a tool to convert/inject an emulator save into the format this cart expects?

Thanks in advance.
You are trying to write a 128KB save to a 64KB cart. You need to use a 64KB patched ROM as well as a 64KB save.
 

Site & Scene News

Popular threads in this forum