How to Restore Deleted Assets
From TrainzOnline
(Difference between revisions)
m (→Restore Assets from the Automatic Backup) |
m (→Restore the Asset Backups) |
||
(3 intermediate revisions by one user not shown) | |||
Line 346: | Line 346: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint.JPG|10px|link=]]</td> | <td>[[image:DotPoint.JPG|10px|link=]]</td> | ||
− | <td>The 3rd party freeware utility program, '''TZArchiver''' which can open and extract '''.tzarc''' files, does not | + | <td>The 3rd party freeware utility program, '''TZArchiver''' which can open and extract '''.tzarc''' files, does not work with the higher compression used in the files created by '''Trainz Plus''' and '''TRS22'''</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 451: | Line 451: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | The end result, unless you have moved your data folder, will look something like the image | + | The end result, unless you have moved your data folder, will look something like the image shown below.<br> |
[[image:BackupsUserFolder.png|link=]]<br> | [[image:BackupsUserFolder.png|link=]]<br> | ||
Where:- | Where:- | ||
Line 480: | Line 480: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td width=629> | <td width=629> | ||
+ | |||
=='''Locate the Asset Backup Files'''== | =='''Locate the Asset Backup Files'''== | ||
</td> | </td> | ||
Line 558: | Line 559: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint2.JPG|link=]]</td> | <td>[[image:DotPoint2.JPG|link=]]</td> | ||
− | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Double Left Click </span> on the folder for the day when the asset or assets were deleted. This will display all the backup files created that day. | + | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Double Left Click </span> on the folder for the day when the asset or assets were deleted. This will display all the backup files and folders created that day. |
<table> | <table> | ||
<tr valign="top"> | <tr valign="top"> | ||
<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 | + | <td>Many, or nearly all, will be the '''automatic backup files''' created for the routes and sessions 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 route and session backup files will have a sequence of numbers following the '''.tzarc''' file type extension</td> |
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
Line 597: | Line 598: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint4.JPG|link=]]</td> | <td>[[image:DotPoint4.JPG|link=]]</td> | ||
− | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Right Click </span> on one of the selected files and select the option <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Copy </span> to copy | + | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Right Click </span> on one of the selected files and select the option <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Copy </span> to copy them to your OS clipboard. The original file backups will remain in the folder until the 7 days have passed when they will be deleted</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 608: | Line 609: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td width=629> | <td width=629> | ||
+ | |||
=='''Restore the Asset Backups'''== | =='''Restore the Asset Backups'''== | ||
</td> | </td> | ||
Line 650: | Line 652: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint4.JPG|link=]]</td> | <td>[[image:DotPoint4.JPG|link=]]</td> | ||
− | <td>Start the '''Trainz Launcher''', open the <span style="font-weight: 700; font-size: 15px;">Developer</span> menu and select the <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Rebuild database </span> option</td> | + | <td> |
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td width=230>Start the '''Trainz Launcher''', open the <span style="font-weight: 700; font-size: 15px;">Developer</span> menu and select the <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Rebuild database </span> option</td> | ||
+ | <td width=270>[[image:LauncherRebuildDatabase.png|link=]]</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 661: | Line 670: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td width=629> | <td width=629> | ||
+ | |||
=='''Check the Restored Assets'''== | =='''Check the Restored Assets'''== | ||
</td> | </td> |
Latest revision as of 20:26, 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. |
![]() |
![]() |
|
|
[edit] Restore DLS Assets |
![]() |
![]() |
![]() |
![]() |
Deleted assets that were originally Installed from DLS can be easily restored by installing them again from the DLS |
|
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. |
|
|
[edit] Restore .cdp File Assets |
![]() |
![]() |
![]() |
![]() |
![]() |
Deleted assets that were installed from .cdp files can be easily restored by reinstalling them from the same .cdp files |
![]() |
Deleted assets that were installed from .cdp files can be reinstalled from the same files.
|
[edit] Restore Payware and Packaged Assets |
![]() |
![]() |
![]() |
![]() |
![]() |
Payware and Packaged assets that were installed from a DLC package can be restored by reinstalling the same DLC Package |
![]() |
If the identical Packaged asset is also on the DLS then it can be restored from there |
|
|
[edit] Restore Assets from the Automatic Backup |
![]() |
![]() |
![]() |
![]() |
![]() |
Assets deleted using Content Manager within the last 7 Days are stored in the Backup Folder for the date they were deleted |
![]() |
Deleted assets are stored using their <kuid> code(s). Knowing their <kuid> code(s) is very helpful but is not vital |
|
|
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 |
[edit] Locate the Backups Folder |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The Backups folder where deleted assets are held is a subfolder of your Local User Data Folder |
|
[edit] Locate the Asset Backup Files |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The backups of deleted assets are kept in folders identified by the date (during the last 7 days) when they were deleted |
![]() |
The backups are stored as .tzarc files |
|
|
[edit] Restore the Asset Backups |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The backup files of the deleted assets have to be copied into the Editing folder and a DBR perfomed |
|
[edit] Check the Restored Assets |
![]() |
![]() |
![]() |
![]() |
![]() |
Use Content Manager to check that the assets have been restored |
|
![]() |
![]() |
[edit] Trainz Wiki
|
|
This page was created by Trainz user pware in April 2025 and was last updated as shown below.