How to Restore Deleted Assets
From TrainzOnline
(Difference between revisions)
Line 488: | Line 488: | ||
<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 '''<kuid>''' ids in their folder and filenames as the route/session (e.g. the folder '''kuid 45176 105218 SAR Peterborough-Quorn''' | + | <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 '''<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''' filetype</td> |
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
Line 498: | Line 498: | ||
<!-- 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 their '''<kuid>''' ids | + | <td>Assets that you have deleted will be shown using only their '''<kuid>''' ids as their filename (e.g. '''kuid2 106916 10213.tzarc''' shown left)</td> |
</tr> | </tr> | ||
</table> | </table> | ||
</td> | </td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint3.JPG|link=]]</td> | ||
+ | <td>Select (<span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Left Click </span>) on the asset backup file to be restored. If more than one file has to be restored then use <span style="font-weight: 700; font-size: 15px;"><span style="color: white; background-color: black;"> Shift </span> + <span style="background-color: lightcyan;"> Left Click </span></span> or <span style="font-weight: 700; font-size: 15px;"><span style="color: white; background-color: black;"> Ctrl </span> + <span style="background-color: lightcyan;"> Left Click </span></span> to select them all</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <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;"> Cut </span> to move the file(s) to your OS clipboard</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 508: | Line 516: | ||
</table> | </table> | ||
<br> | <br> | ||
+ | =='''Restore the Asset Backups'''== | ||
− | + | <table width=1000 bgcolor="lightcyan" cellpadding=2> | |
+ | <tr valign="top"> | ||
+ | <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> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table width=1000 bgcolor=#000000 cellpadding=2> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table width=996 bgcolor=#ffffff cellpadding=2> | ||
+ | <tr valign="top"> | ||
+ | <td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps:</span> To Restore the Deleted Assets:-</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint1.JPG|link=]]</td> | ||
+ | <td>In the '''File Explorer''' address bar <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Left Click </span> on the name of the '''Local User Data Folder''' <br> | ||
+ | [[image:BackupsUserFolder.png|link=]]<br> | ||
+ | <span style="font-weight: 700; font-size: 15px;">build <span style="color: white; background-color: black;"> random </span></span> in the example shown above<br> | ||
+ | [[image:UserDataFolderContents.png|link=]]</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint2.JPG|link=]]</td> | ||
+ | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Double Left Click </span> on the '''editing''' folder to open it up</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint3.JPG|link=]]</td> | ||
+ | <td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;"> Left Click </span> inside the '''editing''' folder and paste (<span style="font-weight: 700; font-size: 15px;"><span style="color: white; background-color: black;"> Ctrl </span> + <span style="color: white; background-color: black;"> V </span></span>) the file(s)</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <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> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table width=1000> | ||
+ | <tr valign="top"> | ||
+ | <td>This should restore the deleted assets.<br><br> | ||
+ | To make sure open '''Content Manager''' and run the '''Today''' filter. If any of the restored assets are listed as '''Open for edit''' then submit them</td> | ||
+ | </tr> | ||
+ | </table> | ||
<br> | <br> | ||
<table> <!-- BEGIN Nav Buttons Table --> | <table> <!-- BEGIN Nav Buttons Table --> |
Revision as of 21:40, 26 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. |
![]() |
![]() |
|
|
Restore Deleted 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. | ||
Select the Download Station filter from the Filter drop down menu | ![]() |
|
Optional: Type part of the asset name in the Search box to narrow the search | ||
Right Click on the asset name in the displayed list and select the Download option |
|
Restore Deleted .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.
|
Restore Deleted 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 |
|
|
Restore Deleted Assets from the 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) and the date(s) they were deleted. Knowing this information is very helpful but is not vital |
|
Locate the Backups Folder
![]() |
The Backups folder where deleted assets are held is a subfolder of your Local User Data Folder |
|
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 and will need a DBR to restore them |
|
|
Restore the Asset Backups
![]() |
The backup files of the deleted assets have to be moved to the Editing folder and a DBR perfomed |
|
This should restore the deleted assets. To make sure open Content Manager and run the Today filter. If any of the restored assets are listed as Open for edit then submit them |
![]() |
![]() |
Trainz Wiki
|
|
This page was created by Trainz user pware in April 2025 and was last updated as shown below.