PC [app] - Tsw Route Annotations

Discussion in 'TSW General Discussion' started by Winzarten, Aug 8, 2025.

  1. champier#2613

    champier#2613 Active Member

    Joined:
    May 31, 2022
    Messages:
    101
    Likes Received:
    73
    Did you try manually copying and pasting your API key located in Documents/MyGames/TrainSimWorld7/Saved/Config?

    I had to do that last night but I set it back to automatic and it's working fine for me
     
    • Helpful Helpful x 2
  2. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    787
    Likes Received:
    2,226
    I would double check the -HTTPAPI, also in app check the app is eaither on automatic key detection, or that the key you entered is correct.
    upload_2026-9-12_8-18-17.png

    The key will be different in TSW 7 than is in TSW 6.
     
    • Like Like x 1
  3. simulator fan

    simulator fan Active Member

    Joined:
    Jan 5, 2018
    Messages:
    168
    Likes Received:
    144
    thanks for that its all working now. Both versions (TSW 6 and TSW 7) now seem to be working. Does this mean that I am running 2 separate versions of the mod and will both automatically update?
     
  4. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    787
    Likes Received:
    2,226
    Nope. It is a standalone app, which communicates with TSW via the API DTG is providing. So it doesn't have to be installed as a mod. As there is no difference in the API betweeen TSW 6 and 7, a single app can easily support both TSW version.
     
    • Helpful Helpful x 1
  5. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    787
    Likes Received:
    2,226
    I've pushed a small update with initial annotations for the new TSW 7 routes. :)
     
    • Like Like x 9
  6. toms87

    toms87 Well-Known Member

    Joined:
    Jan 20, 2022
    Messages:
    1,024
    Likes Received:
    1,688
    I only have an API Key file in the Train Sim World 6 folder. Can I just copy it over or do I need to get a new one somewhere? Or enter my personal number that I also use for Train Sim Classic?
     
  7. champier#2613

    champier#2613 Active Member

    Joined:
    May 31, 2022
    Messages:
    101
    Likes Received:
    73
    TSW7 has it's own api key. It should be in the same location as the tsw6 folder but tsw7 instead. Make sure u add the launch option -httpapi
     
    • Like Like x 2
  8. toms87

    toms87 Well-Known Member

    Joined:
    Jan 20, 2022
    Messages:
    1,024
    Likes Received:
    1,688
    Nothing in the folder in TSW 7
     
  9. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    787
    Likes Received:
    2,226
    As champier said, double check that your'e running the game with -HTTPAPI parameter.
     
    • Like Like x 1
  10. The SimTrain Tube

    The SimTrain Tube Well-Known Member

    Joined:
    Jun 23, 2018
    Messages:
    504
    Likes Received:
    601
    Anyone else having problems with it not working?
    Only the location is displayed, not the weather info annotations.
    Its also not applying historic weather.

    Edit: Double checked if the -HTTPAPI is there, it is. Restarted my PC, still not working.
    Servers down perhaps?
     
    Last edited: Sep 14, 2026
    • Like Like x 2
  11. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    1,167
    Likes Received:
    776
    bugged atm
    error= ExpectationFailed
     
    • Like Like x 2
  12. toms87

    toms87 Well-Known Member

    Joined:
    Jan 20, 2022
    Messages:
    1,024
    Likes Received:
    1,688
    Hey Winzarten. I have, that´s not the issue. I don´t have an API code in TSW 7. I can only find one in the TSW 6 folder.
     
  13. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    1,167
    Likes Received:
    776
    toms87 if you put in the -httpapi there should be a in that folder after you ran tsw7
    maybe a typo or if you use more parameters forgot a space in between?
    and no need for caps
    i use -httpapi
     
    Last edited: Sep 15, 2026 at 4:47 AM
    • Like Like x 1
    • Helpful Helpful x 1
  14. The SimTrain Tube

    The SimTrain Tube Well-Known Member

    Joined:
    Jun 23, 2018
    Messages:
    504
    Likes Received:
    601
    It started working again about an hour ago.
    The time was a few minutes of, other than that it working fine again.
     
    • Like Like x 1
  15. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    787
    Likes Received:
    2,226
    Open-meteo had some hiccup with its historic api. Even the web version didn't work.

    It has to be something with the parameter. If the file is not there, then TSW is not running its API.
     
    • Like Like x 1
  16. toms87

    toms87 Well-Known Member

    Joined:
    Jan 20, 2022
    Messages:
    1,024
    Likes Received:
    1,688
    Thanks, that was the problem.
     
    • Like Like x 2
  17. Margam

    Margam Member

    Joined:
    Jul 6, 2024
    Messages:
    54
    Likes Received:
    49
    Little typo on new Leeds route -
    upload_2026-9-15_12-9-52.png
     
  18. Margam

    Margam Member

    Joined:
    Jul 6, 2024
    Messages:
    54
    Likes Received:
    49
    FAO Winzarten

    At the moment I only use the app for the annotations, not got into the weather bit yet. Like to drive on a sunny day :)

    Would you be open to receiving a list of potential additions and enhancements to add to the built in locations?

    I'm keeping a spreadsheet of ones that could be added and am happy to do research through various sources. Got rail atlases for UK, Germany, Switzerland & Austria, some UK Sectional Appendices for example. Maybe I could trawl older routes to add more categories that you've added later?

    Don't want to overload you and of course you'd have the final say if a location was worth including. What you think?
     
  19. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    787
    Likes Received:
    2,226
    Thanks, I will fix. I imagine there a many more to find :-D

    If you have ideas about functionality, and additional categories, then sure, throw them in :)

    For the actuall location, there I think, the most efficient way is to give the build-in editor a try, do the additional annotations, and export them for people to use. :)
     
    • Like Like x 3
  20. jivebunny

    jivebunny Well-Known Member

    Joined:
    Dec 8, 2024
    Messages:
    420
    Likes Received:
    892
    Hi Winzarten,

    Thanks to your frequent and timely updates, very often when we launch Route Annotations we get an update prompt. Do you think you could add a "Launch Route Annotations" tick box to the setup (ticked by default) so that it automatically launches the app after updating?

    It's a bit of a luxury request, but would be nice to have!

    JB
     
    • Like Like x 1
  21. StenioBlackHawnk

    StenioBlackHawnk Active Member

    Joined:
    Jan 21, 2020
    Messages:
    99
    Likes Received:
    196
    Hi Winzarten, quick question, I want to use the annotation overlay only when using a scenario mode, so If I want just the annotation overlay I need to change the wheater mode to ''manual weather'' before selecting a scenario?

    Thank you!
     
  22. Yerolo

    Yerolo Well-Known Member

    Joined:
    Mar 16, 2018
    Messages:
    1,337
    Likes Received:
    2,661
    I'm having the same issue as well. API key is fine...was working fine yesterday. Not sure what the issue is
     
  23. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    1,167
    Likes Received:
    776
    it resolved itself
    if not on the same day try the next day again
    maybe Open-Meteo are having maintenance or something else
     
    • Helpful Helpful x 1
  24. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    787
    Likes Received:
    2,226
    That's on the todo list, I have to figure out how to do it in the installer framework. ;-)

    Yes, you can even switch to manual after the scenario is loaded, and it will revert back to scenario defined weather. I wanted to do it automatically, so the app detect when you're in scenario and switches to manual, but I haven't found a way in the TSW API how to determine if the player is in scenario.
     
    • Like Like x 4
  25. StenioBlackHawnk

    StenioBlackHawnk Active Member

    Joined:
    Jan 21, 2020
    Messages:
    99
    Likes Received:
    196
    Oh so you can even change to manual in scenario ... Amazing then, thank you for the reply!
     
    • Like Like x 1
  26. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    787
    Likes Received:
    2,226
    New version - Weather Stations rework...

    The application has had the functionality of weather stations, where you can designate any station/yard as a weather station, and the app will then display the weather for that location. Either in the app, or in the overlay panel, if you have it set to permanent mode.
    upload_2026-9-19_17-50-14.png

    upload_2026-9-19_17-56-46.png

    But the functionality had two major shortcomings – the information was quickly out of date, as it only refreshed every 20 minutes. And you’re not really that interested in current weather, but rather what the weather will be once you reach that station.

    These issues are addressed with today’s update.

    The information shown is now continuously updated and always shows the current weather for the location.

    And a ‘Weather Report’ functionality was added. Where when you click the ‘report’ button next to the station, or on top of the panel. You then get a weather report for that station, or all stations in 300km radius. With forecast for the next 2 in-game hours, in 15 minutes intervals. The weather is appropriately scaled if you’re using weather acceleration. Works also for live weather.
    upload_2026-9-19_17-58-34.png

    Weather stations open-meteo queries are now much more efficient - generally only one query per station is required for 2hours of gameplay. So there is no risk of running out of the free api quota, even with lots of stations defined.
     
    • Like Like x 9
  27. Train Sim Society

    Train Sim Society Well-Known Member

    Joined:
    Aug 22, 2021
    Messages:
    687
    Likes Received:
    1,655
    So we essentially get a little forecast for our journey ahead in some way... okayyyy, I see you!!!! ;) :D
     
    • Like Like x 1
  28. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    787
    Likes Received:
    2,226
    That's the goal (well, also was with initial implementation, but it fell quite short of that goal) :) Give the player an overview on what is the weather around him (as the app cannot do maps... currently..:-P), and what to expect on the service :)
     
    Last edited: Sep 19, 2026 at 8:47 PM
    • Like Like x 2
  29. pegeka

    pegeka New Member

    Joined:
    Nov 1, 2021
    Messages:
    13
    Likes Received:
    8
    Just a heads up on a sunny sunday afternoon, to thank you for keeping up with an already great addition to the TSW experience. :)
     
    • Like Like x 2
  30. simulator fan

    simulator fan Active Member

    Joined:
    Jan 5, 2018
    Messages:
    168
    Likes Received:
    144
    Hi Winzarten. I discovered the weather overide button for the first time yesterday! I really appreciated this feature, (particularly for those of us seeking the somewhat elusive heavy rain). I was wondering if it might be possible in a future update to incoprporate a x1, x2, or x3 'precipitation multiplier switch' to the weather overide panel at some point in the future? This would enable increased precipitation but allow the weather to change naturally in a similar way to reality. Just a thought. Again thanks for all your efforts.
     

Share This Page