Skip to content
Projets

À propos

Real-time GPS navigation & routing for ETS2 and ATS. Works on Desktop, Android, and Browser via live telemetry.

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+2
in 15 days
+9
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Truck Nav

Truck Nav is an external GPS navigation system for Euro Truck Simulator 2 and American Truck Siulator built using TypeScript. It runs as an APK (Android), EXE (Desktop) or browser-perfect for a phone, tablet or second monitor and provides real-time tracking, live ETAs, and routing based on the in-game map.

Current Status: Work in Progress

Please consider this project a Work in Progress.

While the core navigation works, the project is far from perfect. Creating the routing graph required a massive amount of work in QGIS and scripting, fixing road segments, roundabouts, and intersections to ensure the GPS knows where it can and cannot go.

  • ATS / ETS2 Version: Up to 1.62 ✅
  • Supported DLCs: All official map DLCs ✅
  • Map Mods: Multiple Map Mods✅

Known Issues & Limitations

⚠️ Common Quirks

  • Company Areas: GPS routing might fail if you are deep inside a company yard. Try moving your truck slightly toward the exit before setting the destination if errors are happening.
  • Map Gaps: The graph I currently use can produce some errors (disconnected roads, illegal U-turns) but should ~99% of the time show the correct route.

[!CAUTION] Real Company Name Mods: Not supported anymore with the latest version.

Installation via Desktop (.exe) & Android (.apk)

  1. Download the latest setup file from the Releases page.
  2. Run the downloaded setup file and complete the installation.
  3. Launch Truck Nav on your PC.
  4. (Optional for Mobile) Install the .apk on your tablet or phone.
  5. Open the mobile app or the web browser on any device and enter the IP address displayed in the PC application.

Instalation via nodejs

Prerequisites

Before installing, ensure you have the following software installed on your computer:

  1. Node.js (LTS Version): Required to run the application.
  1. Git: Required to clone the telemetry repository automatically.

Installation

1. Get the Code

You can either clone the repository using Git (recommended for easy updates) or download the ZIP file.

Option A: Git Clone (Recommended) Open your terminal or command prompt and run:

git clone https://github.com/Rares-Muntean/TruckNav-Sim.git
cd TruckNav-Sim

Option B: Download ZIP

  1. Click the Code button at the top of this page and select Download ZIP.
  2. Extract the files to a folder on your computer.
  3. Open that folder in your terminal or VS Code.

2. Prepare the Environment (Windows Users)

If you are on Windows, you may need to run the following commands to ensure the installation proceeds without problems.

PowerShell Script Execution:

If you encounter errors regarding disabled scripts in PowerShell, run one of the following commands as Administrator: Temporary Fix (Recommended):

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

Permanent Fix:

Set-ExecutionPolicy RemoteSigned

3. Install Dependencies

npm install

Running the App

Start the development server with the following command and wait for the Ets2 Telemetry server to clone:

npx nuxi dev --host 0.0.0.0

Follow the instructions from the opened .exe to install the telemetry plugin DLLs into your game directory.

Accessing the App in Your Browser

To open the app in your browser, click the network link shown in the terminal (the local link may have telemetry fetching issues):

➜ Network: http://192.168.1.x:3000/

🐧 Linux & Steam Deck Support

Official native Linux support is a priority for the roadmap, but it will take some time to implement while I finalize the core architecture.

If you are a Linux user and need a solution immediately, please use the community-maintained branch by Jeroen van Straten. He has put an incredible amount of work into this integration, and his research will serve as the foundation for official Linux support in the future.

TruckNav Linux Branch (by Jeroen van Straten)

How it Works

  1. Telemetry: The app uses a telemetry server to pull data (coordinates, speed, heading) directly from the running game.
  2. Mapping: The in-game coordinates are converted to a standard WGS84 projection to allow them to work with web mapping libraries (visual issues might still appear).
  3. Routing: A custom graph built from game files allows the app to calculate the shortest path to your destination.
close-up-gps

How You Can Help Improve the Map

If you test the application and encounter strange behavior, you can help improve the navigation by reporting what you find.

What to Report

  • A brief description of the issue
  • A screenshot from the app

Where to Send Reports

Send your findings to ONE of the options below:

Your reports help refine the application and improve navigation accuracy.

Note:
Reported issues will be addressed as time permits.

Credits & Acknowledgements

@truckermudgeon

Special thanks for the 'maps' repository.

  • This provided the essential starting point for map parsing and was the catalyst that turned the idea into a reality.
  • The logic for converting internal game coordinates to a usable format (WGS84) was invaluable for getting the map rendered correctly.

@RenCloud

Thanks for the scs-sdk-plugin.

  • This tool is the bridge that allows the browser to communicate with the game engine. It's core functionality is refined and implemented seamlessly inside TruckNav.

Drive safe, and happy trucking!

Explorer des projets similaires

Chargement…