Inferred hair table: match assets by piece names, clean up pieces #545
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!545
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-545"
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-28 05:44 UTC · original
holdmysocks:people/hair-guess→master· +173 −44 · 1 files · 1 commits · merged 2026-11-28 05:55 UTCWhen the stored hair link can't be read, SixNG guesses the hair table. This makes the guess much better.
Changes
Measured against the stored link on the base game:
Not fixed: assets the archive stores away from their name order (for example Vicki's bun, still taken by the asset that sorts just before it). Their real pieces get absorbed by neighbours, so order and counts can't place them. I tried a post-pass that would move them into free runs, but it never fired, so it's not included.
Tests: core 409, gui 68, cli pass. New tests:
odd_chains_split,split_lods_join.