People: find each outfit item by its asset GUID #294

Manually merged
github merged 1 commit from gh-pr/294/head into gh-pr/294/base 2026-11-26 20:25:18 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-25 16:53 UTC · original
holdmysocks:claude/people-clothing → master · +34 −9 · 2 files · 1 commits · merged 2026-11-25 17:07 UTC

Finds each outfit item of a named character by its asset GUID, which fixes missing shoes and beards and wrong garment variants.

What changed

  • GUID first. A wardrobe item's asset GUID is the name id (meta7a::asset_id) of its own drawable, _full included. For example, 0dc59ca202cb24de is shortswork_mr1_001_regular_mw_long_full. Hair assets follow the same rule (PR 273). pedlook::look_row now looks each item up by that first.
  • Fallback unchanged. The name and texture matches stay as the fallback.
  • Heads keep their own drawable. A head item's GUID names the base head template (head_mr1_base_000_m_full), and the face comes from the head the item names, so heads stay as before.

Measured on the 292 characters that resolve (sixng ped-look "^")

  • Characters with head, body, clothes and shoes: 225 → 266.
  • Dressed but without shoes: 50 → 12.
  • Without a top and a bottom: 17 → 14.
  • Unresolved items: 148 → 4 (in 3 characters). Most of the 148 were shoes and boots ("model not found") and facial-hair items (category 44d2709f): beards, goatees, stubble.
  • Wrong variants: in the 127 characters that had unresolved items, the old matches picked a different drawable from the GUID's for 215 of 1,562 non-head items. Examples: a closed jacket instead of an open one, hood down instead of up, a tucked T-shirt instead of untucked, a combined piercing set instead of the ear piercing, and another style's hair placeholder.

Verified

  • cargo test --release --locked passes.
  • I rendered 8 characters before and after in the viewer: Cal, Dante, Billy, Maryam, Lucia, Jason, Ghost and Iris.
    • Cal and Maryam now wear their sandals, and Maryam gets her hat.
    • Dante gets his goatee and an open suit jacket.
    • Jason and Billy get their beards, and Iris her headband.
    • Lucia and Ghost are unchanged.
  • No character lost shoes or clothes.

Not verified

  • The renders were not compared against game footage.
  • Outfits other than each character's first.
  • sixng outfit --look exports. They use the same look data, so they should get the same items.
**@⁠holdmysocks** on GitHub · 2026-11-25 16:53 UTC · [original](https://github.com/holdmysocks/SixNG/pull/294) `holdmysocks:claude/people-clothing` → `master` · +34 −9 · 2 files · 1 commits · merged 2026-11-25 17:07 UTC Finds each outfit item of a named character by its asset GUID, which fixes missing shoes and beards and wrong garment variants. ## What changed - **GUID first.** A wardrobe item's asset GUID is the name id (`meta7a::asset_id`) of its own drawable, `_full` included. For example, `0dc59ca202cb24de` is `shortswork_mr1_001_regular_mw_long_full`. Hair assets follow the same rule (PR 273). `pedlook::look_row` now looks each item up by that first. - **Fallback unchanged.** The name and texture matches stay as the fallback. - **Heads keep their own drawable.** A head item's GUID names the base head template (`head_mr1_base_000_m_full`), and the face comes from the head the item names, so heads stay as before. ## Measured on the 292 characters that resolve (`sixng ped-look "^"`) - **Characters with head, body, clothes and shoes:** 225 → 266. - **Dressed but without shoes:** 50 → 12. - **Without a top and a bottom:** 17 → 14. - **Unresolved items:** 148 → 4 (in 3 characters). Most of the 148 were shoes and boots ("model not found") and facial-hair items (category `44d2709f`): beards, goatees, stubble. - **Wrong variants:** in the 127 characters that had unresolved items, the old matches picked a different drawable from the GUID's for 215 of 1,562 non-head items. Examples: a closed jacket instead of an open one, hood down instead of up, a tucked T-shirt instead of untucked, a combined piercing set instead of the ear piercing, and another style's hair placeholder. ## Verified - `cargo test --release --locked` passes. - I rendered 8 characters before and after in the viewer: Cal, Dante, Billy, Maryam, Lucia, Jason, Ghost and Iris. - Cal and Maryam now wear their sandals, and Maryam gets her hat. - Dante gets his goatee and an open suit jacket. - Jason and Billy get their beards, and Iris her headband. - Lucia and Ghost are unchanged. - No character lost shoes or clothes. ## Not verified - The renders were not compared against game footage. - Outfits other than each character's first. - `sixng outfit --look` exports. They use the same look data, so they should get the same items.
A wardrobe item's GUID is the name id of its own drawable (_full
included), as for hair. Items are now looked up by that first; the name
and texture matches stay as the fallback, and heads keep the one the item
names (their GUID names the base head template). The matches had picked a
sibling variant for about one item in eight (closed for open jackets,
hood down for up, a combined piercing set) and found no model for 148
items, mostly shoes and beards: 4 stay unresolved, and 266 of 292
characters now open with head, body, clothes and shoes (was 225).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:25:16 +00:00
github manually merged commit 3a65d3b967 into gh-pr/294/base 2026-11-26 20:25:18 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.