WDB-Extractor & DBC Structures

06/25/2010 05:35 CptSky#1
WDB-Extractor


I have made a little program for extracting all files of a WDB package, because there is no public extractor. If you have some request or some problems, just post on this thread.

[Only registered and activated users can see links. Click Here To Register...]

WDB-Packer


When I posted this thread, I was not sure about this part. If you want to repack the package, just put your edited DBC files in the INI folder. When you will execute Conquer, the DBC files will be merged in the WDB package.

DBC Structures


I don't have all structures but I hope that some members will continue the work. I will be very happy to update this part of the thread with new or more complete structure. I will not add new structures. If you don't understand a structure, check the INI version.

3DEffect **Incomplete**
Code:
**** Header ****
Identifier -> Char[4]
Count -> Int32

**** Entries ****
Name -> Char[32]
Amount -> Int16
Delay -> Int32
LoopTime -> Int32
FrameInterval -> Int32
LoopInterval -> Int32
Unknow -> Byte[16]
EffectId(n) -> Int32
TextureId(n) -> Int32
Unknow(n) -> Int32
ASB(n) -> Byte
ADB(n) -> Byte
Unknow(n) -> Int16
3DEffectObj
Code:
**** Header ****
Identifier -> Char[4]
Count -> Int32

**** Entries ****
Id -> Int32
Offset -> Int32

**** Data ****
Path -> Char[] (End with 0x00)
3DTexture
Code:
**** Header ****
Identifier -> Char[4]
Count -> Int32

**** Entries ****
Id -> Int32
Offset -> Int32

**** Data ****
Path -> Char[] (End with 0x00)
3DObj
Code:
**** Header ****
Identifier -> Char[4]
Count -> Int32

**** Entries ****
Id -> Int32
Offset -> Int32

**** Data ****
Path -> Char[] (End with 0x00)
3DMotion
Code:
**** Header ****
Identifier -> Char[4]
Count -> Int32

**** Entries ****
Offset -> Int64
Id -> Int32

**** Data ****
Path -> Char[] (End with 0x00)
06/25/2010 15:22 koko425#2
can you make it relly i need it to add new gremant to my server in 5165 scource
and thanks
06/30/2010 19:39 CptSky#3
I have added a way for packing the WDB package.
07/15/2010 22:06 verdito99#4
It don't work for me...
07/15/2010 22:42 Korvacs#5
Ive written a complete decompiler for all dbc files and recompiler to convert ini to dbc. Just havent gotten around to releasing it yet >.<, it has the complete structures also.
07/16/2010 01:19 devilsmum#6
Quote:
Originally Posted by Korvacs View Post
Ive written a complete decompiler for all dbc files and recompiler to convert ini to dbc. Just havent gotten around to releasing it yet >.<, it has the complete structures also.
Sweet - Can't wait for the release mate.
08/17/2010 06:52 Escapex#7
woot didnt know theres a thread for DBC structures. k umm korvacs u might wan to use this

[Only registered and activated users can see links. Click Here To Register...]

by scrolling down and downloading my link. i got some text fixed just converting Does Not Open Your Freaking INI File O:
Does Not Save Your Freaking INI File To DBC O:\

EDITED: just those 2 red one are bugged.
08/17/2010 15:58 devilsmum#8
Quote:
Originally Posted by Escapex View Post
woot didnt know theres a thread for DBC structures. k umm korvacs u might wan to use this

[Only registered and activated users can see links. Click Here To Register...]

by scrolling down and downloading my link. i got some text fixed just converting Does Not Open Your Freaking INI File O:
Does Not Save Your Freaking INI File To DBC O:\

EDITED: just those 2 red one are bugged.
The only file that seems to remotely be workable is weapon.dbc the rest half the numbers are in the millions and stuff is ??
11/22/2010 14:32 †he Knight#9
Quote:
Originally Posted by Korvacs View Post
Ive written a complete decompiler for all dbc files and recompiler to convert ini to dbc. Just havent gotten around to releasing it yet >.<, it has the complete structures also.
Can you release it please.. or let me have it ..
:handsdown:
11/22/2010 15:31 Kiyono#10
Quote:
Originally Posted by †he Knight View Post
Can you release it please.. or let me have it ..
:handsdown:
I PM'd him about it a few days ago, he hasn't got around doing it.
11/22/2010 17:47 Korvacs#11
I'll see if i can finish it up tonight and post a release in the tools section, otherwise i might just release the source and people can do what they want with it, bare with me for a few more hours.
11/22/2010 18:08 Kiyono#12
Quote:
Originally Posted by Korvacs View Post
I'll see if i can finish it up tonight and post a release in the tools section, otherwise i might just release the source and people can do what they want with it, bare with me for a few more hours.
Not to be sounding impatient or something but what exactly are you doing with it? You implied that it was fully completed.
11/22/2010 19:29 Korvacs#13
Quote:
Originally Posted by Kiyono View Post
Not to be sounding impatient or something but what exactly are you doing with it? You implied that it was fully completed.
I think it is, but i havent looked at it in months so i just need to check its complete.

Edit: Ah right, it will convert DBC to TXT, but not TXT to DBC at the moment.
11/22/2010 19:56 †he Knight#14
Quote:
Originally Posted by Korvacs View Post
I'll see if i can finish it up tonight and post a release in the tools section, otherwise i might just release the source and people can do what they want with it, bare with me for a few more hours.
That's going to be lovely
11/22/2010 20:26 Kiyono#15
Quote:
Originally Posted by Korvacs View Post
I think it is, but i havent looked at it in months so i just need to check its complete.

Edit: Ah right, it will convert DBC to TXT, but not TXT to DBC at the moment.
I see, well take your time.