Kelsidavis-WoWee/Data/expansions/classic
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 Use legacy LOGON_PROOF format for auth protocol < 8 2026-02-13 01:10:02 -08:00
opcodes.json refactor: derive turtle opcodes from classic 2026-03-15 02:55:05 -07:00
update_fields.json feat: use UNIT_FIELD_AURAFLAGS to correctly classify Classic buffs vs debuffs 2026-03-12 21:33:19 -07:00