Changing Track And Track Rule On A Route

Discussion in 'General Discussion' started by OldVern, Jan 22, 2023.

  1. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,923
    Likes Received:
    38,188
    As part of the process to rework my TSC routes from UKTS to Steam Workshop, it has become painfully apparent that many of these use ancient Kuju track from the days of rail Simulator. While serviceable, it is not as pleasant visually as some of the track seen in more recent DLC.

    I probably asked this question in the dim and distant past but can't remember when and where, so just wondered if there was a relatively painless way of doing this. I suspect it probably involves TS/RW Tools but I don't want to embark on something that could trash the route (though I will take a backup before starting :) ).
     
  2. torfmeister

    torfmeister Guest

    Just to be on the safe side, make clones of the route and work on these.

    All the used trackrules are defined in the tracks.bin. Unserz it and do a Search-and-Replace. (Though I have not done this yet, this would be my first approach.)

    On some JustTrains routes you can switch the tracks from 2D to 3D by just swapping the tracks.bin (using a .bat file)

    4343.png
     
    • Helpful Helpful x 2
  3. R3dS41ft

    R3dS41ft Active Member

    Joined:
    Sep 18, 2020
    Messages:
    245
    Likes Received:
    71
    • Like Like x 1
    • Helpful Helpful x 1
  4. torfmeister

    torfmeister Guest

    • Like Like x 2
  5. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,923
    Likes Received:
    38,188
    Thank you friends, a 1000 times over.
     
    • Like Like x 1
  6. If you happy with the default concrete sleepers then the ap track enhancement should automatically replace the old style track.
     
  7. 878606

    878606 Member

    Joined:
    Sep 10, 2021
    Messages:
    86
    Likes Received:
    70
    It doesn't replace as OldVern said the route uses Kuju track and AP track ep doesn't replace any of the kuju Assets
     
  8. I think if you go to the assets in editor mode and tick ap track ep it replaces the track? Or maybe not after the dtg update. I just opened one of my routes and there's no track anywhere now.
     
  9. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,923
    Likes Received:
    38,188
    I just had that the first time I tried to run the process, think I didn't copy and replace enough of the text.
     
  10. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,923
    Likes Received:
    38,188
    This is a very fickle process. Tried to replace with the track from Wutachtalbahn, thought I'd nailed all the text entries in RW Tools but when I went back in the route the Oxford track still showing.

    I will persevere but this goes to show why the editor needs a simple replace function similar to Trainz Surveyor.
     
  11. torfmeister

    torfmeister Guest

    Have you ticked Wutachtalbahn in the World Editor?
     
  12. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,923
    Likes Received:
    38,188
    It was me being a moron. After changing the track type I had forgotten to save the tracks.bin in RW Tools. D'oh.

    All good now.

    success.jpg

    Much nicer than Kuju default.

    Really pleased with how the project is going. Just need to remove and replace the rest of my items and a few other jobs, should be Workshop fready.
     
    • Like Like x 2
  13. torfmeister

    torfmeister Guest

    Brill!

    By the way, if you have any scenario for the route which has modified track properties or added markers, these are stored in "ScenarioNetworkProperties.bin". It is important to know that every modified section contains the trackrule used - in this case you need to update the scenario or it will use the old tracks.

    This is the reason why there are missing tracks in the RSSLO Allgäubahn quickdrives - they have been created using different (DB Tracks) tracks. (That's the difference between the Steam and RSSLO download version). I've made a patch for the QD fixing these issues if anyone's interested.
     
    Last edited by a moderator: Jan 23, 2023
    • Like Like x 1
  14. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,923
    Likes Received:
    38,188
    I don't think I made any route changes for the scenarios.

    The only problematic item now is tunnels as the Wutach variant doesn't have a lining whereas the original Kuju one does and I don't fancy lofting a tunnel cover along the extensive tunnels this route has. It's not a huge issue, just means I can't apply sound properties to the tunnel sections (reverb) but that's a small price to pay for being able to preserve and otherwise overhaul the route.

    Must admit I'm quite enjoying the project which is a good way of getting back up to speed with the TSC editor without starting a new route from scratch.

    Once the TSC routes have been dealt with, my thoughts will turn to maybe building at least part of my old MSTS routes in TSC (the ones that aren't already represented) but that's a few weeks/months off.
     
    • Like Like x 2
  15. trainspotteruk

    trainspotteruk New Member

    Joined:
    Mar 5, 2025
    Messages:
    17
    Likes Received:
    0
    what does it mean by Assets\camber\Addon\Blueprints.pak i cant see anything
     
  16. mindenjohn

    mindenjohn Well-Known Member

    Joined:
    Aug 19, 2022
    Messages:
    582
    Likes Received:
    425
    Power to your elbow.
     
  17. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,287
    Likes Received:
    607
    Dated Jan 2023. Old Vern is now hard at driving Thomas on TSW.
     
    • Like Like x 2
  18. DaveChuffers

    DaveChuffers New Member

    Joined:
    Jun 22, 2018
    Messages:
    3
    Likes Received:
    3
    Apologies for bumping this thread, I thought it best to do that, rather than create a new one.

    I have successfully swapped the tracks in a route; however, my problem now is that every single junction in the route is now incorrectly rendered (see screenshot).

    My question is, have I missed anything in the bin file?
    [​IMG]
     
  19. OldVern

    OldVern Well-Known Member

    Joined:
    Nov 2, 2020
    Messages:
    18,923
    Likes Received:
    38,188
    ROFLOL!
    I’d rather travel on an Electrostar.
    But yes, sadly apart from the one (Sulitjelma) my endeavours to refurbish my old Railworks/TSC routes have gone into hiatus. Think after all these years the route building bug just burned out of me, it’s all I can do to fire up Trainz Surveyor and work on a small model railway project. Never say never of course and at some time I might return.

    I did actually speculate this might be a wider issue across the hobby. When the first mass market train sim with an editor (MSTS) came out, many of us were highly motivated to start building routes and even went to great lengths to do so. With no Google Earth or useable DEM data, I ended up buying scores of maps and transcribing coordinates by hand, to turn into marker files. Terrain had to be eyeballed though later on we did get a programme that allowed you to trace contours on a scanned map. No wonder my eyes are not so good these days!

    But over the years that enthusiasm has waned. The route building processes, while eased by decent DEM data and mapping overlays got more complex, culminating now in the almost impossible task a hobby based route builder faces tackling a project for TSW. In addition very few people seem to be coming in to fill the gaps left by us veteran route builders hanging up our hats. Nowhere is that more evident than TSW where it seems even DTG themselves don’t have many people directly employed or that they can call upon to build routes. Skyhook seem to have chucked the towel in and there seems very little being done for the USA. No wonder Rivet get away with outputting fairly low level work, though they too seem to have slipped below the radar.

    Anyhow, bit of a ramble there but it would be interesting to hear from any other route builders who share my view, that all all got just a bit old and bothersome.
     
  20. PhÜnKî_Rø0sTā

    PhÜnKî_Rø0sTā Well-Known Member

    Joined:
    Nov 28, 2019
    Messages:
    658
    Likes Received:
    583
    I'm interested to know a few things too - I replaced the default kuju tracks on the old S&DJR route with the VP tracks, but where my junctions are, sets of buffers appeared for no reason, and when I tried to fix it, it deleted the sections of track.

    If anyone has a way to fix this and would like to help, my patch is over at Trainsimcommunity.

    https://www.trainsimcommunity.com/m...et-dorset-joint-railway-track-replacement-v10
     
  21. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,216
    Likes Received:
    3,175
    When I changed the track on a route I followed the guide Mike Simpson (RW Tools) created and installed a section of the alternative track first. Then used RW or TS Tools to change one track type of the other.

    Is that the way you did it?
     
  22. PhÜnKî_Rø0sTā

    PhÜnKî_Rø0sTā Well-Known Member

    Joined:
    Nov 28, 2019
    Messages:
    658
    Likes Received:
    583
    Yes I did that I think
     
  23. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,287
    Likes Received:
    607
    One doesn’t replace the assets in the asset folder. One points to the new assets location by changing the lookup address in the track bin file for that route. Just for clarity. Replacing the assets in the original target folder will not solve the issue.
     
  24. mindenjohn

    mindenjohn Well-Known Member

    Joined:
    Aug 19, 2022
    Messages:
    582
    Likes Received:
    425
    I've used the same principle and confirm - it works. Only a short piece is required but it ensures that the "new" track is ticked in the assets box when you re-load. If you don't when you restart you may find there's no track at all until you check the box for the "new" track. Doing it the "Simpson" way eases the heart attack sensation when you restart and see no track at all - Crikes what have I done!!!
     
    • Like Like x 1

Share This Page