fix: place amiberry ROMs in rom_path

The standalone Amiberry scans rom_path, ROMs below its content root by
default, for the ROMs of its database, without descending into
folders, and reads rom.key beside the Kickstart and the MT-32 ROMs
from mt32-roms. Those entries now carry standalone_path relative to
it, the four Kickstart labels holding slashes flattened. The kick*.rom
names stay the libretro build's.

Batocera's config_directories reads its rom_path save, KNULLI reuses
it. On Batocera, KNULLI and RetroPie the ROMs move from the BIOS root
to bios/amiga.
This commit is contained in:
Abdessamad Derraz committed 2026-11-09 19:48:22 +01:00
1 parent 8ec0c5482c
commit 5bf8aa8a3e
6 files changed
+168 -14

No files matched your search

+7 -2
View File
@@ -901,8 +901,13 @@ def environment_directories(cg: Configgen) -> list[Launcher]:
# Generators that hand the emulator a /userdata/bios directory through its
# configuration: a line written to the file it reads (openMSX's script.tcl
# filepool entries, xroar.conf rompath) or a key saved to it.
CONFIG_DIRECTORY_GENERATORS = ("openmsx.openmsxGenerator", "xroar.xroarGenerator")
# filepool entries, xroar.conf rompath) or a key saved to it (amiberry.conf
# rom_path).
CONFIG_DIRECTORY_GENERATORS = (
"openmsx.openmsxGenerator",
"xroar.xroarGenerator",
"amiberry.amiberryGenerator",
)
def config_directories(
+2 -3
View File
@@ -87,8 +87,8 @@ ES_FEATURES = "package/emulationstation/knulli-es-system/es_features.yml"
# Batocera's extractors that read KNULLI's generators unchanged.
# The generators of Batocera's config_directories that KNULLI keeps in the
# same shape: openMSX's filepool lines.
CONFIG_DIRECTORY_GENERATORS = ("openmsx.openmsxGenerator",)
# same shape: openMSX's filepool lines and amiberry's rom_path.
CONFIG_DIRECTORY_GENERATORS = ("openmsx.openmsxGenerator", "amiberry.amiberryGenerator")
def knulli_config_directories(cg: Configgen) -> list[Launcher]:
@@ -373,7 +373,6 @@ GENERIC_SITES = (
GenericSites("gsplus/gsplusGenerator.py", "passes_path"),
GenericSites("tsugaru/tsugaruGenerator.py", "passes_path"),
GenericSites("scummvm/scummvmGenerator.py", "passes_path"),
GenericSites("amiberry/amiberryGenerator.py", "passes_path"),
GenericSites("fsuae/fsuaeGenerator.py", "passes_path"),
GenericSites("mame/mameGenerator.py", "passes_path"),
GenericSites("fpinball/fpinballGenerator.py", "passes_path"),