ETS2 (Euro Truck Simulator 2) python telemetry reader for nlhans' ets2-sdk-plugin based on nlhans' telemetry client for python applications.
- Login steam, download Euro Truck Simulation2
- Hit the link above and follow instructions.
- SDK file (DLL file) must be in
<Euro Truck Simulation2>\bin\<win_x64 or win_x86>\plugins
path would be like this:
C:\steam\steamapps\common\Euro Truck Simulation2\bin\win_x64\plugins
if there is no plugins folder inside of win_x64, make "plugins" folder and put a DLL file in it
- clone this repo. type it on terminal.
$ git clone https://github.com/comeeasy/ets2-python-telemetry.git$ cd ets-python-telemetry $ python get.py
then, see ets2sdkdata.py and also here
most important code in
get.py
is just like below
data = sm.update()
f.wrtie(data)