Modcraft - The community dedicated to quality WoW modding!

Legion- / WoD- / Mop- / Cata-Modding => Tools => Topic started by: PhilipTNG on March 04, 2015, 02:56:52 am

Title: [TOOL] ADT LK to MoP/WoD Converter - 010 Editor Based
Post by: PhilipTNG on March 04, 2015, 02:56:52 am

EDIT(* July 4th, 2015 *)

Attached the converter to the thread and put in the fixes needed so it would output the tex1 and obj1 needed to work in MoP and WoD.
---------------------------------------------------

I know others have already done this and there's more than one tool for this sort of thing already in existence. But I wanted to challenge myself to see if I could make this happen with 010 Editor.  The purpose of me doing this was purely educational and to see if I could do it.  

This method is extremely slow compared to what others have made using an actual system meant to write programs, with 010 Editor, every time the script is ran, it has to be recompiled again so it takes time and there are certain functions are only compiled at runtime so the entire script isn't compiled when the it starts so that's another cause for it taking so long.

This was made for maps made entirely through Talis, ADT Adder and Noggit SDL 1.2 to 1.4.  I played around a little bit with some Kalimdor and Azeroth ADT Files, even ported over 3.3.5a's entire Eastern Kingdoms continent to Cataclysm, but it's mainly to be used on completely custom maps. Maps that started out as Blizzard Maps may not work after being converted.

Maps that have had Gretchin's AllWater tool applied to it more than once(Like if it asks you to reformat the adt even though you've already done it once before.) will probably error out since my script only looks for the first GRET MH2O instance.

I'm posting this so others may look at it if they wish to do so, and or just to show that this sort of thing is possible with 010 Editor as well.

I'll put Text Instructions first, and video instruction at the bottom with the download link(s).

A Working and Proper Installation of 010 Editor is Required for this to work(People using illegitmate copies may not have their sys paths set up properly so it may not work for you if you fit this bill), make sure you have 010's startup options set to Display Empty Interface. And MAKE SURE 010 Editor IS CLOSED Before Doing This or else it'll take slightly longer than it should.

(http://puu.sh/glex6.png)

I didn't feel like making a batch file to create another batchfile, so you HAVE to put the folder in the Rar file into your Drive C:

(http://puu.sh/glfbY.png)

(http://puu.sh/glrMW.png)

Put your Noggited ADTs into the ToBeVerted Folder then run the WC_ADT_Convert.bat batch file and go find something to do. The batch file also removes the extension on the adt files but that's part of the process.

When it's done, it should move the finished ADT's into the Finished Folder.  Make sure to delete the original files from the ToBeVerted folder before doing another set of ADTs. :)

--Video Guide--


[media:94b1zxkf]https://www.youtube.com/watch?v=_YNbL4wZ_Hs[/media:94b1zxkf]

♠ Download Link: http://adf.ly/16ZQUy (http://adf.ly/16ZQUy" onclick="window.open(this.href);return false;)
♠ Map Used: http://www.ownedcore.com/forums/world-o ... woods.html (http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-model-editing/wow-advanced-model-edits/504791-world-building-sleeping-woods.html" onclick="window.open(this.href);return false;)

Full Video(Long Vlog) on Detailing everything else needed to get a custom map to work in Cataclysm/MoP/WoD:
http://youtu.be/SAFWalrpAko (http://youtu.be/SAFWalrpAko" onclick="window.open(this.href);return false;) (May Still Be Processing)

Thanks to all the people who shared their knowledge and research information on http://www.pxr.dk/wowdev/wiki/index.php?title=ADT/v18 (http://www.pxr.dk/wowdev/wiki/index.php?title=ADT/v18" onclick="window.open(this.href);return false;) , it helped a ton.

Thanks go out to jbr373, bardh, banzboyz77 and Mr. Farrare for lending me their ADT Files, some public and some private works to help in my research and study. And reznik too though I had no interaction with him, I just downloaded one of his maps.
Title: Re: [TOOL] ADT LK to Cata Converter - 010 Editor Based
Post by: mariobox on March 04, 2015, 09:23:37 pm
Always the best  :D
Title: Re: [TOOL] ADT LK to Cata Converter - 010 Editor Based
Post by: PhilipTNG on March 05, 2015, 09:29:11 am
Quote from: "mariobox"
Always the best  :D
XD thanks, there are much better ones :0)
Title: Re: [TOOL] ADT LK to Cata Converter - 010 Editor Based
Post by: Skarn on March 05, 2015, 09:32:31 am
That is awesome. Keep up the good work. :)  Working on such things is ten times better than backwards convertions because such tutorials move the community to newer game versions. I have one question though. Is it going to work in 4.2.2 cata or later expansions?
Title: Re: [TOOL] ADT LK to Cata Converter - 010 Editor Based
Post by: PhilipTNG on March 05, 2015, 10:20:35 am
Quote from: "Skarn"
That is awesome. Keep up the good work. :)  Working on such things is ten times better than backwards convertions because such tutorials move the community to newer game versions. I have one question though. Is it going to work in 4.2.2 cata or later expansions?

Mjollna's tool is better than mines, her perform much faster  :lol:  But i can give you information for other things.

I have only done this for 4.0.6/4.3.4 and MoP 5.0.5 and WoD 6.0.3.

M2 files that were used down converted to work with wotlk will most likely not work in cataclysm and up because of different flags and missing data so for those things, like if you use on cataclysm and it has mop doodads, you will need to get original doodads again.

In WoTLK WDL file is not always required for custom map to load. in Cataclysm and higher, WDL is Requirement, you can use any WDL, I always just use same blank wdll and rename it to match folder and adt names.
Title: Re: [TOOL] ADT LK to Cata Converter - 010 Editor Based
Post by: Skarn on March 05, 2015, 11:37:42 am
Yeah, I know all that. Speaking about Mjollna's tool, it writes wmos badly. Some of them have no collision.
Title: Re: [TOOL] ADT LK to Cata Converter - 010 Editor Based
Post by: PhilipTNG on March 05, 2015, 08:38:15 pm
Quote from: "Skarn"
Yeah, I know all that. Speaking about Mjollna's tool, it writes wmos badly. Some of them have no collision.

Ahh, I did not know that. People that I know that use it say good thing about it only, i have not heard negatives yet, this is first XD.  But you are advanced world builder and my friends are all beginners :)

The only big thing I did with this was do the whole 3.3.5a Azeroth(Eastern Kingdoms) continent, from what I was able to see, everything work fine except Stormwind wmo because in Cataclysm, Blizzard made edit to the wmo when they use it in instance and only some of it has collision, so I had to also add WoTLK's Stormwind.wmo(+286 files) to my patch because Cataclysm original Stormwind.wmo only has 281 group files.

I did around 50 ADT of Kalimdor and they seemed to work for me, though there were some other blizzard adt's that crashed after conversion, such as the ADT files from just the common-2.MPQ didn't work after my little tool was ran on them , the ones from the patch-2 and patch-3 seemed to work fine. But my goal for the tool wasn't for doing blizzard maps so I'm fine with that outcome :)

[media:24fmev6r]https://www.youtube.com/watch?v=yU8nK3rroj4[/media:24fmev6r]
Title: Re: [TOOL] ADT LK to Cata Converter - 010 Editor Based
Post by: Helnesis on April 11, 2015, 07:01:04 pm
Hi, good job !

the link is dead after captcha ? I display a message "Could not open socket"

and sorry for my bad english :>

EDIT : it's okay ! and.. work for wod 6.0.3

(http://puu.sh/hab2E/48be39bd6d.jpg)
Title: Re: [TOOL] ADT LK to Cata Converter - 010 Editor Based
Post by: PhilipTNG on April 12, 2015, 12:51:04 am
Quote from: "Helnesis"
the link is dead after captcha ? I display a message "Could not open socket"

----

(http://puu.sh/hab2E/48be39bd6d.jpg)

Looks good :D ^^...

The socket thing seems to be my captcha thing, I'll disable it for now until I can wrestle the problem out of it.
Title: Re: [TOOL] ADT LK to Cata Converter - 010 Editor Based
Post by: xJKz on July 04, 2015, 06:29:30 pm
Link's dead mate...
Great job anyway, and thanks!

EDIT: Thanks for this fast edit!
Title: Re: [TOOL] ADT LK to Cata Converter - 010 Editor Based
Post by: PhilipTNG on July 04, 2015, 06:34:43 pm
Quote from: "xJKz"
Link's dead mate...
Great job anyway, and thanks!
Yeah stuff happens, people stopped donating, ran out of funds to pay for the webhost, anyway attached it to the thread, look at the bottom of the first post.
Title: Re: [TOOL] ADT LK to MoP/WoD Converter - 010 Editor Based
Post by: Luzifix on November 27, 2015, 10:56:14 am
nice tool :)
Title: Re: [TOOL] ADT LK to MoP/WoD Converter - 010 Editor Based
Post by: wowzhoe on April 18, 2016, 01:35:16 am
i got a error.
program just run and do nothing, no delete, no create a files at all.
spend 2 hours for a 1 file to saw that.
can sameone help me?