Mame64 + LUA Hiscore saving

david_orton_2000

Green Mario
vacBacker
Feedback
8 (100%)
Credits
344CR
Hi all,

Wonder if you guys have got this working yet.

Out of the box, it seems there is more to do.

i.e. I can now see (using ver 0180 - latest) that hiscore.dat is included.

Had a look around, and been here, etc. however I still do not see the steps needed to get it to work?

https://github.com/borgar/mame-hiscores

Clean install, created mame.ini via:-

mame64 -createconfig

then edited it:-

autoboot_delay 0

autoboot_script hiscore.lua

-of course, hiscore.lua does not exist in the plugins directory (only these):-

hiscore.dat

init.lua

plugin.json

sort_hiscore.lua

Any tips?... is it some editing and file-renaming needed?

Sorry, used mame for years, but not fiddled with this new LUA method thingamie wotsit! ;-)

Any help most appreciated! :)

Cheers,

DaveO.
 

AnDyC

Active member
Feedback
11 (100%)
Credits
529CR
You can do it per game

https://github.com/borgar/mame-hiscores/blob/master/README.md

Or this thread might help

http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=351252&page=0&view=expanded&sb=5&o=&vc=1AnDyC2016-12-08 10:28:08
 

david_orton_2000

Green Mario
vacBacker
Feedback
8 (100%)
Credits
344CR
Ok, some fiddling, easier than you think...ish...
Why there is not 1 simple post with this all in.....

Anyway:-

So, needed to also edit 'plugins.ini':-

hiscore 1

mame.ini needed to have these settings:-

autoboot_script plugins/hiscore/init.lua

plugins 1

for the 'plugin' entry I have nothing, as I suspect the plugins.ini over-rides.

Also note the direction of the / above, i.e. from the Unix platform, rather than for Windows, etc.

Anyway, works like that so far, no manual game edits, etc. :)

Result! :)

Game on. :)
 
Top