Vienna 2.8 causing texture issues

Post Reply
ageva
Posts: 27

Vienna 2.8 causing texture issues

Post by ageva » Fri Jan 05, 2018 10:54 am

Hi,

Once installed the new version I'm facing a strange texture issues all over Prepar3D (Default aircraft, GSX, PMDG and others) as you can see at the screenshots below.

Add-on Enabled:

Image

Image

Image

Image

As you can see it doesn't affect only LOWW but the entire simulator.

Add-on Disabled:

Image

Image

Can textures cause such behavior? I tried changing seasons and disabling all settings via the Configurator but no luck there.

Thanks,
Amos
laskar972
Posts: 13

Re: Vienna 2.8 causing texture issues

Post by laskar972 » Fri Jan 05, 2018 12:42 pm

same problem for me
martin[flytampa]
Site Admin
Posts: 5185

Re: Vienna 2.8 causing texture issues

Post by martin[flytampa] » Fri Jan 05, 2018 6:22 pm

I'm not aware of anything that would cause that weirdness. In any case you can disable it temporarely by editing the add-ons.cfg or just go to Prepar3Dv4/FlyTampa/Vienna/ and rename add-on.xml to add-on.bak. Once you load P3D again LOWW will be gone from the Sim. To readd it rename the add-on.xml back the way it was and run Add-to-P3D.cmd also in Prepar3Dv4/FlyTampa/Vienna/
ageva
Posts: 27

Re: Vienna 2.8 causing texture issues

Post by ageva » Sat Jan 06, 2018 3:25 am

Martin,

Re-enable the add-on didn't solve the issue but I was able to narrow it down to those lines in add-on.xml:
<AddOn.Component>
<Category>Scripts</Category>
<Path>scripts</Path>
</AddOn.Component>
<AddOn.Component>
<Category>Texture</Category>
<Path>scripts\texture</Path>
<Type>GLOBAL</Type>
</AddOn.Component>

Once removed the sim will load correctly. Any ideas?

Thanks,
Amos
martin[flytampa]
Site Admin
Posts: 5185

Re: Vienna 2.8 causing texture issues

Post by martin[flytampa] » Sat Jan 06, 2018 10:43 am

Ok. Check if keeping all the add-on.xml original but only changing this line also solves it:

<Category>Texture</Category>
<Path>scripts\texture</Path>
<Type>GLOBAL</Type> <---change to WORLD

This would make sense in that GLOBAL texture folders can cause texture messups because the textures in this folder become available to all addons... but... I made sure every texture in that folder FlyTampa/Vienna/scripts\texture\ is uniquely named. Check that you only have files labaled "loww_***.dds" in that folder.

If there were textures in there with common names like for example "panel.dds", "refmap.dds", pavement.dds", that would indeed cause issues like you see.

Also make sure the other texture folder is declared as world in our add-on.xml

<Category>Texture</Category>
<Path>texture</Path>
<Type>WORLD</Type>

Now back to the scripts/texture/ folder, changing that to WORLD isnt' a real solution because it has to be GLOBAL for the LUA scripts to work at Vienna. Normaly this shouldn't be a problem because our textures have unique names.
ageva
Posts: 27

Re: Vienna 2.8 causing texture issues

Post by ageva » Sat Jan 06, 2018 2:51 pm

Changing to WORLD did solve the problem. Can I keep it that way?

Thanks,
Amos
martin[flytampa]
Site Admin
Posts: 5185

Re: Vienna 2.8 causing texture issues

Post by martin[flytampa] » Sat Jan 06, 2018 4:26 pm

This one can and should be WORLD and is so by default install:
<Path>texture</Path>

But this one must be GLOBAL for LOWW to work.
<Path>scripts/texture</Path>
laskar972
Posts: 13

Re: Vienna 2.8 causing texture issues

Post by laskar972 » Mon Jan 08, 2018 2:40 pm

Follow this thread
P3D v4.1 - Black textures problem
This problem comes from the update P3D 4.1
http://www.prepar3d.com/forum/viewtopic ... 7&start=45
https://www.avsim.com/forums/topic/5236 ... s-problem/
Post Reply