This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [tutorial] Convert DB2 format to DBC and reverse  (Read 4863 times)

Rangorn

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 291
    • View Profile
[tutorial] Convert DB2 format to DBC and reverse
« on: June 08, 2015, 02:37:38 pm »
[deleted]
« Last Edit: May 17, 2016, 02:06:10 pm by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [tutorial] Convert DB2 format to DBC and reverse
« Reply #1 on: June 08, 2015, 03:59:53 pm »
If you're going to be using MyDBCEditor to edit the db2 files, you don't need to change the WDB2 into WDBC, that part can be left alone, you just gotta take out the 0x14 to 0x2F bytes, save it and the db2 file will work in the dbc editor, well given it's an int32/float type of db2 file, if it's a byte or short, it will throw back an error just like normal dbc files that are in byte/short formats.

Luckily the DB2 format for MoP/WoD was simplified, the one for Cataclysm lol.... that's another story rofl.... look at any expansion's Item-sparse.db2 for a general idea of the older db2 format, this edit here won't do snot on it XD.

It should be noted that the bytes at 0x14 is a security hash/signature checked by the client(also stored on the client) and the bytes at 0x18 is the version of the game it's for.  That means if you try to use a hash from 5.4.7 db2 onto a 5.4.8 db2 file of the same name, you will be met with an error.
« Last Edit: June 08, 2015, 04:41:52 pm by Admin »

Rangorn

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 291
    • View Profile
Re: [tutorial] Convert DB2 format to DBC and reverse
« Reply #2 on: June 08, 2015, 04:11:16 pm »
Yup, i have try, WDB2 to WDBC is useless,

i don't have really check what are the headers in db2, i just have see many unknown and locales flags,

Thanks for your informations :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »