PC [app] - Tsw Route Annotations

Discussion in 'TSW General Discussion' started by Winzarten, Aug 8, 2025 at 5:28 PM.

  1. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    493
    Likes Received:
    963
    This is a little app I've been working on, and I think (hope :-D) it is ready for public release. The goal is to mimic the overlay you see in Cab videos, showing the current location and possibly other interesting facts.

    upload_2025-8-8_18-20-35.jpeg

    It works by using the Lat/Long coordinates provided by the TSW API. Using them you can use the app to mark various locations on the route, which then will be shown as a overlay when you pass near them.

    Prerequisites
    • TSW needs to be run in Windowed Fullscreen or in windowed mode (Exclusive Fullscreen doesn't work).
    • TSW needs to be run with its HTTP API Enabled
    upload_2025-8-8_18-27-53.png
    Installer, instruction, as well as the source code can be found on the projects Gitlab page:
    https://gitlab.com/winzarten/tsw-route-annotations

    This will currently work only for Steam version, and possibly Epic (not tested). To support windows store version I need to know what's the user directory where i.e. engine.ini is kept (for steam it's My Games\TrainSimWorld5\)

    Hopefuly someone will find it usefull, question, ideas are welcomed.
    And note, it is first version, so.. there will be bugs ;-)
     
    • Like Like x 4
  2. roysto25

    roysto25 Well-Known Member

    Joined:
    May 1, 2019
    Messages:
    360
    Likes Received:
    383
    If engine.ini location is important, you may wish to note that not all machines store it in the regular My Games location. For instance, for some reason known only (maybe) to Microsoft, on my machine (Steam) the location is OneDrive\Documents\My Games\TrainSimWorld5\Saved\Config\WindowsNoEditor
     
  3. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    493
    Likes Received:
    963
    Thankfully this is already solved by using the OS to provide the location of 'my games' folder. The only thing that I need to handle are the various suffixes DTG uses for each version location.
     
  4. roysto25

    roysto25 Well-Known Member

    Joined:
    May 1, 2019
    Messages:
    360
    Likes Received:
    383
    The problem is that my system, for example, has multiple instances of 'My Games' and I have not discovered what rules it is using to decide which folder to use. The OneDrive location seems, with some exceptions, to be mainly various editions of TSW. I would add that the main installations of TSW are on a completely different drive in the usual SteamLibrary folder.
     

Share This Page