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] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Based  (Read 7461 times)

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
[TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Based
« on: April 16, 2015, 08:18:52 am »
I decided to re-write my wmo conversion script, 2 reasons, to speed it up where I could make it go faster and so as to release it to the general public so that all the people that send me messages to convert wmos and or how to fix a certain wmo will be able to do it themself and leave me alone lol.

A couple of my friends and peers recommended that I not share this due to the eventual rise of noobs and leechers using it and acting like they are "King Shit", but in the end, tool users and tool huggers don't ever do a whole lot anyway and what they will end up doing won't be anything new, being 2 years late to the wmoconversion game and all XD.

By default the script is set to attempt to convert a WMO from Cata/MoP/WoD to WoTLK.  If you want it to convert down to TBC(possibly 1.x as well), turn on the tbc switch on Line 13 by making it a 1.


I would recommend using atleast 010 Editor 5.0 , but it will run faster in 6.0 and newer.  Script does not work properly on 3.0 and 4.0 versions of 010 Editor.

---For LK, it fixes the wmo so that it will work in the game client and also work in Noggit, I've only tested 1.3 and 1.4.

---For TBC, it fixes the WMO so it will work in the game client as well, I do not know if it will work in Noggit as I do not have Noggit for TBC.  The WMOs may also work for 1.x as well but since I do not have that client, I have made no tests for it.

Manual Directions:


1.) Open Script up in 010 Editor.
2.) Open up WMO Files you want to convert
3.) Click on the WMO File and run the script(F7), I say Click on the File because if you don't, you can sometimes run the script on itself and possibly screw up the script and have to re-download it.

Batch Directions:


0.) Make sure you can open up 010 Editor through the cmd console application by typing in 010editor, this is required to make use of the batch script.
1.) Open up Notepad and Copy and Paste this batch code to the document: http://pastebin.com/SU9K03Gz
2.) Modify the Full_Path_To_Script_File to where you extracted the script file.
--Example: If you extracted the file to C:scripts  you would put change the fullpath text to
C:scriptswmo-converter-rebuild_003_distro.1sc

3.) Save the File somewhere as wmoconverter.bat
4.) Now place the file wherever you have your wmo files that need to be converted, run the batch file and it should go through and convert them for you.

VIDEO Directions:


[media:f2v9dvrm]https://www.youtube.com/watch?v=M9rD29gWI_I[/media:f2v9dvrm]

Pictures of Tanaan Jungle that had it's WMOs converted using this script rewrite., Map can be downloaded from: viewtopic.php?f=93&t=9101&p=45849





EDIT: Updated the script so it can handle WMOs that may also be similar to the 6.2.0 Hellfire Raid WMOs. , 0.004 is the new one.
------

Update(May 12, 2015):


Updated the WMO converter to 0.005, so now it fixes WoD garrison's Doodad Sets and a few MoP WMOs as well, It's not fully tested yet but seems to work fairly well so far. , Thanks to Kranimal for his inputs. Also put in a trigger into the script to force all garrison doodads in the script if there are any that have phased/leveled doodads.

By default I put it on, but for anyone that wants it off, make the 1 a 0:


NOTE:  May Cause a crash due to the a bug in how Windows CMD works since it has a habit of skipping files randomly when your system hits a digital roadbump, mainly from an un-processed m2 file from my tagteam converter if you're using that for doing M2 files.
« Last Edit: July 10, 2015, 08:42:24 pm by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #1 on: April 16, 2015, 08:51:21 am »
added download, totally forgot about it lol. it's an attachment.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #2 on: April 16, 2015, 10:27:45 am »
awsome release thank you for your share and nice tut too really helpfull
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Xerode

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #3 on: April 16, 2015, 05:08:27 pm »
Thank you, your converters (wotlk ADT to Cataclysm ADT, and now this tool) are very helpful, the work you did is really amazing. :)

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

Vatoto

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 53
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #4 on: April 17, 2015, 02:37:07 pm »
Thx for this tool!

I have found a solution if you can't start the 010editor from the CMD.

You must right-click the computer icon in the start menu and select "properties".

Now klick on "advanced system settings" in the left column and then go to the "advanced" - tab.

Under the table "User variables for xy" click "new" and create a variable with the name "010edtior" and the value is the path to your 010editor folder(!) ("C:Program Files10 Editor" for example).

Then you just have to restart the pc and now it should works.

If you do these steps , you can also use the M2Converter. Thx for this tool too!

I hope I translated the words (advanced system settings, properties) correctly, because I only have the German windows version.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #5 on: April 17, 2015, 05:21:10 pm »
Quote from: "MR. Farrare"
awsome release thank you for your share and nice tut too really helpfull
XD, thanks for helping me out when I was working on these things.

Quote from: "Xerode"
Thank you, your converters (wotlk ADT to Cataclysm ADT, and now this tool) are very helpful, the work you did is really amazing. :)
Regards,
^_^ , as soon as I finish remaking some Macros for the ADT Down Converter and documentation, that'll be released too.  It still going to require some work, but not as much if you try to do it without the Script Macros :D

Quote from: "Vatoto"
Thx for this tool!
--snip--
I hope I translated the words (advanced system settings, properties) correctly, because I only have the German windows version.
Maybe you can also put German explanation too incase other user may come here and have German Windows :D.  Thankyou for putting in information. ^_^
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #6 on: April 18, 2015, 01:56:22 pm »
Updated the script so it can handle WMOs that may also be similar to the 6.2.0 Hellfire Raid WMOs. , 0.004 is the new one.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Xerode

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #7 on: April 18, 2015, 03:10:07 pm »
Quote
Updated the script so it can handle WMOs that may also be similar to the 6.2.0 Hellfire Raid WMOs. , 0.004 is the new one.

Thank you again ! :)

Quote
^_^ , as soon as I finish remaking some Macros for the ADT Down Converter and documentation, that'll be released too. It still going to require some work, but not as much if you try to do it without the Script Macros  

Oh dear.  :shock:
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #8 on: April 18, 2015, 06:13:09 pm »
that would be awsome
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #9 on: May 13, 2015, 02:23:29 am »
Updated script to 0.005, read the notes on the first post., thanks to Kranimal for his assistance. I put in fixes so it would fix some MoP WMOs that were crashing the client previously.  Also put in trigger into the script to force all garrison doodads in the script if there are any that have phased/leveled doodads.

By default I put it on, but for anyone that wants it off, make the 1 a 0:


Now doing this may cause a crash due to an unprocessed m2 doodad file. the tagteam converter is solid however the interface it uses to run the process is a bit buggy, Windows CMD tends to skip over some files when it does it's batch processing, proved this when I batch processed 10,000 text files, noticed 28 of them were unprocessed.

I plan on doing a re-write on the m2 converter at a later date so it keeps the false reflection/specularity effect intact as well as any texanims that are disabled from using CataToLK, no fault to those who made it, just something that's been bothering me for a while now.

Anyway as for the Garrison thing, here is an after image of one of the mage buildings, the previous script would only have a fire int the fireplace, the current script forces all doodads to load:






There is a thing where the forced doodads will disappear when you walk away from the wmo, not sure what that's about but the same thing happens when I force all the doodads on WoD as well.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

TheBuG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 469
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #10 on: May 13, 2015, 12:02:24 pm »
Cheers, while I've always been able to (batch) convert M2s, I was too lazy to get going on WMOs. Thanks for the update ;).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #11 on: May 13, 2015, 01:23:03 pm »
Quote from: "TheBuG"
Cheers, while I've always been able to (batch) convert M2s, I was too lazy to get going on WMOs. Thanks for the update ;).
Ahh that's awesome(about your own m2 converter), and glad I could help with the wmo thing. :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

TheBuG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 469
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #12 on: May 13, 2015, 11:26:09 pm »
Quote from: "PhilipTNG"
Quote from: "TheBuG"
Cheers, while I've always been able to (batch) convert M2s, I was too lazy to get going on WMOs. Thanks for the update ;).
Ahh that's awesome(about your own m2 converter), and glad I could help with the wmo thing. :)

Well, it wasn't really my own. My brother does some coding stuff for his job, I just told him the things that had to change in files, we did some testing and got it working. It was nothing major ;p. Mostly used Mjollna's converter as a base.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #13 on: May 14, 2015, 01:55:16 am »
Quote from: "TheBuG"
Well, it wasn't really my own. My brother does some coding stuff for his job, I just told him the things that had to change in files, we did some testing and got it working. It was nothing major ;p. Mostly used Mjollna's converter as a base.
Ahh gotcha :), that's awesome to have a coder in the family hehe,  Too bad in my family, I'm THAT guy >.< , My brother's a Civil Engineer, crazy smart fellow.  He showed me a plan for a bridge... Me being me thought... hmpf a bridge, can't be anything too difficult.... WRONG!!  Had measurements and all sorts of things I never even thought went into building such things.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

detonatorss

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 233
    • View Profile
Re: [TOOL] WMO Converter 4.x-6.x To LK & TBC - 010 Editor Ba
« Reply #14 on: May 15, 2015, 06:08:11 pm »
PhilipTNG it only work with files and not folders and i think the people want to convert it with folders for do it
you have to add this

(*_?_?.adt)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Desktop


Laptop