Hair: 13 more piece words for LOD chains by name #290

Manually merged
github merged 7 commits from gh-pr/290/head into gh-pr/290/base 2026-11-26 20:24:58 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-25 15:42 UTC · original
holdmysocks:claude/people-hair-words → master · +32 −30 · 2 files · 7 commits · merged 2026-11-25 16:52 UTC

This PR adds 13 piece words to hairlink::PIECE_WORDS, so more human hair pieces are named and their LOD files read by name. Stacked on PR 288, which is stacked on PR 285; until those merge, the diff also shows their commits.

What changed

  • New words: beard, beardbase, beardline, beard_hairline, full_beard, basehair, sidehair, tophair, hairtie, braidtip, buntips, base_fillerfront, braidbunloose, braidsbaseshort. I found them with hash searches over two-word compounds of known words, and over every hair placeholder with its style number varied (000 to 079).
  • Cache: the hair links cache version goes from 4 to 5.

Measured

  • 2,859 of the 3,419 distinct human groom pieces are now named.
  • The earlier figure in the docs (2,766 of 4,095) counted per asset and included pieces that are not grooms. The docs now use the distinct-groom figure.
  • Only 2 LOD chains change (hairreceding mr1 003). For the other newly named pieces, the guessed chain was already right.
  • For the remaining 560, I tried every token of one style's name (number, texture, length, fringe, side, density) and three-word compounds of 248 words. Neither found a name.

Verified

  • cargo test --release --locked passes.
  • I rebuilt the hair link table against the game: 878 assets in 20 s, and the chain diff is as above.

Not verified

  • The viewer window. Rendered hair is unchanged.
**@⁠holdmysocks** on GitHub · 2026-11-25 15:42 UTC · [original](https://github.com/holdmysocks/SixNG/pull/290) `holdmysocks:claude/people-hair-words` → `master` · +32 −30 · 2 files · 7 commits · merged 2026-11-25 16:52 UTC This PR adds 13 piece words to `hairlink::PIECE_WORDS`, so more human hair pieces are named and their LOD files read by name. Stacked on PR 288, which is stacked on PR 285; until those merge, the diff also shows their commits. ## What changed - **New words:** `beard`, `beardbase`, `beardline`, `beard_hairline`, `full_beard`, `basehair`, `sidehair`, `tophair`, `hairtie`, `braidtip`, `buntips`, `base_fillerfront`, `braidbunloose`, `braidsbaseshort`. I found them with hash searches over two-word compounds of known words, and over every hair placeholder with its style number varied (000 to 079). - **Cache:** the hair links cache version goes from 4 to 5. ## Measured - 2,859 of the 3,419 distinct human groom pieces are now named. - The earlier figure in the docs (2,766 of 4,095) counted per asset and included pieces that are not grooms. The docs now use the distinct-groom figure. - Only 2 LOD chains change (hairreceding mr1 003). For the other newly named pieces, the guessed chain was already right. - For the remaining 560, I tried every token of one style's name (number, texture, length, fringe, side, density) and three-word compounds of 248 words. Neither found a name. ## Verified - `cargo test --release --locked` passes. - I rebuilt the hair link table against the game: 878 assets in 20 s, and the chain diff is as above. ## Not verified - The viewer window. Rendered hair is unchanged.
A piece's LOD files are named <piece>_lod1 ..., so once the piece is
named (placeholder base plus a known piece word whose name id is the
table's id) its LODs are read by name id from the table of contents.
2,766 of 4,095 human pieces are named; the rest keep the inferred chain,
which no longer takes the named pieces' LODs. The exact table stores every
groom's chain, and the viewer's groom list and grooms --list use it:
5,732 chains instead of 5,915, with no piece hidden as a LOD and no LOD
listed as a piece.
# Conflicts:
#	README.md
Fur variants now carry each piece's LOD chain (Variant::chains, written to
<root>.fur.json). The exact link names pieces with hairlink's piece words
and reads <piece>_lodN by name id; unnamed pieces take the exact hair
table's chain. 38 fur piece words found by a hash search over two-word
compounds (leg_front, earsflyaways, paws, whiskers ...) join the list,
naming 1,688 of 2,369 fur pieces instead of 1,481. Cache versions: hair
links 4, fur links 3.
Found by hash searches over two-word compounds and over style numbers.
2,859 of the 3,419 distinct human groom pieces are now named (was
2,766 counted per asset); a three-word search over one style's unnamed
pieces found nothing. Hair links cache version 5.
# Conflicts:
#	README.md
#	crates/sixng-core/src/hairlink.rs
# Conflicts:
#	crates/sixng-core/src/hairlink.rs
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:24:58 +00:00
github manually merged commit c89c98da13 into gh-pr/290/base 2026-11-26 20:24:58 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.