-
Member
How to compare two same .dbc files to spot differences?
Hello, how can I compare two .dbc files to see what differs one from the other? I mean there are tons of rows and columns i can't manually look for difference, is there a fast way to check the differences?
Thanks
-
Member
Originally Posted by
dealerx
Hello, how can I compare two .dbc files to see what differs one from the other? I mean there are tons of rows and columns i can't manually look for difference, is there a fast way to check the differences?
Thanks
If you have your dbc files already imported into mysql, then you can use mysqldbcompare tool.
-
Post Thanks / Like - 1 Thanks
dealerx (1 members gave Thanks to tobymmo for this useful post)
-
Member
Originally Posted by
tobymmo
Thanks for the reply, but I'm kinda new to this, at the moment I change some values of Spell.dbc (like swapping spell animation, icons, tooltip and basic things only client-side, to make my wow customized without hacking), I'm not into "opening a server" or other things so I don't know what "importing into mysql" is. Do i need to have a host server with mysql? I just have two Spell.dbc file and i want to know what differes one from the other by doing a offline check like i don't know, converting them into excel file and then compare them somehow?..something simple that doesnt require "deep knowledge". =)
-
Member
I see now.
There many ways of checking the difference between 2 files. If the files are binary (your case) you need a binary diff tool like this one:
VBinDiff - Visual Binary Diff
-
Member
Mmmh..I wanted something easier, ill put a picture of what would be my idea instead of the blue software u linked to me:
compare.jpg
(consider line 14 from two Spell.dbc files, i just photoshopped one below the other to make u see the differences)
Something really quick.. or at least something that just says directly "line 14 differs".
Last edited by dealerx; 10-08-2016 at 02:49 PM.
-
Member
Thanks for putting up the image. I am not aware of any tool that can do what you are asking for.
It's a long shot, but if you know some C# you can hack GUI spell editor code and the functionality you need: GitHub - stoneharry/Spell-Editor-GUI-V2: A Spell Editor for WoW version 3.3.5a 12340.
My understanding of Spell.dbc is limited, otherwise it would be an easy fun project to do.
I'll let somebody else to reply in here.
-
Member
Ah! This definitely require some heavy work !
Because If i understood right, if I have two patches with "Spell.dbc" inside them, "patch-10.mpq" and "patch-11.mpq" let's say, it reads the Spell.dbc from the newest one, the 11 right? That why I need to compare dbc and create a unique dbc that have both changes from patch 10 and patch 11!
Correct me if I'm wrong.
-
Elite User
You can convert them to CSV with DBCUtil and then use any text comparison tool to compare them line by line.