[GUIDE] Libretro MAME(current) hiscore, history, gameinit & command

Thanks @ImnoTapLumber! That worked right away. It’s great that they’ve made it so much simpler now to get the plugins configured. No more scouting down the files, etc.

1 Like

Hello, I’m interested in the solution proposed by @ImnoTapLumber. But I use retropie and didn’t manage in finding the plugins folder where to copy the plugin. Is there anyone can help me?

Hello, I’ve solved by combining different answres from different forums.

I’ll report here all the steps to enable hiscore saves on retropie with lr-mame (latest mame version):

  • Start a game in retropie
  • While in-game, open Retroarch menu (with your configured keys combination, usually HotKey+B)
  • Go to QuickMenu -> Options -> System, and switch the following options to ‘ON’: ** ‘Read configuration’ ** ‘Boot to OSD’ ** ‘Mame ini Paths’
  • Go back from options and then to ‘Resume’ and exit the game

Now, there is a new folder in ‘/home/pi’ (I use raspberry, otherwise if will be /home/your_system) called ‘.mame’ with three ini files (mame.ini, plugin.ini, ui.ini)

From a PC with SSH (or in the terminal), do the following:

  • Open mame.ini and change the following path (then save and exit): ** homepath: from system/mame to $HOME/.mame ** pluginspath: from /system/mame/plugins to $HOME/.mame/plugins

  • Open plugin.ini and write ‘hiscore 1’ on the first line (then save and exit)

  • Download latest mame repository here: https://github.com/mamedev/mame/archive/refs/heads/master.zip

  • extract the zip and copy the plugins directory into the folder containing the 3 .ini files (/home/YOUR_SYSTEM/.mame/)

*Now, on Retropie, open game *Mame OSD will show up *WHit the help of a keyboard navigate with TAB in Settings window

  • Select general Settings and then Plugins
  • Check the Hiscore plugin is set to ON
  • Go back on OSD and open Retroarch menu
  • Disable Boot to OSD option in QuickMenu -> Options -> System
  • Go back to OSD and close the game
  • Restart all the system

Now you should have correctly enabled hiscore save on almost all mame games. Remember to update hiscore.dat file present in /home/YOUR_SYSTEM/.mame/plugins/hiscore folder to have hiscore save feature enabled also on the latest mame games.

I hope this should be helpful.

Regards UnclePetros

1 Like