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: New Post - OLD Topic (High Score Save)  (Read 3369 times)

0 Members and 1 Guest are viewing this topic.

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
New Post - OLD Topic (High Score Save)
« on: September 10, 2013, 09:00:34 pm »
I've searched, but I keep getting results for MAME32 and other non-command line versions of MAME.  I'm old-school and still use MAME .084 on my cabinet.  It works great.  I can modify it as I see fit and it saves high scores.  I also have modified how it pauses and exits games and how it exits the front end.

Now onto the newer versions of MAME.  I have noticed for years that Donkey Kong has not emulated the walking sounds properly.  I have recently been made aware that the newer versions of MAME do replicate that sound very close, so I want to use that version that brings back the my arcade memories more vividly.

Fast forward to MAME today (149) and I cannot get it to keep high scores.  I've downloaded hiscore.dat and read up on compiling, but the websites that deal with compiling seem to only deal with compiling MAME32 and the likes.

Whatever happened to just editing the mame.ini file?  That's what I used to do and I was able to accomplish all sorts of cool things.  Now, it's like pulling teeth to bring back the features that I enjoyed (save high score on Pac-Man) that the MAME Devs decided that we don't need.

Can anyone point to a website that does not involve MAME32?  I am using the regular MAME (.149).

I want to be able to do the following:

Change the exit game routine: Press 1+2 vs esc - I figured this one out.
Add controller exceptions for Qbert
Add High Score save
Change the pause routine: Press Left Mouse+2 vs P (This is the way I have it on my cab right now and it works great!

Thank you for the help!
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

icecube45

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • Last login:April 16, 2016, 02:09:11 am
  • 42
Re: New Post - OLD Topic (High Score Save)
« Reply #1 on: September 10, 2013, 09:19:47 pm »
In mame .149, to simply change the controls for a single game, launch said game, then press tab, and choose input (current game)
Modify as you see fit.
As for high score saving,
I have a compiled mame highscore fix working if you want it.
Its optimized for a Pentium 4.
If not, I can walk you through the steps for compiling mame on your own.

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
Re: New Post - OLD Topic (High Score Save)
« Reply #2 on: September 11, 2013, 05:35:48 am »
Either way would be great.  My main computer is a P4, but the MAME cabinet is pretty old.  I'm not even sure .149 will work.
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

EMDB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 865
  • Last login:September 05, 2023, 09:18:51 am
  • Project RetroCade
Re: New Post - OLD Topic (High Score Save)
« Reply #3 on: September 11, 2013, 07:38:34 am »
Either way would be great.  My main computer is a P4, but the MAME cabinet is pretty old.  I'm not even sure .149 will work.
Just use MAME Compiler: http://www.headsoft.com.au/index.php?category=mame&page=mc64
The instructions are on the main page and its real easy  :applaud:

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
Re: New Post - OLD Topic (High Score Save)
« Reply #4 on: September 11, 2013, 04:40:01 pm »
I keep getting the following error:

Compiling Mame...
Using Parameters  TARGETOS=win32 TARGET=mame OSD=windows ARCHOPTS=-march=native NOWERROR=1
make: *** windows32_openpipe(): DuplicateHandle(In) failed (e=6)
Finished!
0 Hours 0 Minutes and 0 Seconds Elapsed.
.  Stop.
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

icecube45

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • Last login:April 16, 2016, 02:09:11 am
  • 42
Re: New Post - OLD Topic (High Score Save)
« Reply #5 on: September 11, 2013, 10:44:32 pm »
I keep getting the following error:

Compiling Mame...
Using Parameters  TARGETOS=win32 TARGET=mame OSD=windows ARCHOPTS=-march=native NOWERROR=1
make: *** windows32_openpipe(): DuplicateHandle(In) failed (e=6)
Finished!
0 Hours 0 Minutes and 0 Seconds Elapsed.
.  Stop.

Here you go!
Sorry it took this long to get back to you.
Although mame compiler does have simple instructions, its a bit buggy, and the instructions are for a different version

http://www.mediafire.com/?p83iw62h0a6qn4h

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
Re: New Post - OLD Topic (High Score Save)
« Reply #6 on: September 12, 2013, 05:33:35 am »
Thank you!  I'll give it a shot tonight.
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

EMDB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 865
  • Last login:September 05, 2023, 09:18:51 am
  • Project RetroCade
Re: New Post - OLD Topic (High Score Save)
« Reply #7 on: September 12, 2013, 06:42:04 am »
I keep getting the following error:

Compiling Mame...
Using Parameters  TARGETOS=win32 TARGET=mame OSD=windows ARCHOPTS=-march=native NOWERROR=1
make: *** windows32_openpipe(): DuplicateHandle(In) failed (e=6)
Finished!
0 Hours 0 Minutes and 0 Seconds Elapsed.
.  Stop.
You still have to think for yourself... If you build the 0.149 source code you have to apply the hi_0.149 diff  :cheers:

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
Re: New Post - OLD Topic (High Score Save)
« Reply #8 on: September 12, 2013, 04:12:11 pm »
Yes, I did.  I hit the apply button, waited, then hit the go button.  I tried it with 147, 148 and 149.  All with the same results.
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

epetti

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • Last login:September 14, 2023, 10:15:20 pm
  • I want to build my own arcade controls!
Re: New Post - OLD Topic (High Score Save)
« Reply #9 on: September 12, 2013, 04:30:00 pm »
Had the same issue.  I believe that some of the compiler flags that are used require a new machine then a Pentium 4, so it just will not compile on a machine that old.

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
Re: New Post - OLD Topic (High Score Save)
« Reply #10 on: September 12, 2013, 04:33:02 pm »
Well that just sucks as I'm using a PII or AMD (I can't remember which) to run my cabinet.  I only run old roms.  Just games from the late 70s / early 80s.

I'm going to try the modified version in a little while.  I hope it works.  Otherwise, is there a way to compile (easily) manually?
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
Re: New Post - OLD Topic (High Score Save)
« Reply #11 on: September 12, 2013, 04:57:20 pm »
Tried the file that icecube45 uploaded and I get nothing.  No joy.

Back to square one.
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
Re: New Post - OLD Topic (High Score Save)
« Reply #12 on: September 15, 2013, 07:56:20 am »
I got it.  The Headsoft MAME Compiler points to a directory that is not there.  The directory that it wants is in another sub-folder (at least for the 149 source, maybe the older versions weren't like this version).

Anyway, I found the manual way on this site (can't remember where).

1. Download the source and extract it to c:\mamesrc
2. Download MinGW and extract it to c:\MinGW
3. Download all associated diff files and extract them to c:\mamesrc
4. Download hiscore.dat and extract the proper file for your version of MAME to c:\mamesrc
5. Download hiscore.txt and place it in c:\mamesrc

Now create a .bat file with the following:

Code: [Select]
set path=C:\MinGW\mingw64-w32\bin

patch -p0 -E < 0149u1.diff

patch -p0 -E < hi_149.txt

make all

6. Run the .bat file and it will compile everything.  You have to make sure that you change the .diff and .txt files inside the .bat file for different versions of MAME.

Now, I have to figure out why my scanlines aren't working...
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
Re: New Post - OLD Topic (High Score Save)
« Reply #13 on: September 15, 2013, 08:26:26 am »
Got scanlines working.  Had to run in CMD to see that the scanlines.png file was missing.  Everything looks great now.  Thank you.
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

icecube45

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • Last login:April 16, 2016, 02:09:11 am
  • 42
Re: New Post - OLD Topic (High Score Save)
« Reply #14 on: September 15, 2013, 03:13:35 pm »
Got scanlines working.  Had to run in CMD to see that the scanlines.png file was missing.  Everything looks great now.  Thank you.

So sorry mine didn't work!
Its odd, as it works for me

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
Re: New Post - OLD Topic (High Score Save)
« Reply #15 on: September 15, 2013, 03:16:18 pm »
No worries man.  It's probably my computer as I use different drives for different things.  I guess the same reason that to compiler software didn't work.

Right now, I'm trying to go back far enough that my ROMs work.  I was using .084 and everything was great.  I just didn't like the way dkong sounds/colors were.  Now about half of my ROMs report missing files, won't run, etc.
« Last Edit: September 15, 2013, 03:18:06 pm by rescue161 »
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart

UFO

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 31, 2025, 01:00:25 pm
  • Im nearly out of unproductive things to do at work
Re: New Post - OLD Topic (High Score Save)
« Reply #16 on: September 15, 2013, 05:38:04 pm »
Bookmarked ... I'm struggling with this!

rescue161

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:August 04, 2025, 05:20:11 pm
  • I built my own Cabaret machine!
Re: New Post - OLD Topic (High Score Save)
« Reply #17 on: September 16, 2013, 08:38:39 pm »
Well, after all of that, MAME .149 will not work on my old cabinet.  It works fantastic on my P4 machine, but will not run on the old x86 with 520MB of RAM.  MAME .084 works like a champ in the old cabinet, so I guess I'll stick with it.  It sucks though, as I wanted the sounds/colors on Donkey Kong to be right.

I may retire this computer to MAME and get a new one.  I've had it since 2004.
"Censorship reflects a society's lack of confidence in itself." - Supreme Court Justice Potter Stewart