Locoswap Tool

Discussion in 'General Discussion' started by andy.malcolm, Nov 23, 2022.

  1. 390001

    390001 Well-Known Member

    Joined:
    Jan 18, 2018
    Messages:
    2,352
    Likes Received:
    1,584
    Anyway moving on……
     
  2. sparraboy

    sparraboy Active Member

    Joined:
    Dec 31, 2022
    Messages:
    103
    Likes Received:
    31
    Is it normal to have issues with locos not being found even though I have swapped them out and have green dots in LS? I am trying to swap a class 66 and a class 800 on a BHBP scenario ( Exmouth to Paignton) The 800 shows as a bunch of corridor joins and nothing else and the 66 comes up as cant find error even though I have the Colas livery in the ape pack? I've not had issues with LS before and I'm running 1.4.
     
  3. frankoi1337

    frankoi1337 Member

    Joined:
    Apr 20, 2021
    Messages:
    95
    Likes Received:
    89
    Have you tried reinstalling the respective enhancement packs? (I'm assuming you're referring to AP enhanced versions)
     
    • Helpful Helpful x 1
  4. sparraboy

    sparraboy Active Member

    Joined:
    Dec 31, 2022
    Messages:
    103
    Likes Received:
    31
    You may well be correct, I have installed the new WEP and I'm sure I read somewhere that I may have to install the packs again, Thanks for the swift reply, now the joy of reinstalling everything again!
     
  5. sparraboy

    sparraboy Active Member

    Joined:
    Dec 31, 2022
    Messages:
    103
    Likes Received:
    31
    Well I've reinstalled the class 66 and it still throws an error on the scenario start up. The only thing I didn't do was to clone the scenario, as it was a standard and not career I didn't think it mattered? Should I always clone?
     
  6. frankoi1337

    frankoi1337 Member

    Joined:
    Apr 20, 2021
    Messages:
    95
    Likes Received:
    89
    No, it's not necessary.
    Could you post a screenshot of this class 66 in LocoSwap, with its path visible?
     
  7. sparraboy

    sparraboy Active Member

    Joined:
    Dec 31, 2022
    Messages:
    103
    Likes Received:
    31
    here you go. :)
     

    Attached Files:

  8. frankoi1337

    frankoi1337 Member

    Joined:
    Apr 20, 2021
    Messages:
    95
    Likes Received:
    89
    It's not green so it's clearly missing ;)
     
  9. sparraboy

    sparraboy Active Member

    Joined:
    Dec 31, 2022
    Messages:
    103
    Likes Received:
    31
    Yes that was to show you what I am trying to install, even if I swap out those two locos and it will show green, the sim will still throw an error on the class 66.
     

    Attached Files:

    Last edited: Apr 13, 2023
  10. frankoi1337

    frankoi1337 Member

    Joined:
    Apr 20, 2021
    Messages:
    95
    Likes Received:
    89
  11. sparraboy

    sparraboy Active Member

    Joined:
    Dec 31, 2022
    Messages:
    103
    Likes Received:
    31
    • Like Like x 1
  12. jacob.davies1855

    jacob.davies1855 Member

    Joined:
    Aug 26, 2021
    Messages:
    30
    Likes Received:
    50
    Hi,
    Is anyone having any issues using Locoswap since the update?
     
  13. frankoi1337

    frankoi1337 Member

    Joined:
    Apr 20, 2021
    Messages:
    95
    Likes Received:
    89
    AFAIK, the way TS handles scenarios/rolling stock hasn't changed, so there should not be any impact!
     
  14. Obelix

    Obelix Active Member

    Joined:
    Apr 12, 2022
    Messages:
    76
    Likes Received:
    152
    locoswap.png
    Hi, I have a request for the author of this very useful utility. As you can see in the attached screen shot, if the train name is too long, you can't see the designation of the train driven by the player. Unfortunately there is no way to extend the window. If there are multiple such names, it is very hard to identify the player's train. Personally, I would prefer a colored highlight. But I welcome any solution to this matter.
    If it would be possible to choose a larger and more contrasting font, my poor eyesight would really welcome it. But I don't know if it's technically possible.
    locoswap.png
     
  15. frankoi1337

    frankoi1337 Member

    Joined:
    Apr 20, 2021
    Messages:
    95
    Likes Received:
    89
    What I'm planning for is more simply to move the player train logo to the front ;)
     
    • Like Like x 1
  16. Obelix

    Obelix Active Member

    Joined:
    Apr 12, 2022
    Messages:
    76
    Likes Received:
    152
    Thanks, that would be nice too.
     
  17. Reef

    Reef Well-Known Member

    Joined:
    Jul 27, 2018
    Messages:
    2,806
    Likes Received:
    1,817
    I still think my suggestion would be the better option if you ever figure out how to change it..
     
  18. Cyclone

    Cyclone Well-Known Member

    Joined:
    Feb 29, 2020
    Messages:
    3,854
    Likes Received:
    1,324
    On the contrary, I believe putting the logo at the front is better. Train names have an infinite length possible, and extending the window to fix the longest names as a fixed width cramps the window unnecessarily where long names are not present.

    That said, a scroll bar would solve this problem as well.
     
    Last edited: May 19, 2023
  19. frankoi1337

    frankoi1337 Member

    Joined:
    Apr 20, 2021
    Messages:
    95
    Likes Received:
    89
    The scrollbar is already there, at the bottom ;)
     
    • Like Like x 2
  20. Obelix

    Obelix Active Member

    Joined:
    Apr 12, 2022
    Messages:
    76
    Likes Received:
    152
    OMG, you are true. But is not comfortable. Damn, I completely missed it. Oh, yeah, my eyes are really bad. I'm sorry, but the idea of putting the sign up front is fine.
     
  21. ajpardy

    ajpardy Member

    Joined:
    Feb 7, 2021
    Messages:
    167
    Likes Received:
    7
    Is it possible for the window size to be saved?, each reload it goes back. same for the column widths(so can read all the text) frankoi1337
     
  22. frankoi1337

    frankoi1337 Member

    Joined:
    Apr 20, 2021
    Messages:
    95
    Likes Received:
    89
    It is something I will be looking into at some point!
     
    • Like Like x 3
  23. Tigert1966

    Tigert1966 Well-Known Member

    Joined:
    Aug 18, 2020
    Messages:
    2,181
    Likes Received:
    3,678
    Nothing to add to the discussion, just wanted to say thanks for the tool.

    I’ve only recently got into Enhancement packs and was looking for a way to swap locos easily. After a bit of trial and error, this is working great for me.
     
    • Like Like x 3
  24. suffolkblue

    suffolkblue New Member

    Joined:
    Feb 19, 2021
    Messages:
    4
    Likes Received:
    2
    Great tool that allows all of my Armstrong Powerhouse created and enhanced rolling stock to be easily taken advantage of. My only bugbear is the "Out of Fuel" issue when swapping some diesel units. I know I can use the TSC Scenario Editor to add fuel but that is a bit tedious so I have been looking at where the fuel level for each unit is stored. I assume it must be in a bin/xml file somewhere but I can's see where. Anyone have any ideas?
    Of course, if this was added to LocoSwap then that'd be great. :)

    Many thanks for the hard work.
     
    • Like Like x 1
  25. ajpardy

    ajpardy Member

    Joined:
    Feb 7, 2021
    Messages:
    167
    Likes Received:
    7
    with some diesel trains, when swap them,the fuel quanity is set to 0,meaning train won't move, can LSW alter this?
     
  26. Tigert1966

    Tigert1966 Well-Known Member

    Joined:
    Aug 18, 2020
    Messages:
    2,181
    Likes Received:
    3,678
    I don’t think it can, but happy to be corrected.

    I had the same problem myself today and the only way I could find to do it is to edit the scenarios then double click on the train. That enabled a menu on the right hand side of the screen and I could change the fuel level. Then I had to save the scenario and exit it. When I ran it again, it was fully fuelled.

    I didn’t find it easy though. It would be great if Locoswap can do it or if someone knows an easier way.
     
    • Like Like x 1
  27. Cyclone

    Cyclone Well-Known Member

    Joined:
    Feb 29, 2020
    Messages:
    3,854
    Likes Received:
    1,324
    Something I did by accident yesterday: don't delete a scenario and then try to open it. It crashes the application. Might be a useful error addition if it's not already in the newest version.
     
  28. 70045

    70045 Active Member

    Joined:
    Jun 20, 2023
    Messages:
    177
    Likes Received:
    87
    Just to say . . . the same occurs with (some, at least) steam locomotive tenders. It should be possible to code it in (although I wouldn't know where to start, myself) as a certain other product seems to cope, so I would certainly support the adoption of this feature if possible.
     
  29. ajpardy

    ajpardy Member

    Joined:
    Feb 7, 2021
    Messages:
    167
    Likes Received:
    7
    how do i calculate new length of coach, i’m adding some rules via user config file, saves making new scenario and doing in app frankoi1337
     
  30. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,088
    Likes Received:
    3,145
    BR Coaches, most MK1 are 20mtrs some non passenger vehicles are slightly less, Mk3 are 23mtrs.
    Most newer European stock is 26mtrs some older stock is 24mtrs.

    You could look at Google
     
    • Helpful Helpful x 1
  31. USRailFan

    USRailFan Active Member

    Joined:
    Jul 2, 2018
    Messages:
    558
    Likes Received:
    152
    For EU standard stock, it's 26.4 m or 24.5 m. Same for Eastern Europe. Most German dining cars are 27.5 metres. Double deckers can be 26.8
     
  32. ajpardy

    ajpardy Member

    Joined:
    Feb 7, 2021
    Messages:
    167
    Likes Received:
    7
  33. chrisreb

    chrisreb Member

    Joined:
    Dec 12, 2016
    Messages:
    85
    Likes Received:
    12
    I am getting instant crash with v1.5.0.0 when opening Stainmore route and Weardale route . Will not allow me to upload a log file. Can anyone point me in right direction for solving this? Many thanks
     

    Attached Files:

  34. chrisreb

    chrisreb Member

    Joined:
    Dec 12, 2016
    Messages:
    85
    Likes Received:
    12
    I seem to have at least half a dozen routes causing this which is a shame.
     
  35. chrisreb

    chrisreb Member

    Joined:
    Dec 12, 2016
    Messages:
    85
    Likes Received:
    12
    I think there are scenarios with xml errors so I guess I would need to remove them as no expert in xml
     
  36. Måns Johannesson

    Måns Johannesson Member

    Joined:
    May 23, 2019
    Messages:
    85
    Likes Received:
    19
    I have no problems editing scenarios in the Weardale route (don´t have Stainmore). However I use the 1.5.1.0 version of Locoswap (that I believe is the latest), might be a good idea to upgrade and test again.
     
  37. OldAlaskaGuy

    OldAlaskaGuy Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    898
    Likes Received:
    718
    Running 11 PRO 22H2 (2261.2070) here without issues. I always run as admin.
     
  38. julianarestrepo

    julianarestrepo Member

    Joined:
    Aug 1, 2023
    Messages:
    52
    Likes Received:
    34
    is there a way to add rules to different routes? like i want all the class 43 in mml to be replaced by east midland trains and in western mainlines to be replaced by gwr with one click?
     
  39. class2ldn2801

    class2ldn2801 Active Member

    Joined:
    Dec 23, 2019
    Messages:
    225
    Likes Received:
    178
    You can add them to the rules and apply all to each scenario but not each route.
     
  40. Cyclone

    Cyclone Well-Known Member

    Joined:
    Feb 29, 2020
    Messages:
    3,854
    Likes Received:
    1,324
    This is correct for LocoSwap. In Ts-Tools, it's possible to replace ALL identical units in ALL installed scenarios for a route.

    upload_2023-8-13_21-56-15.png

    This will also affect official scenarios, however (unless they are in an AP file or otherwise manually removed before running the command). However, this is still a mass edit of numerous scenarios, and train numbers may use a different format and require manual editing in each case. This is why I would recommend do one scenario at a time unless you know the format is identical and you can get away with it (such as swapping RSDL RailSimulator for Kuju RailSimulator as a unique example). LocoSwap also seems friendlier to use.
     
  41. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,088
    Likes Received:
    3,145
    When I have tried to swap all in all routes TSTools seems to hang because of the large amount to change.
    I tend to do the Full Type swaps one route at a time.
     
  42. julianarestrepo

    julianarestrepo Member

    Joined:
    Aug 1, 2023
    Messages:
    52
    Likes Received:
    34
    why is the player train not updating on some scenarios Screenshot 2023-08-14 181931.png ?
     
  43. julianarestrepo

    julianarestrepo Member

    Joined:
    Aug 1, 2023
    Messages:
    52
    Likes Received:
    34
    ok so I found out this tool breaks most scenarios because the locomotive spawns without fuel
     
  44. frankoi1337

    frankoi1337 Member

    Joined:
    Apr 20, 2021
    Messages:
    95
    Likes Received:
    89
    Yes, this is probably fixed with 1.5.1.0.
    Yes, the player train information is taken from a different place than where the player train is actually defined... Not very interesting explanation I know but this minor inconvenience shall stay :D
    This is addressed in the FAQ.
     
  45. ajpardy

    ajpardy Member

    Joined:
    Feb 7, 2021
    Messages:
    167
    Likes Received:
    7
    you have to manually refuel in editor
     
  46. ajpardy

    ajpardy Member

    Joined:
    Feb 7, 2021
    Messages:
    167
    Likes Received:
    7
    did you try clicking a differnt route,then click back on the 1 you were on?
     
  47. julianarestrepo

    julianarestrepo Member

    Joined:
    Aug 1, 2023
    Messages:
    52
    Likes Received:
    34
    it is an electric train (DTG 801 -> AP 801)
     
  48. Cyclone

    Cyclone Well-Known Member

    Joined:
    Feb 29, 2020
    Messages:
    3,854
    Likes Received:
    1,324
    This seems logical.
     
  49. julianarestrepo

    julianarestrepo Member

    Joined:
    Aug 1, 2023
    Messages:
    52
    Likes Received:
    34
    but it still somehow runs out of fuel
     
  50. julianarestrepo

    julianarestrepo Member

    Joined:
    Aug 1, 2023
    Messages:
    52
    Likes Received:
    34
    I just realized career scenarios cannot be edited because that would be cheating Screenshot (246).png
     

Share This Page