0.19.1 • Published 1 year ago

trucksim-telemetry v0.19.1

Weekly downloads
60
License
MIT
Repository
github
Last release
1 year ago

TruckSim-Telemetry

TruckSim-Telemetry is a node module that takes telemetry data for Euro Truck Simulator 2 and American Truck Simulator provided by the scs-sdk-plugin and outputs parsed data and events.

Node version NPM version NPM Downloads Github Licence Discord

Documentation

Read the full documentation over at https://tst.kniffen.dev

Getting started

Prerequisites

Download and install the 󠀠󠀠󠀠󠀠scs-sdk-plugin by RenCloud

Supported plugin versions (Limited meaning some data and/or events may be inaccurate)

  • v1.12.0
  • v1.11.0
  • v1.10.6
  • v1.10.5 (Limited)
  • v1.10.4 (Limited)

Install the 󠀠󠀠󠀠󠀠windows-build-tools

Installing

Install the module via NPM npm install trucksim-telemetry

Examples

Check the Documentation page for examples

Known issues

refuel-paid event not emitting

This seems to be a problem with the plugin. It seems to only trigger once per game.

Electron and React or Vue (webpack)

An common issue reported by people is getting the following error message when trying to use the module with React or Vue. Module not found: Error: Can't resolve '../../build/Release/scsTelemetry' ... This seems to be webpack related, and adding the following alias to your webpack.config.js file should resolve it

// webpack.config.js
module.exports = {
  resolve: {
    alias: {
      "../../build/Release/scsSDKTelemetry": "../../build/Release/scsSDKTelemetry.node"
    }
  }
}

For Electron you may or may not additionally have to set the following preferences when creating your browser window

webPreferences: {
  nodeIntegration: true,
  contextIsolation: false,
}

Trailer damage values

The current version of the scs-sdk-plugin does not provide the damage value for the trailer's body, as such the total damage value is also incorrect.

Demo

To help visualize the data you can use this Demo app

demo screenshot

License

This project is licensed under the MIT License - see the LICENSE file for details

0.19.1

1 year ago

0.20.0-beta.3

1 year ago

0.20.0-beta.2

1 year ago

0.20.0-beta.1

1 year ago

0.19.0

1 year ago

0.17.0

1 year ago

0.18.0

1 year ago

0.16.2

1 year ago

0.16.1

2 years ago

0.16.0

3 years ago

0.15.0

3 years ago

0.13.0

3 years ago

0.14.0

3 years ago

0.13.1

3 years ago

0.12.0

3 years ago

0.11.0

3 years ago

0.10.6

3 years ago

0.10.5

3 years ago

0.10.4

3 years ago

0.10.2

4 years ago

0.10.3

4 years ago

0.10.1

4 years ago

0.10.0

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.4

4 years ago

0.6.3

4 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

7 years ago

0.1.0

7 years ago