ROM Hack How to convert a 32kb(GBARunner2) .sav to 64kb(GBA flashcart) .sav

Nikokaro

An aphorism a day to improve...my profile
Member
Joined
Feb 3, 2020
Messages
900
Trophies
1
Location
Nautilus (under) Lake Como, Italy 🇮🇹
XP
1,501
Country
Italy
Hi everyone.:)
Can anyone tell me how do I convert a 32kb .sav file (used by GBARunner2, GBA emulator for DS consoles) to a 64kb one (used by my gba flashcart)?
Is there a special tool (but I don't think so), or do I have to use, as I suppose, a hexadecimal editor?
In this case can you tell me, precisely and accurately, how to proceed, since I do not have the slightest experience in this regard?

Thanks.^_^
 

Titney

Well-Known Member
Newcomer
Joined
Feb 1, 2014
Messages
76
Trophies
0
XP
723
Country
Hi everyone.:)
Can anyone tell me how do I convert a 32kb .sav file (used by GBARunner2, GBA emulator for DS consoles) to a 64kb one (used by my gba flashcart)?
Is there a special tool (but I don't think so), or do I have to use, as I suppose, a hexadecimal editor?
In this case can you tell me, precisely and accurately, how to proceed, since I do not have the slightest experience in this regard?

Thanks.^_^
Unless the emulator compresses the save file or something, it would probably work to simply combine the file with itself to double the size (you could also append a blank file to the save.) One of the simpler ways to do this is using the windows command promt (syntax will be different on a non-windows system but the principle similar)

Something like:
https://www.computerhope.com/issues/ch001376.htm#merge-text
plus
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/copy

The first link has howto for using the command line, the command you want is something like
Code:
copy /b 32kbit.sav + 32kbit.sav 64kbit.sav
 
Last edited by Titney,
  • Like
Reactions: Nikokaro

Nikokaro

An aphorism a day to improve...my profile
Member
Joined
Feb 3, 2020
Messages
900
Trophies
1
Location
Nautilus (under) Lake Como, Italy 🇮🇹
XP
1,501
Country
Italy
it would probably work to simply combine the file with itself to double the size (you could also append a blank file to the save.
With a hex-editor I had in fact added 32kb to the file but, strangely, the total size was not 64kb, but a little larger.

One of the simpler way to do this is using the windows command promt
I thought it could be done this way but I didn't know the syntax, and out of laziness I didn't look it up...
:rofl2:
....now I will do as you suggest.

Thank you very much:)
 
  • Like
Reactions: Titney
General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://imgur.com/gallery/u9ks4WH