TextureTXT
TextureTXT is a simple utility to create Trainz texture.txt files for image files. The program can scan a folder for images and create texture.txt files for any images found, or it can use just one image file and create a texture.txt for that.Usage/How it works
For JPG images the texture.txt file is named after the image. eg if the program finds the image "test1.jpg", a texture.txt file named "test1.texture.txt" will be created and it will contain the following lines:-
Primary=test1.jpg
Tile=st
________________
Similarly for BMP images the texture.txt file is named after the image. eg if the program finds the image "mytest.bmp", a texture.txt file named "mytest.texture.txt" will be created and it will contain the following lines:-
Primary=mytest.bmp
Tile=st
_________________
For TGA images, the texture.txt file will again be named after the image. eg if the program finds the image "minx.tga" and it is a 24bit colour image with no alpha channel, the "minx.texture.txt" file will contain these line:-
Primary=minx.tga
Tile=st
If the "minx.tga" image is a 32 bit masked alpha (black and white alpha) the "minx.texture.txt" file will contain:-
Primary=minx.tga
Alpha=minx.tga
Tile=st
AlphaHint=masked
And finally, if the "minx.tga" image is a 32 bit blended alpha (any shade of white through to black in the alpha channel) the "minx.texture.txt" file will contain:-
Primary=minx.tga
Alpha=minx.tga
Tile=st
AlphaHint=semitransparent
Downloading the tool
Current version is 1.01.
This tool can be download using the following link:
Download TextureTXT
No other PEVSoft tools are required to use this tool.