mame/docs/source/plugins/hiscore.rst
Vas Crabb 5ab93130eb Plugin updates:
Changed the hiscore plugin to save inside the "hiscore" folder in the
plugin data directory.  The old hiscore path setting has already been
removed from MAME for some time.  This means the plugin was always
saving in the "hi" folder in the working directory with no way to change
it, which is problematic on Linux and macOS, particularly for distro
packagers.  There are lots of plugin and UI changes in this release, so
we may as well get this out of the way now.  Also made it possible to
change the "timed save" option from the Plugin Options menu, and save
that in the data folder, too.

Documented the input macro plugin.  The only undocumented plugins now
are the cheat plugin, the cheat finder plugin, and the port name plugin.
2021-10-24 09:38:03 +11:00

28 lines
1.6 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.. _plugins-hiscore:
Hiscore Support Plugin
======================
The hiscore support plugin saves and restores high scores for games that did not
originally save high scores in non-volatile memory. Note that this plugin
modifies the contents of memory directly with no coordination with the emulated
software, and hence changes behaviour. This may have undesirable effects,
including broken gameplay or causing the emulated software to crash.
The plugin includes a **hiscore.dat** file that contains the information on how
to save and restore high scores for supported systems. This file must be kept
up-to-date when system definitions change in MAME.
High scores can be saved automatically either on exit, or a few seconds after
theyre updated in memory. To change the setting, activate the main menu (press
**Tab** during emulation by default), select **Plugin Options**, and then select
**Hiscore Support**. Change the **Save scores** option by highlighting it and
using the UI Left/Right keys, or clicking the arrows.
High score data is saved in the **hiscore** folder in the plugin data folder
(see the :ref:`homepath option <mame-commandline-homepath>`). A file with a
name corresponding the system short name (or ROM set name) with the extension
``.hi``. For example, high scores for the game Moon Cresta will be saved in the
file **mooncrst.hi** in the **hiscore** folder in your plugin data folder. The
settings for the hiscore support plugin are stored in the file **plugin.cfg** in
the **hiscore** folder in the plugin data folder (this file is in JSON format).