Trainz/Copying Assets Between Versions And Copies Of Trainz

From Wikibooks, open books for an open world
< Trainz
Jump to: navigation, search

Introduction[edit]

This chapter is concerned with copying assets, i.e. Trainz data files.

All copying of assets is potentially subject to copyright considerations but this chapter does not address that issue. Nor does it address the uploading of content so as to make it available to the general public on Auran's DLS system or a third-party Trainz fansite. Uploading is covered in a separate chapter of this book.

You may wish to copy assets in situations such as the following:

  • You are upgrading to a new computer.
  • You have two or more different versions of Trainz installed on the same computer.
  • You have copies of Trainz installed on two or more computers.
  • You wish to exchange assets with a small number of friends.

Physical Copying Between Computers[edit]

Subject to the amount of data involved, all the normal ways of transferring files between computers can be used, such as:

  • Floppy disks.
  • USB memory sticks.
  • Iomega Zip Disks.
  • Portable USB hard disks.
  • Writable CD's.
  • Writable DVD's.
  • Via local wired or wireless networks.
  • As email attachments.
  • Uploading to a private web space area, from where the recipient can download.

Some Fundamental Concepts[edit]

Many Trainz assets have dependencies. A separate section of this book lists the hierarchy of dependencies. Assets such as Driver sessions, scenarios and layouts often have a very large number of dependencies. Rolling stock assets often have a relatively low number of dependencies. Assets will not work unless all their dependencies are present.

It is possible to copy assets in two fundamentally different ways:

  • Copy the pre-installation distribution file(s). A distribution file is a file you download. On Auran's DLS system the distribution files are CDP files. On third-party Trainz fansites the distribution files can be in a variety of formats such as CDP, self-installing EXE, RAR compressed archives, or ZIP compressed archives. In general, a distribution file can contain any number of assets.
  • Copy the post-installation files.

Copying Pre-Installation Distribution Files[edit]

Distribution files can be copied between computers and installed on each. To install a CDP or EXE file, view it in Windows Explorer and double-click it. To install any other type of distribution file, refer to the instructions from the source of the file.

With Auran's DLS, by default the distribution CDP files are downloaded, run and deleted behind the scenes. This is the same concept as used by the Microsoft Update system. The distribution CDP files can be retained if they are downloaded using the FTP option, but then each asset must be downloaded separately; there is no automatic system to download dependencies with FTP.

With third-party Trainz fansites the situation varies but in most cases the default is to download the distribution files, hence retaining them naturally.

Copying Post-Installation Files[edit]

TRS2004 to TRS2004 - downloaded assets
Copy the relevant KUID folders in the C:\Program Files\Auran\TRS2004\World\Dispatcher\Downloads folder to the corresponding place on the destination computer. Then manually delete the C:\Program Files\Auran\TRS2004\Cache\world_cache_Dispatcher.chump file. It will usually be appropriate to only copy the top-level assets and then use the free third-party Trainz Objectz asset management program to list any missing dependencies.
TRS2004 to TRS2004 - self-created assets
Either copy the relevant folders in the C:\Program Files\Auran\TRS2004\World\Custom folder to the corresponding place on the destination computer and then manually delete the C:\Program Files\Auran\TRS2004\Cache\world_cache_Dispatcher.chump file, or (and much more preferably) use the Content Dispatcher sub-program supplied with Trainz to convert them to CDP files, which can then be installed on the recipient's computer as if they had been downloaded.
TRS2004 to TRS2006
(not yet written)
TRS2004 to TC
(not yet written)
TRS2006 to TRS2006
(not yet written)
TRS2006 to TC
(not yet written; needs to include instructions for transferring those built-in assets which TC lacks)
Any transfers from later versions to earlier versions (eg TRS2006 to TRS2004)
(not yet written; is this needed?)