"Trainz-build" tag

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(+{{ORP-top}}+{{ORP-bot}} & expand text and give context for newbies,)
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{ORP-top}}
 
{{ORP-top}}
A '''Trainz build version number or tag''' is the numbering system indicating the asset (or content's) '''tech-level''' for an asset built to the specifications of a '''[[Trainz build versions|Trainz code build version]]'''. Exactly what makes up legal fields in a '''trainz-build tag''' ''level'' has evolved over the years, and is the source of some of the errors in the download of older content. Some required {{wp|data type}}s have been eliminated, some added, and some
+
==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.
'''[[Trainz build versions|Trainz code build]]''' or version numbers are assigned first to each released ''''''retail version/retail release'''''' of Trainz, then change by application of {{wp|Hot fix}}es and {{wp|Service packs}}, but while the hot fixes change the code build number, they do not advance the Trainz-build version number, which nowadays will be displayed on the title bar of {{h|ContentManager.exe}} (this is a recent improvement). Content may be created for different versions, making use of the newer functions in a more recent release, when it does so, it must be assigned the corresponding Trainz-build tag tech-level or version number. Consequently, some new-generation assets will not function in earlier versions of the simulator. Some older one's need tweaked, so called {{h|Error fixing}} to comply with the three newer {{wp|Graphical_user_interface|GUI run time}} modules typically affected by service pack releases: {{H|Surveyor}}, {{H|Railyard}} and {{H|Driver}}.  
+
  
It is important for assets to list the version of Trainz with which they are compatible. For older Trainz builds, this is done by entering a Trainz-Build number in the model config.txt file. [[Content Creator Plus]] 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 correctly-constructed asset built for an older version will usually function in a newer version of Trainz, but this is not always guaranteed, as there have been amendments made to subsequent versions. ''(TBD: List of known breaking changes.)'' 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 [[Content Manager]], it will not allow the download of a more recent model that is incompatible with your version.
+
  
The approved Trainz-Build version numbers are as follows:
 
  
{| border=2 cellpadding=5 cellspacing=2
+
A complete list of supported [["Trainz-build" number]]s can be found [["Trainz-build" number|here]].
|'''trainz-build'''<br>tech-level <br/>version or tag# || '''First Trainz product versions<br/>to support the listed content<br/>tech-level (buiild-tag) version'''
+
|-
+
| {{center|1.0 }} || [[Trainz SP3|Trainz SP3]]
+
|-
+
| {{center|1.1 }} || [[Trainz SP3|Trainz SP1]]
+
|-
+
| {{center|1.2 }} || [[Trainz SP3|Trainz SP2]]
+
|-
+
| {{center|1.3 }} || [[Trainz SP3|Trainz SP3]]
+
|-
+
| {{center|1.5 }} || Ultimate Trainz Collection
+
|-
+
| {{center|1.6 }} || Ultimate Trainz Collection SP1
+
|-
+
| {{center|2.0 }} || [[TRS2004]]
+
|-
+
| {{center|2.1 }} || [[TRS2004]] SP1
+
|-
+
| {{center|2.2 }} || [[TRS2004]] SP2 - Passenger Pack
+
|-
+
| {{center|2.3 }} || [[TRS2004]] SP3
+
|-
+
| {{center|2.4 }} || [[TRS2004]] SP4
+
|-
+
| {{center|2.5 }} || [[TRS2006]]
+
|-
+
| {{center|2.6 }} || [[TRS2006]] SP1
+
|-
+
| {{center|2.7 }} || Trainz Classics 1&2
+
|-
+
| {{center|2.8 }} || Trainz Classics 3
+
|-
+
| {{center|2.9 }} || [[TS2009]]
+
|-
+
| {{center|3.0 }} || [[TS2009 SP1]]
+
|-
+
| {{center|3.1 }} || [[TS2009 SP2]]
+
|-
+
| {{center|3.2 }} || [[TS2009 SP3]] / [[TS2010]]
+
|-
+
| {{center|3.3 }} || [[TS2010 SP3]] / [[TS2009 SP4]]
+
|-
+
| {{center|3.4 }} || [[TS2010 SP4]]
+
|-
+
| {{center|3.5 }} || [[TS12]]
+
|-
+
| {{center|3.6 }} || [[TS12]] and [[Trainz Simulator Mac]]
+
|-
+
| {{center|3.7 }} || [[TS12 SP1]]
+
|}
+
  
Trainz-build numbers up to and including 2.8 are considered by N3V programmers as obsolete as of September 2012 and they believe they should no longer be used. Content Creators, being wiser should apply the lowest build tag level the asset needs to reach the widest possible number of Trainzers, no matter how much like a four year old brat N3V kicks and screams about the [[Trainz Life-Cycle Policy]]<!-- for additional details-->.
 
  
[[Category:Config Tag]]
+
==Asset compatibility==
{{TBKR}}
+
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.
{{ORP-bot}}
+
&nbsp;
 +
 
 +
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.
 +
&nbsp;
 +
 
 +
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.
 +
&nbsp;
 +
 
 +
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''.
 +
&nbsp;
 +
 
 +
 
 +
{{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