Eurotruck Simulator 2 Dashboard skin

CodeFactor GitHub Version GitHub Milestone GitHub Commit since GitHub Release Download Github Licence GitHub Release Date Dependecy Status devDependencies Status

About

The idea with this repository is to update a collection of dashboard from the Funbit repository with the newest SCS SDK.

And then, use a best way to maintain the different dashboard.

The first to be rework are my own dashboard. In the future, all dashboard in the Funbit repository will be include

This project was based on the TruckSim-Telemetry-Demo

Screenshot

What’s it ?

This is an web app who you can switch over dashboard skin (Custom or from other truck brand (DAF, Man, Mercedes, Renault, Scania or Volvo)). See screenshots here

I’m also introduce the possibility to change the unit of measurement as you prefer. See the full list here

It’s work on desktop and mobile browser.

Use from a mobile device

  1. Find your local IP address (Find how here)
  2. Open a web browser on your mobile device
  3. Access to the dashboard: http://<YOUR_LOCAL_IP>:3000 (e.g. http://192.168.1.42:3000)
  4. And voilà ! You can enable / disable the fullscreen on tap on the dashboard

Tip: You can save a shortcut on your home screen to use it as an app like.

Environement

All development are made under Windows. It’s not operable under all other OS.

The view is optimized for a 5.5" screen. To develop on you web browser, you can set phone view to 800px * 455px

Requirements

Important: It dosen’t work with all Internet Explorer browsers

Know issues

If you found an issue, please see the KNOW_ISSUES.md. Your issue may be already known.

Features

To see all features used into the dashboard, see the FEATURES.md.

Skins

To know more about the skin integrated or how to add a new skin, see the SKINS.md

Configuration

To know more about the configuration, see the CONFIG_SETTINGS.md

Quick use

Without install

You can use this dashboard without build anything. Just to get the scs-sdk-plugin (See below).

You can download the *.tar.gz archive from the release page.

Extract this archive and run the ets2-dashboard-skin_vX.X.X.exe. That’s it !

From sources files

  1. Install the prerequisite things
  2. Follow the installation instructions
  3. Launch the bundle command
  4. Run the ets2-dashboard-skin_vX.X.X.exe place on the bundle directory

Prerequisite

scs-sdk-plugin

Install scs-sdk-plugin by RenCloud

Windows-Build-Tools

Install Windows-Build-Tools

$ npm install --global windows-build-tools

Installation

Clone this repository

$ git clone https://github.com/JAGFx/ets2-dashboard-skin.git
$ cd ets2-dashboard-skin

Build resources

$ npm i && npm rb
$ npm run server:install
$ npm run build

Development

Environment file

This project use a .env file. If you wan to override one or more variable in the development, create a .env.local at the same place of the .env file

Telemetry data

If you want to use a fake file data instead of the data from the SCS API, set the VUE_APP_USE_FAKE_DATA to true

VUE_APP_USE_FAKE_DATA=true

If you wan to disable the fullscreen for development, set to false:

VUE_APP_ENABLE_FULLSCREEN=false

Resources

I provide all resources what i’m use to develop this dashboard. Such as svg, AI file for svg or others element who can be need to contribute too.

See the RESOURCES.md section to get more details

Commands

Dashboard

Dev

Launch the dashboard development server

$ npm run dashboard:dev

Build

Build the dashboard dist files for the production

$ npm run dashboard:build

Start

Start the production version of dashboard

$ npm run dashboard:start

Production

Server install

Install all necessary dependencies for the server

$ npm run server:install

Server build

Build the server dist files for the production

$ npm run server:build

Server start

Start the production version of the server

$ npm run server:start

OR

$ npm start

Build

Build the dist files for the dashboard, the server and font

$ npm run build

Bundle

Generate a *.tar.gz archive with all production files of Dashboard and Server

$ npm run bundle

Build and Bundle

Combine Build task and Bundle task

$ npm run bAndB

Other

Font build

Create a font with all svg files from the resources directory

To get more details, see RESOURCES.md

$ npm run font:build

ESLint

Launch the lint inspector

$ npm run lint

License

Under the MIT License

© JAGFx - hey@emmanuel-smith.me