Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Saving game data from a gameboy ROM?
« previous next »
  • Print
Pages: [1]

Author Topic: Saving game data from a gameboy ROM?  (Read 4033 times)

Offline kage

  • Member
  • *
  • Posts: 22
Saving game data from a gameboy ROM?
« on: February 14, 2010, 11:51:17 PM »
I am running the current build of rockbox (3.5) on an Ipod Video 5G...

I was playing a gameboy color ROM, and I saved the data...but it did not (to my knowledge) actually get saved anywhere...

is this one of the lacking functions of the "rockboy", or am I having some technical issues...

[I restarted the ipod, then went back to the game, and the only option I got was 'new game', then I plugged my ipod into the computer, and searched for a '.sav' file, but there were none to be found]
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Saving game data from a gameboy ROM?
« Reply #1 on: February 15, 2010, 12:38:12 AM »
From the wiki page for the rockboy plugin (here) it looks like save states are only 90% done and still slightly buggy, so...

I'm not entirely sure whether this means they are or aren't being used yet though, so... Maybe someone who knows how the rockboy plugin works better might know.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Saving game data from a gameboy ROM?
« Reply #2 on: February 15, 2010, 06:56:55 AM »
Save states are a different thing to actual in-game saves (often referred to as "battery" files because on real carts they are stored in battery backed SRAM).

You say "I restarted the iPod" - do you mean you held MENU+SELECT to hard reset, in order to get out of Rockboy? That is why you don't have a save; it only actually saves the contents of the game's emulated SRAM out to a file on disk when you exit Rockboy (otherwise the disk would have to spin up every time the game wrote to SRAM). You should never reset the iPod with the hard-reset keys unless it has locked up and you can't get it to work any other way.

If you read the manual you will discover that Rockboy's in-game menu is opened by switching the hold switch on iPods, which includes the option to quit.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline kage

  • Member
  • *
  • Posts: 22
Re: Saving game data from a gameboy ROM?
« Reply #3 on: February 15, 2010, 10:42:33 AM »
is that how you exit out of games such as "freedoom" as well?
I could not figure out how to exit those games...

Maybe I have been doing alot more "hard resetting" than I should :\

so if I do not "hard reset" the ipod, the save file should be there?

and if it is there, could I theoretically plug in my ipod, and grab the save file off the disk, then put it there permanently?

EDIT:
okay, I got that...
so do you have to save it from the rockboy menu?
that would make more sense...
« Last Edit: February 15, 2010, 10:44:17 AM by kage »
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Saving game data from a gameboy ROM?
« Reply #4 on: February 15, 2010, 11:04:20 AM »
Yes, doom also has the same hold-switch exit button. All games can be exited properly. You do not need to hard reset ever, unless the device has crashed. This is all explained in the manual; next time you wonder how to do something, you should read it :)

The save file (battery) will get created automatically when you exit rockboy. The save state option on the menu is a different kind of save: actually saving the exact state of the emulated hardware at that moment. Savestates are not 100% reliable in rockboy and will not be compatible with other emulators. The actual savegame should be able to be copied to a PC and run on any PC gameboy emulator (or on any other platform), as it's just a straight 1:1 copy of what the gameboy stored in the cartridge's SRAM.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline kage

  • Member
  • *
  • Posts: 22
Re: Saving game data from a gameboy ROM?
« Reply #5 on: February 15, 2010, 11:18:44 AM »
okay, thank you!

I have read bits and pieces of the manual, just not the whole thing page for page

I will try and remember that it probably has EVERYTHING I need to know...next time...

thanks you anyway!

AND: I saved and exited the CORRECT way...it now works, but the save file does not show up when I plug it into my computer.
that is okay, my mac doesnt support GBA emulators that well anyway... the only place Ill ever be using this is my ipod lol
« Last Edit: February 15, 2010, 12:49:38 PM by torne »
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Saving game data from a gameboy ROM?
« Reply #6 on: February 15, 2010, 12:49:28 PM »
The file should be around somewhere, but I don't offhand recall where it puts it or what it calls it. It must exist, though, or else it couldn't load it up again :)

Also, discussing getting roms is not allowed. Just so you know.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline MajiKool Dragonâ„¢

  • Member
  • *
  • Posts: 147
  • I'm me!
Re: Saving game data from a gameboy ROM?
« Reply #7 on: February 15, 2010, 02:50:19 PM »
i believe the save files are stored at .rockbox\rockboy
the .sav files are the battery saves.
the .rbs files are those state saves.
and the .rtc files i believe have something to do with the ingame, supposed to be, "real time" clock.
Logged
"Isn't it funny how even the coldest weather isn't so cold when you've got people who care about you to walk through it with you." - MajiKool Dragonâ„¢
SanDisk Sansa c240v1 + 16GB µSDHC, Apple iPhone 4 iOS4.2.1 Jailbroken

Offline kage

  • Member
  • *
  • Posts: 22
Re: Saving game data from a gameboy ROM?
« Reply #8 on: February 16, 2010, 09:30:00 PM »
Quote from: torne on February 15, 2010, 12:49:28 PM
Also, discussing getting roms is not allowed. Just so you know.

but I can still discuss things specific to certain ROMS, right?

like how every time I "black out" or try and use a pokemon center in any pokemon ROM, it freezes...?
I DID SOME SEARCHING AND FIXED THIS PROBLEM EASILY  :)
« Last Edit: February 16, 2010, 09:35:15 PM by kage »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Saving game data from a gameboy ROM?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.086 seconds with 15 queries.