feat: packs leave out what the emulator installs

A file or tree installed with the emulator is already on the user's machine, so packs, install manifests and verify's pack count leave it out. bundled is scoped by mode like any entry: Dolphin's Sys and PPSSPP's assets ship with the standalone releases, not with the libretro cores, so they now follow the libretro build only and still reach RetroArch packs. PrimeHack, standalone only, ships its own Sys.
This commit is contained in:
Abdessamad Derraz committed 2026-10-20 06:04:10 +02:00
1 parent c589ed49b8
commit ddc7432825
10 files changed
+69 -6

No files matched your search

+11
View File
@@ -525,6 +525,17 @@ def filter_files_by_mode(files: list[dict], standalone: bool) -> list[dict]:
return result
def deliverable(entries: list[dict], standalone: bool) -> list[dict]:
"""The entries of one build a pack has to bring.
A file or tree installed with the emulator is already on the user's
machine: shipping it again only weighs the pack. `bundled` is scoped by
`mode` like any entry, so PPSSPP's assets, shipped by the standalone
release and not by the libretro core, still reach a RetroArch pack.
"""
return [e for e in filter_files_by_mode(entries, standalone) if not e.get("bundled")]
def find_validated_variant(
file_entry: dict,
db: dict,