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: [RELEASE] [WoD] WoTLK Displayinfo to WoD DisplayInfo  (Read 2386 times)

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
[RELEASE] [WoD] WoTLK Displayinfo to WoD DisplayInfo
« on: May 23, 2016, 03:09:59 pm »
Heyho.

Why ?


Recent researches with WoD ItemDisplayInfo brought forth, that Blizzard split their itemdisplayinfo into four.

  • ItemDisplayInfo.dbc
  • ItemAppearance.dbc
  • FileData.dbc
  • TextureFileData.dbc

To be honest, editing all of them for 100+ values is a huge pain. So I took what I know of C++ and created a tool for this.

What is necessary ?


You require textfiles with ; as delimiter. I recommend Luzifix' converter for this..
You require all four before mentioned files.
This should work with the lastest WoD dbcs.

Hint


For best results, Reduce the input WotLK DisplayInfo to entries you want to add to WoD.

What does it actually do, though ?


It basically converts WotLK ItemDIsplayInfo entries to WoD.
It searches for existing textures and automatically appends them to the row.
It adds every required file to FileData, appends it into TextureFileData and adds them to the WoDIDI. If an Icon is detected, it also appends it into ItemAppearance.

If it tries to convert entries already existing in wod, it changes their id and generates a SQL that changes the item_sparse. If anything else is necessary, I can add it.

Dependencies:


This requires boost::algorithm::string, boost::integer and boost::range::algorithm::remove_if to work.
Compiled with msvs 2015 to Release x86 and boost 1.61.0.

If you run TrinityCore 6.x, you should have that anyway.

What else ? And Notes!


The tool should be relatively self explainatory. Ask away if you have questions.
Source is not included until further notice. If I deem it necessary, I'll give it. Trust me, it's dirty and flithy and makes children and seasoned programmers cry.

Thanks to scott07 for testing. He helps me with developing this tool further.
I appreciate every type of feedback. Bear with me, this is my first tool created and released.

Changelog and Download



Version 1.2
>> Allow to choose delimiter in config.
>> If any " is detected in strings, it automatically applies them to ALL of them. This results from the idea that if you use one converter for a tool, you use it for all.
>>> Both changes enable most common converter to be used.
>> Include redis required for this to run.
[attachment=0:1q6fxr4a]WoDSplitter v1.2.rar[/attachment:1q6fxr4a]


Old Versions with Changelogl


Version 1.1
- Changed relative path to boost library to use system variable $BOOST_ROOT.
Version 1.0
- Release.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [RELEASE] [WoD] WoTLK Displayinfo to WoD DisplayInfo
« Reply #1 on: May 23, 2016, 03:48:42 pm »
Updated to v1.1 due to library linking.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Luzifix

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 71
    • View Profile
Re: [RELEASE] [WoD] WoTLK Displayinfo to WoD DisplayInfo
« Reply #2 on: May 23, 2016, 04:39:33 pm »
good job ! :D
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [RELEASE] [WoD] WoTLK Displayinfo to WoD DisplayInfo
« Reply #3 on: May 23, 2016, 05:59:58 pm »
Update to v1.2.

Improvements done.

EDIT:
Make sure you add the correct delimiter, else it is bound to error. Have not added a failsafe check here yet.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »