Texture question

nfitzsimmons

New member
I've been buisily fixing assets to work in 2009 (and learned much in the process,) but I'm finding some assets that give me the error:
"unable to load texturename.tga or texturename.bmp." The texture file opens fine in Paint Shop Pro, it's uncompressed (if it's a tga file,) it's sized to a power of 2, the texture.txt file is correct,but it just won't load.

I'm seeing a number of these.

Anybody have any ideas as to why not?

Thanks.

Nick
 
I've been buisily fixing assets to work in 2009 (and learned much in the process,) but I'm finding some assets that give me the error:
"unable to load texturename.tga or texturename.bmp." The texture file opens fine in Paint Shop Pro, it's uncompressed (if it's a tga file,) it's sized to a power of 2, the texture.txt file is correct,but it just won't load.

It's nothing to do with the textures themselves in this case. The mesh has some texture calls in it that are not supported by Trainz, and CM2 now flags these as an error and gives us that stupidly confusing message.

My PM2IM tool can strip out unwanted texture references.. get it from
http://www.members.optusnet.com.au/~villaump/pevsoft.htm
 
Sorry, I should have been more clear. This still occurs after I've run PM2IM. (By the way, your tools have been a really big help with asset repair. Thanks for them.)
 
Sorry, I should have been more clear. This still occurs after I've run PM2IM. (By the way, your tools have been a really big help with asset repair. Thanks for them.)

Unfortunately some assets have incorrect use of the bump map slot in the mesh. My tools don't automatically recognise that, because the bump map slot is supported by the game. If the user has attempted to use GMax to make a bump mapped object they fail to detect this.
 
Back
Top