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
  • BakerMan @ BakerMan:
    holy shit why do i have 19 notifications?!
  • BakerMan @ BakerMan:
    AND WHY ARE SOME OF THEM BUNDLED UP REACTIONS TO POSTS?
  • BigOnYa @ BigOnYa:
    Cause I maybe, maybe clicked like a few times.
  • K3Nv2 @ K3Nv2:
    You're as loved as much as Juan now enjoy it
    +1
  • K3Nv2 @ K3Nv2:
    I'm sorry for the insult
  • BakerMan @ BakerMan:
    the difference is i like wario and samus and he likes muscle mommies and feet
    +1
  • BakerMan @ BakerMan:
    wait, i forgot wizards too
  • BigOnYa @ BigOnYa:
    I have a buddy that has a moonshine still and he makes his own shine. He brought me a jar of some peach shine/brandy, shit is damn good. Gonna have to see if can get more.
    +1
  • BakerMan @ BakerMan:
    careful that shit don't make you go blind
  • BigOnYa @ BigOnYa:
    Nuh that's only if you drink what first comes out when distilling, you must throw out the first part of it when it starts running. (Its called the "head(s)" of the run) Or use it for fuel or a general purpose cleaner
    +1
  • K3Nv2 @ K3Nv2:
    If alcohol would've made @BigOnYa blind by now it would have
    +2
  • BigOnYa @ BigOnYa:
    So True.
    +1
  • K3Nv2 @ K3Nv2:
    I should make a poll for bigonya to change his username to DrunkOnYa
    +1
  • BigOnYa @ BigOnYa:
    That's my alt
    +1
  • K3Nv2 @ K3Nv2:
    I don't wanna go to the store someone go for me
  • BigOnYa @ BigOnYa:
    Call my wifey, tell her pick up stuff on her way over.
  • K3Nv2 @ K3Nv2:
    Pick up my door dash meat me in the allyway
    +1
  • BigOnYa @ BigOnYa:
    Wifey is busy, so ill send my buddy @AncientBoi , in his gimp outfit. "who ordered the 6" sausage?""
  • K3Nv2 @ K3Nv2:
    Like subway it's false advertising
    +1
  • BigOnYa @ BigOnYa:
    Ok "who ordered the Vienna sausage?"
  • K3Nv2 @ K3Nv2:
    Uremum
    +1
  • BigOnYa @ BigOnYa:
    My buddy convince me to download and play poker game with him yesterday, called Four Kings Casino, its pretty fun actually, you create a avatar and walk around in a virtual casino, and play any table, or slots with others online.There's even a dance club and bowling alley.
  • SylverReZ @ SylverReZ:
    They should bring advertisements like this back LOL.
  • BakerMan @ BakerMan:
    or that german ninja turtle commercial
    +1
    BakerMan @ BakerMan: or that german ninja turtle commercial +1