3.4 KiB
#122 Appearance catalogue → real client choices (2026-11-26)
Constraint found
The codec presents a character only through the conversion table (Turtle field value → native option/choice, several
options per field allowed, see Goblin field 5). In SD mode the 70334 client derives the SD look from the HD choice via
ChrModelAltVariantChoice (HD choice → SD choice). So one HD choice can show only one SD look: every Octo look needs
its own HD choice.
Gaps (skins-faces.json, pre-#75 natives; skin textures of existing SD choices since fixed by ee92d560)
| gap | count | races |
|---|---|---|
| skin value with no HD choice (shop skins) | 27 | Human M Wizard/Pirate, Troll 107-109, Goblin 100/102, High Elf 100-108 |
| distinct Octo faces collapsed on one (skin HD, face HD) pair | 102 looks / 54 pairs | Human M 32, Dwarf M 21, NE M 45, Goblin M 4 |
| face whose HD choice has no SD pairing | 445 | Human, Dwarf, NE, Gnome, Troll |
| shop skins on HD with collisions | 6 looks / 2 choices |
Baseline on the current client (d5c863cd, 2026-11-26 evening)
native-d5c8/ = live ChrCustomizationElement/Material, ChrModelAltVariantChoice, TextureFileData (db2tsv.py + wdc5.py
from the store), skins-faces-d5c8.json = catalogue.py with N=native-d5c8 and the lean5 store for textures.
Skins: 248 same look, 12 differ (High Elf 10, Goblin 2), 35 no choice. Faces: 1313 same, 106 differ, 245 no SD choice,
906 Octo has none.
Progress 2026-11-26 evening
- Catalogue fix: Turtle face values also convert to skin-dependent Eye Color rows; only Skin Color / Face options count. The earlier "106 differ / 245 no SD" for races 1-8 were mostly that artefact.
- 4b192ae3 (f2279772): same bug in the #75 face importer had deleted/mis-set SD face overlays; 180 restored, 282 corrected. Faces without SD look 162 -> 14 (all Goblin shop-skin rows).
- ec5d5c31 + codec/backend gob-20261126 (718bbfa0): Goblin skins 0/2 (447/4532 LOCAL chars) had no conversion.
- Left: 32 flags-1 shop skins with no HD choice (no LOCAL character uses one), High Elf 106 faces differing (Skyborn HD mapping, #82).
Build (generalise ops/sd_race_customization.py from HE/Goblin to races 1-8)
- Per race/sex/field, one HD choice per distinct Octo look: reuse the native choice when the look is unique; else a
new choice (id 101000+) cloning the nearest native HD choice's elements (same HD render),
ChrCustomizationReqIDpointing at a never-met Req so creation/barber do not list duplicates. - Per such HD choice, an SD choice on the race's native SD option whose elements reference the Octo texture(s)
(skin target 1 + underwear 13/14; face targets 4/5 per skin), imported by bytes (FDID 8841000+), plus a
ChrModelAltVariantChoicerow HD → SD. - Regenerate the conversion rows (
added_conversions, ids 100400+) so each Turtle value maps to its own HD choice (skin-dependent face rows use the existing dep/depval columns). - Host test: every Turtle value in the catalogue round-trips (presentation choices → resolve_appearance) and no two distinct Octo looks share an HD choice. Rerun catalogue.py against the new tables: target 0 "no-native", 0 collisions.
- Ship = one content step (DB2 rows + textures) + codec/backend (profile), installed together.
Open question to settle with the first race (Human male faces): does a choice with an unmet Req still render when the server sends it? If not, use flag-only hiding or keep duplicates visible.