Skip to content

Orokon/TruckSim-Telemetry

 
 

Repository files navigation

TruckSim-Telemetry

Telemetry data from the ets2-sdk-plugin

Installing

Step 1

Download and install the ets2-sdk-plugin by nlhans

Step 2

npm i trucksim-telemetry

Step 3

Load up the game and profit?

Usage

const telemetry = require('trucksim-telemetry')

const data = telemetry.getAll()

console.log(data)

Check out example.json for data structure

Methods

telemetry.getBuffer()     // -> Original memory buffer from the plugin
telemetry.getRaw()        // -> Raw data
telemetry.getGame()       // -> Parsed game data
telemetry.getUserInput()  // -> Parsed user input data
telemetry.getTruck()      // -> Parsed truck data
telemetry.getTrailer()    // -> Parsed trailer data
telemetry.getJob()        // -> Parsed job data
telemetry.getNavigation() // -> Parsed navigational data
telemetry.getAll()        // -> All parsed data

About

Telemetry data from the ets2-sdk-plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.1%
  • C++ 8.0%
  • Python 0.9%