Skip to content

section1/truckersmp-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

truckersmp-cli

truckersmp-cli isn't far from the simplest TruckersMP launcher you could possibly conceive. It downloads the mod, launches the game, and that's about it. Its aim is to provide linux players with a launcher that's made to work with Wine. I developped this launcher in frustration after having spent multiple days trying to make the official launcher work on linux with Wine.

Usage

General

truckersmp-cli [-huv] [-d path] GAMEDIR
    -d path     mod directory, defaults to $XDG_CACHE_HOME/truckersmp-cli
    -h          this help
    -u          update mod files only
    -v          verbose
    GAMEDIR     path to ETS2 od ATS game data, optional with -u

By default truckersmp-cli stores the mod in $XDG_CACHE_HOME/truckersmp-cli. This is overrided as a fallback to the old behavior if a folder named truckersmp is found in the script directory. You can specify your own directory by using -d path.

Example

You will first have to lauch steam by itself, because for some reason steam refuses to launch the mod without having been brough up first. Then you can just run the script

$ WINEPREFIX=<wine prefix> ./truckersmp-cli <path to your ETS2 install folder>

the WINEPREFIX is only mandatory if you are not using the standard ~/.wine/

WARNING ! Your WINEPREFIX must be 64bits, the mod is not 32bits-compatible.

Install

Just clone this repository wherever you want your TruckersMP installation to be.

Build

You can build this program on linux, in fact the executable provided has built on a linux machine. Just install mingw64-w64 and then

$ make

Credits

I was greatly inspired by mewrev's Inject tool and TheUnknownNO's unofficial TruckersMP-Launcher.

Amit Malik's article on dll injection was also a great help.

About

A simple launcher for truckersMP to be used with wine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 54.1%
  • C 44.3%
  • Makefile 1.6%