How to Restore Deleted Assets

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m
m
(11 intermediate revisions by one user not shown)
Line 2: Line 2:
 
<table width=1000>
 
<table width=1000>
 
<tr valign="top">
 
<tr valign="top">
<td>The information in this Wiki Page applies to '''TRS19''', '''Trainz Plus''' and '''TRS22''' and describes the methods that can be used to restore assets deleted by '''Content Manager'''.</td>
+
<td>The information in this Wiki Page applies to '''TRS19''', '''Trainz Plus''' and '''TRS22''' and describes the methods that can be used to restore assets deleted by '''Content Manager''' and the '''Content Store'''.</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 56: Line 56:
 
<tr valign="top">
 
<tr valign="top">
 
<td width=629>
 
<td width=629>
='''Restore Deleted DLS Assets'''=
+
='''Restore DLS Assets'''=
 
</td>
 
</td>
 
<td width=50>&#160;</td> <!-- Skip Down -->
 
<td width=50>&#160;</td> <!-- Skip Down -->
Line 71: Line 71:
 
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
 
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
 
<td>Deleted assets that were originally '''Installed from DLS''' can be easily restored by installing them again from the '''DLS'''</td>
 
<td>Deleted assets that were originally '''Installed from DLS''' can be easily restored by installing them again from the '''DLS'''</td>
 +
</tr>
 +
</table>
 +
<br>
 +
<table width=1000 bgcolor=#000000 cellpadding=2>
 +
<tr valign="top">
 +
<td>
 +
<table width=996 bgcolor=#ffffff cellpadding=2>
 +
<tr valign="middle">
 +
<td width=35>[[image:Information.png|35px|link=]]</td>
 +
<td>Assets that were displayed in '''Content Manager''' as '''Installed from DLS''' will be shown as '''Available for download''' if they are deleted by '''Content Manager'''</td>
 +
</tr>
 +
</table>
 +
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 76: Line 89:
 
<table width=1000>
 
<table width=1000>
 
<tr valign="top">
 
<tr valign="top">
<td colspan=3>Deleted assets that were installed from the '''DLS''' are the easiest of all to restore. Simply use '''Content Manager''' to locate the assets and download them again.</td>
+
<td>Deleted assets that were installed from the '''DLS''' are the easiest of all to restore. Simply use '''Content Manager''' to locate the assets and download them again.</td>
 
</tr>
 
</tr>
 +
</table>
 +
<br>
 +
<table width=1000 bgcolor=#000000 cellpadding=2>
 
<tr valign="top">
 
<tr valign="top">
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
+
<td>
<td>Select the '''Download Station''' filter from the '''Filter''' drop down menu</td>
+
<table width=996 bgcolor=#ffffff cellpadding=2>
<td width=415 rowspan=2 align="top">[[image:CMDownloadStationFilter.png|link=]]</td>
+
<tr valign="top">
 +
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps:</span> To reinstall a deleted DLS asset:-</td>
 
</tr>
 
</tr>
 
<tr valign="top">
 
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
+
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
 +
<td>In '''Content Manager''' select the '''Download Station''' filter from the '''Filter''' drop down menu</td>
 +
<td width=415 rowspan=3 align="top">[[image:CMDownloadStationFilter.png|link=]]</td>
 +
</tr>
 +
<tr valign="top">
 +
<td>[[image:DotPoint2.JPG|link=]]</td>
 
<td>'''Optional:''' Type part of the asset name in the '''Search''' box to narrow the search</td>
 
<td>'''Optional:''' Type part of the asset name in the '''Search''' box to narrow the search</td>
 
<!-- row in rowspan -->
 
<!-- row in rowspan -->
 
</tr>
 
</tr>
 
<tr valign="top">
 
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
+
<td>[[image:DotPoint3.JPG|link=]]</td>
 
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">&#160;Right Click&#160;</span> on the asset name in the displayed list and select the <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;Download&#160;</span> option</td>
 
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">&#160;Right Click&#160;</span> on the asset name in the displayed list and select the <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;Download&#160;</span> option</td>
 
<!-- row in rowspan -->
 
<!-- row in rowspan -->
 +
</tr>
 +
</table>
 +
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 101: Line 126:
 
<tr valign="top">
 
<tr valign="top">
 
<td width=25>[[image:PencilTips.PNG|link=]]</td>
 
<td width=25>[[image:PencilTips.PNG|link=]]</td>
<td>However, if for some reason you are unable to access the '''DLS''' and the deletion occurred during the '''last 7 days''', then the assets can still be recovered from the automatic backups that '''Content Manager''' creates when assets are deleted. These backups are only held for 7 days. See [[image:PageLink.PNG|link=]]&#160;'''[[#stepRestoreBackup|Restore Deleted Assets from the Backup]]''' for the details.</td>
+
<td>However, if for some reason you are unable to access the '''DLS''' and the deletion occurred during the '''last 7 days''', then the assets can still be recovered from the automatic backups that '''Content Manager''' creates when assets are deleted. These backups are only held for 7 days. See [[image:PageLink.PNG|link=]]&#160;'''[[#stepRestoreBackup|Restore Assets from the Automatic Backup]]''' for the details.</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 112: Line 137:
 
<tr valign="top">
 
<tr valign="top">
 
<td width=629>
 
<td width=629>
='''Restore Deleted .cdp File Assets'''=
+
='''Restore .cdp File Assets'''=
 
</td>
 
</td>
 
<td width=50>&#160;</td> <!-- Skip Down -->
 
<td width=50>&#160;</td> <!-- Skip Down -->
Line 168: Line 193:
 
<tr valign="top">
 
<tr valign="top">
 
<td width=25>[[image:PencilTips.PNG|link=]]</td>
 
<td width=25>[[image:PencilTips.PNG|link=]]</td>
<td>However, if for some reason you are unable to locate the '''.cdp''' files and the deletion occurred during the '''last 7 days''', then the assets can still be recovered from the automatic backups that '''Content Manager''' creates when assets are deleted. These backups are only held for 7 days. See [[image:PageLink.PNG|link=]]&#160;'''[[#stepRestoreBackup|Restore Deleted Assets from the Backup]]''' for the details.</td>
+
<td>However, if for some reason you are unable to locate the '''.cdp''' files and the deletion occurred during the '''last 7 days''', then the assets can still be recovered from the automatic backups that '''Content Manager''' creates when assets are deleted. These backups are only held for 7 days. See [[image:PageLink.PNG|link=]]&#160;'''[[#stepRestoreBackup|Restore Assets from the Automatic Backup]]''' for the details.</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 182: Line 207:
 
<tr valign="top">
 
<tr valign="top">
 
<td width=629>
 
<td width=629>
='''Restore Deleted Payware and Packaged Assets'''=
+
='''Restore Payware and Packaged Assets'''=
 
</td>
 
</td>
 
<td width=50>&#160;</td> <!-- Skip Down -->
 
<td width=50>&#160;</td> <!-- Skip Down -->
Line 264: Line 289:
 
<tr valign="top">
 
<tr valign="top">
 
<td width=629>
 
<td width=629>
='''Restore Deleted Assets from the Backup'''=
+
='''Restore Assets from the Automatic Backup'''=
 
</td>
 
</td>
<td width=50>&#160;</td> <!-- Skip Down -->
+
<td width=50>[[image:SkipDown.png|link=#skipLocateFolder|Skip Down]]</td> <!-- Skip Down -->
 
<td width=50>&#160;</td> <!-- Skip Up -->
 
<td width=50>&#160;</td> <!-- Skip Up -->
 
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td> <!-- Top -->
 
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td> <!-- Top -->
Line 283: Line 308:
 
<td>[[image:BlueDot10x10.png|link=]]</td>
 
<td>[[image:BlueDot10x10.png|link=]]</td>
 
<td>Deleted assets are stored using their '''&lt;kuid&gt;''' code(s). Knowing their '''&lt;kuid&gt;''' code(s) is very helpful but is not vital</td>
 
<td>Deleted assets are stored using their '''&lt;kuid&gt;''' code(s). Knowing their '''&lt;kuid&gt;''' code(s) is very helpful but is not vital</td>
 +
</tr>
 +
</table>
 +
<br>
 +
<table width=1000 bgcolor=#000000 cellpadding=2>
 +
<tr valign="top">
 +
<td>
 +
<table width=996 bgcolor=#ffffff cellpadding=2>
 +
<tr valign="middle">
 +
<td width=35>[[image:Information.png|35px|link=]]</td>
 +
<td>When an installed asset is deleted by '''Content Manager''' a backup copy is automatically created in the same location used by the '''Trainz Automatic Backup System''' for backing up any routes or sessions that you are editing in '''Surveyor'''. These backups are only kept for 7 days before they are permanently deleted.<br>
 +
The backup copies can be restored into Trainz by following the procedure described here.</td>
 +
</tr>
 +
</table>
 +
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 298: Line 337:
 
<tr valign="top">
 
<tr valign="top">
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>Backups of assets deleted by '''Content Manager''' are only kept for 7 days from the day of their deletion. Beyond that date this method cannot be used
+
<td>Backups are only kept for 7 days from the day of deletion. Beyond that they cannot be restored
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr valign="top">
 
<tr valign="top">
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>Knowing the date that an asset was deleted and its '''&lt;kuid&gt;''' will help in finding its backup</td>
+
<td>The asset backups are stored as '''.tzarc''' files and a '''Database Repair''' ('''DBR''') is one of the steps needed to restore them</td>
 
</tr>
 
</tr>
 
<tr valign="top">
 
<tr valign="top">
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>The asset backups are stored as '''.tzarc''' files and a '''Database Repair''' ('''DBR''') is one of the steps needed to restore them</td>
+
<td>The 3rd party freeware utility program, '''TZArchiver''' which can open and extract '''.tzarc''' files, does not support the files created by '''Trainz Plus''' and '''TRS22'''</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 314: Line 353:
 
</table>
 
</table>
 
<br>
 
<br>
 +
<table width=1000>
 +
<tr valign="top">
 +
<td>Assets that you have created yourself, or cloned and modified from other assets, and have never been backed up to a secure storage are the ones most likely to require this recovery action. As always the best preventative measure is to perform regular backups of your work using '''.cdp''' files. See the '''Trainz Wiki Page&#160;[[image:WikiLink.PNG|link=]]&#160;[[How to Manage Backups|How to Manage Backups]]''' for the details.</td>
 +
</tr>
 +
</table>
 +
<br>
 +
<span id="skipLocateFolder"></span>
 +
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
 +
<tr valign="top">
 +
<td width=629>
 
=='''Locate the Backups Folder'''==
 
=='''Locate the Backups Folder'''==
 +
</td>
 +
<td width=50>[[image:SkipDown.png|link=#skipLocateBackups|Skip Down]]</td> <!-- Skip Down -->
 +
<td width=50>[[image:SkipUp.png|link=#stepRestoreBackup|Skip Up]]</td> <!-- Skip Up -->
 +
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td> <!-- Top -->
 +
<td width=75>[[image:NextUp.png|link=#stepRestoreDLC|alt=Next Up|Next Up]]</td> <!-- Next Up -->
 +
<td width=75>&#160;</td> <!-- Next Down -->
 +
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> <!-- Bottom -->
 +
</tr>
 +
</table> <!-- END Nav Buttons Table -->
  
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>
Line 418: Line 476:
 
</table>
 
</table>
 
<br>
 
<br>
 +
<span id="skipLocateBackups"></span>
 +
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
 +
<tr valign="top">
 +
<td width=629>
 
=='''Locate the Asset Backup Files'''==
 
=='''Locate the Asset Backup Files'''==
 +
</td>
 +
<td width=50>[[image:SkipDown.png|link=#skipRestoreBackups|Skip Down]]</td> <!-- Skip Down -->
 +
<td width=50>[[image:SkipUp.png|link=#skipLocateFolder|Skip Up]]</td> <!-- Skip Up -->
 +
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td> <!-- Top -->
 +
<td width=75>[[image:NextUp.png|link=#stepRestoreDLC|alt=Next Up|Next Up]]</td> <!-- Next Up -->
 +
<td width=75>&#160;</td> <!-- Next Down -->
 +
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> <!-- Bottom -->
 +
</tr>
 +
</table> <!-- END Nav Buttons Table -->
  
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>
Line 471: Line 542:
 
<td>only folders upto '''7 days ago''' will be present
 
<td>only folders upto '''7 days ago''' will be present
 
<br>
 
<br>
<table bgcolor=#ffffe0 cellpadding=2>
+
<table bgcolor=#ffffb0 cellpadding=2>
 
<tr valign="top">
 
<tr valign="top">
<td width=25>[[image:PencilTips.PNG|link=]]</td>
+
<td width=25>[[image:NotePad.PNG|link=]]</td>
 
<td>If you are unsure of the date then you may have to open and examine each folder</td>
 
<td>If you are unsure of the date then you may have to open and examine each folder</td>
 
</tr>
 
</tr>
Line 492: Line 563:
 
<td width=276 rowspan=3>[[image:UserDataDateBackupFiles.png|link=]]</td>
 
<td width=276 rowspan=3>[[image:UserDataDateBackupFiles.png|link=]]</td>
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>Many, or nearly all, will be the '''automatic backup files''' created for the route and session that you were editing that day. These will have the same '''&lt;kuid&gt;''' ids in their folder and filenames as the route/session (e.g. the folder '''kuid&#160;45176&#160;105218&#160;SAR&#160;Peterborough-Quorn''' and the file '''kuid&#160;45176&#160;105218.tzarc_3680667504''' shown left). The files will have a sequence of numbers following the '''.tzarc''' filetype</td>
+
<td>Many, or nearly all, will be the '''automatic backup files''' created for the route and session that you were editing that day. These will have the same '''&lt;kuid&gt;''' ids in their folder and filenames as the route/session (e.g. the folder '''kuid&#160;45176&#160;105218&#160;SAR&#160;Peterborough-Quorn''' and the file '''kuid&#160;45176&#160;105218.tzarc_3680667504''' shown left). The files will have a sequence of numbers following the '''.tzarc''' file type extension</td>
 
</tr>
 
</tr>
 
<tr valign="top">
 
<tr valign="top">
Line 502: Line 573:
 
<!-- rowspan data -->
 
<!-- rowspan data -->
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>Assets that you have deleted will be shown using only their '''&lt;kuid&gt;''' ids as their filename (e.g. '''kuid2&#160;106916&#160;10213.tzarc''' shown left)
+
<td>
 +
<table bgcolor="yellow">
 +
<tr valign="top">
 +
<td>Assets that you have deleted will be shown using only their '''&lt;kuid&gt;''' ids as their filename with no numbers after the file type extension (e.g. '''kuid2&#160;106916&#160;10213&#160;1.tzarc''' shown left)</td>
 +
</tr>
 +
</table>
 
<br>
 
<br>
 
<table bgcolor=#ffffe0 cellpadding=2>
 
<table bgcolor=#ffffe0 cellpadding=2>
Line 528: Line 604:
 
</table>
 
</table>
 
<br>
 
<br>
 +
<span id="skipRestoreBackups"></span>
 +
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
 +
<tr valign="top">
 +
<td width=629>
 
=='''Restore the Asset Backups'''==
 
=='''Restore the Asset Backups'''==
 +
</td>
 +
<td width=50>[[image:SkipDown.png|link=#skipCheckBackups|Skip Down]]</td> <!-- Skip Down -->
 +
<td width=50>[[image:SkipUp.png|link=#skipLocateBackups|Skip Up]]</td> <!-- Skip Up -->
 +
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td> <!-- Top -->
 +
<td width=75>[[image:NextUp.png|link=#stepRestoreDLC|alt=Next Up|Next Up]]</td> <!-- Next Up -->
 +
<td width=75>&#160;</td> <!-- Next Down -->
 +
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> <!-- Bottom -->
 +
</tr>
 +
</table> <!-- END Nav Buttons Table -->
  
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>
 
<tr valign="top">
 
<tr valign="top">
 
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
 
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>The backup files of the deleted assets have to be moved to the '''Editing''' folder and a '''DBR''' perfomed</td>
+
<td>The backup files of the deleted assets have to be copied into the '''Editing''' folder and a '''DBR''' perfomed</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 548: Line 637:
 
<td>In the '''File Explorer''' address bar <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">&#160;Left Click&#160;</span> on the name of the '''Local User Data Folder''' <br>
 
<td>In the '''File Explorer''' address bar <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">&#160;Left Click&#160;</span> on the name of the '''Local User Data Folder''' <br>
 
[[image:BackupsUserFolder.png|link=]]<br>
 
[[image:BackupsUserFolder.png|link=]]<br>
<span style="font-weight: 700; font-size: 15px;">build <span style="color: white; background-color: black;">&#160;random&#160;</span></span> in the example shown above<br>
+
<span style="font-weight: 700; font-size: 15px;">build <span style="color: white; background-color: black;">&#160;random&#160;</span></span> in the example shown above where '''random''' = a sequence of text characters<br>
 
[[image:UserDataFolderContents.png|link=]]</td>
 
[[image:UserDataFolderContents.png|link=]]</td>
 
</tr>
 
</tr>
Line 568: Line 657:
 
</table>
 
</table>
 
<br>
 
<br>
 +
<span id="skipCheckBackups"></span>
 +
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
 +
<tr valign="top">
 +
<td width=629>
 
=='''Check the Restored Assets'''==
 
=='''Check the Restored Assets'''==
 +
</td>
 +
<td width=50>&#160;</td> <!-- Skip Down -->
 +
<td width=50>[[image:SkipUp.png|link=#skipRestoreBackups|Skip Up]]</td> <!-- Skip Up -->
 +
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td> <!-- Top -->
 +
<td width=75>[[image:NextUp.png|link=#stepRestoreDLC|alt=Next Up|Next Up]]</td> <!-- Next Up -->
 +
<td width=75>&#160;</td> <!-- Next Down -->
 +
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> <!-- Bottom -->
 +
</tr>
 +
</table> <!-- END Nav Buttons Table -->
  
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>

Revision as of 08:34, 28 April 2025

The information in this Wiki Page applies to TRS19, Trainz Plus and TRS22 and describes the methods that can be used to restore assets deleted by Content Manager and the Content Store.
          Next Down Bottom

Contents

NotePad.PNG Notes:

DotPoint.JPG Base, Built-in, Packaged and Payware assets cannot be deleted using Content Manager. Not even those that have been made Obsolete by more recent updates.
DotPoint.JPG Packaged and Payware assets can only be deleted by Uninstalling the DLC Package that installed them. This is done from the Content Store option selected from the Trainz Launcher.


Restore DLS Assets

    Top   Next Down Bottom
BlueDot10x10.png Deleted assets that were originally Installed from DLS can be easily restored by installing them again from the DLS


Information.png Assets that were displayed in Content Manager as Installed from DLS will be shown as Available for download if they are deleted by Content Manager


Deleted assets that were installed from the DLS are the easiest of all to restore. Simply use Content Manager to locate the assets and download them again.


Steps: To reinstall a deleted DLS asset:-
DotPoint1.JPG In Content Manager select the Download Station filter from the Filter drop down menu CMDownloadStationFilter.png
DotPoint2.JPG Optional: Type part of the asset name in the Search box to narrow the search
DotPoint3.JPG  Right Click  on the asset name in the displayed list and select the  Download  option


PencilTips.PNG However, if for some reason you are unable to access the DLS and the deletion occurred during the last 7 days, then the assets can still be recovered from the automatic backups that Content Manager creates when assets are deleted. These backups are only held for 7 days. See PageLink.PNG Restore Assets from the Automatic Backup for the details.


Restore .cdp File Assets

    Top Next Up Next Down Bottom
BlueDot10x10.png Deleted assets that were installed from .cdp files can be easily restored by reinstalling them from the same .cdp files


CMContentInstall.png Deleted assets that were installed from .cdp files can be reinstalled from the same files.
Steps: To install an asset or assets from a .cdp file:-
DotPoint1.JPG From the Content Manager File menu select the  Import Content Files...  option
DotPoint2.JPG Navigate to the location of the .cdp file or files
DotPoint3.JPG Select ( Left Click  or  Ctrl  +  Left Click ) each file to be restored
DotPoint4.JPG Click ( Left Click ) the Open button


PencilTips.PNG However, if for some reason you are unable to locate the .cdp files and the deletion occurred during the last 7 days, then the assets can still be recovered from the automatic backups that Content Manager creates when assets are deleted. These backups are only held for 7 days. See PageLink.PNG Restore Assets from the Automatic Backup for the details.


Restore Payware and Packaged Assets

    Top Next Up Next Down Bottom
BlueDot10x10.png Payware and Packaged assets that were installed from a DLC package can be restored by reinstalling the same DLC Package
BlueDot10x10.png If the identical Packaged asset is also on the DLS then it can be restored from there


Information.png DLC packages can be uninstalled and later reinstalled without any extra costs for an unlimited number of times. Each DLC package contains all the dependant assets in the one download even if those assets are already on the DLS.


Steps: To Reinstall a DLC Package:-
DotPoint1.JPG Open the Content Store from the Trainz Launcher. Make sure that the Purchased icon has been selected (is coloured blue).

This will show all the DLC Packages that you have purchased or previously installed.

DotPoint.JPG Items marked with the Uninstall button are currently installed in your copy of Trainz
DotPoint.JPG Items marked with the Install button have been purchased (or are available for free) but are not installed in your copy of Trainz
DotPoint.JPG If you have Uninstalled a package then it will show the Install button


ContentStorePurchased.png
DotPoint2.JPG Scroll down the list to locate the package to be reinstalled. You can enter a partial name in the Search box to help narrow the search
DotPoint3.JPG  Left Click  on the Install button of the package. The install may take some time depending on the size of the package and the speed of your internet connection


Restore Assets from the Automatic Backup

Skip Down   Top Next Up   Bottom
BlueDot10x10.png Assets deleted using Content Manager within the last 7 Days are stored in the Backup Folder for the date they were deleted
BlueDot10x10.png Deleted assets are stored using their <kuid> code(s). Knowing their <kuid> code(s) is very helpful but is not vital


Information.png When an installed asset is deleted by Content Manager a backup copy is automatically created in the same location used by the Trainz Automatic Backup System for backing up any routes or sessions that you are editing in Surveyor. These backups are only kept for 7 days before they are permanently deleted.
The backup copies can be restored into Trainz by following the procedure described here.


NotePad.PNG Notes:

DotPoint.JPG Backups are only kept for 7 days from the day of deletion. Beyond that they cannot be restored
DotPoint.JPG The asset backups are stored as .tzarc files and a Database Repair (DBR) is one of the steps needed to restore them
DotPoint.JPG The 3rd party freeware utility program, TZArchiver which can open and extract .tzarc files, does not support the files created by Trainz Plus and TRS22


Assets that you have created yourself, or cloned and modified from other assets, and have never been backed up to a secure storage are the ones most likely to require this recovery action. As always the best preventative measure is to perform regular backups of your work using .cdp files. See the Trainz Wiki Page WikiLink.PNG How to Manage Backups for the details.


Locate the Backups Folder

Skip Down Skip Up Top Next Up   Bottom
BlueDot10x10.png The Backups folder where deleted assets are held is a subfolder of your Local User Data Folder


Steps: To Locate your Backup Folder:-
DotPoint1.JPG Open Trainz Settings from the Trainz Launcher
DotPoint2.JPG Select the  Install  tab. The location of the Local User Data Folder will be shown.
UserDataFolderMoved.png
This is an Example Address Only
The Local User Data Folder is usually in the C: drive User folder that is normally identified as %LOCALAPPDATA%\N3V Games\trs22\build xxxxxxx (where "xxxxxxx" is a random sequence of characters) but it can be moved to any location (and given any name) as shown in the image left

If you need to move this folder then instructions can be found by clicking the button labelled Instructions for moving your content... below the address bar or on the Trainz Wiki at WikiLink.PNG How to Move Your User Data Folder
DotPoint3.JPG Highlight and copy the address shown:-
DotPoint.JPG  Left Click  inside the address box
DotPoint.JPG press  Ctrl  +  A  to select the entire address
DotPoint.JPG press  Ctrl  +  C  to copy it to your OS clipboard
DotPoint4.JPG Open File Explorer. This can usually be found in your Windows 10/11 Task Bar
MoveUserData05.png
DotPoint5.JPG  Left Click  in the Explorer Address Bar - it is better to click in the empty space at the end of the displayed text
WindowsAddressBar.png
DotPoint6.JPG
DotPoint.JPG if the contents are not already highlighted then press  Ctrl  +  A 
DotPoint.JPG paste ( Ctrl  +  V ) in the address from Step  3  above
DotPoint.JPG press the  Enter  key

The end result, unless you have moved your data folder, will look something like the image show below.
BackupsUserFolder.png
Where:-

BlackDot10x10.png  idname  is your Windows User name (abbreviated), and
BlackDot10x10.png  random  is a sequence of random characters. This, the build  random , is your Local User Data Folder
DotPoint7.JPG  Double Left Click  on the last item in the address list to open your current Local User Data Folder. One of its folders will be the Backups folder
UserDataFolderContents.png


Locate the Asset Backup Files

Skip Down Skip Up Top Next Up   Bottom
BlueDot10x10.png The backups of deleted assets are kept in folders identified by the date (during the last 7 days) when they were deleted
BlueDot10x10.png The backups are stored as .tzarc files


NotePad.PNG If an asset was deleted more than 7 days ago then it cannot be restored by this method


Steps: To Restore Assets from their Backup Files:-
DotPoint1.JPG In File Explorer  Double Left Click  on the Backups folder to open it up. Depending on how often you have used Surveyor during the last 7 days, and depending on your File Explorer display settings, you may see something like this...
UserDataDateBackupFolders.png
DotPoint.JPG each folder is named using the date it was created (in yy-mm-dd display format)
DotPoint.JPG days where you did not use Surveyor will be missing folders
DotPoint.JPG only folders upto 7 days ago will be present


NotePad.PNG If you are unsure of the date then you may have to open and examine each folder
DotPoint2.JPG  Double Left Click  on the folder for the day when the asset or assets were deleted. This will display all the backup files created that day.
UserDataDateBackupFiles.png DotPoint.JPG Many, or nearly all, will be the automatic backup files created for the route and session that you were editing that day. These will have the same <kuid> ids in their folder and filenames as the route/session (e.g. the folder kuid 45176 105218 SAR Peterborough-Quorn and the file kuid 45176 105218.tzarc_3680667504 shown left). The files will have a sequence of numbers following the .tzarc file type extension
DotPoint.JPG Any assets that you opened for editing that day will also appear as backup folders. These will usually have the name, or part of the name, of the asset along with its <kuid> in the folder name (e.g. kuid -1 6338 Lightning shown left)
DotPoint.JPG
Assets that you have deleted will be shown using only their <kuid> ids as their filename with no numbers after the file type extension (e.g. kuid2 106916 10213 1.tzarc shown left)


PencilTips.PNG Since it is unlikely that you will know the <kuid> of each asset that you deleted one strategy would be to restore every deleted asset in the folder and then later use Content Manager to again delete those that you do not want
DotPoint3.JPG Select ( Left Click ) on the asset backup file to be restored. If more than one file has to be restored then use  Shift  +  Left Click  or  Ctrl  +  Left Click  to select them all
DotPoint4.JPG  Right Click  on one of the selected files and select the option  Copy  to copy the file(s) to your OS clipboard. The backups can remain in the folder until the 7 days have passed when they will be deleted


Restore the Asset Backups

Skip Down Skip Up Top Next Up   Bottom
BlueDot10x10.png The backup files of the deleted assets have to be copied into the Editing folder and a DBR perfomed


Steps: To Restore the Deleted Assets:-
DotPoint1.JPG In the File Explorer address bar  Left Click  on the name of the Local User Data Folder

BackupsUserFolder.png
build  random  in the example shown above where random = a sequence of text characters

UserDataFolderContents.png
DotPoint2.JPG  Double Left Click  on the editing folder to open it up
DotPoint3.JPG  Left Click  inside the editing folder and paste ( Ctrl  +  V ) the file(s) into the folder
DotPoint4.JPG Start the Trainz Launcher, open the Developer menu and select the  Rebuild database  option


Check the Restored Assets

  Skip Up Top Next Up   Bottom
BlueDot10x10.png Use Content Manager to check that the assets have been restored


Steps: To Check the Status of the Restored Assets:-
DotPoint1.JPG Open Content Manager and select the Filter  Open for Editing 
DotPoint2.JPG If any of the assets are listed then select and Submit them
DotPoint3.JPG Select the Filter  Installed  and sort the list on the column Modification Date into descending date order ( Left Click  once or twice on the column heading)
DotPoint4.JPG The restored assets should appear at the top of the list


  Top Next Up    


Trainz Wiki

TrainzWiki.png

More Tutorials and Guides to Using Trainz

LinkWiki.PNG

Related Links


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


Personal tools