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: [TOOL] ADB/DB2/DBC <-> CSV convert  (Read 19289 times)

Luzifix

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 71
    • View Profile
Re: [TOOL] DB2/DBC <-> CSV convert
« Reply #15 on: January 07, 2016, 04:47:53 pm »
@Serendipity with the 0.0.4 Update i add the uint64 & int64 support for Spell.dbc

// UPDATE

« Last Edit: January 01, 1970, 01:00:00 am by Admin »

detonatorss

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 233
    • View Profile
Re: [TOOL] DB2/DBC <-> CSV convert
« Reply #16 on: January 10, 2016, 08:22:40 am »
Quote from: "Luzifix"
@Serendipity with the 0.0.4 Update i add the uint64 & int64 support for Spell.dbc

// UPDATE


So how you will make the structure for more than one version of wow for example in the xml you can use

<wotlk></wotlk>
<cata></cata>
<mop></mop>

or

<spell type=wotlk></spell>
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Desktop


Laptop

Luzifix

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 71
    • View Profile
Re: [TOOL] DB2/DBC <-> CSV convert
« Reply #17 on: January 10, 2016, 03:39:08 pm »
which is a bit complicated, dbc dont have a version in the header. db2 have a build in the header this i can used but currently you most rename your dbc/db2 line Spell335.dbc and create a map for Spell335 in the map.xml
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

detonatorss

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 233
    • View Profile
Re: [TOOL] DB2/DBC <-> CSV convert
« Reply #18 on: January 11, 2016, 06:39:27 pm »
Quote from: "Luzifix"
which is a bit complicated, dbc dont have a version in the header. db2 have a build in the header this i can used but currently you most rename your dbc/db2 line Spell335.dbc and create a map for Spell335 in the map.xml

but you can tag it in the xml, in the parser you culd add a function to parse the type for example
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Desktop


Laptop

Luzifix

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 71
    • View Profile
Re: [TOOL] DB2/DBC <-> CSV convert
« Reply #19 on: January 15, 2016, 11:17:36 am »
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Luzifix

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 71
    • View Profile
Re: [TOOL] DB2/DBC <-> CSV convert
« Reply #20 on: January 20, 2016, 01:51:48 pm »
What for feature you went ?

i think currently about multi file convert over the command line:
Code: [Select]
dbconverter.exe Item.db2 Item-sparse.db2 Creature.dbc ...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Luzifix

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 71
    • View Profile
Re: [TOOL] ADB/DB2/DBC <-> CSV convert
« Reply #21 on: January 22, 2016, 08:07:20 pm »

// UPDATE 0.0.6


  • Add ADB support
  • Fix crash when loading an unknown file format
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

spik96

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 275
    • View Profile
Re: [TOOL] ADB/DB2/DBC <-> CSV convert
« Reply #22 on: January 24, 2016, 08:30:50 pm »
I have an error trying to convert CreatureDisplayInfo.db2 :

Code: [Select]
--------------------------------
ADB/DB2/DBC Converter 0.0.6 ALPHA
Create by Luzifix
E-Mail: luzifix@schattenhain.de
--------------------------------
Your version is up to date.

Info: Open File creaturedisplayinfo.db2...
Info: Load DB2 Mapping...
Info: Load Header...
Error: Signature of file contains not 'WDB2'

Press a key to exit...

I believe my map is correct : http://pastebin.com/spRNEf3f .
EDIT : Nevermind, too recent version for the program.
« Last Edit: January 24, 2016, 08:37:54 pm by Admin »
Github ]https://github.com/Koward[/url]    Skype : koward723 =)

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [TOOL] ADB/DB2/DBC <-> CSV convert
« Reply #23 on: January 24, 2016, 08:37:52 pm »
Quote from: "spik96"
I have an error trying to convert CreatureDisplayInfo.db2 :

Code: [Select]
--------------------------------
ADB/DB2/DBC Converter 0.0.6 ALPHA
Create by Luzifix
E-Mail: luzifix@schattenhain.de
--------------------------------
Your version is up to date.

Info: Open File creaturedisplayinfo.db2...
Info: Load DB2 Mapping...
Info: Load Header...
Error: Signature of file contains not 'WDB2'

Press a key to exit...

I believe my map is correct : http://pastebin.com/spRNEf3f .

well, exactly as it says.. the file you dragged on it is in the wrong format.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

spik96

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 275
    • View Profile
Re: [TOOL] ADB/DB2/DBC <-> CSV convert
« Reply #24 on: January 25, 2016, 01:26:57 am »
Yeah, I noticed that shortly after posting my message, I'm so dumb.
I have a bug, tho, when reconverting from CSV to DBC the  character has become " .
Example CreatureModelData.dbc when reading the DBC with myDBC editor :
http://i.imgur.com/Bwx7NjL.png
Will happens with all DBCs with  inside.

Really problematic since the DBC is not functional.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Github ]https://github.com/Koward[/url]    Skype : koward723 =)

Luzifix

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 71
    • View Profile
Re: [TOOL] ADB/DB2/DBC <-> CSV convert
« Reply #25 on: January 25, 2016, 08:29:25 am »
Quote from: "spik96"
Yeah, I noticed that shortly after posting my message, I'm so dumb.
I have a bug, tho, when reconverting from CSV to DBC the  character has become " .
Example CreatureModelData.dbc when reading the DBC with myDBC editor :
http://i.imgur.com/Bwx7NjL.png
Will happens with all DBCs with  inside.

Really problematic since the DBC is not functional.

With what you edit your CSV file ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

spik96

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 275
    • View Profile
Re: [TOOL] ADB/DB2/DBC <-> CSV convert
« Reply #26 on: January 25, 2016, 02:32:05 pm »
Quote from: "Luzifix"
Quote from: "spik96"
Yeah, I noticed that shortly after posting my message, I'm so dumb.
I have a bug, tho, when reconverting from CSV to DBC the  character has become " .
Example CreatureModelData.dbc when reading the DBC with myDBC editor :
http://i.imgur.com/Bwx7NjL.png
Will happens with all DBCs with  inside.

Really problematic since the DBC is not functional.

With what you edit your CSV file ?

This one was edited with Microsoft Excel 2010. I have not yet tried to see if this happens with other softwares.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Github ]https://github.com/Koward[/url]    Skype : koward723 =)

Luzifix

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 71
    • View Profile
Re: [TOOL] ADB/DB2/DBC <-> CSV convert
« Reply #27 on: January 25, 2016, 03:08:44 pm »
Excel change formatting of the CSV. Try it with Notepad++ or some other text editor :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

yunfan

  • Registred Member
  • Race Changer
  • *****
  • Posts: 28
    • View Profile
Re: [TOOL] ADB/DB2/DBC <-> CSV convert
« Reply #28 on: March 29, 2016, 03:55:19 am »
Nice job, thank you, this is what I need, thank you very much for your work
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] ADB/DB2/DBC <-> CSV convert
« Reply #29 on: March 29, 2016, 11:55:01 am »
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954