How to Restore Deleted Assets

From TrainzOnline
Revision as of 12:35, 26 April 2025 by Pware (Talk | contribs)

Jump to: navigation, search
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.
          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 Deleted 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


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.
DotPoint.JPG Select the Download Station filter from the Filter drop down menu CMDownloadStationFilter.png
DotPoint.JPG Optional: Type part of the asset name in the Search box to narrow the search
DotPoint.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 Deleted Assets from the Backup for the details.


Restore Deleted .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 Deleted Assets from the Backup for the details.


Restore Deleted 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 can install for free.

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 Deleted Assets from the Backup

    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) and the date(s) they were deleted. Knowing this information is very helpful but is not vital


NotePad.PNG Notes:

DotPoint.JPG 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
DotPoint.JPG Knowing the date that an asset was deleted and its <kuid> will help in finding its backup but they are not absolutely necessary
DotPoint.JPG The asset backups are stored as .tzarc files and a Database Repair (DBR) is one of the steps needed to restore them


Locate the Backups Folder

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
Instructions on moving your Local User Data Folder can be found by clicking the button labelled Instructions for moving your content... below the address bar or on the Trainz Wiki Page 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





  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