Simple Tachograph for ETS2/ATS, v1.7.3

Forum rules
SCS as a company do not wish to have paid mods on this forum. While we understand that not all paid mods use the Intellectual Property of other companies/people, it is very hard to moderate what is and isn't acceptable when money is involved. There are also concerns that it could look unfavorable to potential work partners going forward if SCS allow mods that may potentially use unlicensed branding.
Posting in the Mods forum (ATS and ETS2) is restricted to sharing free-to-the-public mods and providing support for mods. For more details, please check the Forum Rules.
Post Reply
User avatar
knox_xss
Posts: 1274
Joined: 20 Dec 2012 14:38

Simple Tachograph for ETS2/ATS, v1.7.3

#1 Post by knox_xss » 10 Jan 2019 14:02

Simple Tachograph for ETS2/ATS, v1.7.3

[ external image ] [ external image ]

Changes in v1.7.3
  • added checkbox to disable tachograph
  • added "Use imperial units" checkbox
  • updated sound files of speed limits
Install
1. Copy entire "Simple Tachograph EN" folder somewhere on your computer.
2. Install the plugins:
from "Plugins" folder copy entire "bin" folder into the folder where game is installed:
...\Euro Truck Simulator 2\ or ...\American Truck Simulator\.

It should be like this (as an example):
g:\Games\Euro Truck Simulator 2\bin\win_x64\plugins\telemetry_tedit_x64.dll

Attention #1! If the game can not load plugin and say in the log...

Code: Select all

00:00:12.215 : loading 'telemetry_tedit_x64' 'G:/Games/Euro Truck Simulator 2/bin/win_x64/plugins/telemetry_tedit_x64.dll'
00:00:12.218 : <ERROR> unable to load: 0000007E
... try to install "MS VC++ Redistributable 2012 x86/x64" (both x86/x64 versions) from "vcredist" folder!

Attention #2! For its work, the program must be running. If you close the program, tachograph will not work!
Attention #3! In case the hot keys do not work, try to run the program "as administrator"!

Description
A simple tachograph that considers "driving time" (daily, weekly and two-weeks) and "rest time". If the speed is more than 1 km/h, then driving time is considered, otherwise rest time is considered. During the game, you can press the hotkey to display the tachograph information in the game console (the default is the F12 key).

In the program settings you can set the following parameters (in minutes):
- the maximum total daily driving time;
- the maximum total weekly driving time;
- the maximum total two-week driving time;
- the minimum continuous rest time per day;
- the minimum continuous rest time per week.
In addition, you can assign a hotkey to display tachograph information in the game console.

After a week's rest, the time of driving for a week is first copied into the driving for the second week, and then resets. In addition, the current playing time is remembered - this is the time of the beginning of a new working week (it is shown in the console as "New week time").

Over 1 hour and 20 minutes before the end of driving time (daily, weekly or two-weeks), the player is notified (sound and in the game console) at intervals of every 20 game minutes.

"Rest time", if it is more than 20 minutes, can be interrupted by "driving", amounting to no more than 60 minutes. If the "driving" exceeds these 60 minutes, then the "rest time" and the "driving after a pause" counter will be reset. The amount of driving time after a pause of 20 minutes is indicated in square brackets after the "Full day drive time". This interruption of the "rest time" was done in order not to lose the "rest time" spent on the ferry.

The remaining time for work, displayed in quotes in the line Full day drive time, is calculated for all indicators: daily, weekly and two-week driving time, as well as the start time of the new shift and/or new week. Then the minimum is taken and it is displayed on the screen. In brackets indicates what it refers to:
- (Full day DT) - for daily driving time
- (One week DT) - for weekly driving time
- (Two weeks DT) - for a two-week driving time
- (End of shift) - for the end of shift (working day)
- (End of week) - for the end of working week

If the "Show remaining time" checkbox is checked, the "driving time" shown in the console has the following format: <remaining> (<passed>/<total>). If the checkbox is not checked, then everything remains as it was before: <passed> (<total>). For the new shift, the new week and the "rest time" in the brackets is always indicated the remaining time.

Recommendations
* I recommend disabling the default fatigue emulation.
* The program can be minimized to the system tray, so as not to interfere on the screen.

Download links:
Version 1.7.3 (35.7 MB)
Version 1.7 (49.5 MB)
Version 1.6 (19.3 MB) * * * Updated WAV-files (7.2 MB)
Version 1.5 (14.4 MB)
Version 1.4 (14.4 MB)
Version 1.3 (14.3 MB)
Version 1.2.1 (14.5 MB)
Version 1.2 (14.5 MB)
Version 1.1 (14.6 MB)
Version 1.0 (1.3 MB)

I express special thanks to Sergey (Supric) for the telemetry plugin and to Andrey (погранец) for the advices!


Copyright © 2019-2023 by Alex (Knox_xss)
Last edited by knox_xss on 25 Feb 2023 21:23, edited 15 times in total.
Long way to Fuji starts with the first step!
Space_Night
Posts: 2854
Joined: 23 Oct 2013 21:10
Location: Between somewhere and somewhere else

Re: Simple Tachograph for ETS2/ATS, v1.0

#2 Post by Space_Night » 10 Jan 2019 14:05

if only that information could be brought up on the tachographs that are in the truck.

Idea for SCS, take this a stage further, so we can enter the amount of rest we take in hours, ie: to take a 45min break we enter .75 in the rest hud on the UI when we first get the prompt "Press ENTER to rest"
User avatar
knox_xss
Posts: 1274
Joined: 20 Dec 2012 14:38

Re: Simple Tachograph for ETS2/ATS, v1.0

#3 Post by knox_xss » 10 Jan 2019 15:04

Space_Night wrote: 10 Jan 2019 14:05 ie: to take a 45min break
There is no make sense to make 45min breaks (or any breaks at all) in this (default) map and time scale (1:19). :!: That's why I decided to make a simple tachograph - like the default one from SCS, but with some improvements ("driving time" ticking only when the vehicle moves, "week driving time" and "two-week driving time"). Nothing special.
Long way to Fuji starts with the first step!
User avatar
pero
Posts: 376
Joined: 13 Dec 2013 12:33

Re: Simple Tachograph for ETS2/ATS, v1.0

#4 Post by pero » 11 Jan 2019 09:44

I like this, fantastic work. I`ll give it a go and report if any issues come up.
Dukeone
Posts: 414
Joined: 07 Aug 2014 19:20
Location: Gernany

Re: Simple Tachograph for ETS2/ATS, v1.0

#5 Post by Dukeone » 11 Jan 2019 10:19

Wow, another masterpiece from you Knox. Thank you very much. Perhaps it is possible to display it on the notebook, like you did with Tedit?
User avatar
Yukine
Posts: 1858
Joined: 20 Sep 2013 14:43

Re: Simple Tachograph for ETS2/ATS, v1.0

#6 Post by Yukine » 11 Jan 2019 10:28

Seems nice and less complicated than the "previous" one. I'll try it as soon as I can. :mrgreen:
Modders forgot sometimes there is also a life, so work on your speed. Don't think ''People need it fast.'' -Milan1NL
User avatar
knox_xss
Posts: 1274
Joined: 20 Dec 2012 14:38

Re: Simple Tachograph for ETS2/ATS, v1.0

#7 Post by knox_xss » 11 Jan 2019 10:30

Thanks, guys)
Dukeone wrote: 11 Jan 2019 10:19 Perhaps it is possible to display it on the notebook, like you did with Tedit?
Unfortunately, no. Displaying info on Tedit's notebook requires saving/loading of the savegame. Here it's different - on the fly (in console). ;)
Long way to Fuji starts with the first step!
User avatar
pero
Posts: 376
Joined: 13 Dec 2013 12:33

Re: Simple Tachograph for ETS2/ATS, v1.0

#8 Post by pero » 11 Jan 2019 10:31

Dukeone wrote: 11 Jan 2019 10:19 Wow, another masterpiece from you Knox. Thank you very much. Perhaps it is possible to display it on the notebook, like you did with Tedit?
That would require save editing (like TEDIT does). That data can`t be a variable, meaning it can`t change live on the notebook. We got the game console for that :P

EDIT: Knox beat me to it.

EDIT2:
How would people, not using TEDIT, be gettting the rest times in? Just by using the g_set_time command?

g_set_time <hours> [minutes]
User avatar
natvander
SCS Software
Posts: 2990
Joined: 01 Feb 2015 01:42
Location: NSW, Australia

Re: Simple Tachograph for ETS2/ATS, v1.0

#9 Post by natvander » 11 Jan 2019 23:17

Can you run two different set-ups? The driving times for EU are different to the US and it would be handy to simply run the required program.
Never argue with idiots. They bring you down to their level and beat you with experience.
User avatar
saper8664a
Posts: 51
Joined: 27 Oct 2017 11:20
Location: Russia

Re: Simple Tachograph for ETS2/ATS, v1.0

#10 Post by saper8664a » 12 Jan 2019 08:06

Create two folders for ETS and ATS. In config, set the desired values. And launch need "tacho_v1.0.exe" from the folder for ATS or ETS.
[ external image ]
[ external image ]
[ external image ]

Sorry my English
Last edited by supersobes on 12 Sep 2019 00:43, edited 1 time in total.
Reason: Removed quote [Forum rule 2.4]
Post Reply

Return to “Others”

Who is online

Users browsing this forum: No registered users and 6 guests