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

Nikokaro

Lost philosopher... searching for a way out...
OP
Member
Joined
Feb 3, 2020
Messages
2,183
Trophies
1
Location
Nautilus (under) Lake Como, Italy 🇮🇹
XP
6,747
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
Member
Joined
Feb 1, 2014
Messages
131
Trophies
1
XP
1,711
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

Lost philosopher... searching for a way out...
OP
Member
Joined
Feb 3, 2020
Messages
2,183
Trophies
1
Location
Nautilus (under) Lake Como, Italy 🇮🇹
XP
6,747
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

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: @realtimesave why did you get several MIG?