TGE 1.5.2 Could not locate texture
by Nathan Bowhay - ESAL · in Torque Game Engine · 09/14/2007 (9:49 am) · 5 replies
It seems like once I ported from 1.4 to 1.5.2 I started getting the Could not locate texture: ... for every GuiBitmapButton I have made. Everything still shows up just fine but there is console spam like crazy.
Note: If anyone is wondering why this is in engine as apposed to another forums section it is because I believe it has something to do with the engine code in GuiBitmapButton (not sure though).
If anyone has any suggestions or a solution, thanks in advance.
Note: If anyone is wondering why this is in engine as apposed to another forums section it is because I believe it has something to do with the engine code in GuiBitmapButton (not sure though).
If anyone has any suggestions or a solution, thanks in advance.
#2
I have a TON of buttons that only have a normal and a highlight state, but not the other 2, so I get all kinds of warnings all the time.
If your stuff still works, don't worry about it. :P
09/14/2007 (2:30 pm)
It's because the newer one handles the built-in mouse-over buttons differently and it is warning you that it can't find the image for each state of the mouse-over. There are 4 states for each button: "_i", "_d", "_h", and "_n" for inactive, down, highlighted, and normal (respectively).I have a TON of buttons that only have a normal and a highlight state, but not the other 2, so I get all kinds of warnings all the time.
If your stuff still works, don't worry about it. :P
#3
That is the weird thing I have all the states I have an exit button called exit and the images are exit_d.png, exit_h.png, exit_i.png, exit_n.png and it shows the error for that.
The error is:
Could not locate texture: starter.fps/client/ui/playGui/maindock/exit
and the location of the file is:
starter.fps\client\ui\playGui\maindock
That is why I was wondering if they added another state or something (not like that isn't already enough states). Or if they changed it to uppercase or something.
And the thing is I didn't get these errors until I ported to the new version.
It actually probably wouldn't bother me so much if it happened in the older version or I didn't already know about the states. I am trying to figure it out more so, because it didn't happen before and I am curious.
09/15/2007 (10:19 am)
Thank you for the replies.That is the weird thing I have all the states I have an exit button called exit and the images are exit_d.png, exit_h.png, exit_i.png, exit_n.png and it shows the error for that.
The error is:
Could not locate texture: starter.fps/client/ui/playGui/maindock/exit
and the location of the file is:
starter.fps\client\ui\playGui\maindock
That is why I was wondering if they added another state or something (not like that isn't already enough states). Or if they changed it to uppercase or something.
And the thing is I didn't get these errors until I ported to the new version.
It actually probably wouldn't bother me so much if it happened in the older version or I didn't already know about the states. I am trying to figure it out more so, because it didn't happen before and I am curious.
#4
09/16/2007 (3:10 pm)
You shouldn't worry about it. It still works right? If it bothers you that much, try changing the \'s too /'s, or make a folder called "exit" in main dock and put the pictures in there.
#5
I found an example of the could not find texture error in stock torque when launching tutorial base. It happens for all the bitmap buttons in there also. Now I don't feel so bad. I still wish that these were fixed. It almost make me wonder if something is wrong (the box character and this) with some core code in torque 1.5.2.
09/16/2007 (6:40 pm)
I tried both those things and they didn't seem to work. Yeah everything shows up, but the issue is that I am getting several other issues (one of which is in stock 1.5.2) when in the editor and I select an object in the inspector tree it will show a box character on the far right. Also I am getting the pesky $Pref::Server::ConnectionError. So I am trying to fix everything just in case any of them are linked.I found an example of the could not find texture error in stock torque when launching tutorial base. It happens for all the bitmap buttons in there also. Now I don't feel so bad. I still wish that these were fixed. It almost make me wonder if something is wrong (the box character and this) with some core code in torque 1.5.2.
Torque 3D Owner Caylo Gypsyblood
Im not using some GuiBitmapButton states, so the ones i do not use always list as Could not locate texture:.