Modcraft - The community dedicated to quality WoW modding!

Content creation => Level Design => Topic started by: -Dave on November 26, 2011, 04:03:48 am

Title: Lich king ADTs in cataclysm?
Post by: -Dave on November 26, 2011, 04:03:48 am
Has anyone managed to do this, and if so - how? I took a brief look inside the MPQs and it seems the whole maps system has been reworked (as you'd expect from the kind of crazy shit they did with cataclysm) - so now there are four ADT files.

Continent_xx_yy.adt
Continent_xx_yy_obj0.adt
Continent_xx_yy_tex0.adt
Continent_xx_yy_tex1.adt

From the suffixes I'd guess obj0 holds object info while tex0 and tex1 hold texture information? (Would explain why GM island is no longer textured, perhaps it's missing the _tex ADTs?)

I've tried simply replacing the original ADT  and ignoring the extra three just on the offchance that it may work, both in a patch and inside the actual world.MPQ (backing it up, of course) and it didn't seem to work. Has anybody got some kind of converter or is this impossible for now?
Title: Re: Lich king ADTs in cataclysm?
Post by: schlumpf on November 26, 2011, 11:05:19 am
There is a converter in the tools section.
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on November 26, 2011, 01:18:21 pm
Gah! Can't believe I didn't see that... It didn't come up in search results anyway :3 Thanks Lumpy!

/E: Do the output files need to be fixed or edited in any way after conversion? I've copied the path in World.MPQ perfectly in a Patch-D.MPQ (WorldmapsAzerothAzeroth_xx_yy.adt, etc) taking special care to get capitals and stuff right, but still nothing ingame but the boring old blank blizzard ADT that was there.
Title: Re: Lich king ADTs in cataclysm?
Post by: Mjollna on November 26, 2011, 02:43:06 pm
The files shouldn't need any edit after conversion to work on Cata client.

The name "patch-D" may be your problem, see how patches are named in Cata (wow-update-smthg).
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on November 26, 2011, 03:29:03 pm
renamed to wow-update-base-50000 (Because it seems the -base ones have ADTs and the regular wow-updates are for DBCs) and still no luck :3 Have you managed to get any of yours to work?

/E: I noticed the number afterwards is the client's build number... For instance wow-update-base-14545 contains the firelands stuff.. Maybe patching in cata isn't as simple as it was before? I'm going to try packing my ADTs into the 14545 update (Since I'm using that build client) - keeping a backup of course.

//E: Still no luck :// Any more ideas?
Title: Re: Lich king ADTs in cataclysm?
Post by: Mjollna on November 26, 2011, 04:42:21 pm
Yes the files converted through the Adt Converter do work on Cata client.

I don't feel very comfortable about helping people patching on live/ptr, sorry :)
However, if you experience conversion problems, I'll do everything I can to help you and debug the program if necessary.
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on November 26, 2011, 05:15:24 pm
Quote from: "Mjollna"
Yes the files converted through the Adt Converter do work on Cata client.

I don't feel very comfortable about helping people patching on live/ptr, sorry :)
However, if you experience conversion problems, I'll do everything I can to help you and debug the program if necessary.

Oh no, this isn't on live / PTR, I play a private server every now and again and it'd be nice to have my own place to chill :p
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on December 13, 2011, 04:32:55 pm
...Bump? :S
Title: Re: Lich king ADTs in cataclysm?
Post by: Everon Mightbane on December 13, 2011, 06:42:33 pm
Are you using a patched wow.exe? Otherwise it won't work either way
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on December 14, 2011, 12:48:56 am
Of course, I'd always assumed that was required for private servers :} It's just a matter of getting the client to read them is all.
Title: Re: Lich king ADTs in cataclysm?
Post by: akspa420 on January 28, 2012, 02:43:17 am
I've been trying to figure out how to get custom areas working with 4.x for ages - tried the no ssc patch on OwnedCore, to no avail. Not sure if I'm just retarded or if this is a serious limitation that has yet to be properly patched for modders.
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on February 16, 2012, 07:51:08 pm
Well as Mjollna said, (s?)he wrote a converter for the files; it's most likely just my method of patching them in that's at fault now.

If anyone's got this working I'd love to hear about it! :D
Title: Re: Lich king ADTs in cataclysm?
Post by: Mjollna on February 16, 2012, 08:51:32 pm
Oh ok I'll answer >.<

Combine :
Quote
the no ssc patch

and :
Quote
renamed to wow-update-base-50000

(no need to have such a high number though, latest +1 is ok)

Apart from that, nothing changes from 3.x.

(and yes it's "she" :p)
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on February 17, 2012, 03:37:10 pm
I'll give it a go. In terms of patching, I'm using the server I play on's respective launcher, which seems to download or create a separate .exe - I'm not sure if that does the job or not since I've had little experience with Cataclysm client workings up until now. If it's not; could someone link me to the patcher that Akspa420 mentioned? Thank you Modcraft, you're being a HUGE help <3
Title: Re: Lich king ADTs in cataclysm?
Post by: Mjollna on February 17, 2012, 08:07:42 pm
Have fun : http://www.ownedcore.com/forums/world-o ... mover.html (http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/291383-patch-sig-md5-protection-remover.html" onclick="window.open(this.href);return false;)
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on June 15, 2012, 12:51:54 pm
SO! After a long break during which I've had a lot going on in my life, I'm getting back into this whole level design thing. Put together something basic and went to test it out ingame to no avail. Here's exactly what I did.

Did a bunch of stuff in Noggit > Used Mjollna's converter with the world building option > Used Ladik's MPQ Edit to pack the resulting ADTs into wow-update-16325.MPQ/world/maps/azeroth > Put said MPQ in Data folder after patching WoW with the link Mjollna provided above.

Game client still loads the default ADT instead of the modified one. Any thoughts? :3
Title: Re: Lich king ADTs in cataclysm?
Post by: Mjollna on June 15, 2012, 01:25:23 pm
There's most likely a problem in the path/filenames you've given.

I'm not sure I get the part where you mention : "wow-update-16325.MPQ/world/maps/azeroth".

And you probably don't even have to use mpq anyway : viewtopic.php?f=26&t=1828 (http://modcraft.io/viewtopic.php?f=26&t=1828" onclick="window.open(this.href);return false;)
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on June 15, 2012, 01:48:58 pm
I'll take a look at that thread and see if it will work with the 4.0.6 client, as for now however - what I meant by 'wow-update-16325.MPQ/world/maps/azeroth' was this:
The MPQ name is wow-update-16325.MPQ
The treepath WITHIN the MPQ is /World/maps/Azeroth/Azeroth_xx_xx blah blah. - exactly the same as it is in World.MPQ
Title: Re: Lich king ADTs in cataclysm?
Post by: fean on June 15, 2012, 02:25:12 pm
Do you have removed patch limitation number with the patcher Mjollnà has linked ?

Because, on 4.3.4 live servers, the maximum patch is 15595 if I'm not mistaken. If you didn't remove the limitation, the client won't load a patch number that is superior.

/Edit
The name of the patch doesn't seem to be good with what's inside your mpq.
If your MPQ is named "wow-update-xxxxx.mpq", your world/maps folder has to be in a folder base (base/world/maps)
If your MPQ is named "wow-update-base-xxxxx.mpq" you don't need to have a "base" folder.
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on June 15, 2012, 02:34:23 pm
Yes, I did patch wow - that's a very interesting comment with the base folder though. I'll try renaming the MPQ and see if it does anything. I was using World.MPQ as an example, I hadn't looked in great detail inside the update MPQs yet. Thanks for that!

/E: Renamed to wow-update-base-15051.MPQ - files in World/Maps/Azeroth - still no luck ingame. :/ Any other ideas?
Title: Re: Lich king ADTs in cataclysm?
Post by: Mjollna on June 15, 2012, 03:13:48 pm
Why don't you try without packing ? Follow the link I gave you a few posts earlier.
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on June 15, 2012, 03:49:54 pm
SO it works when done without the packing. I'm using an Outland ADT here now, and when I fly on to the ADT from the adjacent one, I get that thing when your character is way below the camera - like you get at the very bottom of Outland, and the oceans etc. Is there any way to remove that entirely? or fix my ADT so I don't get that?

My character is perfectly fine when on the regular ADT, then I step on to the edited one and boom my camera shoots up.

Thanks so much for your help with the loading by the way. n_n
Title: Re: Lich king ADTs in cataclysm?
Post by: schlumpf on June 15, 2012, 03:51:02 pm
Remove or fix MFBO chunk.
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on June 15, 2012, 03:59:34 pm
Any advice on how I'd go about doing so? Cheers Schlumpf. :D
Title: Re: Lich king ADTs in cataclysm?
Post by: schlumpf on June 15, 2012, 04:05:15 pm
Hex editing.
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on June 15, 2012, 04:07:10 pm
I know fuck all on the subject. Don't suppose you'd explain a little more? Thanks though, you guys have been a huge help already. :P
Title: Re: Lich king ADTs in cataclysm?
Post by: schlumpf on June 15, 2012, 04:08:59 pm
http://pxr.dk/wowdev/wiki/index.php?tit ... MFBO_chunk (http://pxr.dk/wowdev/wiki/index.php?title=ADT/v18#MFBO_chunk" onclick="window.open(this.href);return false;)
values should be 0xFFFF to 0x7FFF (thats -max to +max).
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on June 15, 2012, 04:16:48 pm
So I did a little poking around the ADT in 010 editor and didn't manage to get anything done. I understand this must be annoying for you but would you mind giving a brief idiot-proof step by step? I'd love to understand the workings of this myself heh. ;3
Title: Re: Lich king ADTs in cataclysm?
Post by: Mjollna on June 15, 2012, 04:41:01 pm
Try to have a look there for mfbo removal :
viewtopic.php?f=48&t=1853&p=12098&hilit=mfbo#p12098 (http://modcraft.io/viewtopic.php?f=48&t=1853&p=12098&hilit=mfbo#p12098" onclick="window.open(this.href);return false;)
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on June 15, 2012, 04:45:53 pm
That's exactly what I'm looking for - hopefully it will be clearer to understand when I get this ADT template you mentioned. To the tools section!

/E: Hell yeah, finally. :D
Now that I know its possible, I feel comfortable putting some decent effort in. :P Thank you guys so much!

//E: Is there any particularly difficult process for porting WDTs? I'd much rather work with a blank canvas than overwrite existing areas.
Title: Re: Lich king ADTs in cataclysm?
Post by: Ascathos on June 15, 2012, 04:47:11 pm
Else, I found this as "basic introduction"
viewtopic.php?f=7&t=553 (http://modcraft.io/viewtopic.php?f=7&t=553" onclick="window.open(this.href);return false;)
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on June 15, 2012, 05:29:06 pm
That could be useful in future. Thanks! My question about WDTs still stands - do they need some form of conversion or would they work just fine? Gonna do a bit of experimenting later.
Title: Re: Lich king ADTs in cataclysm?
Post by: Mjollna on June 15, 2012, 05:56:23 pm
wdt doesn't need any kind of special treatment, as long as you don't try to display your own adts surrounded by retail ones on the same map in Cata+ client.
Title: Re: Lich king ADTs in cataclysm?
Post by: -Dave on June 15, 2012, 06:45:40 pm
Nah, I'm using Steff's Custommap1 as a base. Just about to test it out on the cata client now. :}