WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Graphics Help (https://www.wowinterface.com/forums/forumdisplay.php?f=14)
-   -   Green textures (https://www.wowinterface.com/forums/showthread.php?t=39960)

zork 05-02-11 11:37 AM

Green textures
 
Since patch textures seem to be bugged. It can happen that a texture will not be found (which was found before patch) and is diplayed in light green color.

Examples:


http://wow.curse.com/downloads/wow-a...kg-panels.aspx

I looked through the kg panel comments but found nothing helpful. I don't have the issue, but some users reported errors.

Anyone got this or a clue?

hankthetank 05-03-11 06:01 AM

Does it happen after you tab out of the game? Is it displayed correctly after a reload?

zork 05-03-11 12:39 PM

The problem is I don't have the issue, so I don'T know. But having PSD and TGA files of the same name in the directory seems to cause troubles aswell. Removing the PSD from the folder solves it.

SDPhantom 05-03-11 02:25 PM

I have the same thing happening to one of my personal addons. The flder contains both PNG and TGA versions of the same texture file. Further defining the textrue path as ".tga" as noted in some Blizzard code doesn't seem to do anything.

Edit: I've noticed in the LCDXML for Logitech's color GamePanel refers to loading PNG battleground maps. I've tried loading 8, 24, and 32-bit PNGs into a UI texture object and none of them were successful.

Seerah 05-03-11 03:27 PM

kagaro figured out the problem:
http://forums.wowace.com/showpost.ph...postcount=1248
Quote:

here is the issue, since 4.1 if the .tga in question isnt in a directory containing a loaded addon, the game api wont always load it. part of thier new memory management. I had the same issue with an icon till i dropped it into an addon which would load (I used my own texture pack, to add it to libsharedmedia directly

Dawn 05-03-11 04:22 PM

Which means from now on having one "media" folder for all your addons is a bad idea? Unless you make it load some TOC/LUA containing ... basically nothing?

Awesome -.-

Seerah 05-03-11 04:43 PM

Sounds like it. All you would need is a .toc with the same file name as your folder.

MyTextureFolder.toc
Code:

##Interface: 40100
##Title: My Textures


SDPhantom 05-04-11 12:08 AM

Quote:

Originally Posted by Seerah (Post 236483)
kagaro figured out the problem:
http://forums.wowace.com/showpost.ph...postcount=1248
Quote:

here is the issue, since 4.1 if the .tga in question isnt in a directory containing a loaded addon, the game api wont always load it. part of thier new memory management. I had the same issue with an icon till i dropped it into an addon which would load (I used my own texture pack, to add it to libsharedmedia directly

I don't know about the OP, but all of my image files are in the root directory of the addon. In my case, the game didn't like me having both the PNG and TGA files of the same name, I renamed the PNG source file (example name.png to name-src.png), restarted the game client, and it loaded fine afterward.

zork 05-04-11 02:10 AM

Yeah I think you need to do both. Only use TGA files in the folder (no other PSD, PNG with the same names) and create a TOC. Hopefully that will do it.
Textures are loaded into memory. They always require a game client restart. (If you want to load new ones)

But I'm not sure if that really does the job. Because some reporting renaming textures or resaving them fixes the issue aswell. So just copying them somewhere (luckily in an addon folder) may have produced the same behaviour and can be false-interpreted as fix.

Seerah 05-04-11 12:36 PM

SDPhantom - did your file path to those questions (through your addon/whatever) include their file extension? Previously, you could leave that off, and WoW would just use whichever one it could "read".

SDPhantom 05-04-11 01:40 PM

Quote:

Originally Posted by zork (Post 236536)
Textures are loaded into memory. They always require a game client restart. (If you want to load new ones)

This is true with all files recognized with the game client. The first thing I do after adding a new file or changing the path of an existing one (moving or renaming) is restart the game client.



Quote:

Originally Posted by Seerah (Post 236579)
SDPhantom - did your file path to those questions (through your addon/whatever) include their file extension? Previously, you could leave that off, and WoW would just use whichever one it could "read".

I had Circle.png and Circle.tga in the root of folder of my addon called Eyez. There were no subdirectories at all. Originally, the path referred to in the XML file was "Interface\AddOns\Eyez\Circle". During my testing, I changed this to read "Interface\AddOns\Eyez\Circle.tga" and it made no difference. It still attempted to load the PNG file and failed.

Rilgamon 05-04-11 04:11 PM

I wonder if this is a first step to allow png :)

Dawn 05-05-11 05:34 PM

Does it happen with BLP, too?

So far I had no issues, still have my textures (BLP, TGA) in a separate folder without a TOC attached. Weird.

SDPhantom 05-06-11 12:37 AM

I don't deal with BLP files honestly. I create my textures using Macromedia Fireworks, which saves as a custom format PNG. I export as a 32-bit PNG then use GIMP to convert it to TGA. I have a CLI converter program to convert PNG to BLP, but I never got to using it, even though it would take less steps to convert to BLP than TGA.

Seerah 05-06-11 07:56 AM

I use BLP2PNG. I keep it on my desktop, create a PNG, then drag the PNG file onto the icon of BLP2PNG. Viola! A blp is created in the same directory as the png. Works for batch processing as well.


All times are GMT -6. The time now is 07:36 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI