Directory layout
${ROM_DIRECTORY}
├── ${SYSTEM_NAME} # each system's games, from the regions you keep
│ ├── 1G1R # its 1G1R games
│ └── Trash # its discarded games
└── Trash # files import-roms -t matched to no system
GROUP_SUBSYSTEMS, on by default, controls ${SYSTEM_NAME}: when on, every variant of a system shares one directory.
GAME_SUBFOLDERS puts games in folders named after them within their system’s directory, so a game of several files stays together:
never, the default, puts no game in a folder.multipleputs only a game stored as several files in one, a CUE and its BINs, while one in a single archive or disc image stays as it is.alwaysputs every game in one.
Under either of the last two, the discs of a game share one folder with their playlist, named after the game without its (Disc N) tag, as frontends such as RomM read a multi-disc game.
Arcade games stored as archives stay as they are.
REGIONS_ALL_SUBFOLDERS and REGIONS_ONE_SUBFOLDERS, set to alpha, sort a system’s games and its 1G1R games into folders by their first letter, A to Z, and # for the rest.
Files in a Trash directory are deleted by purge-roms --trash.