mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-22 03:39:14 -05:00
feat: read platform launchers in verify and packs
A names_searched list is one place the launcher fills with the first name it finds, so a core file it would never open once another name of the list is held is not reported missing. A place no declared file and no packed core file fills receives, under the launcher's name, a file the core accepts by content. The layer is applied inside find_undeclared_files, which verify and the pack builder both read, and a test reads their source to keep it there.
This commit is contained in:
1 parent
8660892d60
commit
b2b8dcd62c
6 files changed
+752
-1
No files matched your search
@@ -283,6 +283,23 @@ they copy, with `$bios_path` as the framework names it. In both, every line
|
||||
that names the BIOS directory must match a known construct, else the scrape
|
||||
stops with `LauncherPatternMissing`.
|
||||
|
||||
`verify.py` and the pack builder read the records through one function,
|
||||
`LauncherLayer.settle()` in `scripts/launchers.py`, applied inside the
|
||||
cross-reference both of them consume. A `names_searched` list is one place:
|
||||
the names are tried in order and one held file fills it, so a core file the
|
||||
launcher would never open once another name of the list is there is not
|
||||
reported missing. A `fixed_name` or `core_option` name is a place of its own.
|
||||
Only a record that applies without condition settles the core's own name: a
|
||||
core option the user may never set, or a record tied to one system, leaves
|
||||
the core's default in use elsewhere.
|
||||
A place that no declared file and no packed core file fills receives, under
|
||||
the launcher's name, a file the core accepts: the file the collection knows
|
||||
under that name when the core takes its content, otherwise the copy held for
|
||||
the core entry read under that name. Records that only hand over a directory
|
||||
(`passes_path`, `scans_dir`) or copy a file the platform already names
|
||||
(`links`, `copies`) place nothing, and a `search_dir` the code describes
|
||||
rather than names ("directory of the Chihiro BIOS found") is skipped.
|
||||
|
||||
### Inheritance
|
||||
|
||||
If the new platform inherits from an existing one (e.g. Lakka inherits RetroArch),
|
||||
|
||||
Reference in new issue
Block a user