1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Extract 'dashboard' data in Train Sim World 2

Discussion in 'New users start here - FAQ' started by gazz, Jun 2, 2022.

  1. gazz

    gazz Member

    Joined:
    Feb 16, 2012
    Messages:
    35
    Location:
    Scarborough
    Balance:
    105Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    Arduino
    i'm building a controller for the train simulator, TSW2,
    it will have a some buttons that should light up when they do so in the simulated trains cab, and displays to show stuff like the speed, traction power/current, the safety systems lights and so on.


    i was wondering how i would go about starting to try and sniff out / find data from the sim for stuff like the trains location (gps style data) it's speed, when lights turn on and off on the display panels in the cab and so on.

    TSW2 runs on the unreal 4 engine, but there's apparently some special editor they use, and mention of 'simugraph' to handle the simulations of the trains etc.

    i struggle when it comes to software stuff and coding etc, i'm more a mechanical guy, but i can follow tutorials and instructions.
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,528
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,992Coins
    Ratings:
    +10,774 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  3. gazz

    gazz Member

    Joined:
    Feb 16, 2012
    Messages:
    35
    Location:
    Scarborough
    Balance:
    105Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    Arduino
    there's no telemetry output... the only output that exists is train speed, but this is part of a RailDriver controller, it has a display for speed, so the 'PieHid.dll' that the RailDriver uses in the sim sends out the speed, but that's it, no access to other data.

    people have asked them (including me) for a way to access the data, but they say they have no plans to add anything like that at the moment.

    So it looks like the 'hook method' is the only way to get at the data,
    i will read through what to do, and see if i can get anywhere.
    • Like Like x 1