Want to make things even easier? Just install Trucky Overlayat https://truckyapp.com/overlay and VTRPC will be included!
Any user found abusing Trucky API with VTRPC will be held accountable for any issues, and will most likely be banned from using Trucky API is the future. VTRPC is a tool for rich presence and abusing API will not be tolerated!
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
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 is only supported on MP or via the developer argument
- IF YOU HAVE ETCARS INSTALLED, PLEASE REINSTALL IT WITH ONE INCLUDED WITH VTRPC!
Supports Euro Truck Simulator 2, American Truck Simulator and TruckersMP.
Rich presence example on Single Player
Rich presence example on Multiplayer
- Added user-agent to Trucky API requests
- Increased timer for trucky api requests
- Updated ETCars download server for installer
- Fixed many security vulnerabilities and updated packages
- Now using newer NodeJS LTS version
- Added Trucky API fallback, if API is having issues the checkers will be stopped
- New VTRPC logging method added
- All previous versions of VTRPC will be removed!
- 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.jammerxd.com/
- NodeJS - 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 VTRPC 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 5.6.1 - http://files.jrsoftware.org/is/5/innosetup-5.6.1.exe (YOU WILL NEED INNOSETUP 5!)
- 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 files are written in:
- Windows:
%appdata%\VirtualTruckerRichPresence\
- Linux:
/var/local/VirtualTruckerRichPresence/
- MacOS:
/home/Library/Preferences/VirtualTruckerRichPresence/
- --dev : enable verbose development logging and dev environment behaviour
- --promods : enables promods mode, doesn't do much but change images
- --logetcarsdata : prints in console every ETCARS data received
- --logallactivity : prints in console every activity sent to Discord
- --clientConfiguration : specify clientconfiguration.json path
SgtBreadStick: Coding, Images, Guides, Website Developer.
jammerxd: ETCARS plugin, compatibility with ETCARS.
dowmeister: ETCARS plugin, coding, Trucky & Trucky API, Trucky Overlay.
Cody™: Bot Development.
Lasse: Initial project, coding.