Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Rulkiewicz on August 28, 2010, 11:31:12 am

Title: Save high scores?
Post by: Rulkiewicz on August 28, 2010, 11:31:12 am
How can I make it so the high scores save after I exit and reload a rom?  Or is that not possible?
Title: Re: Save high scores?
Post by: jimmy2x2x on August 28, 2010, 11:33:26 am
Follow the instructions here http://forum.arcadecontrols.com/index.php?topic=64298.0 (http://forum.arcadecontrols.com/index.php?topic=64298.0)

Its not as complex as it looks, just be very thorough and exact with each step.
Title: Re: Save high scores?
Post by: sk8ersublime on August 28, 2010, 11:40:27 am
You need hiscore.dat I would give a link but I'm on my phone :/
Title: Re: Save high scores?
Post by: Rulkiewicz on August 28, 2010, 12:12:30 pm
If I recompile, will all my mapped key settings default?
Title: Re: Save high scores?
Post by: Rulkiewicz on August 28, 2010, 12:12:55 pm
You need hiscore.dat I would give a link but I'm on my phone :/

I do have the file in my mame dir, but it still doesn't save properly.
Title: Re: Save high scores?
Post by: jimmy2x2x on August 28, 2010, 12:15:18 pm
You wont lose any settings if you recompile, the hiscore.dat file is useless on its own
Title: Re: Save high scores?
Post by: WhereEaglesDare on August 28, 2010, 07:42:40 pm
PM Sent, anyone else need some help, PM me
Title: Re: Save high scores?
Post by: Rulkiewicz on August 28, 2010, 09:01:35 pm
PM Sent, anyone else need some help, PM me

Thank you, but I am currently using .138.  I got it to properly compile on a test dir on my home pc, but it didnt work on my arcade machine.  I'll try playing with it later.
Title: Re: Save high scores?
Post by: WhereEaglesDare on August 28, 2010, 09:21:06 pm
PM Sent, anyone else need some help, PM me

Thank you, but I am currently using .138.  I got it to properly compile on a test dir on my home pc, but it didnt work on my arcade machine.  I'll try playing with it later.
Hmm I compiled mine on my laptop and played some DK to get a couple of hiscores and moved it to the cab and it worked fine, no problem, even moved my new hiscores on DK i just made on my laptop...  I dont know what the issue could be
Title: Re: Save high scores?
Post by: jimmy2x2x on August 28, 2010, 09:21:58 pm
Try compiling with 'Optimize for' set to none

Clear all other compile options, except for 'Mame UI' and '64-bit processor' if you require them.

This should now work on any pc.

The 'Optimize for' option produces strange results in my experience.
Title: Re: Save high scores?
Post by: Rulkiewicz on August 29, 2010, 01:58:03 am
PM Sent, anyone else need some help, PM me

Thank you, but I am currently using .138.  I got it to properly compile on a test dir on my home pc, but it didnt work on my arcade machine.  I'll try playing with it later.
Hmm I compiled mine on my laptop and played some DK to get a couple of hiscores and moved it to the cab and it worked fine, no problem, even moved my new hiscores on DK i just made on my laptop...  I dont know what the issue could be

Nevermind, I gave it a go and it works!  Thanks!
Title: Re: Save high scores?
Post by: ragnar on August 29, 2010, 08:00:33 am
Since Mame devs float around here, why does Mame not support this natively?
Title: Re: Save high scores?
Post by: WhereEaglesDare on August 29, 2010, 08:29:40 am
Since Mame devs float around here, why does Mame not support this natively?

Because the real arcade games loose their high scores when they are turned off. 
Title: Re: Save high scores?
Post by: shfifty on August 29, 2010, 11:13:17 am
I'm having similar problems. However some games save highscores (eg pacman) but most dont. I am using advmame+. Can this technique still be applied?
Title: Re: Save high scores?
Post by: WhereEaglesDare on August 29, 2010, 02:56:26 pm
I dunno, I use plain vanilla MAME and a lot of game save scores, but all don't...  I'd contact MKChamp here on this board.  He'll know if it works with AdvanceMAME or not.
Title: Re: Save high scores?
Post by: ragnar on August 29, 2010, 05:22:57 pm
Since Mame devs float around here, why does Mame not support this natively?

Because the real arcade games loose their high scores when they are turned off.  

Like on Seinfeld?  I learned something new today!
Title: Re: Save high scores?
Post by: JustMichael on August 29, 2010, 07:00:12 pm
Since Mame devs float around here, why does Mame not support this natively?

Mame is about acting just like the original arcade hardware.  Hence, if the arcade game doesn't save the high scores on the real machine then it won't in normal Mame.  If the arcade game does save the high score(s) then Mame will also.  Mame tries to replicate exactly what the old machine would do.
Title: Re: Save high scores?
Post by: RayB on August 29, 2010, 09:30:31 pm
Another caveat is that the saving (using highscores.dat) doesn't happen until you exit MAME. So say you are in a game and you get a score, and then you turn off your MAME cab, your score will be wiped out. (at least that's how it is with my OLD version of DOS MAME in DOS mode. I must hit EXIT first)
Title: Re: Save high scores?
Post by: wweumina on August 29, 2010, 09:41:01 pm
Another caveat is that the saving (using highscores.dat) doesn't happen until you exit MAME. So say you are in a game and you get a score, and then you turn off your MAME cab, your score will be wiped out. (at least that's how it is with my OLD version of DOS MAME in DOS mode. I must hit EXIT first)


Yep, still the case.