Skip to content

Releases: KongGithubDev/TruckNav-Sim-Advanced

v0.1.4

Choose a tag to compare

@KongGithubDev KongGithubDev released this 03 Jun 09:40

New Features

  • Route Type: Choose between Fastest (default) or Shortest route
  • Avoid Ferries: Toggle to exclude ferry crossings from routes
  • Speed Alert Overlay: Prominent pulsing red bar when speeding + detailed voice warning (current speed vs limit)
  • Speed Alert Toggle: Can disable the overlay independently from voice warnings
  • Per-Category POI Icons: Independent toggles for Gas Stations, Service, Dealers, and Other on map
  • 3D Map Mode: Toggle 3D terrain view
  • Auto-Follow: Camera follows the truck automatically
  • Keep Screen On: Prevent screen from sleeping while navigating
  • City Labels: Toggle city name labels on map
  • New Settings Tabs: Data (storage/cache), Plugin (connection), Voice (guidance distances)
  • Air Pressure & Wipers: Display added to dashboard info
  • Voice Guidance Distances: Configurable announcement distances (6 tiers from 200m to 5km)

Refactors & UI

  • Restructured settings into 6 organized tabs (Navigation, Map, Appearance, Voice, Plugin, Data)
  • Traffic & Weather → Traffic (weather removed — no real game data)
  • Cleaner UI spacing and right-alignment fixes

Bug Fixes

  • Fixed traffic delay real-world conversion for voice & ETA display
  • Fixed route selection card appearing during auto-reroute
  • Fixed primary route label showing "traffic avoid" incorrectly
  • Fixed ETA showing "0h" prefix when < 1 hour
  • Fixed missing translation keys
  • Fixed route display path extending to exact click destination
  • General stability improvements

v0.1.3

Choose a tag to compare

@KongGithubDev KongGithubDev released this 02 Jun 11:04

New Features

  • German (DE) locale support for voice directions and UI -- locale-appropriate terms including "Ausfahrt", "in Richtung", "Kreisverkehr", and "Geradeaus weiter"
  • ManeuverCard now displays contextual long straight instruction when the next turn is more than 10 km away: shows exit prefix ("Take exit 23, then continue straight for 45 km"), destination city ("Continue towards Frankfurt for 45 km"), or plain distance
  • Voice straight announcement synced with ManeuverCard UI -- spoken text matches what is shown on screen
  • Exit number badge ("Exit 23") displayed on highway direction icons and as an inline chip in instruction text
  • Reroute voice notification when the system automatically recalculates the route due to deviation
  • Two-stage arrival voice: "approaching destination" at 500 m remaining, "arrived" upon reaching the destination
  • Per-category voice toggle for long straight announcements (settings > Appearance > Voice Warnings > Long Straight)

Improvements

  • Speed limit warning threshold changed from flat +5 km/h to 5% over limit for more consistent behavior across speed ranges
  • Thai digit hardcoded numerals (1, 500) replaced with Arabic numerals for consistency

v0.1.2

Choose a tag to compare

@KongGithubDev KongGithubDev released this 02 Jun 08:56

Bug Fixes

  • Route traffic colors no longer overwritten by progress updates
  • TTS voice now reads in correct language instead of app locale
  • City search fixed (activeSettings.selectedGame not on GameProfile)
  • Telemetry game comparison null-safe at startup
  • Worker crash guard for empty array access
  • Map source ID static to survive game switches
  • Traffic color watcher unblocked from premature guard
  • onRouteOverview null guards added

Improvements

  • Vite chunk splitting for faster initial load
  • Voice warning info note in settings

v0.1.1

Choose a tag to compare

@KongGithubDev KongGithubDev released this 01 Jun 17:14

New Features

  • Redesigned Game Selection UI — Immersive new game picker with animated gradient backgrounds, floating glow effects, large game cover cards with hover/glow states, and a modern start button with game-specific accent colors.
  • Actionable External Route Warning — The "External Route Detected" notification now includes a "Set on map" button that auto-enables tapping mode. Click anywhere on the map to navigate to your destination.
  • Alternative Route Traffic Colors — Both primary and alternative routes now display per-segment traffic congestion colors (green → orange → red) on the map.
  • Route Selection Card Overhaul — Polished route comparison card with gradient UI, time difference badge ("X min faster"), traffic delay badges, ETA and distance stats, and full keyboard accessibility (tab, enter, space).
  • Alt Route Traffic Delay — The alt route swap card now shows traffic delay estimates alongside ETA and distance after route confirmation.
  • Gradual Traffic Delay Calculation — Continuous density-to-delay model replaces binary segment counting for smooth, gradual ETA adjustments based on traffic density.
  • Spatial Grid Optimization — Grid-based spatial hashing accelerates traffic point lookups during A* pathfinding, drastically improving routing performance on dense traffic data.
  • Multi-Language Support — Full interface localization in English, German, and Thai, including route descriptions and voice guidance messages.

UI/UX Improvements

  • Refined Map UI Colors — Updated glassmorphism design tokens with better contrast, new semantic color variables, and consistent theme color usage across all map elements.
  • Time Difference Display — Route Selection Card now shows "X min faster" comparison between primary and alternative routes.
  • Better Keyboard Support — All interactive elements support keyboard navigation with visible focus indicators.

Bug Fixes

  • Fixed TypeScript error: settings.units → activeSettings.units in map scale control
  • Fixed temporal dead zone error with altDelayMin variable ordering
  • Fixed hardcoded "Alternative" text — now uses translated string
  • Added missing rerouting / reroutingSubtext Thai translations

v0.1.0

Choose a tag to compare

@KongGithubDev KongGithubDev released this 31 May 19:49

Initial Release

Key Features

  • Custom Routing Engine — A*-based pathfinding on a pre-compiled road network graph with DLC filtering, ferry detection, and yard navigation.
  • Alternative Routes — Edge-exclusion algorithm computes a secondary path; tap to switch between routes with time/distance comparison.
  • Live Traffic Layer — Real-time TruckersMP traffic congestion displayed as a color-coded overlay on the map and a progress bar along your active route.
  • Traffic-Adjusted ETA — ETA dynamically updates based on current speed and live TruckersMP traffic data.
  • Real-Time Telemetry — Connects via WebSocket to SCS Telemetry SDK for live truck position, speed, heading, job info, and game time.
  • Auto Day/Night Theme — UI and map brightness automatically follow in-game time.
  • Auto-Zoom on Turns — Camera pitches and zooms when approaching complex intersections.
  • Voice Guidance — Configurable audio alerts for overspeeding, upcoming turns (1 km / 200 m), and traffic.
  • Floating Speedometer — Minimal speed widget with speed limit badge that glows red on overspeed.
  • Rerouting — Automatic deviation detection with animated feedback and route recalculation.
  • Glassmorphism UI — Translucent, blurred interface with smooth transitions.
  • Cross-Platform — Web (any browser), Android (APK), and desktop (Electron).

Bug Fixes & Improvements

  • Settings mutation bug fixed (factory function pattern)
  • ATS coordinate conversion corrected (ETS2 factor replaced)
  • UK scale factor added to geo-to-game conversion
  • Web Worker lifecycle issues resolved (race condition, silent failures, try/catch)
  • Telemetry stop-reconnect loop fixed
  • MapLibre PMTiles protocol properly cleaned up on unmount
  • Event listener and RAF leaks fixed in camera and sheet components
  • ETA calculation now uses real-world hours throughout the pipeline
  • Various unused imports removed