Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] some1 (me) would expect that dbc is some header and then just pure binary stream of raw data....is t

[DiscordArchive] some1 (me) would expect that dbc is some header and then just pure binary stream of raw data....is t

[DiscordArchive] some1 (me) would expect that dbc is some header and then just pure binary stream of raw data....is t

rektbyfaith
Administrator
0
10-29-2022, 12:08 PM
#1
Archived author: Rymercyble • Posted: 2022-10-29T12:08:49.425000+00:00
Original source

some1 (me) would expect that dbc is some header and then just pure binary stream of raw data....is that too naive vision ?
rektbyfaith
10-29-2022, 12:08 PM #1

Archived author: Rymercyble • Posted: 2022-10-29T12:08:49.425000+00:00
Original source

some1 (me) would expect that dbc is some header and then just pure binary stream of raw data....is that too naive vision ?

rektbyfaith
Administrator
0
10-29-2022, 12:09 PM
#2
Archived author: <o> • Posted: 2022-10-29T12:09:11.350000+00:00
Original source

not really, dbc files are very easy to write as a file format, the issue is the column layout
rektbyfaith
10-29-2022, 12:09 PM #2

Archived author: <o> • Posted: 2022-10-29T12:09:11.350000+00:00
Original source

not really, dbc files are very easy to write as a file format, the issue is the column layout

rektbyfaith
Administrator
0
10-29-2022, 12:09 PM
#3
Archived author: <o> • Posted: 2022-10-29T12:09:38.803000+00:00
Original source

since your sql tables will be logical, you have to make very sure that you serialize them correctly back into the raw binary data
rektbyfaith
10-29-2022, 12:09 PM #3

Archived author: <o> • Posted: 2022-10-29T12:09:38.803000+00:00
Original source

since your sql tables will be logical, you have to make very sure that you serialize them correctly back into the raw binary data

rektbyfaith
Administrator
0
10-29-2022, 12:10 PM
#4
Archived author: <o> • Posted: 2022-10-29T12:10:07.076000+00:00
Original source

tools like tswow avoids this since we never actually serialize dbc data, we write directly into those memory buffers
rektbyfaith
10-29-2022, 12:10 PM #4

Archived author: <o> • Posted: 2022-10-29T12:10:07.076000+00:00
Original source

tools like tswow avoids this since we never actually serialize dbc data, we write directly into those memory buffers

rektbyfaith
Administrator
0
10-29-2022, 12:10 PM
#5
Archived author: <o> • Posted: 2022-10-29T12:10:34.356000+00:00
Original source

so even though we have plenty of the same dbc mistakes as those tools, they don't show up as easily
rektbyfaith
10-29-2022, 12:10 PM #5

Archived author: <o> • Posted: 2022-10-29T12:10:34.356000+00:00
Original source

so even though we have plenty of the same dbc mistakes as those tools, they don't show up as easily

rektbyfaith
Administrator
0
10-29-2022, 12:11 PM
#6
Archived author: stoneharry • Posted: 2022-10-29T12:11:00.678000+00:00
Original source

DBC is pretty simple format and well documented but a ton of edge cases to handle. Header, records, string block. Need to handle localised strings correctly, some way to determine the structure (interpreting always leads to bugs), and some way to handle the non standard formats (sorted not based on primary key and order is important, no primary key, etc)
rektbyfaith
10-29-2022, 12:11 PM #6

Archived author: stoneharry • Posted: 2022-10-29T12:11:00.678000+00:00
Original source

DBC is pretty simple format and well documented but a ton of edge cases to handle. Header, records, string block. Need to handle localised strings correctly, some way to determine the structure (interpreting always leads to bugs), and some way to handle the non standard formats (sorted not based on primary key and order is important, no primary key, etc)

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)