Scanner: a resource name starts where its pointer points #225
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/holdmysocks--SixNG!225
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/225/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?
@holdmysocks on GitHub · 2026-11-25 00:05 UTC · original
holdmysocks:claude/unresolved-elements→master· +40 −1 · 2 files · 1 commits · merged 2026-11-25 00:20 UTCWhat
The scanner recovers a model's name from its system page by finding the
.#ft/.#drending and walking back over every byte that could be part of a name. When the bytes just in front of the string happen to look like name characters, they became part of the name:dbison1800_bumr_01_dangle_mount_01,kr9gauntlet5_induction_hrmu_blower_04,zcmn_lights_front_foglight_01b.The page holds a pointer to the string. The name now starts at the lowest pointer that lands inside the walked-back run. With no such pointer the run is kept as before.
Stored names change, so the index version goes from 7 to 8. Every index has to be rebuilt after this.
Checked
ft/drentry against the old index: 235,580 entries, same ids, 316 names changed. All 316 lose one to five leading characters (255 one, 23 two, 34 three, 4 more); no name is lost, gained or changed any other way, and no corrected name collides with an existing one.Not decoded / not done