Arcade
Arcade support is a work in progress.
Importing DATs
A DAT that lists machines, like MAME’s, is imported as an arcade system by import-dats.
The output of MAME’s or HBMAME’s -listxml is read directly too: having no header, its system is named after the file, which -n overrides, and versioned after the build.
FBNeo’s arcade DATs list games, so import them with -a to make them arcade.
An update keeps a system arcade, and -f without -a reverts it.
MAME ships separate DATs for ROMs, CHDs and more.
Turn GROUP_SUBSYSTEMS on and name them MAME (ROMs), MAME (CHDs) and so on, so they share a MAME directory that MAME reads as is.
Where to find the DATs: MAME’s on Progetto-Snaps, FBNeo’s on libretro.
Importing ROMs
Arcade systems accept uncompressed files, ZIP and CHD.
PREFER_FORMAT takes only ORIGINAL and ZIP for them.
Arcade games stored as archives stay as they are in the directory layout.
Sorting
Arcade systems sort by set type instead of region.
REGIONS_ALL_ARCADE and REGIONS_ONE_ARCADE say which of bios, parent and clone go to the system directory and to 1G1R.
With both empty, everything stays in the system directory, and otherwise the types left out are discarded.
Merging strategies
rebuild-roms rebuilds arcade sets with another merging strategy:
- Split: each set holds only its own files.
- Non-merged: each set also holds its parent’s files.
- Full non-merged: each set also holds its parent’s files and the BIOS files it needs.
- Merged: a parent’s ZIP also holds its clones’ files, each stored once. A clone’s file whose name the parent already uses with other contents goes under
<clone>/, as ClrMamePro does. Sets must be ZIPs: convert loose sets withconvert-romsfirst.