An easy tool to let others see your current job, truck, etc. using Discord Rich Presence!
Here's our Discord server for support: https://discord.gg/Zt49WDH
Your image will change on the rich presence depending if your lights are on.
ETCARS 0.15.386 is required for the RPC to work, older versions will not work.
THIS VERSION INCLUDES ETCARS 0.15.386, YOU MUST DO A FULL INSTALL FOR THIS TO WORK
- TruckersMP has their own Rich Presence which needs to be disabled in MP Settings!
- Due to a few problems with previous ETCARS, you will need to install ETCARS 0.15.386 from our installer.
- Promods isn't supported currently but there are future plans for supporting it.
- IF YOU HAVE ETCARS INSTALLED, PLEASE REINSTALL IT WITH ONE INCLUDED WITH VT-RPC!
Supports Euro Truck Simulator 2, American Truck Simulator and TruckersMP.
Rich presence example on Single Player
Rich presence example on Multiplayer
- Fixes issue where it doesn't work on non-dev argument
- Apparently cos node is stupid, enable debugging stuff makes it work...
- Install Virtual Trucker Rich Presence using a release installation package from Releases Page .
Take a look to User Guide for further details.
But here is the most important information:
REQUIRED PROGRAMS:
- ETCARS 0.15.386 - https://etcars.menzelstudios.com/
- Node.js - https://nodejs.org.
- Git - https://git-scm.com
- Install and download the required programs.
- Open cmd/powershell by holding shift while right clicking inside the VT-RPC directory.
- Install the required node modules by typing "npm i" in PS/CMD.
- Start the rich presence by typing "node index.js --dev". (--dev not required but recommended)
- Start ETS2/ATS.
- Select that and start playing!
- Run
npm run compile
. - Bundled exe will be written in
release
directory.
- Install InnoSetup - http://www.jrsoftware.org/isdl.php
- Install Inno Download Plugin - https://bit.ly/2KnepSA
- Open
setup\InnoSetup.iss
with InnoSetup and compile it - Run
iscc .\setup\InnoSetupScript.iss
(Add to PATH variable envC:\Program Files (x86)\Inno Setup 5
) - Installation package will be written in
setup\Output\VirtualTruckerRichPresenceSetup.exe
We need RunHidden.vbs
to run a packaged node.js app windowless in windows. So, the application is launched from that vbscript.
Log file vtrpc.log
is written in:
- Windows:
%appdata%\VirtualTruckerRichPresence\
- Linux:
/var/local/VirtualTruckerRichPresence/
- MacOS:
/home/Library/Preferences/VirtualTruckerRichPresence/
- --dev : enable verbose development logging and dev environment behaviour
- --logetcarsdata : prints in console every ETCARS data received
- --logallactivity : prints in console every activity sent to Discord
- --clientConfiguration : specify clientconfiguration.json path
dowmeister: ETCARS plugin, coding, Trucky & Trucky API.
SgtBreadStick: Coding, Images, Website Developer.
Josh Menzel (jammerxd): ETCARS plugin, compatibility with ETCARS.
Heyhococo: Testing, Mac Testing.
Minion_Josh: Testing.
Lasse: Initial project, coding. Rein: Images.