From 3111fa50e809ee8eba3af55b7e65754b6e833ded Mon Sep 17 00:00:00 2001 From: Kelsi Date: Fri, 3 Apr 2026 21:52:20 -0700 Subject: [PATCH] fix(dbc): correct ItemDisplayInfo texture field indices for TBC/WotLK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TBC and WotLK have 25-field ItemDisplayInfo.dbc (vs 23 in Classic/Turtle) with 2 extra fields before the texture region block. The texture fields start at index 15 (not 14), shifting all 8 regions by +1. This caused every equipment texture to be composited into the wrong body region — e.g. LegLower textures landing in FootTexture, belt textures in LegLowerTexture instead of LegUpperTexture ("everything shifted by 1"). Verified against raw DBC binary data: Classic field[14]=ArmUpper, TBC/WotLK field[15]=ArmUpper. --- Data/expansions/tbc/dbc_layouts.json | 16 ++++++++-------- Data/expansions/wotlk/dbc_layouts.json | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Data/expansions/tbc/dbc_layouts.json b/Data/expansions/tbc/dbc_layouts.json index e11682cf..e7b33faa 100644 --- a/Data/expansions/tbc/dbc_layouts.json +++ b/Data/expansions/tbc/dbc_layouts.json @@ -119,14 +119,14 @@ "InventoryIcon": 5, "LeftModel": 1, "LeftModelTexture": 3, - "TextureArmLower": 15, - "TextureArmUpper": 14, - "TextureFoot": 21, - "TextureHand": 16, - "TextureLegLower": 20, - "TextureLegUpper": 19, - "TextureTorsoLower": 18, - "TextureTorsoUpper": 17 + "TextureArmLower": 16, + "TextureArmUpper": 15, + "TextureFoot": 22, + "TextureHand": 17, + "TextureLegLower": 21, + "TextureLegUpper": 20, + "TextureTorsoLower": 19, + "TextureTorsoUpper": 18 }, "ItemSet": { "ID": 0, diff --git a/Data/expansions/wotlk/dbc_layouts.json b/Data/expansions/wotlk/dbc_layouts.json index e563d2c9..1657eb2b 100644 --- a/Data/expansions/wotlk/dbc_layouts.json +++ b/Data/expansions/wotlk/dbc_layouts.json @@ -131,14 +131,14 @@ "InventoryIcon": 5, "LeftModel": 1, "LeftModelTexture": 3, - "TextureArmLower": 15, - "TextureArmUpper": 14, - "TextureFoot": 21, - "TextureHand": 16, - "TextureLegLower": 20, - "TextureLegUpper": 19, - "TextureTorsoLower": 18, - "TextureTorsoUpper": 17 + "TextureArmLower": 16, + "TextureArmUpper": 15, + "TextureFoot": 22, + "TextureHand": 17, + "TextureLegLower": 21, + "TextureLegUpper": 20, + "TextureTorsoLower": 19, + "TextureTorsoUpper": 18 }, "ItemSet": { "ID": 0,