Body shape: head scale is two-sided #421

Manually merged
github merged 16 commits from github-bot/gh-421 into gh-pr/421/base 2026-11-27 02:26:40 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-26 22:49 UTC · original
holdmysocks:body-shape-inputs → master · +13 −7 · 2 files · 16 commits · merged 2026-11-27 02:11 UTC

Builds on #408 (SIX-232). Merge #408 first.

Head scale is two-sided

  • The rig input 5ebebbe7 (head and neck) is the negative side of gcheadscale. At 1 it scales the head bone to 0.01, the upper neck to 0.25 and the lower neck to 0.5. That mirrors gcheadscale at 1, which scales them to 2.0, 1.75 and 1.75. Both inputs move the same bones in the same rigs.
  • No preset item sets it, so outfits look the same as before. gcheadscale now ranges −1..1 in --body-shape and in the viewer's Shape details slider.
  • Viewer screenshots on the RTX 4080 at −0.3, 0 and +0.3 show the head smaller and larger as expected. Strand hair does not follow the head scale in either direction; this was already true above 0.

Control bcd70547: name not found

  • Four preset items set it alone, at 0.25, 0.5, 0.75 and 1. Each drives rig input 01c90897 by the same value.
  • That input is not in the body-shape rigs. Five other rigs read it; they reference the spine, neck, head, ears, nose and glasses bones, so it looks like a posture or glasses-fit control.
  • The export does not run those rigs, so it stays out of CONTROLS. Dictionary word searches found no credible name.

Tests

  • cargo test -p sixng-core (bodyshape) passes, including a check that gcheadscale=-1 sets 5ebebbe7 and that a one-sided control still clamps at 0.
**@⁠holdmysocks** on GitHub · 2026-11-26 22:49 UTC · [original](https://github.com/holdmysocks/SixNG/pull/421) `holdmysocks:body-shape-inputs` → `master` · +13 −7 · 2 files · 16 commits · merged 2026-11-27 02:11 UTC Builds on #408 (SIX-232). Merge #408 first. **Head scale is two-sided** - The rig input `5ebebbe7` (head and neck) is the negative side of `gcheadscale`. At 1 it scales the head bone to 0.01, the upper neck to 0.25 and the lower neck to 0.5. That mirrors `gcheadscale` at 1, which scales them to 2.0, 1.75 and 1.75. Both inputs move the same bones in the same rigs. - No preset item sets it, so outfits look the same as before. `gcheadscale` now ranges −1..1 in `--body-shape` and in the viewer's Shape details slider. - Viewer screenshots on the RTX 4080 at −0.3, 0 and +0.3 show the head smaller and larger as expected. Strand hair does not follow the head scale in either direction; this was already true above 0. **Control `bcd70547`: name not found** - Four preset items set it alone, at 0.25, 0.5, 0.75 and 1. Each drives rig input `01c90897` by the same value. - That input is not in the body-shape rigs. Five other rigs read it; they reference the spine, neck, head, ears, nose and glasses bones, so it looks like a posture or glasses-fit control. - The export does not run those rigs, so it stays out of `CONTROLS`. Dictionary word searches found no credible name. **Tests** - `cargo test -p sixng-core` (bodyshape) passes, including a check that `gcheadscale=-1` sets `5ebebbe7` and that a one-sided control still clamps at 0.
An outfit's BodyShapePreset variation includes body-shape kits. Their tags
under keys 36313cc7, 02484ea6, 6b3fb5a6, 179c8d5c and 63d3733d name preset
items of the body-shape preset PSO in anim.rpf (struct 890b5009), which
list control values. The game gathers the items key by key over all kits
(fn 0x3e47f90) and stores each rig input's value over the old one
(fn 0x4f95310), so a later item wins.

The Average / Skinny words are only labels (the same word gives -0.2
weight on Lucia and -0.4 on Jason); outfits without kits fall back to the
body-type XML profile as before.
The game gathers a kit's items along that kit's own parent chain
(fn 0x3e47f90; the tag-key table in packs.rpf gives the four item keys
mode 0, append, and 63d3733d mode 1, first wins), so kits apply in include
order rather than all items sorted by key. Mandy, Lucia and Jason give the
same shapes under both orders.
# Conflicts:
#	README.md
#	crates/sixng-core/src/bodyshape.rs
# Conflicts:
#	README.md
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:39:41 +00:00
github-bot changed target branch from master to gh-pr/421/base 2026-11-27 02:26:39 +00:00
github manually merged commit 4259d0efb3 into gh-pr/421/base 2026-11-27 02:26:40 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.