Viewer: Shape details sliders for the 11 further body-shape controls #408

Manually merged
github merged 13 commits from github-bot/gh-408 into gh-pr/408/base 2026-11-27 00:40:17 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-26 20:18 UTC · original
holdmysocks:body-more-sliders → master · +50 −10 · 3 files · 13 commits · merged 2026-11-26 22:56 UTC

Builds on #403 (SIX-232): closes the two gaps #403 left open.

Viewer sliders for #386's controls

  • A collapsible Shape details section under the body sliders adds the 11 controls #386 added: breast height and spacing, chest height, cleavage, hip width and height, belly roundness, head scale, biceps, triceps and plastic breasts.
  • The body shape is now a full-length array (37 controls), so presets that set these controls show in the viewer. Before, the viewer dropped them. Mandy's preset now widens the hips (0.6) and lowers the chest (−0.6) and breasts (−0.4).
  • Each slider's range follows the control: −1..1 for two-sided controls, 0..1 otherwise.

Which preset wins when an outfit reaches several (traced)

  • Only Lucia has outfits that reach two presets: variants of a base outfit that add the Skinny preset after her own.
  • The game gathers kits in include order and applies each item by writing its rig input values over the old ones, so both presets apply and the later one wins where both set a control. Her own musclebutt 0.1 stays because Skinny does not set it.
  • #403 already applies them in this order; no code change was needed for this part.

Checks

  • cargo test -p sixng-core passes. cargo check for the viewer and CLI passes after merging master.
  • Viewer screenshots on the RTX 4080: Mandy's look 0 changes visibly from #403's render (hips, chest), and --body "gchipwidth=1,gcheadscale=1,gcmusclebiceps=1" moves the new controls.

Control b0eae798 is gcplasticbreasts

  • A word search over joaat (gc + two words from the game's strings, the XML and the name dictionary) found it. The search is large enough to give chance hits too: the same run matched 5443facc to a meaningless map name. This one reads as a real name, fits its siblings gcbreasts and gccleavage, and matches the look: at 1 the breasts are large, round and set high, and at −1 they are a little flatter.
  • A test pins the hash.

Control 5443facc is gcweighbelly, a misspelling of gcweightbelly

  • An English-dictionary search found it. Six athletic presets set it, five of them without gcweightbelly. No rig reads it, so it has no effect in the game, and the export drops it as before. A comment and the test record it.
**@⁠holdmysocks** on GitHub · 2026-11-26 20:18 UTC · [original](https://github.com/holdmysocks/SixNG/pull/408) `holdmysocks:body-more-sliders` → `master` · +50 −10 · 3 files · 13 commits · merged 2026-11-26 22:56 UTC Builds on #403 (SIX-232): closes the two gaps #403 left open. **Viewer sliders for #386's controls** - A collapsible **Shape details** section under the body sliders adds the 11 controls #386 added: breast height and spacing, chest height, cleavage, hip width and height, belly roundness, head scale, biceps, triceps and plastic breasts. - The body shape is now a full-length array (37 controls), so presets that set these controls show in the viewer. Before, the viewer dropped them. Mandy's preset now widens the hips (0.6) and lowers the chest (−0.6) and breasts (−0.4). - Each slider's range follows the control: −1..1 for two-sided controls, 0..1 otherwise. **Which preset wins when an outfit reaches several (traced)** - Only Lucia has outfits that reach two presets: variants of a base outfit that add the Skinny preset after her own. - The game gathers kits in include order and applies each item by writing its rig input values over the old ones, so both presets apply and the later one wins where both set a control. Her own musclebutt 0.1 stays because Skinny does not set it. - #403 already applies them in this order; no code change was needed for this part. **Checks** - `cargo test -p sixng-core` passes. `cargo check` for the viewer and CLI passes after merging master. - Viewer screenshots on the RTX 4080: Mandy's look 0 changes visibly from #403's render (hips, chest), and `--body "gchipwidth=1,gcheadscale=1,gcmusclebiceps=1"` moves the new controls. **Control b0eae798 is `gcplasticbreasts`** - A word search over joaat (gc + two words from the game's strings, the XML and the name dictionary) found it. The search is large enough to give chance hits too: the same run matched 5443facc to a meaningless map name. This one reads as a real name, fits its siblings `gcbreasts` and `gccleavage`, and matches the look: at 1 the breasts are large, round and set high, and at −1 they are a little flatter. - A test pins the hash. **Control 5443facc is `gcweighbelly`, a misspelling of `gcweightbelly`** - An English-dictionary search found it. Six athletic presets set it, five of them without `gcweightbelly`. No rig reads it, so it has no effect in the game, and the export drops it as before. A comment and the test record it.
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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:45:42 +00:00
github-bot changed target branch from master to gh-pr/408/base 2026-11-27 00:40:14 +00:00
github manually merged commit 945696d067 into gh-pr/408/base 2026-11-27 00:40:17 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.