Body shape: 11 more preset controls drive the 14 undriven rig inputs #386

Manually merged
github merged 1 commit from gh-pr/386/head into gh-pr/386/base 2026-11-26 20:32:28 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 17:49 UTC · original
holdmysocks:people-bodyshape-inputs → master · +42 −7 · 3 files · 1 commits · merged 2026-11-26 18:35 UTC

The 14 body-shape rig inputs that nothing drove now have their controls. They come from 11 more controls in the game's body-shape preset PSO, the same file the existing controls came from.

Where it comes from

  • The preset PSO is anim.rpf@106153000. Each preset item (struct 890b5009) has two lists:
    • Values: control name hashes and values;
    • f8586c9e: the rig input values those controls set.
  • Items that set a single control give the mapping directly. Every one of them sets its input to exactly the control's value, or to |v| on the negative input. That's 5 to 15 items per control, with no exceptions.
  • The control names are joaat of the control ids. The rig inputs have other hashes, which is why a name search on the inputs found nothing.
control + input − input moves
gcbreastheight f9bc636e 12b6dd5f mid and lower breast scale
gcbreastspacing b3e7142f 36c800c8 cleavage, mid breast
gcchestheight a064c82b 9b89a2b0 lower breast, upper stomach
gc_b0eae798 (name not recovered) 8a7d0c78 b2efcb7f lower pectoral and breast scale
gccleavage (male rig) f9dc7b4c c7717edf male breast and upper pec
gchipheight a64a2b22 ee16a69c pelvis, thighs
gchipwidth 6c83d62b none pelvis, spine0, butt (female)
gcbellyround a1aede2a none stomach (female)
gcheadscale 9c978205 none head and neck scale
gcmusclebiceps c0fd5915 none biceps (male)
gcmuscletriceps a981e727 none triceps
  • One input, 5ebebbe7 (head and neck), is set by no item. It's probably the negative side of gcheadscale, so it stays at 0.
  • A raw u32 scan of anim, data and packs finds the inputs only in this PSO and the rig dictionary. The single hits inside drawables are chance-level noise.
  • The body-type XML's GCCleavage is the gccleavage here.

Changes

  • bodyshape::CONTROLS gains the 11 controls.
  • Controls with no negative input clamp to 0..1. That's the old muscle/butt rule, generalised.
  • allmuscle keeps to the twelve regional muscle controls, so existing allmuscle results don't change. In the presets, biceps and triceps are mostly set apart from the others.
  • The extract field's hover text lists the new names. The slider UI is left to the #308 sliders work.

Checks

  • Unit test for the new mappings and clamps.
  • cargo check --workspace --all-targets is clean. 322 core tests and 51 viewer tests pass.
  • I exported cs_lucia (female rig) and cs_artim (male rig) at each control and compared the bones against neutral:
    • every control moves the bones its preset data says it should;
    • the female-only controls leave the male rig alone;
    • gccleavage moves only the male breasts.
  • Not verified visually: gcheadscale scales the head bone (1.5 at 0.5). The game also has HeadScaleCompensation rigs, which aren't run here.
**@⁠holdmysocks** on GitHub · 2026-11-26 17:49 UTC · [original](https://github.com/holdmysocks/SixNG/pull/386) `holdmysocks:people-bodyshape-inputs` → `master` · +42 −7 · 3 files · 1 commits · merged 2026-11-26 18:35 UTC The 14 body-shape rig inputs that nothing drove now have their controls. They come from 11 more controls in the game's body-shape preset PSO, the same file the existing controls came from. **Where it comes from** - The preset PSO is `anim.rpf@106153000`. Each preset item (struct `890b5009`) has two lists: - `Values`: control name hashes and values; - `f8586c9e`: the rig input values those controls set. - Items that set a single control give the mapping directly. Every one of them sets its input to exactly the control's value, or to |v| on the negative input. That's 5 to 15 items per control, with no exceptions. - The control names are joaat of the control ids. The rig inputs have other hashes, which is why a name search on the inputs found nothing. | control | + input | − input | moves | |---|---|---|---| | gcbreastheight | f9bc636e | 12b6dd5f | mid and lower breast scale | | gcbreastspacing | b3e7142f | 36c800c8 | cleavage, mid breast | | gcchestheight | a064c82b | 9b89a2b0 | lower breast, upper stomach | | gc_b0eae798 (name not recovered) | 8a7d0c78 | b2efcb7f | lower pectoral and breast scale | | gccleavage (male rig) | f9dc7b4c | c7717edf | male breast and upper pec | | gchipheight | a64a2b22 | ee16a69c | pelvis, thighs | | gchipwidth | 6c83d62b | none | pelvis, spine0, butt (female) | | gcbellyround | a1aede2a | none | stomach (female) | | gcheadscale | 9c978205 | none | head and neck scale | | gcmusclebiceps | c0fd5915 | none | biceps (male) | | gcmuscletriceps | a981e727 | none | triceps | - One input, `5ebebbe7` (head and neck), is set by no item. It's probably the negative side of `gcheadscale`, so it stays at 0. - A raw u32 scan of anim, data and packs finds the inputs only in this PSO and the rig dictionary. The single hits inside drawables are chance-level noise. - The body-type XML's `GCCleavage` is the `gccleavage` here. **Changes** - `bodyshape::CONTROLS` gains the 11 controls. - Controls with no negative input clamp to 0..1. That's the old muscle/butt rule, generalised. - `allmuscle` keeps to the twelve regional muscle controls, so existing `allmuscle` results don't change. In the presets, biceps and triceps are mostly set apart from the others. - The extract field's hover text lists the new names. The slider UI is left to the #308 sliders work. **Checks** - Unit test for the new mappings and clamps. - `cargo check --workspace --all-targets` is clean. 322 core tests and 51 viewer tests pass. - I exported cs_lucia (female rig) and cs_artim (male rig) at each control and compared the bones against neutral: - every control moves the bones its preset data says it should; - the female-only controls leave the male rig alone; - `gccleavage` moves only the male breasts. - Not verified visually: `gcheadscale` scales the head bone (1.5 at 0.5). The game also has `HeadScaleCompensation` rigs, which aren't run here.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:32:26 +00:00
github manually merged commit ef7dbe6160 into gh-pr/386/base 2026-11-26 20:32:28 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.