"Trainz-build" tag

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
 
(38 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Trainz build is the numbering system allocated to each released version of Trainz. Content may be created for different versions, making use of the newer functions in a more recent release. Consequently, some models will not
+
{{ORP-top}}
function in earlier versions of the simulator.
+
==Trainz-build tag number==
 +
The [["Trainz-build" tag]] indicates the minimum trainz version required to use an asset. Trainz will not attempt to load an asset which has a trainz-build tag that is newer than it's own [["Trainz-build" number]], however it is possible to download and edit newer versions.
  
It is important for models to list the version of Trainz for which they are compatible. For older Trainz builds, this is done by entering a Trainz-Build number in the model config.txt file. The Content Creator Plus module will automatically add the correct trainz-build to the config.txt file.
+
This tag is also a general indication of the age of the asset, and the general technical configuration and standards to which it is built. Assets with old Trainz-build numbers are not built to take advantage of new Trainz features that did not exist in the version of Trainz that the asset was built for, and the oldest used approaches which have been entirely abandoned. Newer Trainz releases do their best to translate these older technologies into the newer releases standards (data organization and graphical tech) but some small percentage of assets cannot be converted.
  
A model constructed for an older version may function in a newer version, but this is not guaranteed, as there have been amendments made to subsequent versions. Likewise, a model using the latest functions will not work in an earlier version.
+
The tag is a decimal number, with no explanatory text or other embellishments. If the tag is missing or malformed, Trainz will assume a very early version and may report warnings or errors.
The Download Station identifies which version of Trainz you have installed and when you use the Download Helper option, it will not allow the download of a more recent model that is incompatible with your version.
+
  
The approved Trainz-Build version numbers are;
 
  
trainz-build 1.3 for Trainz SP3
+
A complete list of supported [["Trainz-build" number]]s can be found [["Trainz-build" number|here]].
trainz-build 1.5 for Ultimate Trainz Collection
+
trainz-build 1.6 for Ultimate Trainz Collection SP1
+
trainz-build 2.0 for Trainz Railroad Simulator 2004
+
trainz-build 2.1 for Trainz Railroad Simulator 2004 SP1
+
trainz-build 2.2 for Trainz Railroad Simulator 2004 SP2 - Passenger Pack
+
trainz-build 2.3 for Trainz Railroad Simulator 2004 SP3
+
trainz-build 2.4 for Trainz Railroad Simulator 2004 SP4
+
trainz-build 2.5 for Trainz Railroad Simulator 2006
+
trainz-build 2.6 for Trainz Railroad Simulator 2006 SP1
+
trainz-build 2.7 for Trainz Classics 1&2
+
trainz-build 2.8 for Trainz Classics 3
+
trainz-build 2.9 for Trainz Railroad Simulator 2009
+
trainz-build 3.0 for Trainz Railroad Simulator 2009 SP1
+
trainz-build 3.1 for Trainz Railroad Simulator 2009 SP2
+
  
  
[[Category:Config Tag]]
+
==Asset compatibility==
 +
It is important for an asset to list the correct Trainz-build in the [[config.txt file]]. It specifies the version of Trainz the asset was intended to be used with. An earlier version of Trainz will refuse to load the asset. A later version of Trainz will enable appropriate backwards compatibility workarounds (e.g. using different validation requirements) as required.
 +
 
 +
 
 +
A correctly-constructed asset built for an older version will usually function in a newer version of Trainz. However, Trainz content validation is improved over time, and newer versions of Trainz detect errors that older versions did not pick up on. Some content may be detected as 'faulty' in a current Trainz version that was missed in the version it was originally created for.
 +
 
 +
 
 +
It should be noted that content that is uploaded to the [[Download Station]] is validated by the most recent version of Trainz, using the validation compatibility for the trainz-build specified by the asset.
 +
 
 +
 
 +
If [[Content Creator Plus]] is used to modify an asset, it will automatically update the trainz-build version in the config.txt file to the current Trainz version. If this version has changed significantly, other changes to the config.txt file will probably be required.
 +
Assets which are manually edited will need the appropriate version entered. If the line is omitted entirely, the lowest possible version is assumed. This is currently ''Trainz-build 1.3''.
 +
 
 +
 
 +
 
 +
{{TBKR|trainz-build tag}}
 +
[[Category:Config Tag|trainz-build tag]]
 +
[[Category:Trainz fundamentals pages|trainz-build tag]]
 +
{{ORP-bot|trainz-build tag}}

Latest revision as of 10:23, 15 May 2015

[edit] Trainz-build tag number

The "Trainz-build" tag indicates the minimum trainz version required to use an asset. Trainz will not attempt to load an asset which has a trainz-build tag that is newer than it's own "Trainz-build" number, however it is possible to download and edit newer versions.

This tag is also a general indication of the age of the asset, and the general technical configuration and standards to which it is built. Assets with old Trainz-build numbers are not built to take advantage of new Trainz features that did not exist in the version of Trainz that the asset was built for, and the oldest used approaches which have been entirely abandoned. Newer Trainz releases do their best to translate these older technologies into the newer releases standards (data organization and graphical tech) but some small percentage of assets cannot be converted.

The tag is a decimal number, with no explanatory text or other embellishments. If the tag is missing or malformed, Trainz will assume a very early version and may report warnings or errors.


A complete list of supported "Trainz-build" numbers can be found here.


[edit] Asset compatibility

It is important for an asset to list the correct Trainz-build in the config.txt file. It specifies the version of Trainz the asset was intended to be used with. An earlier version of Trainz will refuse to load the asset. A later version of Trainz will enable appropriate backwards compatibility workarounds (e.g. using different validation requirements) as required.  

A correctly-constructed asset built for an older version will usually function in a newer version of Trainz. However, Trainz content validation is improved over time, and newer versions of Trainz detect errors that older versions did not pick up on. Some content may be detected as 'faulty' in a current Trainz version that was missed in the version it was originally created for.  

It should be noted that content that is uploaded to the Download Station is validated by the most recent version of Trainz, using the validation compatibility for the trainz-build specified by the asset.  

If Content Creator Plus is used to modify an asset, it will automatically update the trainz-build version in the config.txt file to the current Trainz version. If this version has changed significantly, other changes to the config.txt file will probably be required. Assets which are manually edited will need the appropriate version entered. If the line is omitted entirely, the lowest possible version is assumed. This is currently Trainz-build 1.3.  

Personal tools