A new way to add Consists

tsgint

New member
Many of the old routes have consists in them....not acceptable to TRS2006.
I could not face going into Surveyor and manually creating them....The thought of looking up kuids for names was just too daunting.
******I've found a way to add to the consists list*****
Browse to the TRS20006\Settings and find the surveyorconsists.txt
Copy it to surveyorconsists.bak Just in case.
Open the text file in editor....It should have entries looking like this:
******************
train-24 {
name "CP RDC 2 Unit"
list {
car-0 <kuid2:58843:159:1>
num-0
dir-0 1
car-1 <kuid2:58843:159:1>
num-1
dir-1 1
}
}
***********************
note: this is one I've added.
Soooooooo!
move to the bottom of the file
add the new entry
and save the edited surveyorconsists.txt
Now the secrect.....
Delete the assets.tdx from the TRS2006 directory and open CMP...
It then rebuilds the assets database and it appears to use the
surveyorconsists.txt to add it to the surveyor.
After it is rebuilt....open trs2006 surveyor, start a new route/session
add a consist and Voila...there is the new consist in the list.
Now I'll have to write a program to convert the old consistlists in the config.txt to this new way. Then I hunch all I'll have to do is open the session to correct, editing the config.txt to delete that section and then open it in surveyor and add the consists at the appropriate places.
Manual way.....cut and copy one of the longer entries from surveyorconsists.txt and paste it into a new text file called consiststemplate.txt. Open cmp and view the config.txt of the offending session. Copy the required kuids from the config to the template.
When finished save the template.txt to a newconsists.txt.
Open the surveyorconsists.txt and copy/paste from one to the other.
Save/close everything/delete assets.tdx as above and let the cmp rebuild the assets.
If things get too much work, I'll write a program to do all this.
Hope this helps someone.
Glen
 
Back
Top