It is currently Tue Oct 04, 2022 6:16 pm


All times are UTC [ DST ]


Forum rules


When asking for help, make sure you are using the latest stable version of Daphne with the latest DaphneLoader. "For sale", auction, or ebay links do not belong here. Legal discussion is discouraged.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Does Daphne save high scores?
PostPosted: Thu Apr 09, 2009 3:10 am 
Registered User
Registered  User

Joined: Tue Apr 07, 2009 4:55 am
Posts: 3
I've been testing with version 1.0 and Astron Belt, and it doesn't preserved high scores from run to run. Is there a way to do this? There's a command line option that implies that Daphne will save high scores, but I can't get it to work with or without the command line option.

"-sram_continuous_update Saves the static RAM after every search so that if Daphne is terminated improperly, high scores are preserved. "


Top
Offline Profile  
 
 Post subject:
PostPosted: Thu Apr 09, 2009 5:04 pm 
DAPHNE Creator
DAPHNE Creator

Joined: Sat Jan 20, 2001 1:00 am
Posts: 2127
Location: Salt Lake City,Utah, USA
Some game drivers do preserve high scores, but some don't (apparently Astron is one of the ones that doesn't). Daphne has support to save RAM regions for any emulated game, but the developer needs to tell Daphne which memory regions need to be saved, and apparently no one has bothered to do this for Astron Belt. Maybe you can get lucky and find a developer who has a need for Astron Belt to save high scores. :)


Top
Offline Profile  
 
 Post subject:
PostPosted: Fri Apr 10, 2009 3:28 am 
Registered User
Registered  User

Joined: Tue Apr 07, 2009 4:55 am
Posts: 3
Matt Ownby wrote:
Some game drivers do preserve high scores, but some don't (apparently Astron is one of the ones that doesn't). Daphne has support to save RAM regions for any emulated game, but the developer needs to tell Daphne which memory regions need to be saved, and apparently no one has bothered to do this for Astron Belt. Maybe you can get lucky and find a developer who has a need for Astron Belt to save high scores. :)


Bummerouski. Oh well. Thanks for the info, at least I can stop trying to find a way to enable it.


Top
Offline Profile  
 
 Post subject:
PostPosted: Sat Apr 11, 2009 1:22 am 
DAPHNE Silver Donator
DAPHNE Silver Donator

Joined: Wed Feb 21, 2007 12:49 am
Posts: 17
Isucamper, we meet again! We seem to be tackling the same issues on our respective cabs! 8)

Matt, can you please note which games *do* keep high scores, or point me to a list?

Thank you very much,
-Jason


Top
Offline Profile  
 
 Post subject:
PostPosted: Sat Apr 11, 2009 11:51 pm 
DAPHNE Creator
DAPHNE Creator

Joined: Sat Jan 20, 2001 1:00 am
Posts: 2127
Location: Salt Lake City,Utah, USA
jasonbar wrote:
Matt, can you please note which games *do* keep high scores, or point me to a list?


I don't remember, nor do I have a list, but there is an easy way for you to find out.
Just run each game and if high scores are saved, it will put a *.gz file inside the 'ram' folder. For example, Cliff Hanger will do this. I think Dragon's Lair 2 does too.


Top
Offline Profile  
 
 Post subject:
PostPosted: Sun Apr 12, 2009 2:08 am 
DAPHNE Team
DAPHNE Team

Joined: Thu Feb 08, 2001 1:00 am
Posts: 906
Location: Earth
jasonbar, if you do make that list, I'd encourage you to add it to the wiki. That would be a great addition!


Top
Offline Profile  
 
 Post subject:
PostPosted: Sun Apr 12, 2009 10:32 pm 
Registered User
Registered  User

Joined: Tue Apr 07, 2009 4:55 am
Posts: 3
chip wrote:
jasonbar, if you do make that list, I'd encourage you to add it to the wiki. That would be a great addition!


I've verified that the games that support high score saves are:

Cliffhanger
Esh's Aurunmilla
Dragon's Lair 2
Mach 3
Us Vs. Them

I took a look at adding this to the wiki, but all the pages appear to be locked (I've never edited a wiki before, I might be doing something wrong).


Top
Offline Profile  
 
 Post subject:
PostPosted: Mon Apr 13, 2009 5:50 am 
DAPHNE Silver Donator
DAPHNE Silver Donator

Joined: Wed Feb 21, 2007 12:49 am
Posts: 17
You beat me to it, isucamper, but I do hereby confirm that your list is accurate. :]

-Jason


Top
Offline Profile  
 
 Post subject:
PostPosted: Tue Apr 14, 2009 3:21 pm 
DAPHNE Team
DAPHNE Team

Joined: Mon Feb 12, 2001 1:00 am
Posts: 164
Just as point of implementation... the games listed have some sort of NVRAM if I recall correctly and that is the region that gets backed up.

Games usually have memory initialization code that gets run on boot, and that would clean out any old high scores on the ones without NVRAM. To preserve them, not only would you have to back up the region of ram that contains them, but you'd have to restore the ram AFTER the memory initialization, which of course the conditions to detect that this has completed vary from game to game.


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net