yoshisuga / MAME4iOS

Multiple Arcade Machine Emulator for iOS, iPadOS, tvOS, macOS (Catalyst)
Other
667 stars 105 forks source link

HISCORE.DAT crash #406

Open ToddLa opened 2 years ago

ToddLa commented 2 years ago

The Final Round (Version M) will crash if Save Hiscores is ON and MAME version is 139 (works fine in MAME 244)

might need an update of HISCORE.DAT

ToddLa commented 2 years ago

I updated to a different HISCORE.DAT, and same crash

RussellKR commented 2 years ago

The entry (headword) aka 'cpu' is incorrect for this game!!! And also 'coz of this; MAME 244 does NOT save the hiscore!!!

Funny thing is; all these years/updates no one even notice... Good eye.

Easy to fix, just open the HISCORE.DAT with 'TextEdit' and locate/find the game name.

For 139: just change the number 1 to 0 1 represent for audiocpu and 0 represent for maincpu.

;***twin16.c fround: hpuncher: froundl: 0:40070:4:01:00 0:40300:50:4a:00

For 244: just replace the audiocpu to maincpu.

fround: froundl: hpuncher: @:maincpu,program,40070,4,01,00 @:maincpu,program,40300,50,4a,00

Note: If anyone try to report any issues for older version(s) HISCORE and Cheats, they will ignore or they say update your MAME and use latest HISCORE and Cheats... But, this needs to be fixed for next release.

ToddLa commented 2 years ago

So 244 does not crash, but does not work correctly. 139 just crashes with wrong data.

We can fix the 139 hiscore.dat in M4i, but a fix for 2xx should go through MAME mainline.

RussellKR commented 2 years ago

So 244 does not crash, but does not work correctly. 139 just crashes with wrong data.

That is correct.

a fix for 2xx should go through MAME mainline.

I was told that NOT bother to report this kind of issue through MAME mainline. I take care of this,

This is the place for report: https://www.mameworld.info/highscore/index.htm

Done. It will be corrected for next hiscore.dat release. But, I'm not sure that when hiscore.dat will be ready to add-in for official MAME...