Hair: read groom LOD chains from the files' names #285
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!285
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/285/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 15:02 UTC · original
holdmysocks:claude/people-groom-lods→master· +167 −18 · 5 files · 2 commits · merged 2026-11-25 15:32 UTCReads groom LOD chains from the game instead of guessing them, where the archive's table of contents can be read. This follows the exact hair links of PR 273.
What changed
<placeholder without _full>_<word>.hairlink::piece_namestries a built-in list of piece words (base,top_02,ponytail_tie…, each also with a number) against the piece table's ids. That names 2,766 of the 4,095 pieces of the named human assets.<piece>_lod1,_lod2…, found by name id in the table of contents (lod_files).chainskeeps every name-read chain as it is, and those LOD files join no other piece. The bones and strand-count rule now only handles unnamed pieces.HairLinks::lods). The cache version goes from 2 to 3.sixng grooms --listuse those chains (HairLinks::relabel). The groom catalog's own chain and LOD fields are a guess from neighbouring files.Measured
_lod2and_lod3had gone to its flyaways piece.Verified
cargo test --release --lockedpasses. New tests:pieces_and_lods_by_name,relabel_by_lods, and name-read chains inchains_by_starts.grooms --listagainst the game and compared both with the old table and catalog (numbers above).Not verified
grooms --listoutput.