Need help with editing saves format for a .cia

TheGalaxyWings

Member
OP
Newcomer
Joined
Oct 25, 2024
Messages
6
Trophies
0
Age
19
XP
18
Country
France
I found a 6 year old thread about this exact same problem but the methods don't work for me

"The problem here is that you're loading a 64kb save into a rom that is programmed to use 128kb saves. This can be fixed, but it'll be easier just to swap to using 128kb saves. GBA VC games used to have a max of 64kb, but we've since found ways to use 128KB, so we'll want to get a new .cia that uses 128kb saves, and convert your 64kb save file.

[link to NSUI, can't post because I'm lv1] It's fairly easy to use, select your French .gba rom file, and fill in the information, ensuring that 128kb saves are selected. It should create a new .cia file that you can install.

Now you need to convert your 64kb save to inject into the new .cia game. I've already properly converted your save file, but the way I did for future reference was to hexedit the rom to support 64kb saves, load it into an emulator, and change the emulators save type mid-game, before saving twice ingame and exporting the save file. Replacing all values in the rom between the sequences D0888D8342 and 2410491068 with 00 makes it support 64kb saves. You won't need to do that if the save files I've linked work."

I tried using NSUI, but it wouldn't load my rom, or any for that matter, the "project" button is even greyed out
 
Last edited by TheGalaxyWings,

Sir Tortoise

Well-Known Member
Member
Joined
Jan 5, 2016
Messages
238
Trophies
0
XP
1,773
Country
Hey, got around to responding to this, the previous post for context is here.

Firstly, the Project tab being greyed out in NSUI: I think that's just because you don't currently have a project open. In NSUI, you just need to go File -> New -> Game Boy Advance to start making your CIA. (A project is just the in-progress form you fill in with the details).

Secondly, just to be sure, are you certain the problem is related to 64KB saves? I'm surprised that still crops up six years later, but if you've got an outdated setup and have confirmed the save file is 64KB then I guess it's still possible. If this save is from a physical cartridge it's a bootleg.

When it comes to hexediting your game ROM, use something like HxD. There should be an option to find those strings in the ROM, Search tab-> Find. Use that to take you to D0 88 8D 83 42, then select the next four bytes until 2410491068 and replace them with zeroes.

Or, alternatively, just search for the sequence 42 F5 D1 00 and replace that with zeroes. I don't know why I explained it in such a convoluted way before. Maybe it's different in some languages, but either way, it's those four bytes between those other sequences.

1730149740672.png
-->
1730149827915.png



Make a copy of your unedited game beforehand, this edited version is just to load your existing 64kb save with. Then once it's loaded, (I think) you make a savestate, load that in the unmodified game, and save twice which should then use the proper 128kb save format.

It should be fairly straightforward but if you're unfamiliar with this or my instructions are out of date, DM me a link to your save here or elsewhere and I can try and figure it out again.
 

Attachments

  • 1730149374435.png
    1730149374435.png
    54.2 KB · Views: 6
  • 1730149401748.png
    1730149401748.png
    48.1 KB · Views: 5
  • 1730149645604.png
    1730149645604.png
    6.7 KB · Views: 4
  • 1730149803446.png
    1730149803446.png
    3.9 KB · Views: 5
Last edited by Sir Tortoise,

TheGalaxyWings

Member
OP
Newcomer
Joined
Oct 25, 2024
Messages
6
Trophies
0
Age
19
XP
18
Country
France
I'm actually not sure, I just assumed the problem was 64kb saves since it had the exact same symptoms (it was even a french rom, too). How do I make sure ?
 

Sir Tortoise

Well-Known Member
Member
Joined
Jan 5, 2016
Messages
238
Trophies
0
XP
1,773
Country
I'm actually not sure, I just assumed the problem was 64kb saves since it had the exact same symptoms (it was even a french rom, too). How do I make sure ?
Simplest way is to dump your save file and see how large the file is. If you're currently playing on 3DS via Virtual Console, you'll need to use something like GBAVCSM. If you're on emulator, most will have an option to export the .sav somewhere, usually in a File menu. If you're on a physical cartridge, this shouldn't be a problem unless it's a bootleg, but the easiest way is with a original DS/Lite and a flashcart.
 

Sir Tortoise

Well-Known Member
Member
Joined
Jan 5, 2016
Messages
238
Trophies
0
XP
1,773
Country
Ah, so that is definitely the issue then. Must be a very old VC cia. The above method should fix it then, give it a try but if you run into difficulties feel free to send the save to me to convert.
 

TheGalaxyWings

Member
OP
Newcomer
Joined
Oct 25, 2024
Messages
6
Trophies
0
Age
19
XP
18
Country
France
thank you so much for this, this feels surreal
Post automatically merged:

Ah, so that is definitely the issue then. Must be a very old VC cia. The above method should fix it then, give it a try but if you run into difficulties feel free to send the save to me to convert.
Where can I load the cia to do the savestate manip ? I think it crashes citra
 
Last edited by TheGalaxyWings,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    kijetesantakalu042 @ kijetesantakalu042: @SylverReZ I would but he isn't my child.