How to Perform Database Repairs

From TrainzOnline
Revision as of 07:05, 7 November 2023 by Pware (Talk | contribs)

Jump to: navigation, search
The information in this Wiki Page applies to TANE, TRS19, Trainz Plus and TRS22. This guide will take you through the process of performing manual asset updates using Content Manager. Updates occur whenever new versions of assets installed on your system are uploaded to the DLS.

Contents

NotePad.PNG Notes:

The section describing how to create a Clean Install (i.e. containing only Base and Built-in assets) has been removed because the technique described no longer works in the latest versions of Trainz.

BlueDot10x10.png Trainz will perform automatic updates when in Driver and Surveyor modes but you have little control over when and how this occurs


  Top   Next Down Bottom

Set Up An Update Filter

PencilTips.PNG
DotPoint.JPG a Update Filter allows you to easily perform this operation at any time
DotPoint.JPG because this is something that you will probably be doing on a regular basis, it would be a good idea to save the filter to perform the task of searching for asset updates.


Steps:
DotPoint1.JPG Open a Content Manager Filter:
Update Filter01.png
DotPoint1Blue.png from the Trainz Launcher, select  Manage Content 
DotPoint2Blue.png in the Filter drop down box, select Custom...


This will produce the following filter options...
Update Filter02a.png

DotPoint2.JPG Configure:
Update Filter03.png
DotPoint1Blue.png open the Asset KUID drop down box and select Out of date
DotPoint2Blue.png leave the Out of date setting at True


This will produce the following filter options...
Update Filter04a.png

DotPoint3.JPG ... and Configure:
Update Filter04.png
DotPoint1Blue.png delete the Name filter by a  Left Click  on its CMFilterDeleteBtn.png button on its extreme right


The final filter selection will look like ...
Update Filter05.png

DotPoint4.JPG Save:
DotPoint1Blue.png click the Save button
DotPoint2Blue.png enter a meaningful name for your filter and click Ok
Update Filter06.png


You can now select and run this filter whenever you want to check for and install any asset updates.

  Top Next Up Next Down Bottom

Updating Assets "Installed From DLS"

If you run your new filter and see one or more updated assets available for download that were "Installed from DLS", then the process is very simple.


Update DLS01.png
PencilTips.PNG Clicking the Status column heading will sort the order of the rows into order so that all the "Available for download" updates will be grouped together. A second click may be needed to bring them to the top of the list or closer to the top.


Steps: To download and install all the updated assets:-
DotPoint1.JPG highlight all the items in the list shown as Installed from DLS in the Status column
DotPoint2.JPG  Right Click  on any one of the items and select Download from the popup menu
Update DLS02.png

If the selected items have any new or updated dependencies that are also on the DLS then Content Manager will automatically find and download them as well


LinkWiki.PNG

More information on the Status labels used in Content Manager can be found on the Trainz Wiki Page at:-
How To Understand the Content Manager Status Labels


  Top Next Up Next Down Bottom

Updating Built in, Base and Payware Assets

BlueDot10x10.png Assets that are Built-in, Base or Installed, Payware will require a few extra steps to be updated
The method shown above for updating DLS assets will not work for assets that are Built-in, Base or Installed, Payware. If Content Manager lists updates for these types of assets as available for download then the process involves a few extra steps.

Update Builtin01.png

Steps:
DotPoint1.JPG Select Built-in, Base and Payware Assets to Update:
Update Builtin02.png
DotPoint1Blue.png select all the Built-in, Base or Installed, Payware items shown in your Updates Available list
DotPoint2Blue.png Right click on any one of the items in the list. Note that the option Download is not available in the popup menu
DotPoint3Blue.png select the option List Asset Versions


This will display all the available versions of the selected assets that are:-

RedDot10x10.png on your system, and
RedDot10x10.png on the DLS, and
RedDot10x10.png obsolete


Update Builtin03.png
You may need to click the Status column heading once or twice to sort them into order and group all the Available for download assets together.

DotPoint2.JPG Select Assets to Update:
RedDot10x10.png select all the items shown in the list as Available for download
RedDot10x10.png DO NOT INCLUDE items shown as Available for download, Obsolete (unless that is what you really want)
RedDot10x10.png  Right Click  on any one of the items and select Download from the popup menu


Update Builtin04.png

If the items have any new or updated dependencies that are also on the DLS then Content Manager will automatically find and download them as well


  Top Next Up   Bottom

Updating a Mixture of Assets

If Content Manager shows a mixture of Installed from DLS, Built-in, Base and Installed, Payware assets to be updated, then use the method described above for updating all the assets.
Steps:
DotPoint1.JPG select all assets to be updated
DotPoint2.JPG select List Asset Versions from the menu
DotPoint3.JPG select and download all assets marked Available for download


  Top Next Up    

Trainz Wiki

TrainzWiki.png

More Tutorials and Guides to Using Trainz


This page was created by Trainz user pware in Februrary 2019 and was last updated as shown below.


Personal tools