fix: read AdvanceMAME's dir_rom list on RetroPie

RetroPie writes dir_rom $romdir/mame-advmame:$romdir/arcade into the
rc of each AdvanceMAME build (advmame.sh:100, configure_advmame being
called by the 1.4 and 0.94 modules too). _search_list_in_roms split
every list on ';', so the line was dropped and the sets landed at the
BIOS root, where no build reads them.

Each program's separator is now read from its own code: AdvanceMAME
strtoks dir_rom on file_dir_separator(), ':' on Linux, in the three
builds RetroPie ships (advance/linux/file.c:138-141, advance/osd/
fileio.c:696-699 at 96237a5, 685-688 at advancemame-1.4, 640-643 in
advancemame-0.94.0). MAME splits on ';' (src/emu/fileio.cpp:56, 64,
112 at mame0289). RetroPie is rescraped at 427e762: the three
passes_path records are its only change.

advmame, advmame-1.4 and advmame-0.94 carry a retropie config_reads
for dir_rom, read at the build RetroPie installs (96237a5, the tag
advancemame-1.4 its tarball matches, the 0.94.0 tarball). The 1.4 and
0.94 profiles gain the dir_rom pool and a path for each set, and 0.94
a pin_build on rp_module_repo.

Manifests: on RetroPie 55 sets of the three builds move from the BIOS
root to roms/mame-advmame, the first folder of the list, which every
game started from either folder reads. Seven archives other cores
share stay at the root for them. No other platform changes. verify
--all keeps its severity and status counts.
This commit is contained in:
Abdessamad Derraz committed 2026-11-11 14:57:12 +01:00
1 parent 39a8ccfd6d
commit cb7700a594
7 files changed
+185 -4

No files matched your search

+27
View File
@@ -325,6 +325,15 @@ launchers:
kind: package
names: []
source_ref: "scriptmodules/emulators/advmame-0.94.sh:12, 16, scriptmodules/emulators/advmame.sh:147-148"
- emulator: advmame-0.94
package: advmame-0.94
build: standalone
kind: passes_path
names: []
search_dir: "$romdir/mame-advmame:$romdir/arcade"
passes_to: dir_rom in $md_conf_root/mame-advmame/$md_id.rc
fails_when_missing: false
source_ref: "scriptmodules/emulators/advmame.sh:100"
- emulator: advmame-1.4
package: advmame-1.4
repo: file $__archive_url/advancemame-1.4.tar.gz
@@ -335,6 +344,15 @@ launchers:
kind: package
names: []
source_ref: "scriptmodules/emulators/advmame-1.4.sh:12, 16, scriptmodules/emulators/advmame.sh:147-148"
- emulator: advmame-1.4
package: advmame-1.4
build: standalone
kind: passes_path
names: []
search_dir: "$romdir/mame-advmame:$romdir/arcade"
passes_to: dir_rom in $md_conf_root/mame-advmame/$md_id.rc
fails_when_missing: false
source_ref: "scriptmodules/emulators/advmame.sh:100"
- emulator: advmame
package: advmame
repo: "git https://github.com/amadvance/advancemame"
@@ -345,6 +363,15 @@ launchers:
kind: package
names: []
source_ref: "scriptmodules/emulators/advmame.sh:12, 16, 147-148"
- emulator: advmame
package: advmame
build: standalone
kind: passes_path
names: []
search_dir: "$romdir/mame-advmame:$romdir/arcade"
passes_to: dir_rom in $md_conf_root/mame-advmame/$md_id.rc
fails_when_missing: false
source_ref: "scriptmodules/emulators/advmame.sh:100"
- emulator: ags
package: ags
repo: "git https://github.com/adventuregamestudio/ags.git release-3.6.0"