TGA to .Texture

Andres_Nunez

Buffalonian
hello all i recently reskinned a train and saved the reskinned the file as a .TGA but the original was a .TEXTURE and when i opened it up in mesh viewer there was no texturing just a naked mesh. Is there a way to fix it or to convert the .TGA to a .TEXTURE? i could really use the help. I'm a noob at reskinning, even i though i know the basics to reskinning i have not done it this far.
 
Probably need to start here;

http://en.wikibooks.org/wiki/Trainz/Basic_Reskinning_for_beginners

Of the basic files in a train car or loco;

whatever.pm or whatever.im - mesh files, this is the shape the textures are applied to. .pm is obsolete, use PM2IM to convert them if you're updating old stuff.

whatever.texture - this is a compiled file which contains whatever.texture.txt and whatever.tga. When you reskin something that has a whatever.texture file, you use images2TGA to decompile it, that creates the whatever.texture.txt and whatever.tga files, which you can then edit.

Best method is to delete the whatever.texture file after the whatever.texture.txt and whatever.tga files are created so PEV mesh viewer displays what you edited in the .tga file instead of showing the original .texture image. You no longer need the whatever.texture files after that, those are only used for built in content. Other thing to check, if you're using something like paint.net or gimp, check the Save As options to make sure you're saving UNCOMPRESSED tga files, compressed tga files won't work.
 
Probably need to start here;

http://en.wikibooks.org/wiki/Trainz/Basic_Reskinning_for_beginners

Of the basic files in a train car or loco;

whatever.pm or whatever.im - mesh files, this is the shape the textures are applied to. .pm is obsolete, use PM2IM to convert them if you're updating old stuff.

whatever.texture - this is a compiled file which contains whatever.texture.txt and whatever.tga. When you reskin something that has a whatever.texture file, you use images2TGA to decompile it, that creates the whatever.texture.txt and whatever.tga files, which you can then edit.

Best method is to delete the whatever.texture file after the whatever.texture.txt and whatever.tga files are created so PEV mesh viewer displays what you edited in the .tga file instead of showing the original .texture image. You no longer need the whatever.texture files after that, those are only used for built in content. Other thing to check, if you're using something like paint.net or gimp, check the Save As options to make sure you're saving UNCOMPRESSED tga files, compressed tga files won't work.


ok i reskinned it, it showed up in Mesh Viewer. Now do i delete the Texture.txt it created?
 
The .texture.txt file is not to be deleted, as it is a pointer to the .tga/.bmp/.jpg file, which Content Manager will use to create the .texture file on commit.

Shane
 
Let's start with basics. A filename has two parts, the name and the "extension". The extension is always after the last period, usually three letters, which defines the type of file. .exe is an executable, .tga, .bmp or .jpg are examples of image files, .txt and .doc would be text files. Windows (for whatever reason) hides file extensions by default, and also by default displays cute little pictures instead of filenames.

http://www.trainsim.com/vbts/showthread.php?304396-Windows-Explorer-for-dummies

That's the way I have Windows Explorer set up, so the following pictures won't look the same on your system unless you set yours up that way too. Which I heartily recommend since if you're gonna hack files it helps to know what you're hacking.

23666822.jpg


Cloning a built in, all I got is .texture files.

57910685.jpg


Right click in the content manager list, select Open With Images2TGA. Tutorial on how to set up the Open With is on PEV's page, http://members.optusnet.com.au/~villaump/pevsoft.htm

18624783.jpg


That creates the .texture.txt and .tga files I actually need, if you have explorer set up according to my tutorial you can click the Type header to group files according to type, to easily find and delete all the .texture files while leaving the .texture.txt and .tga files alone since you need those. CTRL click selects multiple files, SHIFT click selects files between the first click and the second.
 
Back
Top