How to Backup a Picklist

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m
m
Line 91: Line 91:
 
[[file:PickListEditPickList.png|link=]]<br><br>
 
[[file:PickListEditPickList.png|link=]]<br><br>
 
This will display all your current Picklists.
 
This will display all your current Picklists.
#right mouse click on the required Picklist
+
#<span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Right Click</span> on the required Picklist
 
#select '''Open Picklist''' from the popup menu<br>
 
#select '''Open Picklist''' from the popup menu<br>
 
[[file:PickListOpenGrasses.png|link=]]<br>
 
[[file:PickListOpenGrasses.png|link=]]<br>
Line 121: Line 121:
 
<tr valign="top">
 
<tr valign="top">
 
<td>
 
<td>
#left mouse click on any one of the items
+
#<span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on any one of the items
 
#press '''Ctrl-A''' to '''Select All''' the items<br>
 
#press '''Ctrl-A''' to '''Select All''' the items<br>
 
[[file:PickListSelectAll.png|link=]]</td>
 
[[file:PickListSelectAll.png|link=]]</td>
Line 138: Line 138:
 
<tr valign="top">
 
<tr valign="top">
 
<td>
 
<td>
#right mouse click on any one of the items
+
#<span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Right Click</span> on any one of the items
 
#select '''List Assets in New Window''' from the popup menu<br>
 
#select '''List Assets in New Window''' from the popup menu<br>
 
<table> <!-- BEGIN Step 3 Side tables -->
 
<table> <!-- BEGIN Step 3 Side tables -->
Line 179: Line 179:
 
The Picklist assets will be listed by their kuids in the '''Asset KUID''' box of a new search filter<br>
 
The Picklist assets will be listed by their kuids in the '''Asset KUID''' box of a new search filter<br>
 
[[file:PickListSelectListofAssetsSelected.png|link=]]<br><br>
 
[[file:PickListSelectListofAssetsSelected.png|link=]]<br><br>
#click inside the '''Asset KUID''' box and press '''Ctrl-A''' to select them all
+
#<span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> inside the '''Asset KUID''' box and press '''Ctrl-A''' to select them all
 
#copy the asset list to the clipboard (press '''Ctrl-C''')
 
#copy the asset list to the clipboard (press '''Ctrl-C''')
 
</td>
 
</td>
Line 213: Line 213:
 
<td>
 
<td>
 
#open your favourite text editor (MS Notepad, Notepad++, etc)
 
#open your favourite text editor (MS Notepad, Notepad++, etc)
#click inside the Notepad window and then press '''Ctrl-V''' (paste)  
+
#<span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> inside the Notepad window and then press '''Ctrl-V''' (paste)  
 
[[file:PickListNotepad01.png|link=]]
 
[[file:PickListNotepad01.png|link=]]
 
</td>
 
</td>
Line 316: Line 316:
 
[[file:PickListTRS19Paste.png|link=]]<br><br>
 
[[file:PickListTRS19Paste.png|link=]]<br><br>
 
#select an entry and then select all ('''Ctrl-A''')
 
#select an entry and then select all ('''Ctrl-A''')
#right mouse click on any entry and select '''Add to Picklist''' and then '''New Picklist''' from the popup menus<br><br>
+
#<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>
 
[[file:PickListTRS19NewList.png|link=]]<br><br>
 
[[file:PickListTRS19NewList.png|link=]]<br><br>
 
</td>
 
</td>
Line 334: Line 334:
 
<td>
 
<td>
 
[[file:PickListTRS19NewListName.png|link=]]<br><br>
 
[[file:PickListTRS19NewListName.png|link=]]<br><br>
Enter a name for the Picklist and click '''Ok'''
+
Enter a name for the Picklist and <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> '''Ok'''
 
</td>
 
</td>
 
</tr>
 
</tr>

Revision as of 13:18, 22 April 2023

The information in this Wiki Page applies to TANE, TRS19, Trainz Plus and TRS22. This guide will show you how to backup a Picklist.

LinkWiki.PNG


Contents

  Top   Next Down Bottom
Main Points:
DotPoint.JPG Picklists (as a list of assets) cannot be saved as .CDP files so they cannot be backed up using that method
DotPoint.JPG Picklists can be saved as text files
DotPoint.JPG Picklists can be imported from text files


Access Your Current Picklists

Steps.PNG

Steps
DotPoint1.JPG Open CM and Your Picklists

From the Trainz Launcher select  Manage Content 
In TRS19 SP4 and later Trainz versions
Open the Filter List

Pick List Filter

Select the Picklist to be backed up. This will open the Picklist.

DotPoint.JPG In TRS19 SP4 and Trainz Plus SP4 (and later) you CAN select and backup the Default Picklist
In T:ANE and TRS19 SP3, Trainz Plus SP3 and earlier Trainz versions
  1. in Content Manager open the Content menu
  2. select Edit Picklist

PickListEditPickList.png

This will display all your current Picklists.

  1. Right Click on the required Picklist
  2. select Open Picklist from the popup menu

PickListOpenGrasses.png
This will open the Picklist

DotPoint.JPG In T:ANE, TRS19/Trainz Plus SP3 and earlier Trainz versions you CANNOT select and backup the Default Picklist

  DotPoint2.JPG Select Picklist Contents:
  1. Left Click on any one of the items
  2. press Ctrl-A to Select All the items
PickListSelectAll.png

  DotPoint3.JPG Transfer List to a New Window:
  1. Right Click on any one of the items
  2. select List Assets in New Window from the popup menu
PickListListinNewWindow.png
NotePad.PNG Notes:

The option Export to CDP appears 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.


  DotPoint4.JPG Copy Assets in Picklist:

The Picklist assets will be listed by their kuids in the Asset KUID box of a new search filter
PickListSelectListofAssetsSelected.png

  1. Left Click inside the Asset KUID box and press Ctrl-A to select them all
  2. copy the asset list to the clipboard (press Ctrl-C)


  Top Next Up Next Down Bottom

Transfer the List to Notepad (or Any Text Editor)

Steps.PNG

Steps
DotPoint1.JPG Open Notepad or Any Other Suitable Text Editor:
  1. open your favourite text editor (MS Notepad, Notepad++, etc)
  2. Left Click inside the Notepad window and then press Ctrl-V (paste)

PickListNotepad01.png


  DotPoint2.JPG Save the Picklist as a Text (.txt) File:
  1. 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
  2. select a suitable backup location for the backup file
  3. enter a filename - the same name as the Picklist would be a good idea - then save


  Top Next Up   Bottom

How to Restore a Picklist

DotPoint.JPG Restoring a Picklist basically involves reversing the above steps

Steps.PNG

Steps
DotPoint1.JPG Open Notepad or Other Text Editor:
  1. open your favourite text editor (MS Notepad, Notepad++, etc)
  2. select and load the Picklist text file into your text editor
  3. select all the text - press Ctrl-A
  4. copy the text to the clipboard - press Ctrl-C

  DotPoint2.JPG Open CM in the Destination Trainz and Create a New Filter:
  1. in the copy of Trainz where the Picklist is being restored or transferred, open Content Manager
  2. start a new filter, select Custom
  3. paste (Ctrl-V) the asset list into the Asset KUID box
  4. 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
  • if any assets are identified as Available for download (i.e. they are not installed) then download and install them first

PickListSelectListofAssets.png


  DotPoint3.JPG Create a New Picklist:

PickListTRS19Paste.png

  1. select an entry and then select all (Ctrl-A)
  2. Right Click on any entry and select Add to Picklist and then New Picklist from the popup menus

PickListTRS19NewList.png


  DotPoint4.JPG Enter a Name for the Picklist:

PickListTRS19NewListName.png

Enter a name for the Picklist and Left Click Ok



  Top Next Up    


Trainz Wiki

TrainzWiki.png

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.


Personal tools