Emulation Goomba Save Manager (export & replace Goomba SRAM)

libertyernie

Well-Known Member
OP
Member
Joined
Apr 6, 2011
Messages
115
Trophies
1
XP
397
Country
United States
Over the past week or two I've been writing a program to export and replace the GB/GBC save files that are compressed within Goomba/Goomba Color save files. With this program, you can export your Pokemon (RBYGSC) save files, and trade between them. I have a command-line version that's written in C (so it'll work on any OS), and a GUI version for Windows (XP and newer) that uses .NET.

Here's the GUI program, running in a Windows XP VM:
H8bnWuu.png


NEW: for version 2014-05-13, I implemented the GUI in two parts - a library and a C# GUI - so you can use the library from a custom C# or VB.NET program.

Source code
Download (just grab goombasav_net.dll and goombasav_cs.exe)

As of now, you can only extract SRAM (not savestates, although Goomba Color doesn't support those anyway.)
 

DanTheManMS

aka Ricochet Otter
Member
Joined
Jun 2, 2007
Messages
4,453
Trophies
1
Age
34
Location
Georgia
XP
747
Country
United States
Awesome man! In the past I had to do this manually with the VBA memory editor, so it's great to see an easier method. Thanks!
 

libertyernie

Well-Known Member
OP
Member
Joined
Apr 6, 2011
Messages
115
Trophies
1
XP
397
Country
United States
I updated the program so the Save As function works correctly (before, it saved to the original file and not the new one). There's also a GTK version now - mainly, I just wanted to figure out how to make a GTK app.
You can get the new versions from the download link already posted. The date in the about screen should be 20140430.
 

j2k15

Member
Newcomer
Joined
Jun 24, 2016
Messages
24
Trophies
0
XP
62
Country
United States
Hi,

I'm playing some Game Boy and Game Boy Color games on the integrated emulator which is integrated in the SuperCard SD (goomba). I play those games using a GBA SP.

I tried without success to copy a .sav file of a game I started to play on SMYGB to the SD card so that I can continue the game I started on PC on the GBA SP.

After some interesting reading here, I discovered that goomba uses a different format for sav files.

I thus came accross this topic and to the Git repo of program Goomba Save Manager.

I'm running 7 (64 bits) and when I try to start the program, I'm said that it cannot run on 64 bits Windows version.

Has anyone succeeded in running it on a 64-bit system ?
 

j2k15

Member
Newcomer
Joined
Jun 24, 2016
Messages
24
Trophies
0
XP
62
Country
United States
I've in the meantime managed to find a workaround.
For this, I use last version of TGB Dual (1.2).

Here are the steps :
1) Copy the .sav from the SD card I use in my SuperCard SD to the directory "save" of TGB Dual.
2) Load the rom (shall be named as the .sav).
3) Delete the .sav file from "save" directory.
4) In game, save.
5) Quit TGB Dual.

A new .sav file is created in "save" directory which is in "normal" format.

To do the opposite (save a normal format .sav into Goomba's format) :
1) Copy the normal .sav in "save" directory.
2) Load the rom.
3) Replace the normal .sav with a Goomba .sav format (e.g. an older save of the same game).
4) In game, save.
5) Quite TGB Dual.

The .sav in the "save" directory is in Goomba's format and can be copied to SD card so that it can be used in GBA SP with SuperCard SD.

This trick is possible thanks to the fact that now TGB Dual supports out of the box Goomba save files. See more explanation here : http://www.lakora.us/gba/tgbdual/

Anyway, I hope that I'll find a way to use the Goomba Save Manager instead of this manual procedure.
 

libertyernie

Well-Known Member
OP
Member
Joined
Apr 6, 2011
Messages
115
Trophies
1
XP
397
Country
United States
I just checked PocketNES and SMSAdvance, and they both use the same SRAM compression format as Goomba. (I'm guessing it started in PocketNES and then was used for the others?)

So I'd like to add support for extracting/replacing SRAM for PocketNES and SMSAdvance. (SMSAdvance doesn't support SRAM for all games, though - at least not for Golden Axe Warrior which was the only one I had handy to test.)

I also would like to add a feature to extract the original ROMs from the .gba file. I've done this in my GitHub repo for Game Boy ROMs, since I already wrote that code for my vba-gx fork; I'd like to have that for NES ROMs too.
 

libertyernie

Well-Known Member
OP
Member
Joined
Apr 6, 2011
Messages
115
Trophies
1
XP
397
Country
United States
Last edited by libertyernie,

nibbles27

Well-Known Member
Newcomer
Joined
May 24, 2008
Messages
53
Trophies
1
XP
561
Country
Canada
Thats awsome thanks man saves me alot of trouble oh by the way to enable autosaving in SMS Advance you have to manually go through the menu save the sram then it will autosave everytime you go to the menu but you must do that first.

If you hadn't of added that i could see myself wasting time trying to add the support even though i only understand how to read code and write a tiny bit.
 

Ninentales93

Member
Newcomer
Joined
Aug 1, 2017
Messages
7
Trophies
0
Age
30
XP
54
Country
Italy
I wanted to ask you how I can upload gbc sav files into goomba, i tried so many time to upload the sav in saver folder and not work
 

libertyernie

Well-Known Member
OP
Member
Joined
Apr 6, 2011
Messages
115
Trophies
1
XP
397
Country
United States
I wanted to ask you how I can upload gbc sav files into goomba, i tried so many time to upload the sav in saver folder and not work
First make a new Goomba save file. I do it by running Goomba inside VBA-M but as long as you can play your game in Goomba, save it, and it works, that's good enough.
Then use the tool I posted to open the Goomba save file (which should be 64 kilobytes), find the SRAM data inside it, and click Replace, using your GBC save (which should be 32 kilobytes or less.)
 

vree

Well-Known Member
Member
Joined
Sep 12, 2005
Messages
702
Trophies
1
XP
1,408
Country
United Kingdom
Does this also work if I compiled multiple games into one .gba file to extract the different save files?
 

migles

All my gbatemp friends are now mods, except for me
Member
Joined
Sep 19, 2013
Messages
8,033
Trophies
0
Location
Earth-chan
XP
5,299
Country
China
Does this also work if I compiled multiple games into one .gba file to extract the different save files?
that's exactly what this does...
I made a new version, which can extract SRAM from PocketNES/SMSAdvance .sav files, and also extract the original Game Boy/NES/Sega ROMs from the emulator ROMs (in case you ever need to do that.)

If you don't know what file to grab, use goomabsav_cs.exe.

https://github.com/libertyernie/goombasav/releases/tag/v20161012_2


just used this since the compiled original version, op shared is down
my goomba compilation save got a weird issue, it sopped being able to write into the save and it was displaying free space as a big ass number
with this i was able to rescue the saves i cared about, let the flashcart create a new save file, and injecting back the saves
 

alnt88

New Member
Newbie
Joined
Sep 23, 2017
Messages
4
Trophies
0
Age
35
XP
55
Country
United States
I was excited to find this tool you created - but I don't think it will work for me. Hopefully someone can help me with this though.

I've been playing Pokemon Gold on an Everdrive GBA which uses the Goomba emulator. I'm trying to extract my save file and inject it into my 3DS virtual console game. I have a .srm save file and I can open it with your tool but I can't extract anything. Apparently Goomba can't normally save the Pokemon games because they use a 32kb file, so I save by using a save state. If this program can't do it, is there any way to extract the save state in a usable format? I'm really lost and just about ready to give up on this.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +2
  • BakerMan @ BakerMan:
    @LeoTCK is your partner the sascrotch or smth?
  • Xdqwerty @ Xdqwerty:
    Good morning
  • Xdqwerty @ Xdqwerty:
    Out of nowhere I got several scars on my forearm and part of my arm and it really itches.
  • AdRoz78 @ AdRoz78:
    Hey, I bought a modchip today and it says "New 2040plus" in the top left corner. Is this a legit chip or was I scammed?
  • Veho @ Veho:
    @AdRoz78 start a thread and post a photo of the chip.
    +2
  • Xdqwerty @ Xdqwerty:
    Yawn
  • S @ salazarcosplay:
    and good morning everyone
    +1
  • K3Nv2 @ K3Nv2:
    @BakerMan, his partner is Luke
  • Sicklyboy @ Sicklyboy:
    Sup nerds
    +1
  • Flame @ Flame:
    oh hi, Sickly
  • K3Nv2 @ K3Nv2:
    Oh hi flame
  • S @ salazarcosplay:
    @K3Nv2 what was your ps4 situation
  • S @ salazarcosplay:
    did you always have a ps4 you never updated
  • S @ salazarcosplay:
    or were you able to get new ps4 tracking it \
    as soon as the hack was announced
  • S @ salazarcosplay:
    or did you have to find a used one with the lower firm ware that was not updated
  • K3Nv2 @ K3Nv2:
    I got this ps4 at launch and never updated since 9.0
  • K3Nv2 @ K3Nv2:
    You got a good chance of buying a used one and asking the seller how often they used or even ask for a Pic of fw and telling them not to update
  • RedColoredStars @ RedColoredStars:
    Speaking of PLaystation. I see Evilnat put out a beta for PS3 CFW 4.91.2 on the 22nd.
  • K3Nv2 @ K3Nv2:
    Don't really see the point in updating it tbh
  • BigOnYa @ BigOnYa:
    Yea you right, I thought about updating my PS3 CFW to 4.91, but why really, everything plays fine now. I guess for people that have already updated past 4.9 it would be helpful.
    BigOnYa @ BigOnYa: Yea you right, I thought about updating my PS3 CFW to 4.91, but why really, everything plays...