Supported SPT version - 4.0.X
If you are running SPT version 4.1.X you do not need this and this will not work.
Since SPT 4.1.0 there is a Linux launcher included! That one WILL actually start your game, just remember to put WINEDLLOVERRIDES="winhttp=n,b" %command% as launch options or the game will crash instantly.
A Linux build/fork of the original (4.0.X) SPT.Launcher
This Linux "Launcher" ironically won't actually start your game. It is more like an account manager for your SPT (or Fika) accounts.
It is identical to the official one with the only difference being that instead of having a "Start Game" button it has a "Copy Launch Arguments" one. You will paste those arguments in your preferred launcher (Lutris/Heroic/Steam) and run your game with Proton.
THIS IS ONLY THE LAUNCHER, NOT THE PATCHER OR INSTALLER!!! To install SPT I recommend using a Windows virtual machine - MY GUIDE.
Yes, I know of the Lutris install scripts but I had big trouble using them :( If you want to try them out then look at SPT-Linux-Guide.
DISCLAIMER: You don't have to put this inside your game folder to use it but if you still wish to do that, it will overwrite the original launcher's locale files, Assembly-CSharp.dll.delta and LICENSE-Launcher.txt(license is the same as the original). Doing so should not cause you trouble but I recommend just keeping it outside.
Go to the Releases page and download SPT.Launcher.Linux-*.tar.gz
The 7z one is the SPT-Forge Edition (folder structure that supports drag and drop into game folder).
- ASP.NET 9 Core Runtime (how to install?)
- Check if you have it available in your package manager
- (Linux Mint 22.3) I had to add it manually with an ubuntu PPA
-
sudo add-apt-repository ppa:dotnet/backports -
sudo apt-get update && sudo apt-get install -y aspnetcore-runtime-9.0
- An SPT install
- A third-party launcher to start your game with (Lutris/Heroic/Steam)
- A runner (Proton/ProtonGE) to emulate the game with
- Start the SPT server. SPT has a native Linux server included
SPT/SPT.Server.Linux(requires .NET 9 runtime). Mark it as executable and launch it through Terminal to see it - Start
SPT.Launcher.Linux - Create/login to an account
- Press "Copy Launch Arguments"
- Paste them into the launch arguments dialog inside your launcher of choice (Lutris/Heroic/Steam)
- To change the account playing you just select the account you want and copy-paste the launch arguments again
These are what the launcher on Windows is starting your game with. On Linux you'll be doing this manually because of emulation/proton setup.
- This always gets passed by the launcher, it should improve multi-core performance
-force-gfx-jobs native - The account you'll log in with
-token=accountnumber - The server you're connecting to (by default this should be the same)
-config="{'BackendUrl':'https://127.0.0.1:6969','MatchingVersion':'live','Version':'live'}"
Example: -force-gfx-jobs native -token=69fea3e381250c03c4e6f36a -config="{'BackendUrl':'https://127.0.0.1:6969','MatchingVersion':'live','Version':'live'}"
| Project | Function |
|---|---|
| SPT.Build | Build script |
| SPT.ByteBanger | Assembly-CSharp.dll patcher |
| SPT.Launcher | Launcher frontend |
| SPT.Launcher.Base | Launcher backend |
SPT is an open source project. Your commit credentials as author of a commit will be visible by anyone. Please make sure you understand this before submitting a PR. Feel free to use a "fake" username and email on your commits by using the following commands:
git config --local user.name "USERNAME"
git config --local user.email "USERNAME@SOMETHING.com"- Bash
- .NET 9 SDK
- A rich text editor (VSCodium)
- Open
project/SPT.Builddirectory in Terminal - Run
dotnet publish SPT.Build.Linux.csproj - Build results are stored in
project/Build.Linux
Thank you for creating and maintaining the SPT project. The modding community is lovely and the open source culture is awesome!
