Names: ped wardrobe field names and property tag keys #91

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

@⁠holdmysocks on GitHub · 2026-11-23 23:06 UTC · original
holdmysocks:claude/ped-field-names → master · +26 −2 · 1 files · 1 commits · merged 2026-11-23 23:15 UTC

Adds 16 case-sensitive field names of the ped wardrobe meta structs and 32 lower-case property tag names to the built-in name lists, so wardrobe dumps and ped-variations output show names instead of hashes.

What was checked

  • Field names (KitName, TemplateName, Palette, Tint0..Tint2, GarmentPreset, PropertyTags, Asset, KitLayer, ToStateNames, Drawable, Albedo, Material, AssetName, IncludedKits): one- and two-word PascalCase hits of a joaat search against the 26 unnamed field hashes of structs f795e8ba, 37e52277, 147fdab5, 67e54cb2, 2513f6ba and a9d57751. Each name fits the data in its field (Palette holds the tint palette hash, Tint0..Tint2 the three rows, Drawable / Albedo / Normal / Material sit together in the asset struct).
  • Tag keys: kept only where the key's values fit the name (kittype = groom, pedtype = female, hairlength = l01..l09, slodstyle = generic / generic_lob) or the key belongs to a consistent group (audio_lower, audio_head, ...).
  • Hair Style values bob, lob, bun, topknot, cornrows and the l01..l09 length codes match the words in the hair drawable names.
  • cargo test -p sixng-core: 144 passed. New assertions in names::tests::known_hashes.

Not decoded

  • Eight fields of those structs stay unnamed: 46d26d93, a41d353b, 9a289423, 35ff19d7, 3b7601de, 7e43b9a9, b70a22c1, ba2e6e5b.
  • Hair tag keys 023e5a2f and f7b14eb8 are unnamed.
  • The names are verified by hash match and fit only; three-word and prefixed hits were discarded as chance matches.
  • No decoder behaviour changes; nothing here locates hair colour (hair kits carry tint rows of 0 or 255 only).
**@⁠holdmysocks** on GitHub · 2026-11-23 23:06 UTC · [original](https://github.com/holdmysocks/SixNG/pull/91) `holdmysocks:claude/ped-field-names` → `master` · +26 −2 · 1 files · 1 commits · merged 2026-11-23 23:15 UTC Adds 16 case-sensitive field names of the ped wardrobe meta structs and 32 lower-case property tag names to the built-in name lists, so wardrobe dumps and `ped-variations` output show names instead of hashes. ## What was checked - Field names (`KitName`, `TemplateName`, `Palette`, `Tint0`..`Tint2`, `GarmentPreset`, `PropertyTags`, `Asset`, `KitLayer`, `ToStateNames`, `Drawable`, `Albedo`, `Material`, `AssetName`, `IncludedKits`): one- and two-word PascalCase hits of a joaat search against the 26 unnamed field hashes of structs f795e8ba, 37e52277, 147fdab5, 67e54cb2, 2513f6ba and a9d57751. Each name fits the data in its field (`Palette` holds the tint palette hash, `Tint0`..`Tint2` the three rows, `Drawable` / `Albedo` / `Normal` / `Material` sit together in the asset struct). - Tag keys: kept only where the key's values fit the name (`kittype` = `groom`, `pedtype` = `female`, `hairlength` = `l01`..`l09`, `slodstyle` = `generic` / `generic_lob`) or the key belongs to a consistent group (`audio_lower`, `audio_head`, ...). - Hair `Style` values `bob`, `lob`, `bun`, `topknot`, `cornrows` and the `l01`..`l09` length codes match the words in the hair drawable names. - `cargo test -p sixng-core`: 144 passed. New assertions in `names::tests::known_hashes`. ## Not decoded - Eight fields of those structs stay unnamed: 46d26d93, a41d353b, 9a289423, 35ff19d7, 3b7601de, 7e43b9a9, b70a22c1, ba2e6e5b. - Hair tag keys 023e5a2f and f7b14eb8 are unnamed. - The names are verified by hash match and fit only; three-word and prefixed hits were discarded as chance matches. - No decoder behaviour changes; nothing here locates hair colour (hair kits carry tint rows of 0 or 255 only).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:09:09 +00:00
github manually merged commit 2cca731c16 into gh-pr/91/base 2026-11-26 20:09:11 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.