Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Laduguer on June 15, 2014, 06:13:32 pm

Title: [QUESTION] WMV and Edited .DBC files?
Post by: Laduguer on June 15, 2014, 06:13:32 pm
Hey guys!

Recently i've been wondering if it's possible for WoW Model Viewer to detect custom .dbc files. For example, adding a new item entry and display ID into the relevant .dbc files and then seeing that new item appear in the list in model viewer.

So far I haven't been able to get WMV to pick up changes, but given that all WMV seems to do is read from dbc files in the patches it's set to detect, I don't understand what i'm doing wrong!

Thanks in advance.
Title: Re: [QUESTION] WMV and Edited .DBC files?
Post by: TheBuG on June 16, 2014, 05:52:21 pm
It should. Just add the edited DBC to an MPQ and add the MPQ to the MPQ list in the WMV settings.
Title: Re: [QUESTION] WMV and Edited .DBC files?
Post by: Laduguer on June 23, 2014, 08:22:22 pm
Quote from: "TheBuG"
It should. Just add the edited DBC to an MPQ and add the MPQ to the MPQ list in the WMV settings.

Sorry for taking a while to get back to you.

I'm still not getting any success with this. I'm actually not sure where WMV gets all it's information (such as item names, etc) from as I assumed that was all server side. Any ideas?
Title: Re: [QUESTION] WMV and Edited .DBC files?
Post by: Kiun on June 23, 2014, 09:47:09 pm
What TheBuG says should work.
Check in 'Options' -> 'Settings' where are your Model Viewer locating the .MPQ files. Then make an .MPQ with your custom files and dbc in the same path, click 'Add' and select your custom .MPQ. Close WMV and open it again and it should detect your custom files now.
Title: Re: [QUESTION] WMV and Edited .DBC files?
Post by: Laduguer on June 24, 2014, 01:11:02 am
Ah, apologies, perhaps I didn't make it clear enough in the OP but I am already well aware of that option in WMV and have been doing that all along.

My issue here is when I do that, no new items are added to the list of available items when you are dressing up a model, despite having an entry in Item.dbc and ItemDisplayID.dbc.

Which leads me to wonder where WMV gets it's information from other than .mpqs, as the .dbc files contain no information regarding item name.
Title: Re: [QUESTION] WMV and Edited .DBC files?
Post by: inico on June 24, 2014, 02:29:39 pm
Wowmodelviewer has its own database for items. If you want to add custom items, go to File->Discovery Item. It loads all the DBC items to the wow model viewer database. In the last WMV version, you must do the discovery item thing every time you open the program, annoying, but it works. If it doesn't work, add the item manually to discoveryitems.csv (a file inside the wow model viewer folder, also called "item.csv" in older versions). Just copy a similar item and change its ID and Display ID.

i.e.
16685,29596,4,1,6,0,0,Magister's Belt

The first number is the item id, the second one is the display ID, etc.

I did it a lot of times and it works, but i recommend you to use older versions of wow modelviewer, because it sometimes doesn't load the discoveryitem.csv file correctly after you edit it.
Title: Re: [QUESTION] WMV and Edited .DBC files?
Post by: Laduguer on June 24, 2014, 11:21:43 pm
That's really helpful, thank you very much! Surprised I never heard of that before.