Modcraft - The community dedicated to quality WoW modding!

Content creation => Level Design => Topic started by: Jody on April 05, 2013, 05:49:50 pm

Title: Noggit' Patch Watter dissapear, Solved
Post by: Jody on April 05, 2013, 05:49:50 pm
Hello' Guys my name is Jody, ive been working while on some things in azeroth/Kalimdor But now i worket on the kalimdor map And changet some of the landscape outside orgrimmar. So everything went fine. i added the files to my patch to look how it iss ingame and the water is away. *I have the tool alwater and i know how to use it* But. is there a other way how to fix this? because. Adding all the water by hand with that tool would take ages. *Thanks for the support*
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Milly on April 05, 2013, 06:31:24 pm
From what I hear you can use the Copy Water tool to restore the water that was already placed there by Blizzard. Unfortunately Allwater and Copy Water are the only available resources for this issue as far as I'm aware.

Download link for Copy Water:

http://filebeam.com/45bbb4ed0d848d23b5da897ddbad14bf (http://filebeam.com/45bbb4ed0d848d23b5da897ddbad14bf" onclick="window.open(this.href);return false;)

I haven't used it before, so I can't teach, but I've seen the results and it seems to work very nicely. Good luck.
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Jody on April 05, 2013, 08:13:26 pm
Well i dont have any idea how to use it but thanks , Alot ill try to find anything aboud it. regards jody.
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Kelno on April 06, 2013, 12:33:43 pm
Im currently writing some tools to work on adt's, it's currently very messy so i'm not gonna release the sources yet but, here is already a tool to copy the MCLQ chunks (the water chunk before LK) from an adt to another. Make backups first, it's really an 0.0.0.1 alpha version :D And it is not meant to only change that part so, it reads and re write the whole file, it may fuck other things up.
Usage : copyMCLQ <target adt file> <source adt file>
ex : copyMCLQ pvpzone02_30_31.adt orig/pvpzone02_30_31.adt
I suggest making a batch to easily re apply water after every noggit edit. Hope it can help :>
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Ascathos on April 06, 2013, 07:48:42 pm
Quote from: "Kelno"
Im currently writing some tools to work on adt's, it's currently very messy so i'm not gonna release the sources yet but, here is already a tool to copy the MCLQ chunks (the water chunk before LK) from an adt to another. Make backups first, it's really an 0.0.0.1 alpha version :D And it is not meant to only change that part so, it reads and re write the whole file, it may fuck other things up.
Usage : copyMCLQ <target adt file> <source adt file>
ex : copyMCLQ pvpzone02_30_31.adt orig/pvpzone02_30_31.adt
I suggest making a batch to easily re apply water after every noggit edit. Hope it can help :>
Exists already. Is called CopyWater.
Also. It's pre-BC, because BC=+ uses MH2O
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Kelno on April 06, 2013, 10:21:23 pm
I know there's that tool for that already, but since it only works with MH2O I needed to have another one in complement, because there is still LK adt's using MCLQ chunks (Most in Azeroth?).
Plus I wanted to be able to choose precisely from which file I copy the water, instead of having to restart LK every time I want to use it to update the registry path (since im working on BC and the tool wont work for it).

And the MH2O chunk wasn't present yet on BC. BUT WHATEVER. Maybe next time... really that discourages of sharing.

I dont actually know wich one is used in Orgrimmar but, I wouldnt have posted it if it just does exactly the same as copyWater.
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Ascathos on April 07, 2013, 01:01:30 pm
Quote from: "Kelno"
I know there's that tool for that already, but since it only works with MH2O I needed to have another one in complement, because there is still LK adt's using MCLQ chunks (Most in Azeroth?).
Plus I wanted to be able to choose precisely from which file I copy the water, instead of having to restart LK every time I want to use it to update the registry path (since im working on BC and the tool wont work for it).

And the MH2O chunk wasn't present yet on BC. BUT WHATEVER. Maybe next time... really that discourages of sharing.

I dont actually know wich one is used in Orgrimmar but, I wouldnt have posted it if it just does exactly the same as copyWater.
You misunderstood me. CopyWater uses MCLQ. CopyMH2O by mjollna copies the BC+ content. Silvermoon for example can only be edited if you use the H2O programm. All I wanted to do is correct your statement, which said there is no tool.
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Kelno on April 07, 2013, 03:22:04 pm
Ew, indeed, i'm sorry to have overreacted.
But unless there are multiple CopyWater versions, it explicitly says it's only for MH2O.
The adt chunks I'm working on have only MCLQ chunks and I get : "No water in ADT! (Only works for ADT with MH2O!)"
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Ascathos on April 07, 2013, 04:03:27 pm
viewtopic.php?f=59&t=1582 (http://modcraft.io/viewtopic.php?f=59&t=1582" onclick="window.open(this.href);return false;)
Copywater for <BC (MCLQ), based on original files

viewtopic.php?f=59&t=1585 (http://modcraft.io/viewtopic.php?f=59&t=1585" onclick="window.open(this.href);return false;)
Waterextractor for BC+ (MH2O) - Extracts water settings and imports them

viewtopic.php?f=59&t=554 (http://modcraft.io/viewtopic.php?f=59&t=554" onclick="window.open(this.href);return false;)
Allwater for all (MCLQ and MH2O, does not restore but customize completely, though. Deletes previous water by applying the "AllWater" mechanism.)

I don't see your problem to be honest. This should help you, though.
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Kelno on April 07, 2013, 04:56:49 pm
You're wrong, I assure you that your first link (which is the same as posted above in this topic) does only MH2O. The "No water in ADT! (Only works for ADT with MH2O!)" message is from this one. Furthermore it will only uses LK files to extract original water.
And again the MH2O is for LK+ and was not present in BC (see here (http://www.pxr.dk/wowdev/wiki/index.php?title=ADT/v18#MH2O_chunk), and I can tell you it's true), the BC client doesn't parse it. But that's a detail.

My "problem" was that of any tools I could find here could be use to copy MLCQ chunks, so I did my own. Or if there is any, I couldn't find it. All the tools you linked are for mh2o only.
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Ascathos on April 07, 2013, 05:25:02 pm
Quote from: "Kelno"
You're wrong, I assure you that your first link (which is the same as posted above in this topic) does only MH2O. The "No water in ADT! (Only works for ADT with MH2O!)" message is from this one. Furthermore it will only uses LK files to extract original water.
And again the MH2O is for LK+ and was not present in BC (see here (http://www.pxr.dk/wowdev/wiki/index.php?title=ADT/v18#MH2O_chunk), and I can tell you it's true), the BC client doesn't parse it. But that's a detail.

My "problem" was that of any tools I could find here could be use to copy MLCQ chunks, so I did my own. Or if there is any, I couldn't find it. All the tools you linked are for mh2o only.
I have been using it for I don't know how long. It works. Also, I am pretty sure it says "Only works for ADTs without MH2O" or similar". No idea what area you are editing anyway. Also, I am not sure if this has to do with BC.
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Kelno on April 07, 2013, 06:17:38 pm
You're quite hard to convince, I dont know how much proof you need xD Just try with pvpzone02_30_31 for example, it has MCLQ chunks but no HM2O. Maybe proofs if you'd want, using 010 editor :

No MH2O offset in the header -> No MH2O chunk.
(http://i.imgur.com/rN9WFLE.png)
SizeLiquid = 812 in some MCNK chunks -> There are MCLQ chunks. (else it's always 8)
(http://i.imgur.com/vUDlXjS.png)

Using copy water will give you :
(http://i.imgur.com/Cc0x8Gz.png)
(no "similar" there)
Because, as it says, it's only for MH2O. At this point if you're still convinced it's for MCLQ too, I'll just stop trying to persuade you x) Maybe you're using it for ages, it probably works perfectly for what it's supposed to do, that doesn't change my statement.
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: Ascathos on April 07, 2013, 06:43:55 pm
Ah, I just looked at the maps of patch-2. They contain MH2O. This explains a lot, actually.
Title: Re: Noggit' Patch Watter dissapear, *Hope i can solve it*
Post by: schlumpf on April 08, 2013, 12:19:48 am
< WotLK is not aware of MH2O. >= WotLK is aware of MH2O _as well as_ MCLQ. It still parses those chunks for backwards compatibility. It is deprecated as of WotLK though and new versions of WoWedit will never write those chunks. It is purely for not being required to push all that data.