Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => "Retro-Porting" => Topic started by: PhilipTNG on September 18, 2013, 05:29:34 am

Title: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on September 18, 2013, 05:29:34 am
I personally do not do it by hand, I have made my own script and batch file to do this for me.


But it's so simple, you'll be wondering why no one has figured it out yet, or if they have, no one has said anything about it yet.

[youtube:1979xc82]http://www.youtube.com/watch?v=oT-WwK4_xno[/youtube:1979xc82]

Youtube Link: http://www.youtube.com/watch?v=oT-WwK4_xno (http://www.youtube.com/watch?v=oT-WwK4_xno" onclick="window.open(this.href);return false;)

Tutorial starts at 8:00 minutes.  It's so simple you'll wonder why no one has figured it out yet.


Tools You'll need:
♠♠010 Editor: http://www.sweetscape.com/ (http://www.sweetscape.com/" onclick="window.open(this.href);return false;)
♠♠010 Editor Templates: viewtopic.php?f=59&t=828 (http://modcraft.io/viewtopic.php?f=59&t=828" onclick="window.open(this.href);return false;)
---Account needed to download templates.
♠♠My Content Patch(1.63Gb): http://anthonys-toolbox.org/downloads/patch-N.MPQ (http://anthonys-toolbox.org/downloads/patch-N.MPQ" onclick="window.open(this.href);return false;)
---Does not contain everything, just most, up to patch 5.2.0 I think.
♠♠Video on how to open MoP MPQ files: http://www.youtube.com/watch?v=KVi5KzmkH7s (http://www.youtube.com/watch?v=KVi5KzmkH7s" onclick="window.open(this.href);return false;)
♠♠WMO Wiki: http://www.pxr.dk/wowdev/wiki/index.php ... MODD_chunk (http://www.pxr.dk/wowdev/wiki/index.php?title=WMO/v17#MODD_chunk" onclick="window.open(this.href);return false;)

Thanks goes to: The guys over at pxr.dk , My Subscribers/Followers, Indirect Inspiration and motivation from steff, soldan, vlad, will, fearless_wind, Gamh, Mjollna, BanzBoyz77, ToxicDev, Vynlendus, and more, too many to list!

Images of my converted wmos:


(http://puu.sh/4u5KR.jpg)
(http://puu.sh/4u5LO.jpg)
---It's Red because I pulled it from 5.4.0, 5.2.0 and back has yellow lights.
(http://puu.sh/4u5PR.jpg)
(http://puu.sh/4u5Rm.jpg)
(http://puu.sh/4u5SX.jpg)
---Scrolls on fire because of 5.4.0 pull I think.
(http://puu.sh/4u5V3.jpg)
(http://puu.sh/4u5X1.jpg)
(http://puu.sh/4u61h.jpg)
(http://puu.sh/4u644.jpg)
(http://puu.sh/4u667.jpg)
(http://puu.sh/4u68l.jpg)

--After talking with Nupper. I did two real quick, and I think you can get these off the Alpha build but meh.. no need to anymore. ^_^.  The transparency effect on the windows doesn't exist for WMO's in WoTLK, however you can fake it with M2's.  I mean I could just disable that particular mesh from loading, but it would mean you'd just fall through. lol, and since it's a portal, the interior dissapears when viewed from the outside.

(http://puu.sh/4ucWV.jpg)
(http://puu.sh/4ucXv.jpg)
(http://puu.sh/4ucY4.jpg)

(http://puu.sh/4ud2H.jpg)
(http://puu.sh/4ud3i.jpg)
(http://puu.sh/4ud3B.jpg)

Pulled and Converted from Mist of Pandaria 5.2.0 installation.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: sakuranobushi on September 18, 2013, 01:18:43 pm
Thank you SO much! I've been able to convert some small raids from cataclysm/pandaria succesfully. On the other hand, some models like stormwind keep seep to crash even after doing this, so may be there's something more, or maybe I failed so bad.

Now I have to find out how to make something like your tag team converter for M2, i'm not very confident about this, but will try!
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: ProfVice on September 18, 2013, 06:55:26 pm
Easy and working

here a screen:
(https://lh3.googleusercontent.com/-eUVQej1xSGw/UjnZkSmUVRI/AAAAAAAAAp8/4mdbmQMEUlI/w1597-h847-no/WoWScrnShot_091813_184821.jpg)


THANKS a Lot again you hlped me Anthony, excellent work!
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on September 19, 2013, 12:45:57 am
Quote from: "sakuranobushi"
Thank you SO much! I've been able to convert some small raids from cataclysm/pandaria succesfully. On the other hand, some models like stormwind keep seep to crash even after doing this, so may be there's something more, or maybe I failed so bad.

Now I have to find out how to make something like your tag team converter for M2, i'm not very confident about this, but will try!

Wanna show off your screenshots?  ^_^

Quote from: "ProfVice"
Easy and working

here a screen:
(https://lh3.googleusercontent.com/-eUVQej1xSGw/UjnZkSmUVRI/AAAAAAAAAp8/4mdbmQMEUlI/w1597-h847-no/WoWScrnShot_091813_184821.jpg)


THANKS a Lot again you hlped me Anthony, excellent work!

Woot!!!  Nice job. ^^
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: gimli on September 19, 2013, 06:49:56 am
[attachment=0:2z2u0gxv]WoWScrnShot_091913_043414.jpg[/attachment:2z2u0gxv]
thanks alot for your absolutely awesome tutorials and for your hard work to figure it out how to make this all working.

thanks  :D
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: sakuranobushi on September 19, 2013, 11:13:52 am
Well, the screens I have aren't as impressing as yours and there aren't so many of them, but here you have ^^

In addition to some of the models you showed up in the first post I only have the alliance battleship and the grim batol raid.

I have been trying to see why some of the models don't work for me even if I delete SBOM, and the only common trait between these wmos i've found so far is that they all have only the SBOM header, without content.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on September 19, 2013, 02:31:06 pm
Quote from: "gimli"
[attachment=0:d1ulsr3v]WoWScrnShot_091913_043414.jpg[/attachment:d1ulsr3v]
thanks alot for your absolutely awesome tutorials and for your hard work to figure it out how to make this all working.

thanks  :D

Nicely done mate!  Cheers ^_^.

Quote from: "sakuranobushi"
Well, the screens I have aren't as impressing as yours and there aren't so many of them, but here you have ^^

In addition to some of the models you showed up in the first post I only have the alliance battleship and the grim batol raid.

I have been trying to see why some of the models don't work for me even if I delete SBOM, and the only common trait between these wmos i've found so far is that they all have only the SBOM header, without content.

I've had similar troubles too, when I tried doing some buildings from the goblin starting zone.  that background wall of unused buildings crash me when I try to view it.  So when possible, I disable a group from loading in through the root file, may not be the best way to do it, but most of the times, the groups that is causing the issue doesn't have any 3D geometry inside of it anyway.


Well I guess I'll post some images too:

From Siege of Orgrimmar, Throne of Thunder, and my Mad Scientist Building. And Lost Isles (Not from Cata Beta... ^_^.. XD):

(http://puu.sh/4v0Cn)

(http://puu.sh/4uOqS)

(http://puu.sh/4uVPH)
(http://puu.sh/4uWcE)
(http://puu.sh/4uWdl)

(http://puu.sh/4v1ES.jpg)
(http://puu.sh/4v1Kr.jpg)
(http://puu.sh/4v1LF.jpg)
(http://puu.sh/4v1MR.jpg)
(http://puu.sh/4v1Ns.jpg)
(http://puu.sh/4v1O3.jpg)
(http://puu.sh/4v04L)

(http://puu.sh/4v1V3.jpg)
(http://puu.sh/4v22t.jpg)
(http://puu.sh/4v24k.jpg)
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: ayahne on September 20, 2013, 12:09:24 am
incredible Work Anthony Good Job
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Pan21 on September 20, 2013, 05:48:52 am
So following a few hours of trial and error i manged to convert the Tower from the BG goldrush

(http://i.imgur.com/BJoeiXA.jpg)

I found that just setting all the flags to 1 works just as fine.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: fearless_wind on September 20, 2013, 08:26:45 am
Sakuranobushi, do you have cata water in worlk? HOW?  :shock:
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: hyakkimaru on September 20, 2013, 09:12:50 am
I am very stupid but my english is very bad...

I watched your video and it's very interesting but, I don't understand, if I want to copy a wmo from mop to tlk, I just need to remove ALL SMOB in my wmo ?

I'm very sorry but it's not very clear for me...
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: sakuranobushi on September 20, 2013, 09:15:57 am
Well, it's not exactly the water from Cataclysm+, but in the dbc there are the remains of procedural water tests. You just have to use that liquid type and add the missing blp from cataclysm for it to work.

But it doesn't really reflect, it doesn't have ripples nor shorelines...

Edit: Exactly hyakkymaru, for most wmo you just need to remove sbom for every wmo group and make sure there are no materials with flag 0x08 in the wmo.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: detonatorss on September 20, 2013, 11:17:04 am
i change every 0x10 flag into ox1 and if doesn't have flag i set it to 0x1 with this things have to work i think now i am converting Stormwind.wmo the Both and tonight i test it if works
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on September 20, 2013, 01:08:24 pm
Quote from: "hyakkimaru"
I am very stupid but my english is very bad...

I watched your video and it's very interesting but, I don't understand, if I want to copy a wmo from mop to tlk, I just need to remove ALL SMOB in my wmo ?

I'm very sorry but it's not very clear for me...

Not sure how much clearer it can get.  I did it from start to finish with no edits except the part of me looking for the wmo I wanted to do.  All you need to do is remove the sbom section, this will work on most wmo's. not all of them, but a good majority of them, the otheres will require you to think and do some of your own trial and error.

Quote from: "detonatorss"
i change every 0x10 flag into ox1 and if doesn't have flag i set it to 0x1 with this things have to work i think now i am converting Stormwind.wmo the Both and tonight i test it if works

Um, Stormwind.wmo is the 3.3.5a stormwind and that is still in the v17 format, the stormwind2 is a beta test version that was never used I think.  Cataclysm and MoP's stormwind is in a bunch of different pieces starting with the letters SW_ so like SW_Cathedral and stuff like that....I wish you all the best man.  The SW_Keep can be a problem, atleast it was for me.  >.<,

I got converted 5.4.0's Azeroth ADT and WMO files because well..... I wanted to see what  the filesize would be LOL....

(http://puu.sh/4vJon.jpg)

But I keep old trees, ^_^.. I love 3.3.5a trees more than new trees.   This also means I have Vashj'ir ^_^ and it's not from Alpha Cata.

(http://puu.sh/4vJyM.jpg)
(http://puu.sh/4vJz3.jpg)
(http://puu.sh/4vJzh.jpg)
(http://puu.sh/4vJAF.jpg)
(http://puu.sh/4vJCZ.jpg)

I'm sorry for spamming so many images but, it's better than making a vlog everytime I do something. ^_^.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: fearless_wind on September 20, 2013, 01:10:10 pm
Nice job, Anthony and other guys posted screenshots here. Can you tell me what is the model with a big tree with mop houses in it?
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on September 20, 2013, 01:20:20 pm
Quote from: "fearless_wind"
Nice job, Anthony and other guys posted screenshots here. Can you tell me what is the model with a big tree with mop houses in it?

I have no idea what you're referring to.  If you're referring to my image here:

(http://puu.sh/4uOqS)

There are two versions of it, the exterior one for overworld usage and the actual raid version for the instance usage.  The File name is: PA_Mantid_Raid_Exterior.wmo  and PA_Mantid_Raid.wmo  , Naturally the raid one would look better, not to mention it has almost twice as many groups.  ^_^.

If you are going to use it with Noggit, be sure to cut a hole in the ground as it goes underground.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: fearless_wind on September 20, 2013, 05:32:33 pm
Thanks, I know how to use it. :)
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Orbas on September 21, 2013, 08:24:30 pm
oh wow thats amazing  :shock:
will your realese some of your maps ?
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on September 22, 2013, 12:04:50 am
Quote from: "Orbas"
oh wow thats amazing  :shock:
will your realese some of your maps ?

No, most of them were done because of a Commissioned Request, some of them were by my choice.  I tried to do MoP's Azeroth but no luck there >.<
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: detonatorss on September 22, 2013, 02:07:42 am
Anthony is just to port it and yes i have portyed the adt's to xD but i am porting the wmo xD all of the folder xD it's just more easy xD
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on September 22, 2013, 12:01:38 pm
Quote from: "detonatorss"
Anthony is just to port it and yes i have portyed the adt's to xD but i am porting the wmo xD all of the folder xD it's just more easy xD

^_^, I'm having issues with converting the Gilneas WMOs, not the starting zone but the one in azeroth.. those don't seem to like me. lol.  In my opinion MoP Wmo's are so much easier to port over. lol.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Pan21 on September 23, 2013, 08:14:21 pm
Hmm i figured this would be the best place to ask...

Has anyone managed to find the lions landing Dock WMO along with the Wooden horde structures in the Jade forest?

Me and a few others have spent some time trying to find it to no avail :(
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on September 23, 2013, 09:04:27 pm
Quote from: "Pan21"
Hmm i figured this would be the best place to ask...

Has anyone managed to find the lions landing Dock WMO along with the Wooden horde structures in the Jade forest?

Me and a few others have spent some time trying to find it to no avail :(

Picture Please?  I mean the easiest way to do it is grab the ADT where it's spawned at and go through it and see what WMO's it references.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Pan21 on September 23, 2013, 09:28:44 pm
Quote from: "AnthonysToolbox"
Quote from: "Pan21"
Hmm i figured this would be the best place to ask...

Has anyone managed to find the lions landing Dock WMO along with the Wooden horde structures in the Jade forest?

Me and a few others have spent some time trying to find it to no avail :(

Picture Please?  I mean the easiest way to do it is grab the ADT where it's spawned at and go through it and see what WMO's it references.

I would be happy to :)

(https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS1PVcntqsqrXnfEFuQTqafM59YD_uLb6JYh-jaHCP3CRDPB_nK)


Thats the dock and below is a picture of the wooden orc structures :)

(http://i.imgur.com/nXud0.jpg) to my knowledge there are two types of structures.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on September 24, 2013, 04:14:12 am
Quote from: "Pan21"
Thats the dock and below is a picture of the wooden orc structures :)
(http://i.imgur.com/nXud0.jpg) to my knowledge there are two types of structures.

I'm not sure about Lions Landing as that's an instance I've not gotten to converting yet so naturally I've not looked into it.  As for the wooden bridges, the filenames are:

WORLDWMOPANDARIAJADEFORESTORCREFUGEORCREFUGEDOCK1.wmo
WORLDWMOPANDARIAJADEFORESTORCREFUGEORCREFUGEDOCK2.wmo

(http://puu.sh/4yNdF.jpg)
(http://puu.sh/4yNd0.jpg)
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Pan21 on September 24, 2013, 04:32:38 am
EDIT: Nevermind.... I found it based of the dock pic's :)
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on September 24, 2013, 02:11:52 pm
Quote from: "Pan21"
EDIT: Nevermind.... I found it based of the dock pic's :)

Hey thanks for the mention of the lions landing area because I'm not a retail guy so I didn't know about it.  I also  found the horde area and added them both to my main Pandaria map.. it looks so much prettier now. thankyou mate! ^_^
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Orbas on October 28, 2013, 03:17:57 am
Hi i know that it is a bit too late but i would thank you very much for your Awesome tutorials and patches and all your other work that has make it me possible to make my own fully working pandaria :)
[attachment=0:51ho5g1k]WoWScrnShot_102813_030353.jpg[/attachment:51ho5g1k]
Thank you very very Much :)
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Morokei on January 05, 2014, 05:38:39 pm
You did really a great job there, i hate to say that my english is not the best.
Is there someone who can translate the importend parts into german language, maybe? That would be so nice :)
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: thehsvdude on January 07, 2014, 02:16:09 am
Quote from: "AnthonysToolbox"
Quote from: "Pan21"
EDIT: Nevermind.... I found it based of the dock pic's :)

Hey thanks for the mention of the lions landing area because I'm not a retail guy so I didn't know about it.  I also  found the horde area and added them both to my main Pandaria map.. it looks so much prettier now. thankyou mate! ^_^
im a retail guy I know everything about MOP
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Krang Stonehoof on March 28, 2014, 08:15:18 pm
Uhm, why is the video unavailable?
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on March 29, 2014, 03:56:17 am
Quote from: "Krang Stonehoof"
Uhm, why is the video unavailable?

My account was terminated by YouTube. I've got all the wmo's up to 5.4.0 converted 3.3.5a in this archive here:
viewtopic.php?f=59&t=7136 (http://modcraft.io/viewtopic.php?f=59&t=7136" onclick="window.open(this.href);return false;)
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Krang Stonehoof on March 29, 2014, 09:43:16 am
Yes but I was looking to learn how to do it.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: PhilipTNG on March 29, 2014, 06:58:31 pm
Quote from: "Krang Stonehoof"
Yes but I was looking to learn how to do it.

Unfortuanately stuff happens.  Anyway if you've got a good head on your shoulders and have already manually converted M2 and Skin files without the use of a converter, that should be more than enough knowledge to convert most wmo's.

Of the various WMO files, you'll have the base WMO file and then various extra ones that contain the actual geometry of the object(s), and they have a suffix of _000.wmo / _001.wmo and so on.

The base WMO file, you'll want to drop that into 010 Editor and apply a WMO Tempate, the templates are somewhere on this site, can't remember where.  go through the textures and the flags, if there are any flags higher than 6 I think it was, make them a 0.  It's been months since I last did this so I'm just rambling from memory.  And that should be enough with the base file.

For the Geometry files, like the name_000.wmo files, drop them into 010 Editor, there's no template for these I don't think.  Anyway for the most part, they are pretty simple to do but not always.  Look for the text search of the letters SBOM, make sure you do a case sensitive search.  When you find it, take out that chunk of data.  If I remember right, the 4 bytes after the SBOM bytes is the size of the chunk, so it's SBOM, Chunk size, Actual Chunk.  So you'll have to remove that entire part.

Like this file here for example:
(http://puu.sh/7O9FU.png)

The 53 42 4F 4D is the Hex values for the Text SBOM, the 18 00 00 00 after it is the Chunk size, which is 24(Twenty-Four) bytes. With that said, the 24 bytes after this is the chunk for SBOM(MobS actually but that's unimportant for a hobbyist.)   So the 97 FF A9 FF A2 FF 58 00 57 00 7D 01 00 00 00 00 3B C7 00 00 31 52 00 09  is the SBOM Chunk.  So this entire section you would need to take out, as shown selected here:

(http://puu.sh/7O9Tl.png)

Just right click and hit delete. then save and move onto the next file.  If there is no SBOM chunk, then move onto the next file.

This doesn't always work, sometimes more steps need to be applied but it's been so long since I did this so I can't recall what all the steps were.

The I would recommend trying to do something with smaller sets of geometry and not trying to take on something that has 80-100 geosets.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Gurluas on April 09, 2014, 08:09:48 pm
Any luck remembering what some of those other steps may be?
I looked through some of your converted wmos, and in many of them the UINT32_flags_2 is 10
While the UINT32_flags is usually a very odd number like "00000000 00000000 00000000 00001100,b"

I have set the long value to 0 every time it exceeded 110b because that's what was done in the others.
I removed SBOM, yet it crashes immediately ingame.

EDIT: Both Flags 2 and flags 1 have to be set.
So values like 1100b just change them to 0
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Gurluas on June 22, 2014, 10:00:17 am
A little update:
Certain textures in Cata/MOP/WOD wmos may have black textures in spite of you fixing everything.
I have discovered that this is related to a version tag. For example: The WOD Townhall level 3 has black windows, and the window texture has a version 17. Change that to 0 and the texture works.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: Shelldon on June 24, 2014, 04:17:31 pm
Quote from: "Gurluas"
Any luck remembering what some of those other steps may be?
I looked through some of your converted wmos, and in many of them the UINT32_flags_2 is 10
While the UINT32_flags is usually a very odd number like "00000000 00000000 00000000 00001100,b"

I have set the long value to 0 every time it exceeded 110b because that's what was done in the others.
I removed SBOM, yet it crashes immediately ingame.

EDIT: Both Flags 2 and flags 1 have to be set.
So values like 1100b just change them to 0

Set them to 0 is not very good decision. You will lost a lot of wonderful effects of your wmo. Try to convert some cave or mine from MoP/Cata using this method and you'll get what I'm talking about. Few experiments with this values allowed me to make this script (most of textures' blending and effects will work, maybe not the same way they works on cata/mop, but better then setting them to 0).

You have to use wmo template on your root wmo using this.

uint32 i;
for( i = 0; i < wmo_file.momt.i; i++ )
 {
if (wmo_file.momt.entry.flags == 7)
{
wmo_file.momt.entry.flags = 6;
}
else if (wmo_file.momt.entry.flags == 13)
{
wmo_file.momt.entry.flags = 6;
}
else if (wmo_file.momt.entry.flags == 6)
{
wmo_file.momt.entry.flags = 6;
}
else if (wmo_file.momt.entry.flags == 4)
{
wmo_file.momt.entry.flags = 4;
}
else if (wmo_file.momt.entry.flags == 3)
{
wmo_file.momt.entry.flags = 3;
}
else if (wmo_file.momt.entry.flags == 1)
{
wmo_file.momt.entry.flags = 1;
}
else if (wmo_file.momt.entry.flags == 2)
{
wmo_file.momt.entry.flags = 2;
}
else if (wmo_file.momt.entry.flags != 5)
{
wmo_file.momt.entry.flags = 0;
}
}

FileSave();
FileClose();

Looks not very good, made it long time ago, but works as it should.
Title: Re: [TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
Post by: darksoke on February 15, 2018, 12:37:06 pm
Does anybody have by any chance working Mogu'Shan Vaults and Firelands ? I'm wiling to pay for working adts and wmos, having the dbc data is a plus :D thank you :)