gxt: decode small text tables through their string pools #56
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/rpatty-dev--PercyStar!56
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/56/head"
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?
@Snorps37 on GitHub · 2026-11-24 00:14 UTC · original
Snorps37:fix-gxt-decode→main· +59 −1 · 2 files · 1 commits · merged 2026-11-24 11:05 UTCCloses #55
Small GXT tables now decode through their
{u32, u32 len, u64 ptr}string-pool records.Tested on
data.rpf:cargo test --release: 120 passed.The remaining ~1,050 failures have
1at0x20and contain no readable text, so this PR leaves them alone.About 1,200 GXT tables in data.rpf failed to decode. Small tables hold only one or two strings, below the old three-string minimum, and their strings often sit after the bitmap region the scan stops at. Follow {u32, u32 len, u64 ptr} records to null-terminated UTF-8 pools. Tables with fewer than three scanned strings now use the pools alone; larger tables keep their current output and gain any pooled string the scan missed.@rpatty-dev on GitHub · 2026-11-24 11:15 UTC · original
merged thanks a ton for sorting the small gxt tables this was a big one