Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Basic High Score explanation?  (Read 7463 times)

0 Members and 1 Guest are viewing this topic.

mark6437

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 181
  • Last login:March 23, 2020, 03:20:11 pm
  • THB2
Basic High Score explanation?
« on: July 17, 2008, 01:26:36 pm »
I tried reading as many posts about high score as I could. None of them made much sense to me though. :banghead:

So I put highscore.dat in my mame directory. Some high scores save but some dont. Robotron saves, donkey kong doesnt etc...

I am using .125 about to upgrade to .126

Can someone give me a basic explanation of why some games work and some dont? Is there an easy way to make em all work?

Thx
Mark
« Last Edit: July 17, 2008, 01:31:10 pm by mark6437 »

CathalDublin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 258
  • Last login:March 01, 2024, 04:05:23 pm
Re: Basic High Score explanation?
« Reply #1 on: July 17, 2008, 01:54:33 pm »
I had similar trouble with mame
updated to mameplus and havent looked back since
Defender(multiwilliams), SF2CE
Whirlwind, Lethal Weapon 3

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Basic High Score explanation?
« Reply #2 on: July 17, 2008, 02:32:39 pm »
What it boils down to is games which didn't retain high scores when they were powered off will not retain them in mame when you exit. However, you can easily compile your own mame with a patch that causes high scores on those games to be saved. The high score support is no longer in mame itself because mame is all about accurately emulating the games, and obviously it wouldn't be accurate to save high scores in those games.

Anyway, grab the hiscore patch from the SW forum sticky thread, download Mame Compiler created by headkaze (there's a non-sticky thread in the SW forum), download mame source, apply the patch using Mame Compiler, then compile it with Mame Compiler.

Of course you also need the hiscore.dat file too, but you already know that.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: Basic High Score explanation?
« Reply #3 on: July 17, 2008, 05:09:18 pm »
I simply have two buttons hidden under my CP.

Save State

Load State

Solves the problem without much fuss.

Jdurg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1127
  • Last login:October 04, 2020, 09:26:27 pm
  • A young guy feeling older than sin......
Re: Basic High Score explanation?
« Reply #4 on: July 18, 2008, 09:48:18 am »
I simply have two buttons hidden under my CP.

Save State

Load State

Solves the problem without much fuss.

Yeah, that works great as long as the driver your game is on supports the Save State feature, AND you don't upgrade your version of MAME.  Save States tend to crap out more frequently than a tourist in Mexico who drank the water.  :p

I've actually found that compiling MAME is pretty easy, and once you start really digging into it you can customize the program a little bit to your own liking.  (Like for me when it comes to labelling the controller inputs in games I play frequently so that I see the buttons as "High Punch", "Low Punch", etc. etc. instead of Button 1, Button 2....   :cheers:
Donkey Kong High Scores:
1): 49,500
2): 35,600
3): 30,100
4): 29,400
5): 28,200

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Basic High Score explanation?
« Reply #5 on: July 18, 2008, 01:54:56 pm »
Can someone give me a basic explanation of why some games work and some dont? Is there an easy way to make em all work?

To answer in reverse:
No, not all games in official mame.  (see below)

My basic is pretty long:
Case 1: Original machine saved all high scores when it was turned off.
If mame properly emulates the game, mame will save the high scores, too.

Case 2: Original machine saved some high scores when it was turned off.
If mame properly emulates the game, mame by default will save the same high scores and not save the same high scores as the original game (example: one game might same just the top 3 of the top 10 list).

Case 3: Original machine did not save high scores when it was turned off.
Mame by default will not save the high score, also.

Summary of three cases: Mame by default will emulate the original game's save high score, and exiting the game is like turning off the machine.

Now, if you want to save the high score even though the original machine didn't (cases 2 & 3), there are three ways to do so:

Method 1: use auto save state
Emulates like you left the machine on when you exit the game, and starts off where you last exited when you start up the game again.  (Sometimes manual save state works even when auto statestate doesn't.)
Problems: not all games support auto save state, a saved game probably won't work in a different version of mame if any part of the emulation was changed (such the cpu, sound, video, or game driver).  (If used manual save state because auto doesn't work, might cause crashes or wierd behivior, and even higher chance won't work on newer/older version of mame.)

Method 2: use the hiscore.dat file official mame removed
The file is a list of games and the memory locations that holds the high scores, and the contents of that memory location (IOW, the high scores) are saved on exit are dropped back in at restartup.
Problems: need to CYO or use a devivative of mame, can cause crashes or other wierd behivior (the reason it was dropped from official mame), if a game is not on the list it won't be saved, sometimes a score doesn't work on newer mame (much rarer that savestate though).

Method 3: use some other way
Including screen snaps, photographs, video, writing on dry erase board.  Works on all games.
Problems: "not the same"
Robin
Knowledge is Power

mark6437

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 181
  • Last login:March 23, 2020, 03:20:11 pm
  • THB2
Re: Basic High Score explanation?
« Reply #6 on: July 18, 2008, 10:26:55 pm »
I simply have two buttons hidden under my CP.

Save State

Load State

Solves the problem without much fuss.

Yeah, that works great as long as the driver your game is on supports the Save State feature, AND you don't upgrade your version of MAME.  Save States tend to crap out more frequently than a tourist in Mexico who drank the water.  :p

I've actually found that compiling MAME is pretty easy, and once you start really digging into it you can customize the program a little bit to your own liking.  (Like for me when it comes to labelling the controller inputs in games I play frequently so that I see the buttons as "High Punch", "Low Punch", etc. etc. instead of Button 1, Button 2....   :cheers:

Sweet! I did not even know you could do that. I gotta try that.

Ok well I guess I will attempt to compile my own MAME.

Hold on boys, I am going in!


mark6437

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 181
  • Last login:March 23, 2020, 03:20:11 pm
  • THB2
Re: Basic High Score explanation?
« Reply #7 on: July 18, 2008, 10:27:41 pm »
I had similar trouble with mame
updated to mameplus and havent looked back since

What version of MAME is MAMEPLUS based on?


Jdurg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1127
  • Last login:October 04, 2020, 09:26:27 pm
  • A young guy feeling older than sin......
Re: Basic High Score explanation?
« Reply #8 on: July 19, 2008, 09:45:15 am »
I simply have two buttons hidden under my CP.

Save State

Load State

Solves the problem without much fuss.

Yeah, that works great as long as the driver your game is on supports the Save State feature, AND you don't upgrade your version of MAME.  Save States tend to crap out more frequently than a tourist in Mexico who drank the water.  :p

I've actually found that compiling MAME is pretty easy, and once you start really digging into it you can customize the program a little bit to your own liking.  (Like for me when it comes to labelling the controller inputs in games I play frequently so that I see the buttons as "High Punch", "Low Punch", etc. etc. instead of Button 1, Button 2....   :cheers:


Sweet! I did not even know you could do that. I gotta try that.

Ok well I guess I will attempt to compile my own MAME.

Hold on boys, I am going in!



Yup.  But you'll have to dig around the source code to find out where that information is held so it means opening, editing, saving, and closing quite a few drivers if you want to do that on all of your games.  Therefore, I only do it on games where it's a bit confusing such as the MK games.

« Last Edit: July 19, 2008, 09:54:35 pm by Jdurg »
Donkey Kong High Scores:
1): 49,500
2): 35,600
3): 30,100
4): 29,400
5): 28,200

mark6437

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 181
  • Last login:March 23, 2020, 03:20:11 pm
  • THB2
Re: Basic High Score explanation?
« Reply #9 on: July 19, 2008, 03:59:13 pm »
Ok the compiling thing is over my head. I am gunna use MAME Plus. Thx for the suggestion!


TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Basic High Score explanation?
« Reply #10 on: July 19, 2008, 05:53:49 pm »
Really? You looked at headkaze's Mame Compiler post and you couldn't figure it out? If something in particular puzzles you, ask about it. Compiling with his program really is super simple.

Not trying to steer you away from MAME Plus (I know almost nothing about it), but I'm just surprised at your reaction to compiling.

Good luck either way!
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Basic High Score explanation?
« Reply #11 on: July 19, 2008, 08:56:06 pm »
Isn't mameplus have a GUI? If so, and are going that route, you have another option: MameUIFX32. Of course, one of the main reasons people go for plus is the different effects features...and I think net play....neither of which I care for so I use FX.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

Tafoid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:February 12, 2025, 04:47:22 am
  • Emulation Devotee
    • MAMELOAD TNG (Front-End)
Re: Basic High Score explanation?
« Reply #12 on: July 19, 2008, 11:00:40 pm »
Isn't mameplus have a GUI? If so, and are going that route, you have another option: MameUIFX32. Of course, one of the main reasons people go for plus is the different effects features...and I think net play....neither of which I care for so I use FX.

Effects, yes.  Netplay (kaillera?) - no.  That was a build called Mame Plus Plus (++) which publicly died some months ago and had to go underground due to it's abuse and disregard of the MAME source license.  They not only added the closed source Kaillera stuff and Zinc plug-ins, they added games which were too new as well games which manufacturers has requested taken out of MAME.  MAME Plus, to it's credit, also adds a bunch of console functionality to it (via MESS) such as many classic Atari, Nintendo and Sega systems.