Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => "Retro-Porting" => Topic started by: Gurluas on July 30, 2013, 10:56:39 am

Title: Cataclysm Alpha WMO issues in 3.3.5
Post by: Gurluas on July 30, 2013, 10:56:39 am
I have often had some issues regarding the Cataclysm Alpha WMOs acting up. Most notably, certain textures are extremely dark, they're not black, but very dark.

Does anyone have a clue on how to hex edit this away?

(http://i42.tinypic.com/2dsk1lh.jpg)
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: fearless_wind on July 31, 2013, 07:56:28 am
Can't remember actually what problem it is. It can be caused by two-sided flags forr that textures, or in the model exist section "color" wich color the model. But most likely, it's the first problem.
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: Steff on July 31, 2013, 10:24:52 am
Here is the question. Is it possible to just convert them all also like Anthony did with m2s?
Would be nice to just have one big patch with all the stuff included and working. We have this still for cata and mops tilesets and m2s thanks to anthony. If we now would also have all wmos it would be a round thing.
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: Gurluas on August 01, 2013, 02:05:42 am
I do not know of a way to convert WMO.
The WMO in the Cataclysm Alpha are VERY similar to WMOs in 3.3.5.

You basically copy them over, some have issues like this that needs to be sorted out, otherwise they work flawlessly.

EDIT: Ok so I used 010 editor to check the wmo, under the materials.
The closed version of Oneroom_02 has the bugged roof, the opened doesn't. So I decided to compare them. They're almost identical except for one little detail. The closed one has an additional flag.

I looked at the roof texture. The opened has flags: ( 0x2 0x4 ) , flags_2 ( 0x1 )
The closed one, with the bugged roof, has flags: (0x1 0x2 0x4) , flags_2 (0x1)
Unfortunately when I open the material data it is COMPLETELY identical, I have no idea where to edit the flags.
I took screenshots illustrating the problem. Their entries are identical except for said flags, how do I change em?

(http://oi39.tinypic.com/sb0fg3.jpg)

(http://i44.tinypic.com/2e1hdte.png)
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: MR. Farrare on August 01, 2013, 09:44:04 pm
i dont know if this will help you have all the textures and the m2s and the wmo in 1 patch
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: Gurluas on August 02, 2013, 12:16:22 am
Quote from: "raeef"
i dont know if this will help you have all the textures and the m2s and the wmo in 1 patch

They are in one patch. Currently the issue seems to be that flag I referenced earlier but I have no idea how to fix it.
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: TheBuG on August 08, 2013, 02:13:15 pm
Quote from: "Steff"
Here is the question. Is it possible to just convert them all also like Anthony did with m2s?
Would be nice to just have one big patch with all the stuff included and working. We have this still for cata and mops tilesets and m2s thanks to anthony. If we now would also have all wmos it would be a round thing.

You could probably export the WMO's from WMV to a 3D format and convert them using Gamh's 3DS/OBJ to WMO converter. It will leave out some details as lightning most likely, but it's the only way I know it works at the moment.
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: Gurluas on August 08, 2013, 07:41:00 pm
It would damage a lot, such as indoor object settings. So far I have found the culprit as you can see in my earlier post.
Does anyone know how to edit that flag?
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: TheBuG on August 08, 2013, 07:51:58 pm
Quote from: "Gurluas"
It would damage a lot, such as indoor object settings. So far I have found the culprit as you can see in my earlier post.
Does anyone know how to edit that flag?

I think Doodadsets could be relatively easily be hex edited back in by just copying it from the Cata/MoP file to the converted file, not sure though.
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: Gurluas on August 08, 2013, 08:08:51 pm
Quote from: "TheBuG"
Quote from: "Gurluas"
It would damage a lot, such as indoor object settings. So far I have found the culprit as you can see in my earlier post.
Does anyone know how to edit that flag?

I think Doodadsets could be relatively easily be hex edited back in by just copying it from the Cata/MoP file to the converted file, not sure though.

That's not how it works.
I can't copy pieces of another file to another one through 010 editor.

And besides, the file works flawlessy, the only problem is as said the issue with the extra flag that makes it black and unable to absorb light. Look at the two screenshots above.
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: fearless_wind on August 12, 2013, 05:43:40 pm
As I already said, your problem is two-sided texture flag. Try PyModelEditor for fixing that or do it via hex-editing (search information about sections in wow dev wiki)
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: Gurluas on August 13, 2013, 12:12:17 am
If you look at the screenshots I posted, the texture flags aren't there. Do you know where they are stored?
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: stan84 on December 18, 2013, 06:40:36 am
Because my problem is similar, id like ask here. Need place some cata buildings in my vanilla map, i have added them in noggit on my map, but in game outer wmo textures is not displaying, collision works, but textures are transparent. The inner part seems to be ok. Any suggestion what could solve this ?

Stan
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: Gurluas on December 18, 2013, 09:15:45 pm
I do not know, but download Anthony's collection in the tools. He has ported almost EVERYthing.
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: stan84 on December 19, 2013, 05:04:20 am
Quote from: "Gurluas"
I do not know, but download Anthony's collection in the tools. He has ported almost EVERYthing.
Thanks Gurluas, it works.
Title: Re: Cataclysm Alpha WMO issues in 3.3.5
Post by: stan84 on January 09, 2014, 07:50:43 pm
I think i found solution for your issuse.
 While i trying resolve mine, in progress from invisible outdoor wmo groups i get black ones like yours.

it could be 2 things:
1st check MOMT chunk for 0x08 (darkened material)
or if your wmo is using  MOCV chunk do small experiments in hexedit with colors, change some of those 00 00 00 ff to 3b 3b 3b FF (or less)   and check what is happen.

as you can see on following screens it solved my problem using cataclysm original wmo files in 1.12 wow