[Release] DBC Converter Source

11/23/2010 12:37 Korvacs#1
Right, the majority of this works, however i decided in the end that it would just be best to dump the source of the project here and people can make changes and modify it as they need to.

To start off you will need some .dbc files to decode to .txt files, and then you can convert them back again. Make sure you update the Count at the top of the file if you make changes, and ensure that the layout is correct, if something is placed in the wrong place or missing, then it wont work, this is very important.

There is no difference between the 2 files bellow.

Good luck.

Issues

Currently the original Conquer .ini files will not work due to having to store the header and count within the files.

The RSDB files (things like 3dmotion.dbc) will happily convert to a text editable state and back again, provided that the offsets are correct, if you make an addition and dont modify the offset correctly it will not work so you need to be very careful with these files.
11/23/2010 13:36 †he Knight#2
Yay Finaly! Big Thanks!
#edit
Works Fine for DBC>txt But Not Good txt>DBC
11/23/2010 16:17 Kiyono#3
You finally got around releasing it ^_^
11/23/2010 16:46 Korvacs#4
Quote:
Originally Posted by †he Knight View Post
Yay Finaly! Big Thanks!
#edit
Works Fine for DBC>txt But Not Good txt>DBC
Like i said in my post ^_^
11/23/2010 17:04 †he Knight#5
Quote:
Originally Posted by Korvacs View Post
Like i said in my post ^_^
Yeah.. Anyways It's kinda useless this way.. Are you about to make it working and if you are, when?
11/23/2010 19:41 Korvacs#6
Quote:
Originally Posted by †he Knight View Post
Yeah.. Anyways It's kinda useless this way.. Are you about to make it working and if you are, when?
No im not going to make it work beyond this, which file were you having difficulty with btw? The way its been written most of them will work both ways.
11/23/2010 21:00 †he Knight#7
Quote:
Originally Posted by Korvacs View Post
No im not going to make it work beyond this, which file were you having difficulty with btw? The way its been written most of them will work both ways.
the most important ones ... 3dObj and 3dtexture
Please make it working :(
11/23/2010 21:10 Macnoo#8
Thanks Korvacs

The only files i found that dont convert back to .dbc from .txt is ,armor/weapon/armet (edited or unedited)

@ †he Knight 3dObj and 3dtexture work fine for me. edited and converted back to .dbc
11/23/2010 21:16 Korvacs#9
Quote:
Originally Posted by Macnoo View Post
Thanks Korvacs

The only files i found that dont convert back to .dbc from .txt is ,armor/weapon/armet (edited or unedited)

@ †he Knight 3dObj and 3dtexture work fine for me. edited and converted back to .dbc
Yeah these are the ones i figured there would be problems with, its a similar structure to the .wdf stores, which makes converting back to .dbc tricky.
11/23/2010 21:22 †he Knight#10
Quote:
Originally Posted by Macnoo View Post
Thanks Korvacs

The only files i found that dont convert back to .dbc from .txt is ,armor/weapon/armet (edited or unedited)

@ †he Knight 3dObj and 3dtexture work fine for me. edited and converted back to .dbc
They will convert back.. But not right.. I just reconverted one dbc > txt >dbc without editing it.. and the text in it isn't same..


To Korvacs

Dude my Life depend on this Please help :)
12/07/2010 10:41 SaM.ThE.MaN#11
what is the use of this? , explain ...
12/07/2010 11:53 †he Knight#12
Quote:
Originally Posted by SaM.ThE.MaN View Post
what is the use of this? , explain ...
It's No use for now (since They aren't working properly)
If they work good:
- In 5165 Client .ini Files Can't be edited(if you edit them they won't react) so, You gotta edit. dbc files which are hiden in c3.wdb

.dbc files have the same structure, but written in binary text format..
Use "this" converter to edit dbc files :)
12/27/2010 20:56 [GM]#13
another great release Korvacs, too bad it doesn't work with the official conquer
12/28/2010 13:15 Korvacs#14
Quote:
Originally Posted by [GM] View Post
another great release Korvacs, too bad it doesn't work with the official conquer
Well no, it currently works one way completely dbc -> txt, and in some cases txt -> dbc also works, but thats why the source is here so people can make changes to it to get it to work.
07/16/2011 05:17 Illiest#15
Anyone get this to work txt -> dbc? Searched the forum for over a hour and all I found was dbc -> txt and some converters that don't work at all.

Kinda a 6 month bump but needed an answer :/