texture creation - unhandled OG XML version
texture creation - unhandled OG XML version
Yeah i just followed Audrey's tutorial making a seamless texture and then creating an object with it. I did everything as he said but when i try to load the object in the game i get this error message "unhandled OG XML version" and then it wont load my object. Can any1 help?
Re: texture creation - unhandled OG XML version
Well, I am inexperienced in this area, however there are a few things which could of caused this error...
You have the texture '.tga' file in your textures folder? Both the normal and color map?
And you have an object to use this with?
If so, does your xml file lead to those texture and object files correctly?
Maybe those were stupid questions, however it'd be nice to know about more about what you did.
You have the texture '.tga' file in your textures folder? Both the normal and color map?
And you have an object to use this with?
If so, does your xml file lead to those texture and object files correctly?
Maybe those were stupid questions, however it'd be nice to know about more about what you did.
Re: texture creation - unhandled OG XML version
not a stupid question though but i have an object and the paths lead to wherever they should
-
- Posts: 161
- Joined: Sat Mar 12, 2011 2:42 am
Re: texture creation - unhandled OG XML version
I'm going to bump this thread, I'm having the same problem importing a model.
Here's my .XML:
The paths are correct because if they aren't then it tells you and you get a failwhale. I am beginning to think that it is the exported file from blender but I'm hoping not.
Here's my .XML:
Code: Select all
<?xml version-"1.0" ?>
<object>
<model>data/custom/stormy/models/props/signpost_01.obj</model>
<ColorMap>Data/custom/stormy/textures/props/signpost_01_dif.png</ColorMap>
<NormalMap>Data/custom/stormy/textures/props/signpost_01_nor.png</NormalMap>
<ShaderPath>Data/GLSL/cubemapobj</ShaderPath>
<ShaderName>normalmap</ShaderName>
</Object>
-
- Posts: 161
- Joined: Sat Mar 12, 2011 2:42 am
Re: texture creation - unhandled OG XML version
UPDATE:
Ok, I chatted on the IRC for a while and managed to get rid of the error, but now my model is invisible. Observe:
And here is the XML:
All files are in their correct spots, I had a look at the .obj file and it was looking for a different texture file so I changed it but nay. Anybody who has any idea at all gimme a shout, I'll make models for you if you solve this problem!
Ok, I chatted on the IRC for a while and managed to get rid of the error, but now my model is invisible. Observe:
And here is the XML:
Code: Select all
<?xml version="1.0" ?>
<Object>
<Model>Data/Custom/Stormy/Models/Props/signpost_01.obj</Model>
<ColorMap>Data/Custom/Stormy/Textures/Props/signpost_01_dif.png</ColorMap>
<NormalMap>Data/Custom/Stormy/Textures/Props/signpost_01_nor.png</NormalMap>
<ShaderPath>Data/GLSL/cubemapobj</ShaderPath>
<ShaderName>normalmap</ShaderName>
</Object>
Re: texture creation - unhandled OG XML version
Have you tried changing the shaderpath to "Data/GLSL/cubemap" and the shadername to "cubemap" - This seems to be a newer version of the shader, I think that people have had similar problems before.
Code: Select all
<?xml version="1.0" ?>
<Object>
<Model>Data/Custom/Stormy/Models/Props/signpost_01.obj</Model>
<ColorMap>Data/Custom/Stormy/Textures/Props/signpost_01_dif.png</ColorMap>
<NormalMap>Data/Custom/Stormy/Textures/Props/signpost_01_nor.png</NormalMap>
<ShaderPath>Data/GLSL/cubemap</ShaderPath>
<ShaderName>cubemap</ShaderName>
</Object>
-
- Posts: 161
- Joined: Sat Mar 12, 2011 2:42 am
Re: texture creation - unhandled OG XML version
Yeah I had tried that, and a plethora of other things, delving my fingers into the deepest oozing depths of the engine etcetera and so on.
Turns out the engine doesn't support diffuse maps that are not square. Mine is a 512*256 texture, as it is a tall post. So no matter what I did it wasn't going to work.
SQUARE TEXTURES EVERYONE, I GOT IT, RELAX.
But seriously, thanks to everyone on the IRC, immensely helpful, I just wish it was a more hardcore problem to validate all that time wasted.
Turns out the engine doesn't support diffuse maps that are not square. Mine is a 512*256 texture, as it is a tall post. So no matter what I did it wasn't going to work.
SQUARE TEXTURES EVERYONE, I GOT IT, RELAX.
But seriously, thanks to everyone on the IRC, immensely helpful, I just wish it was a more hardcore problem to validate all that time wasted.
Re: texture creation - unhandled OG XML version
Black_Stormy wrote:Yeah I had tried that, and a plethora of other things, delving my fingers into the deepest oozing depths of the engine etcetera and so on.
Turns out the engine doesn't support diffuse maps that are not square. Mine is a 512*256 texture, as it is a tall post. So no matter what I did it wasn't going to work.
SQUARE TEXTURES EVERYONE, I GOT IT, RELAX.
But seriously, thanks to everyone on the IRC, immensely helpful, I just wish it was a more hardcore problem to validate all that time wasted.
Well, you did find a serious UI problem - the lack of an error message that would make this as easy to fix as it should have been. I hope you've contacted one of the devs about this. You could even report it as a bug, because this is likely to come up more than once or twice.
-
- Posts: 161
- Joined: Sat Mar 12, 2011 2:42 am
Re: texture creation - unhandled OG XML version
Yeah I was talking to Ninjas and the other dudes on IRC. I'm going to put a post in the wiki about it, hopefully support for rectangular textures will be added eventually.