Merge pull request #1385 head: serve the mods' merged resource size table from the last start (itaskaev2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-11-23 18:37:21 +03:00
commit 05d46f3538
3 files changed
+111 -2

No files matched your search

+1
View File
@@ -120,6 +120,7 @@ Many rows below are developer tools that only act together with another setting
| `romfs_mmap` | `1` maps the RomFS image into memory instead of reading it with positional reads. | Changes how the image is read; the log reports when the mapped path is on. | Caution |
| `romfs_mods` | Folder of an overlay with a `manifest.tsv` of sizes and SHA-256 hashes; its files are served in place of the originals. | A missing file, size or hash mismatch, or a changed original stops the start; player mods win over this overlay. | Save risk |
| `romfs_patches` | Folder of an overlay with a `manifest.tsv`, served in place of the original files; the default is `romfs-patches` beside the index. | Same checks as `romfs_mods`; while it is set the Xbox and PC button prompts are off, and the menu says so. | Save risk |
| `restbl_cache` (default `1`) | With player mods, the resource size table merged from their files at the last start is served again when every mod file, shipped table and the port version are the same (`<profile>/mods/` keeps the table and its `.key`). `0` builds it at every start. | Saves the pass over every mod file at start (about 7 s with an HD texture pack and The Second Quest). A changed, added or removed mod file builds the table again. | Safe |
| `romfs_proof_dir` | Folder for the `.romfs-verified-v1` proof file of a full verification; the default is beside the index. | Only moves one small file. | Safe |
| `romfs_verify` | `full` hashes the whole RomFS image at start; `force` hashes it again even when a proof file exists. | Start takes many minutes for a 17 GB image; a proof file is written so later starts skip the hash. | Caution |
| `shader_cache` | Folder of the translated shader cache (default `shader-cache` beside `totk.exe`). | A new folder starts empty, so shaders are translated again during play. | Caution |