mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-29 07:07:20 -05:00
feat: accept platform system names in --system
generate_pack and verify read --system beside --platform through common.resolve_system_arg, built on platform_system_names, the mapping the manifest's system_names comes from. verify --platform --system now reports on the narrowed pack. Unknown names are refused with suggestions before the database is read.
This commit is contained in:
1 parent
fd1d1b7b96
commit
3fe88332e7
9 files changed
+424
-117
No files matched your search
@@ -46,8 +46,19 @@ Extract only the files for a single system within a platform:
|
||||
|
||||
```bash
|
||||
python scripts/generate_pack.py --platform retroarch --system sony-playstation
|
||||
python scripts/generate_pack.py --platform batocera --system psx
|
||||
python scripts/verify.py --platform batocera --system psx
|
||||
```
|
||||
|
||||
Beside `--platform`, `--system` accepts the platform's own name for a system
|
||||
as well as our id: `psx` is what Batocera calls `sony-playstation`, and both
|
||||
build the same pack. The names come from `native_system` in the platform
|
||||
YAML, the mapping the installer reads as `system_names`, and
|
||||
`--platform batocera --list-systems` shows them after each id. A comma-separated
|
||||
value that is itself one name stays one name (Recalbox's `msx1,msx2`). A name
|
||||
the platform does not know is refused with the closest matches before the
|
||||
database is read.
|
||||
|
||||
### Required only
|
||||
|
||||
Exclude optional files from the pack:
|
||||
|
||||
Reference in new issue
Block a user