feat: install the fewest files for a card's games

--for-games --required-only on a dArkOS card from a computer kept every
file of the list: --dest skipped the card's detection, so its rom
folders were never found. The games part beside the BIOS folder now
names them. The manifest marks a data tree every core runs without
(optional), and --required-only leaves it out: one GBA and one SNES game
took FBNeo's cheats and samples, 3,472 files no game opened.
This commit is contained in:
Abdessamad Derraz committed 2026-11-06 19:58:41 +01:00
1 parent adce8dd0d4
commit 072380c268
24 files changed
+184 -78

No files matched your search

+6 -4
View File
@@ -405,7 +405,7 @@ lists record these files as omitted.
<!-- generated: dry-run -->
A RetroArch dry run into an empty folder, with the list of 2026-11-05, printed this:
A RetroArch dry run into an empty folder, with the list of 2026-11-06, printed this:
```
Fetching file index for retroarch...
@@ -435,7 +435,7 @@ the installer can fetch them.
<!-- generated: run-date -->
Each line a first install prints, and what it means. The run below is a
Batocera install into an empty folder, from the list of 2026-11-05.
Batocera install into an empty folder, from the list of 2026-11-06.
The figures change with each release.
<!-- /generated: run-date -->
@@ -531,7 +531,7 @@ would save, once that saving is over half.
<!-- generated: bulk-hint -->
RetroArch with `--system sony-playstation`, from the list of 2026-11-05:
RetroArch with `--system sony-playstation`, from the list of 2026-11-06:
```
duckstation pulls 316.5 MB of this 329.0 MB download for sony-playstation. --core pcsx1 keeps 11.0 MB of it and saves 318.0 MB (96%).
@@ -876,7 +876,9 @@ BIOS sets of its parent chain (`neogeo.zip` for `mslug.zip`).
A game that is not recognised gets every BIOS of its system, and the run names
it. So does an arcade set the core does not know. **Only what starts**
(`--required-only`) leaves out the files the cores mark optional.
(`--required-only`) leaves out the files the cores mark optional, and the data
folders every core reading them runs without (FinalBurn Neo's cheats and
samples).
The games are read without hashing whole discs, and a cache keeps what was
read, so a second run over the same card reads only new files. It is a