Hardware A gba save converter...

Destructobot

Crave the Hammer
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
.gsv saves appear to be raw saves with a header added to the beginning of the file. I was able to convert a .gsv save by simply removing that header. The .gsv file was 66608 bytes, and the save was supposed to be 65536 bytes, so I just removed 1072 bytes from the beginning of the file, and it worked.

You can use File Trimmer or a hex editor.
 

Krys3000

Member
Newcomer
Joined
Jun 25, 2007
Messages
6
Trophies
0
XP
91
Country
France
I tried File Trimmer

Well, it drives me into a new gsv file. What Am I supposed to do ?

I then tried to created a .sav file with file trimmer, but the sav is empty.
 

Destructobot

Crave the Hammer
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
Set it to "Trim from the Beginning", then in the offset box, enter the difference in bytes between the size of the .gsv file and the size the save should be.

After you've trimmed the file, rename it from XXXXXXXX.gsv to XXXXXXXX.sav (if you didn't already do so in file trimmer).
 

molo-molo

Member
OP
Newcomer
Joined
Nov 10, 2006
Messages
5
Trophies
0
Website
Visit site
XP
54
Country
Belgium
Yes, it didn't work
frown.gif
: This save is empty
 

Destructobot

Crave the Hammer
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
It appears that converting EEPROM saves is a bit more complicated that flash or SRAM saves. After I removed the header with File Trimmer, I had to open the file in Hex Workshop and byte flip the whole thing as 64bit unsigned quads.

Anyway, here it is: http://www.zshare.net/download/24768938338325/ (it only works on the European version of Minish Cap BTW)
 

molo-molo

Member
OP
Newcomer
Joined
Nov 10, 2006
Messages
5
Trophies
0
Website
Visit site
XP
54
Country
Belgium
Thank you very much!!!!! The save works perfectly
bow.gif


But, I'va juste one question: is it possible to reconvert the.sav(modified) to .gsv¿
if it's possible, you are a god for me
happy.gif
 

Destructobot

Crave the Hammer
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
I suppose you could take the modified.sav, byte flip it back to the way it was in the .gsv file, and paste the old header back onto the beginning of the file. I don't know if that would actually work though, there might be a checksum or something in the header that would prevent it from working. It's worth a try.
 

Destructobot

Crave the Hammer
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
I had to open the file in Hex Workshop and byte flip the whole thing as 64bit unsigned quads.Sounds like gibberish to me
tongue.gif


Every 8 byte "chunk" of data in the save was reversed.

Code:
ABCDEFGH IJKLMNOP QRSTUVWX YZ123456
would become

CODE
HGFEDCBA PONMLKJI XWVUTSRQ 654321ZY
Luckily, Hex Workshop (a hex editor) has a feature called "byte flip" that allowed me to correct this.


The process for converting EEPROM saves (like Minish Cap uses) from .gsv to a standard .sav is this:

1. Strip the header from the file with File Trimmer. (the header has been 1072 bytes in every .gsv file I've looked at)

2. Open the new file in Hex Workshop. Go to Tools -> Operations -> Byte Flip -> Treat Data As: 64 Bit Unsigned Quad -> Apply On Entire File -> OK. Other hex editors may have this feature, but I can't help you with them.

3. Save the file, and you should have a valid save for an emulator or flashcart.

4. Rename the file as needed (if you haven't done this already).


For games that use SRAM or flash saves, you should only need to do steps 1 and 4.
 

yamil

New Member
Newbie
Joined
Jul 17, 2007
Messages
1
Trophies
0
XP
1
Country
Argentina
destructbot,can you host in rapidshare,megaupload,... a .sav of game completed:
Dragon ball Z buu's fury

im argentinian sorry my english
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Lol rappers still promoting crypto