Hair link: read the registries by field hash, and retry the stored link #517
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!517
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-517"
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-27 22:49 UTC · original
holdmysocks:people/vicki-hair→master· +49 −10 · 2 files · 1 commits · merged 2026-11-27 23:01 UTCFixes the Vicki report on #306 (no hair, wrong lashes, in the export and the viewer).
What the reporter sees is the inferred hair table. Their viewer shows percentages (lashes 20 %, brows 45 %, other hair hairlob 86 %), which only the inferred table gives. With the stored link (exact), cs_vicki on master exports and draws her bun, brows and lashes correctly. The inferred walk reproduces the report exactly: the bun's five pieces go to cs_valentina_hairlob (43 %), so cs_vicki_hairbun has no grooms ("Strand hair with no grooms placed"), and lashescat_fr1_001 gets another groom, the ring of strands around the head in their Blender shot.
Two bugs keep a setup on that guess:
2d4958cf=shaderId), the inferred reader found no hair assets, so a fresh inferred table could not be built at all. Registry and wardrobe fields are now looked up by hash under either spelling (meta7a::field_name, as pso.rs does). A test covers both spellings.hair_links.jsonwas reused forever (cache version 5 since #290). A cached inferred table now tries the stored link again on each run and replaces the cache when it can be read. Checked: a scratch work dir with an inferred cache comes back exact, with the bun's 5 pieces.The map entity tint row (
3c852527, nowtintValue) had the same lookup and read 0. It now usesfield_nametoo.Not fixed: the inferred walk itself still places Vicki's bun wrongly. Where the stored link cannot be read (another game build, a CPU without AVX2, not Windows x64), hair stays a guess. Tests: core 402, gui 61.