Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: wxforecaster on October 17, 2010, 10:30:22 pm

Title: MAME Hi Score Failure
Post by: wxforecaster on October 17, 2010, 10:30:22 pm
I'm stumped. I had MAME high scores working and they've since stopped after I recompiled for .139u3 (and now .139u4 in hopes of correcting the issue).

- Using MAME compiler, I've applied the u1-u4 patches, followed by the u4 high score patch before compiling. No issues noted during compiling and mame64.exe works perfectly otherwise.
- A "hi" subdirectory exists in my MAME folder (which is C:\HyperSpin\Emulators\MAME for what it's worth)
- The hiscore.dat file exists in my MAME folder.

Am I missing something?

Evan
Title: Re: MAME Hi Score Failure
Post by: wxforecaster on October 18, 2010, 11:28:14 pm
OK, let me pose this. Does anyone know when/how the .hi files and the .cfg files in cfg are created? I'm beginning to think this is an issue with HyperSpin and not my compiled MAME. The couple (out of several dozen times) I was able to get a .hi file were the only times I was able to get a .cfg file as well.

If don't use HyperLaunch, the hi score/config writing aspect seems to work. If I do, it fails. I will be posting this on the H.S. forums.

Evan
Title: Re: MAME Hi Score Failure
Post by: MKChamp on October 19, 2010, 02:32:46 am
OK, let me pose this. Does anyone know when/how the .hi files and the .cfg files in cfg are created? I'm beginning to think this is an issue with HyperSpin and not my compiled MAME. The couple (out of several dozen times) I was able to get a .hi file were the only times I was able to get a .cfg file as well.

If don't use HyperLaunch, the hi score/config writing aspect seems to work. If I do, it fails. I will be posting this on the H.S. forums.

Evan

I know the hi files are wrote on exit. Not exactly sure about the cfg...I would guess the same holds true for them as well...but never have tested. If it is working running from command line and not working when running from the frontend, it is due to the frontend. It's killing the process rather than exiting from it. Don't have hyperluanch (I use mamewah...thanks mamewah!), so I can't test...
Title: Re: MAME Hi Score Failure
Post by: Dazz on October 19, 2010, 04:39:09 am
OK, let me pose this. Does anyone know when/how the .hi files and the .cfg files in cfg are created? I'm beginning to think this is an issue with HyperSpin and not my compiled MAME. The couple (out of several dozen times) I was able to get a .hi file were the only times I was able to get a .cfg file as well.

If don't use HyperLaunch, the hi score/config writing aspect seems to work. If I do, it fails. I will be posting this on the H.S. forums.

Evan
This is happening due to the way that HyperLaunch force quits the emulators to get the clean exit.  Basically this is sending an ALT+F4 to the emulator, some emulators do not go through their save process when this happens as you exit the game.  You can either disable HyperLaunch when using MAME, or you can edit the launch script. 

To edit the launch script you must have AutoHotKey installed.  Open the HyperLaunch.ahk file in a text editor, find exitEmulatorKey = Esc and add a ~ in front of the ESC, exitEmulatorKey = ~Esc, save the file.  Right click the file and click compile. 
Title: Re: MAME Hi Score Failure
Post by: wxforecaster on October 19, 2010, 09:24:15 am
Thanks Dazz!

Evan