North Wales Coastal Circa 2018

Discussion in 'Technical Reports' started by kilt46, Jan 14, 2025.

  1. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,220
    Likes Received:
    573
    My understanding is your assets stay in the same place. You will be modifying the .bin files for scenery, roads, lofts and tracks (the main track bin file only) to change the address name to point to the assets you wish to use. I have used MasterSerz to convert the whole folder of .bin files (I typically make a copy in case I mess up), do a mass find/replace using Notepad++ (one of the tabs lets you change the string for all files for whole folder) and once I have changed all of the wrong addresses (may be multiple find/replace iterations), use MasterSerz to change the xml(s) back into a bin file and place in the correct route folder.
     
    Last edited: Feb 16, 2025
  2. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,088
    Likes Received:
    3,145
    I'm not thinking of a route with common assets - I want to replace a type of track with one from a different folder.
    The route has the old Kuju track and I wanted to replace it with the VP track.

    Normally I just use TSTools but I did not know if I could use Notepad++
     
  3. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,220
    Likes Received:
    573
    Can be done with the method described (modify the track.bin) file and point to the new assets.
     
  4. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,088
    Likes Received:
    3,145
    I'm going to ask a different question as I want to swap something else.
     
  5. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,220
    Likes Received:
    573
    My understanding is one does not swap assets. One changes the list of assets to be used on the road,scenery,loft and track bin files. When the simulator loads a tile it reads the list of assets to load. One changes the list of assets on that tile (the location of the asset does not matter as the address is what you write on that bin tile).
     
    Last edited: Feb 16, 2025
  6. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,088
    Likes Received:
    3,145
    In the past when I changed the track on the LDSO route I used TSTools.
    Any asset in a route has a Provider Name and a Product Name then its file location

    This is from the North London Line (with extra lines removed)
    <Provider d:type="cDeltaString">DTG</Provider>
    <Product d:type="cDeltaString">NorthLondonLine</Product>
    <BlueprintID d:type="cDeltaString">RailNetwork\Track\track01_conc.xml</BlueprintID>

    If I wished to change the track on the route I would need to change three things and Notepad++ only changes one.
     
  7. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,220
    Likes Received:
    573
    You would need to do Find/Replace 3 times. Once for each target string. The challenge here is you may change things you do not want to change. If you are more familiar with TSTools I would use that.
     
  8. atomicdanny

    atomicdanny Guest

    In this case for Notepad++ there is a multiline plugin tool where you can find the line to replace (but to note you have to include the spaces before the lines too - same with TS Tools but if it's just one file, i think in this case TS Tools might be better? ) - (also i can't remember at the moment what the plugin for multiline was for Notepad++ (edit Toolbucket - i think you can search for it in the plugins to install? )
     
    Last edited by a moderator: Feb 17, 2025
    • Like Like x 1
  9. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,088
    Likes Received:
    3,145

Share This Page