mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
Frontend system folders such as gamecube, megadrive or n3ds only became RomM platforms after the user copied a 100+ line system.platforms map into config.yml. A built-in alias table now covers the folder names those frontends use, seeded from the two example configs and cross-checked against the upstream system lists. Resolution order is unchanged for existing users: config bindings and versions win, a folder name that already is a slug keeps matching itself, and only then is the alias table consulted. The two call sites that resolved folder names by hand share one resolver. The example configs shrink to genuine overrides. The Batocera example also mapped odyssey2 to the original Odyssey; the alias points at Odyssey 2. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>