Last active
December 26, 2024 10:27
-
-
Save srlemke/617fe318ea26fed4cbd2edaec9209c86 to your computer and use it in GitHub Desktop.
SimHub on Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mainly extracted from https://www.simhubdash.com/community-2/simhub-support/guide-simhub-on-linux/ | |
First, Linux games are isolated 'Vessels' per game, it may look weird, but after understanding it better its quite handy, | |
if something goes wrong you just delete the whole 'vessel' and start from scratch, as if windows was resinatalled. | |
The vessel for each game has an unique ID: | |
get your game ID with: | |
grep name ~/.steam/steam/steamapps/appmanifest_* | |
I will be using ID 1066890 which is for Automobilista2. | |
Remember, each game is an independ windows-vessel, if you want it on more games you have to install on all game ID's | |
separatelly. | |
--> Simple steps to install simhub: | |
Optional: Have a look and possible clean the game vessel by uninstalling unused stuff: | |
WINEPREFIX=~/.steam/steam/steamapps/compatdata/1066890/pfx wine uninstaller | |
Install dotnet48: | |
WINEPREFIX=~/.steam/steam/steamapps/compatdata/1066890/pfx winetricks -q --force dotnet48 | |
If this error: | |
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine client error:0: version mismatch 787/843. | |
Then run wineserver -k | |
and then run the above command again | |
Install: | |
WINEPREFIX=~/.steam/steam/steamapps/compatdata/1066890/pfx wine /home/slemke/Downloads/SimHubSetup_9.6.5.exe | |
If it fails regarding windows version fix it to windows 11: | |
WINEPREFIX=~/.steam/steam/steamapps/compatdata/1066890/pfx wine winecfg | |
To launch with steam(for Automobilista2): | |
protontricks-launch --appid 1066890 '/home/slemke/.steam/steam/steamapps/compatdata/1066890/pfx/drive_c/Program Files (x86)/SimHub/SimHubWPF.exe' &> /dev/null & gamemoderun mangohud %command% | |
To run from terminal: | |
protontricks-launch --appid 1066890 '/home/slemke/.steam/steam/steamapps/compatdata/1066890/pfx/drive_c/Program Files (x86)/SimHub/SimHubWPF.exe' | |
If for whotever reason it does not start, install dotnet again: | |
WINEPREFIX=~/.steam/steam/steamapps/compatdata/1066890/pfx winetricks -q --force dotnet48 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment