MAME4iOS icon indicating copy to clipboard operation
MAME4iOS copied to clipboard

Modern MAME hiscores

Open ToddLa opened this issue 4 years ago • 1 comments

M4i includes a hiscore.dat, this needs updated to a modern version.

Related to #333

ToddLa avatar May 25 '21 16:05 ToddLa

I confirm that 'hiscore' works on M4i, Modern MAME 0.234 Once you delete the old 'hiscore.dat' from M4i root and enable it from 'plugin.ini'

When I select 'Plugins' from MAME UI, MAME creates a 'plugin.ini' file in M4i root. But it was empty!!! I replaced the 'plugin.ini' file from my desktop MAME I changed the hiscore value 0 to 1 in 'plugin.ini' file. And I added that 'plugins folder' into M4i root from my desktop MAME

After this was done, you can Enable/Disable the plugins from MAME UI (DOS UI) or editing the plugin.ini file. MAME saves a game's hiscore file in 'hi folder' after a game's hiscore beaten and saved.

Enabling the all plugins cause problem for M4i it crashes and lagging!!! I reckon that it is the 'console' plugin. Even on desktop MAME same thing happens... hiscore doesn't show the 'Plugin Options' on the MAME config Menu but, 'Autofire, Cheat, Cheat Finder, Dummy, Input Ports and Timer' show up.

Important notice: Every time that I kill the app. M4i creates a new 'hiscore.dat' file in M4i root! I think that is the old one 139 If 'Save Hiscores' switch option in the settings is ''ON'' and also if I delete 'hiscore.dat' again I have to delete a game's hiscore file in hi folder as well, otherwise it causes problem for game.

Documentation for plugins: https://docs.mamedev.org/plugins/index.html Explanation about hiscore: https://highscore.mameworld.info/bellstut.htm

Edit: MAME 0.238 shows ''Highscore Support'' option in config. menu plugins, also have 2 options to save ''On Exit and When Updated'' M4i (latest MAME) needs 'plugins'

RussellKR avatar Nov 29 '21 12:11 RussellKR