Route Merge

JackDownUnder

Well-known member
I am running TRS19 build 98592
I have a route which has been in progress for many years, transferred to TRS19 with not too many problems route includes very extensive session which runs all day.
Recently I decided to add some more ground to include a major interchange.
I achieved this by creating a new route with the area required and merging with my existing route.
Everything worked out fine.
My problem now is that I would prefer not to reconstruct my sessions and need to attach the original route sessions to the new route.
Please anyone out there could you help
 
A lot depends on the order in which you perform the merge. One of the decisions you will need to make is which route will be the base route and which will be the to-be-merged route (for want of better descriptions). The base route (or route + session) is the one that you load into Surveyor first and the to-be-merged route is the one that is merged with the base route. The base route is the only one that will retain its session. Any session that is present in the to-be-merged route will be deleted in the merging process.

So if you want to retain the session you have created with one of the routes that you are going to merge then:-

  1. Load into Surveyor, the Session you want to keep (with its route of course)
  2. Merge into the route + session the second route.

Details of the merging process can be found on the Trainz Wiki at http://online.ts2009.com/mediaWiki/index.php/How_to_Merge_Routes
 
You can do that with a bit of surgery. :)

Backup the original session to a CDP first in case something should go batty.

While still in Content Manager, open the route config.txt file, and change the KUID for the map with the kuid as your new route:

This line here:

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]map-kuid <kuid2:47439:134444:7> <------- This line here...

And replace that same Kuid in the Kuid-table as well.

Hint:

Use the Search and Replace feature in Notepad so that the same, old route Kuid is replaced with your current route's Kuid and you do everything at once.

[/FONT]
 
You can do that with a bit of surgery. :)

Backup the original session to a CDP first in case something should go batty.

While still in Content Manager, open the route config.txt file, and change the KUID for the map with the kuid as your new route:

This line here:

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]map-kuid <kuid2:47439:134444:7> <------- This line here...

And replace that same Kuid in the Kuid-table as well.

Hint:

Use the Search and Replace feature in Notepad so that the same, old route Kuid is replaced with your current route's Kuid and you do everything at once.

[/FONT]

That should be session config.txt file as no map-kuid will be found in the route. But this will not work because any assets that are in the session will not be able to locate their position in the new merged map. This only works if the new map is a duplicate of the original.
 
Last edited:
Thanks for that.
Looks like I missed the step of opening up the base route before adding the additional one so lost the session.
I have done too much work since doing so and have decided to rebuild my sessions.
This is not a bad idea as I have recently been updating my sessions with data from very early in the 20th century.
This will provide me with a chance to standardize my command structures.
I still have my old route and session as CDP's so not a worry there.
 
That should be session config.txt file as no map-kuid will be found in the route. But this will not work because any assets that are in the session will not be able to locate their position in the new merged map. This only works if the new map is a duplicate of the original.

My mistake, thanks to a phone call in the middle of posting!

Yes that's correct if the base route is still the same and the session is carried over. I have done this numerous times with success. It's too bad there wasn't an easier way to do this without resorting to surgery.
 
You can copy the edit session from one map to a merged edit session map and it will work. I opened a route that had merged route 1 with route 2. I opened edit session and deleted everything in it. Minimise the merged route and open the route 1 session from the launch screen. Yes you can have two or more routes running at the same time. Open edit session and copy all that is in it, minimise and resize the merged route and edit session and paste. This will copy the edit session from route 1 to the merged route 12. Now close route 1 and do the same with route 2, you will now have all the route 1 and route sessions in one window. Delete duplicate icons like quickdrive rule, driver command and IT Enhanced manager rule as only one is needed in the session. Some drivers might need a change of engine name if the two routes had identical engine names when merged.
 
Last edited:
How does one copy the edit session tab?

In the Session Editor window of the 2nd route/session you select the session rules you want to copy, then right mouse click and select copy. You then paste those rules into the Session Editor window of the 1st route/session. This method does not work for the session settings that are not stored in layers or the Session Rules - things like switch directions, industry production and consumption values, rolling stock loads, etc.
 
I should have made it clearer that I was not referring to the session itself but the content in edit session. This is so you don't have to redo all the driver commands for every driver again. Be aware of duplicate names after a merge or else two drivers may try for the same engine.
 
I should have made it clearer that I was not referring to the session itself but the content in edit session. This is so you don't have to redo all the driver commands for every driver again. Be aware of duplicate names after a merge or else two drivers may try for the same engine.

Unfortunately that is still not clear. What do you mean by the "content in edit session"? To me this means the Rules that appear in the Session Editor window when Edit Session is selected from the Surveyor main menu. If you mean content such as scenery items, rolling stock, etc that are stored in Session Layers then these layers should be merged into the route layers before the route map merge.
 
I should have made it clearer that I was not referring to the session itself but the content in edit session. This is so you don't have to redo all the driver commands for every driver again. Be aware of duplicate names after a merge or else two drivers may try for the same engine.

Got it, now have all my Driver commands, all I have to do now is add the rolling stock, the engines are listed in Driver Setups.
Carriages will be relatively easy as I have constructed Sets from the LNER Carriage Roster 1926.

This will assist in the clean up I have been working on of my Sessions.

Building a railway system was not meant to be easy especially when trying to be authentic and especially when it is UK Age of Steam pre. World War 1
 
Back
Top