IM files?

Dan_Hat

New member
Hey

How do you edit IM files? im trying to reskin robin hoods F59 and the superliner II coach but there stored as IM files

also does anyint know if there are other 2 deck carriages and 2-1 deck carriages?
 
.IM files cannot be edited in that way.

Anyway, why do you want to edit the .IM file?

The file(s) you should be looking for are image files, with a .bmp,.jpg, or .tga extension.

If it is a .texture file, you will need to use PEV's Images2TGA tool.

Shane
 
To add to the above, IM files are not image files that can be edited with a graphics program, but the exported versions of virtual 3D meshes (eg. from TACS/GMax) which are recognised by Trainz.

Perhaps the IM designation is misleading at first sight.

Ray
 
Hmmm - in loading assets into TRS12, I'm getting a bunch of red exclamation marks that are due to textures not being loaded for a mesh .im file. The image and the texture.txt files are often present and appear to be consistent with each other and the requirement that the image be of a size that is a power of 2. How can these problems be addressed? Or can they be addressed unless the original author takes care of them?

Dick
 
Hmmm - in loading assets into TRS12, I'm getting a bunch of red exclamation marks that are due to textures not being loaded for a mesh .im file. The image and the texture.txt files are often present and appear to be consistent with each other and the requirement that the image be of a size that is a power of 2. How can these problems be addressed? Or can they be addressed unless the original author takes care of them?

Dick

I've seen one or two files like that in 2010 too. It looks as though this happens when the .im file includes a material that references a map (a reflectivity map for example) that isn't recognised by later versions of Trainz. And the bad news is, I believe that it is the case that only the original author can deal with the problem.
 
Am I IM?

http://members.optusnet.com.au/~villaump/pevsoft.htm

I haven't had a chance to look over the latest PEV tools yet, but in the past I've fixed the first problem by opening the IM with PM2IM and "converting" it to IM even though it's already an IM. Main thing is have the "Strip Textures" checked on, then create IM, it will overwrite the original with a new IM that has faulty textures stripped out. Generally the cause of that is an error in the mesh, for example the original model creator assigned ash.texture to a.bucket1 on a conveyor belt then forgot to create the a.bucket1 attachment on the conveyor. Previous versions of Trainz merely ignored those errors.

Second item, "power of 2" means starting with the number 2, multiply by 2. So you have 2, 4, 8, 16, 32, 64, 128, 256, 512, and 1024, or even 2048 if you want to get nuts. A texture of 512x512 pixels is okay, or 512x128 or 128x32, it doesn't have to be square but the height and width have to be divisible by 2 all the way down to 2. That wasn't always the case, so some early models had textures that were (for example) 192x56 pixels, those numbers are not a power of 2. To fix those, find the closest power of 2 dimension and resize the texture in an image editor, for that example I would resize the 192x56 pixels to 256x64. It shouldn't distort anything, since the mapping will stretch or shrink the texture to fit the mesh.
 
Back
Top