feat(launcher): use version-independent rules for space-saving copies

Replace the single-version 2.61.0.43 SHA-256 hardlink manifest with declarative read-only asset rules in packages/patcher/tuning/hardlink-resources.jsonc (content/ and content.hq/ .dxp.bin and .grp archives with no minimum size cutoff). Space-saving installs and conversions now work across minor updates, and updating a space-saving client from a same-volume source preserves or creates hard links instead of detaching them into full copies.
This commit is contained in:
N0VAN0M4LY committed 2026-12-02 17:04:36 +08:00
1 parent 3ed41bdd60
commit bf2ce539e7
14 files changed
+292 -2812

No files matched your search

@@ -0,0 +1,20 @@
// Rules for space-saving NTFS hardlink copies between the stock client and an offline client.
// Matching is version-independent so minor updates keep working without regenerating per-version
// hash lists. Only static read-only engine asset archives that the game process never writes to
// belong here; executables, vromfs archives, configs, metadata, and hotfix overlays stay copied.
{
// Relative directory prefixes (lowercase, trailing slash) containing read-only asset packs.
"allowed_directories": [
"content/",
"content.hq/"
],
// Lowercase file suffixes for static texture and model archives.
"allowed_extensions": [
".dxp.bin",
".grp"
],
// Minimum file size in bytes (0 links every matching archive regardless of size).
"min_bytes": 0
}