Kelsidavis-WoWee/Data/expansions/wotlk
Kelsi e9ce062112 fix: restore correct CharSections.dbc field indices for character textures
PR #19 (572bb4ef) swapped CharSections.dbc field indices, placing
Texture1-3 at fields 4-6 and VariationIndex/ColorIndex at 8-9. Binary
analysis of the actual DBC files (Classic, TBC, Turtle — all identical
layout, no WotLK-specific override) confirms the correct order is:

  Field 4 = VariationIndex
  Field 5 = ColorIndex
  Field 6 = Texture1 (string)
  Field 7 = Texture2 (string)
  Field 8 = Texture3 (string)
  Field 9 = Flags

With the wrong indices, VariationIndex/ColorIndex reads returned string
offsets (garbage values that never matched), so all CharSections lookups
failed silently — producing white untextured character models at the
login screen and in-world.

Fixes all 4 expansion JSON layouts, hardcoded fallbacks in
character_preview.cpp, application.cpp, and character_create_screen.cpp.
Also handles the single-layer edge case (body skin only, no face/underwear)
by loading the texture directly instead of skipping compositing.
2026-03-22 15:22:25 -07:00
..
dbc_layouts.json fix: restore correct CharSections.dbc field indices for character textures 2026-03-22 15:22:25 -07:00
expansion.json Add multi-expansion support with data-driven protocol layer 2026-02-12 22:56:36 -08:00
opcodes.json Opcode tables: sync Classic/WotLK to canonical headers and expand logical mapping coverage 2026-02-20 02:50:59 -08:00
update_fields.json feat: track and display honor/arena points from update fields 2026-03-20 04:36:30 -07:00