texture creation - unhandled OG XML version

A secret forum for people who preorder Overgrowth!
Post Reply
User avatar
m3nace
Posts: 406
Joined: Sun Jul 26, 2009 11:00 am

texture creation - unhandled OG XML version

Post by m3nace » Fri Aug 07, 2009 1:38 am

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?

User avatar
Hale
Posts: 172
Joined: Thu Jul 17, 2008 7:53 pm
Location: Severna Park, MD

Re: texture creation - unhandled OG XML version

Post by Hale » Fri Aug 07, 2009 11:12 am

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.

User avatar
m3nace
Posts: 406
Joined: Sun Jul 26, 2009 11:00 am

Re: texture creation - unhandled OG XML version

Post by m3nace » Fri Aug 07, 2009 3:02 pm

not a stupid question though but i have an object and the paths lead to wherever they should

User avatar
Black_Stormy
Posts: 161
Joined: Sat Mar 12, 2011 2:42 am

Re: texture creation - unhandled OG XML version

Post by Black_Stormy » Sat Mar 12, 2011 8:16 am

I'm going to bump this thread, I'm having the same problem importing a model.

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>
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.

User avatar
Black_Stormy
Posts: 161
Joined: Sat Mar 12, 2011 2:42 am

Re: texture creation - unhandled OG XML version

Post by Black_Stormy » Sat Mar 12, 2011 12:57 pm

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:

Image

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>
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!

Spinnacre
Posts: 45
Joined: Thu Jun 25, 2009 1:03 pm

Re: texture creation - unhandled OG XML version

Post by Spinnacre » Sat Mar 12, 2011 3:34 pm

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>

User avatar
Black_Stormy
Posts: 161
Joined: Sat Mar 12, 2011 2:42 am

Re: texture creation - unhandled OG XML version

Post by Black_Stormy » Sat Mar 12, 2011 4:19 pm

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.

User avatar
Endoperez
Posts: 5668
Joined: Sun Jan 11, 2009 7:41 am
Location: cold and dark and lovely Finland

Re: texture creation - unhandled OG XML version

Post by Endoperez » Sat Mar 12, 2011 4:31 pm

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.

User avatar
Black_Stormy
Posts: 161
Joined: Sat Mar 12, 2011 2:42 am

Re: texture creation - unhandled OG XML version

Post by Black_Stormy » Sat Mar 12, 2011 5:19 pm

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.

Post Reply