mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Fold the folder name resolution into one home and make it case-insensitive end to end. Config folder names are lowercased as the config is parsed, so bindings, versions and the built-in alias table are all matched the same way. A SNES/ folder now resolves, and a binding written GameCube: matches a gamecube/ folder. Add resolve_fs_slug(), the inverse used to recover a renamed folder, which replaces the two swapped dicts in scan_platform. Only slugs reached by exactly one folder name are reversible, so recovery never guesses between amiga500, amiga600 and amiga1200. Validate system.platforms and system.versions through one helper that rejects empty and non-string values, and treat a null block as empty rather than exiting. Restore the atari800 override in the example configs: its folder name is itself a RomM slug, so it can never be an alias. A new test derives the needed overrides from the alias table to keep the examples honest. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
70 lines
2.1 KiB
YAML
70 lines
2.1 KiB
YAML
# This config file is compatible with the ES-DE Emulation Frontend
|
|
# Rename this file to `config.yml`, copy it to a `config` folder, and mount that folder as per the docker-compose.example.yml
|
|
# Only uncomment the lines you want to use/modify, or add new ones where needed
|
|
|
|
exclude:
|
|
roms:
|
|
single_file:
|
|
extensions:
|
|
- "xml"
|
|
- "txt"
|
|
names:
|
|
- "info.txt"
|
|
- "metadata.txt"
|
|
- "systeminfo.txt"
|
|
- "psy.ggjud.iso"
|
|
- "psy.ggjud.nfo"
|
|
multi_file:
|
|
names:
|
|
- "roms"
|
|
- "pfx"
|
|
- "mlc01"
|
|
- ".Trash*"
|
|
|
|
system:
|
|
# ES-DE folder names are recognised automatically. The entry below overrides a
|
|
# folder RomM would otherwise match to its own platform.
|
|
platforms:
|
|
atari800: "atari8bit" # Atari 8-bit
|
|
|
|
scan:
|
|
# Metadata priority during scans
|
|
priority:
|
|
# Below are the default priority values used
|
|
metadata: # Top-level metadata source priority
|
|
- "gamelist" # ES-DE gamelist.xml
|
|
- "igdb" # IGDB (highest priority)
|
|
- "moby" # MobyGames
|
|
- "ss" # Screenscraper
|
|
- "ra" # RetroAchievements
|
|
- "launchbox" # Launchbox
|
|
- "hasheous" # Hasheous
|
|
- "flashpoint" # Flashpoint Project
|
|
- "steam" # Steam (PC platforms only)
|
|
- "hltb" # HowLongToBeat (lowest priority)
|
|
artwork: # Cover art and screenshots
|
|
- "gamelist" # ES-DE gamelist.xml
|
|
- "igdb" # IGDB
|
|
- "moby" # MobyGames
|
|
- "ss" # Screenscraper
|
|
- "ra" # RetroAchievements
|
|
- "launchbox" # Launchbox
|
|
- "hasheous" # Hasheous
|
|
- "flashpoint" # Flashpoint Project
|
|
- "steam" # Steam (PC platforms only)
|
|
- "hltb" # HowLongToBeat
|
|
# Media assets to download
|
|
media:
|
|
# Used as alternative cover art
|
|
- box2d # Normal cover art (always enabled)
|
|
- box3d # 3D box art
|
|
- miximage # Mixed image of multiple media
|
|
- physical # Disc, cartridge, etc.
|
|
# Added to the screenshots carousel
|
|
- screenshot # Screenshot (enabled by default)
|
|
- title_screen # Title screen
|
|
- marquee # Transparent logo
|
|
- fanart # User uploaded artwork
|
|
# Gameplay video
|
|
- video # Video (warning: large file size)
|