There are 2 file types use the .TEXTURE file extension:
1. Trainz Auran Texture File
A TEXTURE file contains texture information about an object used by various 3D train simulation games in the Trainz series. It stores information in the binary Auran texture format that configures the display behavior of the texture and one or more texture component images (typically .JPG, .BMP, or .TGA files). TEXTURE files may be utilized for any object that appears in the Trainz game, such as train cars, planes, ships, cars, people, animals, buildings, bridges, and trees.
The Texture format was introduced in 2000 by Auran with the release of version 0.9 (beta) of Trainz. Auran still holds the rights to the Texture format, but it licenses it to N3V Games, which develops installments in the Trainz series. While the format is old, it is still supported by newer releases of Trainz (due to its backward compatibility), such as Trainz: A New Era (TANE), which was released in 2015, and Trainz Railroad Simulator 2019 (TRS19).
How are TEXTURE files used by Trainz?
TEXTURE files typically depict a 3D wrapper for all or part of an object in the Trainz game. A complex object, such as a shopping mall with several stores with differing appearances, could require dozens of textures for the asset. Or a common boxcar, with hitches, wheels, truck, frame, and body would have at least one texture for each mesh used by the object.
Some TEXTURE files may be used by more than one mesh. For example, an office complex with differently shaped and configured buildings that all feature the same brick exterior.
How do I create a TEXTURE file?
When creating an asset in Trainz, a user places a texture.txt file and the original JPG, BMP, or TGA texture image files used to texture the asset in the asset's home folder. The texture.txt file contains information about the texture in key-value pairs. The asset also requires a config.txt configuration file that includes instructions to direct Trainz on how to process the asset.
As a user creates an asset, he commits it to the Trainz database with the Content Manager (CM) utility included with the Trainz installation. The CM utility combines the texture.txt file with the related texture images into a TEXTURE file in the binary Auran format to save space and decrease loading time.
CM also packages the TEXTURE file into a CHUMP data file, which is a Trainz data format optimized for speed and referenced at runtime. The TEXTURE file is packaged in the CHUMP file with other asset files related to the object, such as animations (spinning wheels, swaying, smoke and vapor emissions, etc.) and sound effects attributes.
When would I encounter a TEXTURE file?
TEXTURE files are compressed in CHUMP data files, most TRAINZ users will not encounter them. Trainz users looking to modify objects that appear during gameplay are typically the only users who will encounter TEXTURE files. When a user opens an asset that was previously entered into the database with CM, the utility unpacks the files packaged in the CHUMP data file, which includes the TEXTURE file.
TEXTURE files are not meant to be directly opened unless you are looking to modify the image(s) or the processing instructions in the texture.txt configuration file.
If you are using Trainz Railroad Simulator 2006 (TRS2006), you can use the Content Manager Plus (CMP) module included with the simulator to decompress TEXTURE files. However, if you are using Trainz Railroad Simulator 2009 (TRS2009) or later, you can no longer perform this function with the CMP module.
You can also utilize various third-party tools to decompress TEXTURE files and split the text and images stored in the file into a .TXT file and the texture image file(s). Some utilities include two versions of PEVsoft's Images2TGA utility (32- & 64-bit) as well as the Texture2TGA_con.exe utility, which is rare. Some Trainz assets require a specific version of these utilities, with most only needing the older 32-bit Images2TGA utility, while some more recent assets that utilize advanced and newer imaging capabilities need the other.
After splitting the text and images compressed in a TEXTURE file, you can modify the key-value pair text with a text editor and the JPEG, TGA, or BMP texture images with an image editor, such as GIMP, IrfanView, or Adobe Photoshop.
Updated: February 11, 2021
2. Diesel Engine Game Texture File
A TEXTURE file is an image file saved in a raster image format and is used by Diesel engine games, such as Ballistics, Flatout, Payday: The Heist, and Payday 2. It contains a texture image for an item, character, or environment in the game. TEXTURE files are saved in the same format as .DDS files.
You most likely will not encounter TEXTURE files when playing one of the Diesel engine games. However, if you like to modify gameplay, you can open and edit TEXTURE files to change the appearance of items, characters, and environments in the game.
TEXTURE files are not widely supported, which makes viewing and editing them difficult. However, since they are saved in the same format as DDS files, you can simply rename the .texture extension to .dds and view or edit the texture image as a DDS file. Some programs you can use are XnViewMP, Windows Texture Viewer, and Adobe Photoshop with the NVIDIA DDS plugin. After you are done modifying the file, rename the .dds extension to .texture and place it back in the appropriate directory.
Updated: June 19, 2017