How to Backup a Picklist: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Pware (talk | contribs)
Upgrade to current document format
Pware (talk | contribs)
Line 357: Line 357:
<tr valign="top">
<tr valign="top">
<td>&#160;</td>
<td>&#160;</td>
<td>[[image:DotPoint2.JPG|link=]]&#160;<span style="font-size: 17px; font-weight: 700;">Open CM in the Destination Trainz and Create a New Filter:</span><br>
<td width=25>[[image:DotPoint2.JPG|link=]]</td>
<td><span style="font-size: 17px; font-weight: 700;">Open CM in the Destination Trainz and Create a New Filter:</span><br>
<table> <!-- BEGIN Step 2 table -->
<table> <!-- BEGIN Step 2 table -->
<tr valign="top">
<tr valign="top">
Line 391: Line 392:
<td colspan=2>[[image:PickListTRS19Paste.png|link=]]</td>
<td colspan=2>[[image:PickListTRS19Paste.png|link=]]</td>
</tr>
</tr>
<tr valign="top">
<td width=25>&#160;</td>
<td>
<table>
<tr valign="top">
<tr valign="top">
<td width=25>[[image:DotPoint1Blue.png|link=]]</td>
<td width=25>[[image:DotPoint1Blue.png|link=]]</td>
Line 397: Line 402:
<tr valign="top">
<tr valign="top">
<td>[[image:DotPoint2Blue.png|link=]]</td>
<td>[[image:DotPoint2Blue.png|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Right Click</span> on any entry and select '''Add to Picklist''' and then '''New Picklist''' from the popup menus<br><br>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Right Click</span> on any entry and select <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;Add to Picklist&#160;</span> and then <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;New Picklist&#160;</span> from the popup menus<br><br>
[[image:PickListTRS19NewList.png|link=]]<br><br>
[[image:PickListTRS19NewList.png|link=]]<br><br>
</td>
</td>
</tr>
</tr>
</table> <!-- END Step 3 table -->
</table> <!-- END Step 3 table -->
</td>
</tr>
</table>
</td>
</td>
</tr>
</tr>
Line 408: 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;">Enter a Name for the Picklist:</span><br>
<td>[[image:DotPoint4.JPG|link=]]&#160;<span style="font-size: 17px; font-weight: 700;">Name the Picklist:</span><br>
<table> <!-- BEGIN Step 4 table -->
<table> <!-- BEGIN Step 4 table -->
<tr valign="top">
<tr valign="top">
<td>
<td>
[[image:PickListTRS19NewListName.png|link=]]<br><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>
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</td>
[[image:PickListTRS19NewListName.png|link=]]</td>
</tr>
</tr>
</table> <!-- END Step 4 table -->
</table> <!-- END Step 4 table -->
Line 433: Line 441:
----
----
----
----
='''Trainz Wiki'''=
='''Trainz Wiki'''=
<table cellpadding=4 bgcolor=#ffffff>
<table cellpadding=4 bgcolor=#ffffff>

Revision as of 05:48, 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 or  Save  button


    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.