mirror of
https://github.com/rehan-remade/universal-modder.git
synced 2026-11-05 01:37:40 +00:00
[PR #163] [MERGED] kb: the .bundle entry offset is a u64 in two words, not a 0/1 flag (The Witcher 3) #173
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rehan-remade/universal-modder#173
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rehan-remade/universal-modder/pull/163
Author: @Selene0623
Created: 10/8/2026
Status: ✅ Merged
Merged: 10/10/2026
Merged by: @rehan-remade
Base:
main← Head:kb/w3-u64-offset-correction📝 Commits (3)
b9e0d60fix(knowledge): the .bundle entry offset is a u64 in two words, not a 0/1 flagcbc1fb1kb: The Witcher 3 Remastered .bundle note: review fixes140a689Merge remote-tracking branch 'origin/main' into land/pr-163📊 Changes
1 file changed (+39 additions, -22 deletions)
View changed files
📝
knowledge/games/the-witcher-3/the-witcher-3-remastered-bundle-container-and-cr2w-decoded.md(+39 -22)📄 Description
Follow-up to #133 (merged), whose reviewer asked for this check as item 3:
Checked against all 31 shipped
content/content0/bundles/*.bundle. The secondu32of each 304-byte entry is the high half of a u64 offset, not a flag:offset = w0 | (w1 << 32)monotonicity,buffers.bundlemovies.bundledlc05,800 /buffers2,545 /movies14)buffers52,989/113,009,movies624/1,236zlib.crc32of the decompressed payload (8/8buffers, 5/5ep1), not of the stored bytesSo this PR rewrites the entry field list and the offsets paragraph, drops the
+ 2^32workaround from build step 4, gotcha 3 and gotcha 4, and records the evidence in Verification. The relative paths insideboot.log-style paths are untouched, and the rest of the merged review changes are left as they are.Gate:
um kb index·um kb check --indexPASS 128 notes ·uv run --with pytest pytest -q tests76 passed, 1 skipped ·um publish check .437 files, 0 failures (2 pre-existing warnings).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.