Help:VE73

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Create page from error message.)
 
 
Line 1: Line 1:
 
- VE73: Image file ''imagefilename'' is incorrectly used as both a texture.txt source file and a raw image file.
 
- VE73: Image file ''imagefilename'' is incorrectly used as both a texture.txt source file and a raw image file.
 +
 +
This error is telling you that the config file references an image (in this case, product.tga) directly, when there is also a .texture.txt file that uses the same image file.
  
 
Generally, where an image file is required it should be provided as a texture (ie, '...texture.txt') file.  However, there are some tags in config.txt which allow reference to an image file using the image file name.  If an image file name is used, then it must not also be referred to from a texture file.  
 
Generally, where an image file is required it should be provided as a texture (ie, '...texture.txt') file.  However, there are some tags in config.txt which allow reference to an image file using the image file name.  If an image file name is used, then it must not also be referred to from a texture file.  
 +
 +
Content Manager will compile the .texture.txt and the image file it references into a .texture file when the asset is committed. This .texture file is the most efficient way for Trainz to load an image texture - the vast majority of the work such as texture compression has been done beforehand by Content Manager.
  
 
An example of a tag that allows an image file name is the 'image' tag for a thumbnail.
 
An example of a tag that allows an image file name is the 'image' tag for a thumbnail.
 +
 +
Solution: Ensure the texture.txt file is referenced instead of the tga file.
  
 
Options are:
 
Options are:
 
* Change the tag value from an image file name to a texture file (where allowed), or
 
* Change the tag value from an image file name to a texture file (where allowed), or
 
* Create a copy of the image file under a new name, and adjust the tag value to the changed file name.
 
* Create a copy of the image file under a new name, and adjust the tag value to the changed file name.
 +
 +
Steps:
 +
 +
Open the config file
 +
Change <name>.tga to <name>.texture (where <name> is the name of your image)
 +
Update the KUID to the next revision version
 +
Commit the asset
 +
Upload the newly revised asset to the DLS.
  
 
For information about texture files, please see: [[Texture_file]]
 
For information about texture files, please see: [[Texture_file]]
  
 
[[Category:Validation Errors]]
 
[[Category:Validation Errors]]

Latest revision as of 13:55, 13 June 2018

- VE73: Image file imagefilename is incorrectly used as both a texture.txt source file and a raw image file.

This error is telling you that the config file references an image (in this case, product.tga) directly, when there is also a .texture.txt file that uses the same image file.

Generally, where an image file is required it should be provided as a texture (ie, '...texture.txt') file. However, there are some tags in config.txt which allow reference to an image file using the image file name. If an image file name is used, then it must not also be referred to from a texture file.

Content Manager will compile the .texture.txt and the image file it references into a .texture file when the asset is committed. This .texture file is the most efficient way for Trainz to load an image texture - the vast majority of the work such as texture compression has been done beforehand by Content Manager.

An example of a tag that allows an image file name is the 'image' tag for a thumbnail.

Solution: Ensure the texture.txt file is referenced instead of the tga file.

Options are:

  • Change the tag value from an image file name to a texture file (where allowed), or
  • Create a copy of the image file under a new name, and adjust the tag value to the changed file name.

Steps:

Open the config file Change <name>.tga to <name>.texture (where <name> is the name of your image) Update the KUID to the next revision version Commit the asset Upload the newly revised asset to the DLS.

For information about texture files, please see: Texture_file

Personal tools