Forum > Software Development

Understanding the DBC Format

<< < (3/6) > >>

iindigo:
Thanks for the help, I'm finally getting somewhere!



Would I be correct in guessing that DBC reading has to be done in a file-specific way (for example, the implementation for reading Map.dbc is different from that for reading AreaTable.dbc)? I don't see any other way to get around the arbitrary mix of ints and strings.

EDIT: nevermind, I'm dumb, it's all C strings
currently playing around trying to figure out how to pull in the other fields

schlumpf:
It is right, that you need table specific behavior. WoW does include meta descriptions of the tables, but it is far from enough to write a generic editor from it. The wiki exists for a reason: Tables are different and not trivially reverse engineered.

iindigo:
Guess I'll have to include some sort of profile functionality then. Not hard, just time consuming.

Thanks again for the assistance... I have one more question after which I'll try to leave you alone. How does one move back and forth between columns? That's the last thing that I really fail to understand.

Steff:
You should use definition files for every DBC. Including:

Fild
Name
Type (Int, Float, String, LocString, Flags)
Ref table,RefFild ID, RefFildName

Thats what I did in my Genesis editor.

I also thing about a flag file to define them.

schlumpf:

--- Quote from: "iindigo" ---How does one move back and forth between columns? That's the last thing that I really fail to understand.
--- End quote ---
I fail to understand the question, though.

Also, as you probably write an editor for a fixed version of WoW, you may even hard-code the table definitions.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version