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

Question Can Simtools pull data from a 3rd party telemetry via UDP?

Discussion in 'SimTools DIY Version' started by Moe Colontonio, Mar 17, 2021.

  1. Moe Colontonio

    Moe Colontonio Member Gold Contributor

    Joined:
    Dec 9, 2017
    Messages:
    118
    Location:
    New Jersey USA
    Balance:
    750Coins
    Ratings:
    +30 / 1 / -0
    My Motion Simulator:
    3DOF
    I've been trying to get my Gbelt & Gseat working with simtools.

    I recently came across a 3rd party telemetry program called "Space Monkey". This can pull telemetry from DCS, and MSFS2020 as well as many other programs, and output it via several different formats. One is UDP, and the designer told me that Simtools can likely read this data.

    I have no clue how to proceed from here. I read this thread, but it may as well be written in Chinese for me: https://www.xsimulator.net/communit...etry-output-into-a-game-simple-example.11080/

    This is the Space Monkey app that pulls the telemetry and can output via UDP: https://github.com/PHARTGAMES/SpaceMonkey

    Any guidance here for a caveman?

    TIA
    Moe
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,460
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,596Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    SimTools can interface with UDP.

    But stepping back a moment as I understand it Space Monkey basically maps controller inputs and makes them available in Xbox controller emulated format. That emulation is what the existing SimTools joystick plugin already does: https://www.xsimulator.net/community/marketplace/joystick-plugin.127/

    And you can expand the joystick plugin functionality using Vjoy: https://www.xsimulator.net/communit...otion-plugin-and-vjoy-controller-mapping.387/

    There are also native SimTools plugins for a bunch of the games Space Monkey supports.

    It is always cool to expand what SimTools can interface with, but I guess I would just like to know what you hope to get out of Space Monkey that is not already available in one form or the other?

    If you want to create a plugin for Space Monkey then see here: https://www.xsimulator.net/communit...lugin-for-simtools-2-0-api-documentation.131/
  3. Moe Colontonio

    Moe Colontonio Member Gold Contributor

    Joined:
    Dec 9, 2017
    Messages:
    118
    Location:
    New Jersey USA
    Balance:
    750Coins
    Ratings:
    +30 / 1 / -0
    My Motion Simulator:
    3DOF
    Maybe there is another "Space Monkey" out there? This guy wrote this plugin to interface with SimCommander. It pulls telemetry from games and sends it in a format that Sim Commander can use. I never saw anything about joysticks or xbox, but I could be missing something.

    I currently use it to pull telemetry from DCS and send it to SC. I would rather learn how to send it to simtools.
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,460
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,596Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    This is from the Space Monkey Github explanation:

    SpaceMonkey supports XINPUT, currently mapped to standard gamepad inputs for steering (left stick), accelerator(right trigger), and brake(left trigger). Clutch and axis assignments coming in a future version. Use the XBOX 360 controller emulator to map your direct input devices to an XINPUT gamepad.
  5. Moe Colontonio

    Moe Colontonio Member Gold Contributor

    Joined:
    Dec 9, 2017
    Messages:
    118
    Location:
    New Jersey USA
    Balance:
    750Coins
    Ratings:
    +30 / 1 / -0
    My Motion Simulator:
    3DOF
    Again, I'm a trash man, not a programmer so maybe I'm missing something.

    I've been using it to pull telemetry from dcs and somehow send it to sim commander. I currently use vjoy to interface with my brunner ffb, but I have no idea how any of that is working.

    "
    SpaceMonkey was created to be a telemetry interface for games with no native telemetry support.

    SpaceMonkey mimics the functionality of the Codemasters Dirt 4 custom udp format which allows SpaceMonkey to be used via the UDP protocol by any software that already supports Dirt 4 and Dirt Rally 2.0 custom udp. SpaceMonkey also optionally writes telemetry to a Memory Mapped File as an alternative to UDP.

    SpaceMonkey contains telemetry visualisation and filtering functionality."
  6. GWiz

    GWiz Active Member

    Joined:
    May 12, 2019
    Messages:
    179
    Occupation:
    Dentist
    Location:
    Aberdeenshire, Scotland
    Balance:
    1,453Coins
    Ratings:
    +116 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    I think you are on to something very interesting here with the SpaceMonkey program. It is not merely a joystick plugin replacement as @noorbeast thought, but does appear to pull lots of different telemetry. I had a fiddle with it and managed to get motion with Wreckfest (Though not working correctly, but it seems a good start). It appears to scan the game to find the telemetry somehow and isn't reliant on constantly updating plugins within Simtools for games that receive frequent updates. If this is true, this could be a real boost to game compatibility. (Assuming this isn't already a feature included in the much anticipated Simtools V3 @yobuddy )

    To answer your question, yes I suspect you can use Simtools to read the UDP from Spacemonkey and convert this to motion for your Gbelt and GSeat, it just needs the correct configuration in Spacemonkey and either an existing or new plugin for Simtools. Exactly how you can achieve this, I haven't quite figured out yet but if I can get it partly working, I'm sure someone with a better grasp on these things will swoop in with an answer soon, this is a great forum for helpful advice.
  7. KydDynoMyte

    KydDynoMyte Fool's Gold Contributor

    Joined:
    Sep 5, 2011
    Messages:
    111
    Location:
    RTP, NC
    Balance:
    92Coins
    Ratings:
    +28 / 2 / -0
    My Motion Simulator:
    3DOF
    It looks to me like you would use a Dirt 4 or Dirt Rally 2.0 plugin, space monkey mimics that it is Dirt 4 or Dirt Rally 2.0.
  8. Hocky

    Hocky Member

    Joined:
    Aug 30, 2018
    Messages:
    51
    Balance:
    119Coins
    Ratings:
    +25 / 1 / -0
    • Like Like x 1
    • Informative Informative x 1