Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] as in reading the binary format or just opening them with an editor?

[DiscordArchive] as in reading the binary format or just opening them with an editor?

[DiscordArchive] as in reading the binary format or just opening them with an editor?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
07-28-2022, 06:20 AM
#1
Archived author: <o> • Posted: 2022-07-28T06:20:37.053000+00:00
Original source

as in reading the binary format or just opening them with an editor?
rektbyfaith
07-28-2022, 06:20 AM #1

Archived author: <o> • Posted: 2022-07-28T06:20:37.053000+00:00
Original source

as in reading the binary format or just opening them with an editor?

rektbyfaith
Administrator
0
07-28-2022, 06:21 AM
#2
Archived author: Rymercyble • Posted: 2022-07-28T06:21:21.117000+00:00
Original source

binary
rektbyfaith
07-28-2022, 06:21 AM #2

Archived author: Rymercyble • Posted: 2022-07-28T06:21:21.117000+00:00
Original source

binary

rektbyfaith
Administrator
0
07-28-2022, 06:23 AM
#3
Archived author: <o> • Posted: 2022-07-28T06:23:41.831000+00:00
Original source

there's a 20 byte header with the row count/size, then a big chunk of row data and finally a string pool that the rows can reference (if there are strings in that dbc of course). Contents of the rows are specific for the specific dbc file, one dbc might have a uint32,uint32,uint32,uint32 layout while another has a uint32,uint32,string,uint32 etc
rektbyfaith
07-28-2022, 06:23 AM #3

Archived author: <o> • Posted: 2022-07-28T06:23:41.831000+00:00
Original source

there's a 20 byte header with the row count/size, then a big chunk of row data and finally a string pool that the rows can reference (if there are strings in that dbc of course). Contents of the rows are specific for the specific dbc file, one dbc might have a uint32,uint32,uint32,uint32 layout while another has a uint32,uint32,string,uint32 etc

rektbyfaith
Administrator
0
07-28-2022, 06:23 AM
#4
Archived author: Rymercyble • Posted: 2022-07-28T06:23:42.299000+00:00
Original source

or maybe i should say not only read but also modify so basically i want to create something like wdbx from scratch
rektbyfaith
07-28-2022, 06:23 AM #4

Archived author: Rymercyble • Posted: 2022-07-28T06:23:42.299000+00:00
Original source

or maybe i should say not only read but also modify so basically i want to create something like wdbx from scratch

rektbyfaith
Administrator
0
07-28-2022, 06:26 AM
#5
Archived author: <o> • Posted: 2022-07-28T06:26:52.318000+00:00
Original source

the format is described here: <https://wowdev.wiki/DBC>
you can find individual row layouts here: <https://github.com/WowDevTools/WDBXEditor/blob/master/WDBXEditor/Definitions/WotLK%203.3.5%20(12340).xml>
how we read them in tswow here: <https://github.com/tswow/tswow/blob/2d6554e003ccdbe5c38f760188f87f19f2cc3e6a/tswow-scripts/data/dbc/DBCBuffer.ts#L142>

localized string cells consists of about 16 or something cells that are all pointers into the string chunk
rektbyfaith
07-28-2022, 06:26 AM #5

Archived author: <o> • Posted: 2022-07-28T06:26:52.318000+00:00
Original source

the format is described here: <https://wowdev.wiki/DBC>
you can find individual row layouts here: <https://github.com/WowDevTools/WDBXEditor/blob/master/WDBXEditor/Definitions/WotLK%203.3.5%20(12340).xml>
how we read them in tswow here: <https://github.com/tswow/tswow/blob/2d6554e003ccdbe5c38f760188f87f19f2cc3e6a/tswow-scripts/data/dbc/DBCBuffer.ts#L142>

localized string cells consists of about 16 or something cells that are all pointers into the string chunk

rektbyfaith
Administrator
0
07-28-2022, 06:27 AM
#6
Archived author: Bench • Posted: 2022-07-28T06:27:36.084000+00:00
Original source

Worth pointing out that *some* definitions aren't quite correct in WDBX, the localizations for instance are in the wrong order
Plus some incorrect datatypes if I recall correctly from an issue someone had here
rektbyfaith
07-28-2022, 06:27 AM #6

Archived author: Bench • Posted: 2022-07-28T06:27:36.084000+00:00
Original source

Worth pointing out that *some* definitions aren't quite correct in WDBX, the localizations for instance are in the wrong order
Plus some incorrect datatypes if I recall correctly from an issue someone had here

rektbyfaith
Administrator
0
07-28-2022, 06:28 AM
#7
Archived author: <o> • Posted: 2022-07-28T06:28:21.337000+00:00
Original source

yeah, we've corrected a few over the years for our project but it's the most complete one out there
rektbyfaith
07-28-2022, 06:28 AM #7

Archived author: <o> • Posted: 2022-07-28T06:28:21.337000+00:00
Original source

yeah, we've corrected a few over the years for our project but it's the most complete one out there

rektbyfaith
Administrator
0
07-28-2022, 06:28 AM
#8
Archived author: <o> • Posted: 2022-07-28T06:28:50.348000+00:00
Original source

and apparently tswow reads booleans by writing a uint32 so there's that too lmao
rektbyfaith
07-28-2022, 06:28 AM #8

Archived author: <o> • Posted: 2022-07-28T06:28:50.348000+00:00
Original source

and apparently tswow reads booleans by writing a uint32 so there's that too lmao

rektbyfaith
Administrator
0
07-28-2022, 06:28 AM
#9
Archived author: Bench • Posted: 2022-07-28T06:28:56.799000+00:00
Original source

Nice
rektbyfaith
07-28-2022, 06:28 AM #9

Archived author: Bench • Posted: 2022-07-28T06:28:56.799000+00:00
Original source

Nice

rektbyfaith
Administrator
0
07-28-2022, 06:29 AM
#10
Archived author: <o> • Posted: 2022-07-28T06:29:23.849000+00:00
Original source

well that might explain some bugs with charhairtextures
rektbyfaith
07-28-2022, 06:29 AM #10

Archived author: <o> • Posted: 2022-07-28T06:29:23.849000+00:00
Original source

well that might explain some bugs with charhairtextures

Pages (2): 1 2 Next
Recently Browsing
 
Recently Browsing