feat: bind standalone layouts per system and pool

A launcher record can name the systems it is written for, and then
replaces there what the records naming none hand: RetroBat passes XRoar
-rompath bios/coco for coco and bios/dragon otherwise. An entry is
launched for the systems it names and those the platform declares a
file of its name under. A {system} search_dir gives one directory per
platform system, a colon search path each of its directories.

standalone_pools names settings a program reads as a list of
directories, each searched like a layout subfolder (openMSX filepool,
XRoar rompath). Any entry serves: the one the platform list fills
comes first, then the first of the BIOS tree. A handle above a
declared directory lands it where its link points (configure
--prefix). Record order now survives the standalone set.
This commit is contained in:
Abdessamad Derraz committed 2026-11-09 19:30:06 +01:00
1 parent 8633db0a22
commit cd38b9ed10
5 files changed
+422 -74

No files matched your search

+2 -2
View File
@@ -241,7 +241,7 @@
"items": {
"type": "string"
},
"description": "Systems the package registers, under the platform's own names, in the order the script adds them"
"description": "Systems the package registers, under the platform's own names, in the order the script adds them. On a record handing a directory, the systems it is written for: the record applies to an emulator launched for one of them, and replaces there what the records naming no system hand"
},
"slot": {
"type": "string",
@@ -270,7 +270,7 @@
},
"search_dir": {
"type": "string",
"description": "Directory the launcher looks in, as the code resolves it"
"description": "Directory the launcher looks in, as the code resolves it. {system} stands for the platform system the emulator is launched for"
},
"passes_to": {
"type": "string",