stoneharry / WoW-Spell-Editor

A Spell Editor for WoW versions WOTLK 3.3.5, TBC 2.4.3, or Vanilla 1.12.1.
269 stars 121 forks source link

After importing DBCs, everything comes up as 'Unknown String' #245

Closed Madcat124 closed 1 month ago

Madcat124 commented 1 month ago

1

Hi,

After importing my DBCs into the spell editor, everything reads as "Unknown String". It looks like all the Spell IDs and effects are fine, at least at a first glance.

How can I fix this?

EDIT: I'm using the Individual Progression Module for Azerothcore which has a Spell.DBC override/patch. I'm not sure if that may have anything to do with it.

stoneharry commented 1 month ago

The structure of the DBC file is that each record has a fixed size. Strings a dynamicly sized based on the length of the text, so it basically writes a offset (pointer) into a string block at the end of the file. It reads from the offset until a string terminator character is found.

In this case, all of your string offsets cannot be found in the string block. This is usually due to DBC corruption.

Is your DBC file Blizzlike? Spell editor is not directly compatible with any emulator, it uses the Blizzlike files.

Madcat124 commented 1 month ago

Thanks for the response.

Yeah, I downloaded a fresh/updated Spell.dbc and used that. It works fine now.

Not exactly sure what is different, but the Spell.dbc I was using had different column names/order, I think that may have been the issue.