Outfits open in their body-shape kits' preset items #403
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!403
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-403"
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-26 19:45 UTC · original
holdmysocks:body-preset-kits→master· +181 −22 · 7 files · 4 commits · merged 2026-11-26 21:13 UTCFollow-up to #388 (SIX-232): outfits now open in the body shape the game actually gives them.
What the data says
BodyShapePresetvariation includes body-shape kits (taggedbodyshape). Their tags under keys 36313cc7, 02484ea6, 6b3fb5a6, 179c8d5c and 63d3733d name preset items of the body-shape preset PSO in anim.rpf (struct 890b5009). Each item lists control values and the rig input values they give.vmovupsinto the input's slot); removing one resets the inputs to their defaults (fn 0x1fcaa70). So the later item wins.Changes
bodyshape::preset_itemsreads the preset items from every anim.rpf PSO that holds struct 890b5009. A small PSO earlier in the index also has the struct, so taking only the first match is not enough.outfit_presetuses the items and falls back to the word's body-type XML profile when an outfit has no kits.Outfit::body_preset_itemslists them in the game's order.outfit --lookuse them. The viewer note now reads "Average, 12 preset item(s) from anim.rpf".Results (look 0)
Tests
cargo test -p sixng-corepasses, including a new test of the later-wins merge.Not covered
outfit --lookexports, but the viewer drops them until it gets sliders for them.bcd70547) has no name and is left out.