Re: wETS2G19Display : G19 LCD

Post Reply
User avatar
ohaha
Posts: 11345
Joined: 07 Dec 2012 06:31
Location: Watchin' y'all
Contact:

Re: wETS2G19Display : G19 LCD

#41 Post by ohaha » 04 Apr 2014 19:54

One small observation: the log is currently 12.1 MB. Is it really necessary to gather all that info?
Just curious.
Thanks for the update! :)

Cheers
Retired, but still loving it.
User avatar
Sniper
Posts: 122
Joined: 07 Dec 2012 18:00
Location: The other side

Re: wETS2G19Display : G19 LCD

#42 Post by Sniper » 05 Apr 2014 00:12

Ah, I see, this library is build around "logger".
Whiler, if you want help adjusting it, just ask. I can even write new functions or classes.
GitHub: https://github.com/TheLazyTomcat
Programs download: https://www.dropbox.com/sh/lhz3m1n56ed7 ... 7c3ea?dl=0

If anyone will be contacting me, please be notified that I might not be able to respond for several months. Or at all.
User avatar
ohaha
Posts: 11345
Joined: 07 Dec 2012 06:31
Location: Watchin' y'all
Contact:

Re: wETS2G19Display : G19 LCD

#43 Post by ohaha » 05 Apr 2014 00:16

Too many smart people around here. I already feel dumb... :?
Oh, well, just a suggestion then:
is it possible that this window loses it "always on top" attribute, when the game is paused?
and another one, if we're at it :D
are global keyboard shortcuts possible? it would be interesting to have one, to flip through various screens :)
Retired, but still loving it.
User avatar
Whiler
Posts: 86
Joined: 14 Dec 2013 16:55
Location: France
Contact:

Re: wETS2G19Display : G19 LCD

#44 Post by Whiler » 05 Apr 2014 10:44

ohaha wrote:One small observation: the log is currently 12.1 MB. Is it really necessary to gather all that info?
I start the game and load my profile... then I exit the application:
My game.log.txt is 49KB...
If I remove my plugin, there's only 4 lines less...
So, I guess, you have specific flags setup somewhere to gather more infos in your logs? if true, which ones, so I can investigate...
Moreover, 12.1 MB is always this size or is it increasing when you play longer?
ohaha wrote:Thanks for the update! :)
So, you confirm that the Logitech setup is not anymore needed?
Sniper wrote:Ah, I see, this library is build around "logger".
How can you say that? :D
Sniper wrote:Ah, I see, this library is build around "logger".
Whiler, if you want help adjusting it, just ask. I can even write new functions or classes.
Thanks a lot!!!!
Your Delphi lib is so great! The only time I needed to modify it, was few days ago, to add the 1.9.x version of game as a supported one, which is the only difference I found between SDK 1.1 & 1.2.
Otherwise, I haven't find a way to get the ingame time... as this is not a telemetry data, I understand, this data is definitely not avaible from the SDK provided byt SCS. :(
ohaha wrote:is it possible that this window loses it "always on top" attribute, when the game is paused?
Good idea! I'll do it ;)
(When the roadsign "Pause" is displayed, the window will not be Always on top...)
ohaha wrote:are global keyboard shortcuts possible? it would be interesting to have one, to flip through various screens :)
I already tried to implement it... but failed :(
The logitech keyboards special keys (the ones from the LCD display) events are triggered but I failed to catch the regulars ones...
As I don't remember which Windows API functions I tested, I'll retry... all I remember is that I didn't implement a real keyboard hook because I want to keep only one DLL, and I prefer to keep it simple...
Sniper, if you know how to do it, help is welcome! :oops:
User avatar
Whiler
Posts: 86
Joined: 14 Dec 2013 16:55
Location: France
Contact:

Re: wETS2G19Display : G19 LCD

#45 Post by Whiler » 05 Apr 2014 11:53

ohaha wrote:are global keyboard shortcuts possible? it would be interesting to have one, to flip through various screens :)
Whiler wrote:As I don't remember which Windows API functions I tested, I'll retry...
Ok, I finally manage to get them...
Now, I have to implement the needed behavior ;)

New version soon....
User avatar
ohaha
Posts: 11345
Joined: 07 Dec 2012 06:31
Location: Watchin' y'all
Contact:

Re: wETS2G19Display : G19 LCD

#46 Post by ohaha » 05 Apr 2014 11:59

It's not cooperating if I uninstall Logitech Gaming Software.
This time I caught the message
Attachments
wETS2G19Display_Error.jpg
wETS2G19Display_Error.jpg (15.21 KiB) Viewed 2783 times
Retired, but still loving it.
User avatar
Whiler
Posts: 86
Joined: 14 Dec 2013 16:55
Location: France
Contact:

Re: wETS2G19Display : G19 LCD

#47 Post by Whiler » 05 Apr 2014 12:31

Ok, thanks.. I investigate ;)
User avatar
Whiler
Posts: 86
Joined: 14 Dec 2013 16:55
Location: France
Contact:

Re: wETS2G19Display : G19 LCD

#48 Post by Whiler » 05 Apr 2014 15:33

ohaha wrote:It's not cooperating if I uninstall Logitech Gaming Software.
Whiler wrote:New version soon....
Done...

New version available:
  • Maybe, this time, the logitech dll is not anymore required :?: (if anyone can confirm if it's ok or not... sry for this boring test)
  • Window on a second monitor is Stay on top except if game is paused
  • Check if a new plugin version is available
  • You can switch the display options using regular keyboards keys:
    • Numpad 1: Speed, RPM, Lights, ...
    • Numpad 2: Compass, ...
    • Numpad 3: Speed only
    • Numpad 0: K/h or GPS Coords (depending on the current display)
    • Numpad decimal separator: Mph or No GPS
    • Numpad +: Main screen (the one behind the game)
If default keys don't suit you, you can edit the plugin ini file: %APPDATA%\Whiler\wETS2G19Display\wETS2G19Display.ini
Be carefull when editing this file, you can esaillly crash the plugin with wrong values! If you are lost, delete it and it will be recreated with default values. ;)

In the section [Keys]:
  • you can disable all the keys if you set Enabled=0
  • you can disable a specific key if set the value to 0
  • to know which value you have to use for a specific key, you can check this webpage.
You have to relaunch the game to reload any updated value.
User avatar
ohaha
Posts: 11345
Joined: 07 Dec 2012 06:31
Location: Watchin' y'all
Contact:

Re: wETS2G19Display : G19 LCD

#49 Post by ohaha » 05 Apr 2014 16:13

Did you already uploaded it to that location?
Which version is this one, 3.2?

Sorry for asking, but I don't see those features... Or, maybe, I'm doin' somethin' wrong.. :?
Retired, but still loving it.
User avatar
ohaha
Posts: 11345
Joined: 07 Dec 2012 06:31
Location: Watchin' y'all
Contact:

Re: wETS2G19Display : G19 LCD

#50 Post by ohaha » 05 Apr 2014 16:15

Sorry, my bad.
It's working. I just had to actually enter the game to activate the features. And the "always on top" toggle.

Thank you! You are a god!
Retired, but still loving it.
Post Reply

Return to “General discussion about the game”

Who is online

Users browsing this forum: MuratTemel, VonMacaroni, zippe and 15 guests