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
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
    +1
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
  • Psionic Roshambo @ Psionic Roshambo:
    Why so serious!
  • Psionic Roshambo @ Psionic Roshambo:
    @BakerMan, yeah that's about the only reason I would vote for Trump over Biden.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    In my opinion on all other factors they are pretty much the same.
    +1
  • Veho @ Veho:
    Economy was better under Trump, according to Fox News.
    +1
  • Veho @ Veho:
    I don't give a fuck about what happens to America but I would like it if your shit didn't spill out on the rest of the world, thank you.
    +3
  • AncientBoi @ AncientBoi:
    A Far Right news service company
  • AncientBoi @ AncientBoi:
    I give a fuck about what happens to America but I would like it if our shit didn't spill out on the rest of the world, thank you.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    @Veho, didn't need any news. Just going to the store and buying groceries is a constant reminder.
  • Veho @ Veho:
    A reminder that all corporations reported record profits these last few years?
  • Veho @ Veho:
    Reminded that every single price gouging law was blocked by republicans because "muh gubmint overreach"?
  • Veho @ Veho:
    Won't somebody please think of the corporations?!?!
  • Psionic Roshambo @ Psionic Roshambo:
    The problem with X party blocked X bill that would have prevented X is that yes the bill probably would have worked great, buuuttt they put XYZDCBG in said bill as an attempt to sneak things in that tend to be completely unrelated to the original bills intent. It sucks because if they would just do a single thing they could probably get something done...
  • Psionic Roshambo @ Psionic Roshambo:
    But congressman X needs to have government funding for his cousins unicycle business
  • Psionic Roshambo @ Psionic Roshambo:
    It's a sad state of affairs
    Psionic Roshambo @ Psionic Roshambo: It's a sad state of affairs