-
Member
[DB2 EDITOR] Editor compatible with new wdb3 version of WoW Legion
Hi, the new .db2 files of WoW Legion seems to be a wdb3 version and for now I can't view or convert to csv for manipulate them.
Could any1 help me with this?
Thanks in advance.
-
Contributor
The WDB3 version uses the same structure as DBC, only the header is different.
Use this tutorial, worked for me
Modcraft - View topic - [tutorial] Convert DB2 format to DBC and reverse
-
Post Thanks / Like - 1 Thanks
rythualdj (1 members gave Thanks to Flavius for this useful post)
-
Contributor
Originally Posted by
Flavius
That is not true.
WDB3
paraphrased from Simca on #modcraft, Wed Nov 25 2015 12:54:32
three major differences:
optionally, non-inline indices, located in a new block after string block
optionally, row redundancy reduction tech, where the WDB3 file has removed all rows who match other rows exactly. a new block has been added to the end (after the previously mentioned new block) that is an array of 8-byte structs in the form (uint32 IDOfNewRow, uint32 IDOfRowToCopy)
optionally, all of this new stuff (and in fact all WDBx structure at all besides the header) will be ignored, in favor of a wonky array of 6-byte structs in the form (uint32 fileOffset, uint16 recordLength) where the length of the array is 1 + maxID - minID (maxID and minID being header fields)
that wonky format has you seek to the fileoffset listed and read the row in place. IDs are not included in the data there and must be inferred by the position in the array (minID + index in array = current ID). also strings are inline in that format because, again, it throws away all convention. to top it off, since it has to iterate 1 by 1 from minID to maxID, there are tens of thousands of the 6 byte structs that are pure 0 since the row doesn't exist. making the format not only A) weird as **** B) completely contrary to the standard C) detected by exactly nothing other than the name of the db2 (item-sparse) but also D) incredibly inefficient. I feel bad for the community tools that have to implement this shit
-
Contributor
Nvm.... TomRus´s tool can now read WDB3
https://github.com/tomrus88/dbcviewer
-
Post Thanks / Like - 1 Thanks
rythualdj (1 members gave Thanks to Trixiap for this useful post)
-
Member
-
Member
How do u even use that dbcviewer im trying to find some textures like felreaver2 textures / nightmaredragon wing texture but can't open dbcviewer
-
Member
Last edited by jeask; 10-31-2016 at 01:30 AM.
-
Member
Last edited by jeask; 10-31-2016 at 01:31 AM.