How to Backup a Picklist: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Pware (talk | contribs)
Pware (talk | contribs)
mNo edit summary
Line 416: Line 416:
<table width=1000>
<table width=1000>
<tr valign="top">
<tr valign="top">
<td>[[image:DotPoint4.JPG|link=]]&#160;<span style="font-size: 17px; font-weight: 700;">Name the Picklist:</span><br>
<td width=25>[[image:DotPoint4.JPG|link=]]</td>
<table> <!-- BEGIN Step 4 table -->
<td><span style="font-size: 17px; font-weight: 700;">Name the Picklist:</span><br>
<table>  
<tr valign="top">
<tr valign="top">
<td>
<td>Enter a name for the Picklist (the same name as the original would be a good idea) and <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the <span style="font-weight: 700; font-size: 15px;">OK</span> button (for '''T:ANE''' and '''TRS19''') or the <span style="font-weight: 700; font-size: 15px; color: white; background-color: blue;">&#160;Save&#160;</span> button (for '''Trainz Plus''' and '''TRS22''')<br>
Enter a name for the Picklist (the same name as the original would be a good idea) and <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the <span style="font-weight: 700; font-size: 15px;">OK</span> or <span style="font-weight: 700; font-size: 15px; color: white; background-color: blue;">&#160;Save&#160;</span> button<br>
[[image:PickListTRS19NewListName.png|link=]]</td>
[[image:PickListTRS19NewListName.png|link=]]</td>
</tr>
</tr>
</table> <!-- END Step 4 table -->
</table>
</td>
</td>
</tr>
</tr>
</table> <!-- END Steps Table -->
</table>
<br>
<br>
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
Line 441: Line 441:
----
----
----
----
='''Trainz Wiki'''=
='''Trainz Wiki'''=
<table cellpadding=4 bgcolor=#ffffff>
<table cellpadding=4 bgcolor=#ffffff>

Revision as of 09:26, 8 October 2023

The information in this Wiki Page applies to TANE, TRS19, Trainz Plus and TRS22.

Picklists (as a list of assets) cannot be saved as .CDP files so they cannot be backed up using that method
Picklists can be saved as text files
Picklists can be imported from text files


Access Your Current Picklists

    Top   Next Down Bottom
Steps:
Open Content Manager and Your Picklists
From the Trainz Launcher select  Manage Content 
In TRS19 SP4, Trainz Plus SP4 (and later) and TRS22
Open the Filter List
Pick List Filter
Select the Picklist to be backed up. This will open the Picklist
In TRS19 SP4, Trainz Plus SP4 (and later) and TRS22 you CAN select and backup the Default Picklist
 
In T:ANE and TRS19 SP3, Trainz Plus SP3 and earlier Trainz versions
in Content Manager open the Content menu
select Edit Picklist
This will display all your current Picklists
Right Click on the required Picklist
select Open Picklist from the popup menu
This will open the Picklist
In T:ANE, TRS19/Trainz Plus SP3 and earlier Trainz versions you CANNOT select and backup the Default Picklist
Select the Picklist Contents:
Left Click on any one of the items
press  Ctrl  +  A  to Select All the items
Copy the List to a New Window:
Right Click on any one of the items
select List Assets in New Window from the popup menu


Notes:

The option Export to CDP does appear in the menu list but this will export all the selected assets (with ALL their meshes, textures, config.txt files, etc) and not just a list of <kuids>. The resulting .cdp file can easily be many megabytes in size.
Copy Assets in Picklist:
The Picklist assets will be listed by their kuids in the Asset KUID box of a new search filter
Left Click inside the Asset KUID box and press  Ctrl  +  A  to select them ALL
copy the asset list to your operating system clipboard (press  Ctrl  +  C )


Transfer the List to Notepad (or Any Text Editor)

    Top Next Up Next Down Bottom
Steps:
Open Notepad or Any Other Suitable Text Editor:
open your favourite text editor (MS Notepad, Notepad++, etc)
Left Click inside the Notepad window and then press  Ctrl  +  V  (paste)
Save the Picklist as a Text (.txt) File:
from the Notepad File menu select Save or press  Ctrl  +  S . If you are not using Notepad, make sure that the file format is text (.txt) for compatibility
select a suitable backup location for the backup file
enter a filename - the same name as the Picklist would be a good idea - then save


How to Restore a Picklist

    Top Next Up   Bottom
Restoring a Picklist basically involves reversing the above two steps
Steps:
Open Your Text Editor:
open your favourite text editor (MS Notepad, Notepad++, etc)
locate and load the saved Picklist text file into your text editor
select all the text - press  Ctrl  +  A 
copy the text to your operating system clipboard - press  Ctrl  +  C 


  Open CM in the Destination Trainz and Create a New Filter:
in the copy of Trainz where the Picklist is being restored or transferred, open Content Manager
start a new filter, select Custom
paste ( Ctrl  +  V ) the asset list into the Asset KUID box
delete from the filter the line Installed - this will ensure that any Picklist assets that are on the DLS but not installed on your system will be identified

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 if any assets are identified as Available for download (i.e. they are not installed) then download and install them first



   Create a New Picklist:
 
select an entry and then select all ( Ctrl  +  A )
Right Click on any entry and select  Add to Picklist  and then  New Picklist  from the popup menus




Name the Picklist:
Enter a name for the Picklist (the same name as the original would be a good idea) and Left Click the OK button (for T:ANE and TRS19) or the  Save  button (for Trainz Plus and TRS22)


    Top Next Up    


Trainz Wiki

More Tutorials and Guides to Using Trainz


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