Linux Livesplit
On Linux, the "native" LiveSplit version is LiveSplit One. However it doesn't support Autosplitting using the old Auto Splitter Language (.asl) most games use for their AutoSplitters.
However we can instead use the Windows Version of LiveSplit through a compability layer like Proton or Wine. However, unless we set that up correctly, LiveSplit will be unable to see the game you try to run.
In this Guide I'll explain 2 ways for setting it up in a convenient way. The downside of these 2 are:
- Lutris: This will only work with games that do not use the Steam API. ( Pseudoregalia does not use the Steam API )
- Steam: This will only work conveniently with games that got a Steam App ID. ( Pseudoregalia is App ID [2365810] )
Terms and their meaning
- Package Manager: Most Linux Variants use a central Package Manager that gives access to most used applications from a trustable source with some level of Quality Assurance.
- Flatpak: A universal Package Manager available for any Linux Variant. This often has apps not available in your native Package Manager and deals with hard to figure out dependencies when installing from e.g. the devlopers github.
- Wine: Compability Layer for Windows Programs. It simulates a full Windows environment.
- Proton: Gaming focused Wine variant by Steam. Makes most Games just work.
- Wine Prefix: The simulated Windows environment. Applications can't talk between different prefixes.
Lutris - For Games that don't use the Steam API.
Lutris is a Game Launcher that heavily assists in managing how a game will be run. It will allow us to just setup our game and then copy that to run LiveSplit within the exact same setup. To install Lutris, follow the steps here according to your Linux Variant. In addition you will want to ensure that [wine] and [winetricks] are installed and if not, install them.
- Open Lutris, click the Hamburger Menu in the top right and click "Preferences".
- Go to "System" and if there are any Errors in the log section, search for fixes using google.
- Close the Settings Window and click the + in the top left. Select "Add locally installed game".
- For [Game Info] > [Runner] select "Wine (Runs Windows Games)", fill the rest in [Game Info] however seems relevant.
- For [Game Options] > [Executable] browse to the .exe for the game.
- For [Game Options] > [Wine prefix] browse to an empty folder. E.g. create a new folder somewhere and name it "Autosplit Prefix".
- Enable [Runner Options] > [Use system winetricks]
- In the main menu, select the Configuration, click the Wine Glass at the bottom and go into [Winetricks]
-
- [Select the default wineprefix] Click OK.
-
- [Install a font] Click OK.
-
- Select EVERY SINGLE ONE and be happy that this will not be a significant issue for LiveSplit. This will take a long time.
- LiveSplit Fonts are still messy, but at least there exist now a lot that work mostly fine for you to find.
- Select the default wineprefix
- Install a font
- Select EVERY SINGLE ONE and be happy to mostly not have this be an issue. This will take a while.
- Livesplit fonts are still gonna be messed up, but at least you can now search for some that function.
- You can now start the game through Lutris. If you get errors:
- For missing .dll files go into winetricks again and select [Install a Windows DLL or component]
- For game issues like black sceens, weird graphical glitches, etc. Change [Runner option] > [Wine version].
- If no Wine Version works, look into the Proton GE Section at the end of this guide.
- Once the game runs normally with no issues, go back to the main menu, Right Click the configuration you made and Duplicate it. Name the Duplicate just something like "LiveSplit"
- Change [Game Options] > [Executable] to your LiveSplit.exe
If everything is setup you can now start either LiveSplit or the Game first and Autosplitting works the same as it does on Windows.
Steam - For Games with a Steam App ID running through Proton
Note: The Steam App ID will hereafter only be mentioned as <ID>. For Pseudoregalia, the <ID> is [2365810]
- In Steam, go to your Game, go to the Game Properties and set the [LAUNCH OPTIONS] to
PROTON_LOG=1 STEAM_COMPAT_LAUNCHER_SERVICE=proton %command%
- Start the game. Once it's started it can be closed again. The Launch Option can be reset if wanted.
- Find the Log File:
- Normally the log file will be in your home directory named "steam-<ID>.log"
- Steam is installed through the Flatpak, go to [~/.var/app/com.valvesoftware.Steam]
- ~ is the Home Directory
- Depending on your filebrowser, .var is a hidden folder. Ctrl + H usually makes it visible.
- Open the "steam-<ID>.log" file and verify that around line 20 you have something like this:
/home/USER/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/steam-runtime-launch-client \
--bus-name=:1.147 \
--directory='' \
-- \
bash
- If this failed, verify that the game is running through Proton.
- Create a new textfile and copy the section you looked for in [Step 4] into the new textfile. It will hereafter be referenced to as <Command>
- Above the <Command>, enter in "#! /bin/bash" (Without Quotation marks)
- This is to designate how to execute a script in Linux.
- In the <Command>, change "--bus-name=:1.234567890 " to "--bus-name=com.steampowered.App<ID> "
- In the <Command>, change "bash" to "wine "/Path/To/LiveSplit.exe"
- Save the text file as e.g. "LiveSplit for [Game Name].sh"
- Mark the file as Executable. This can be done either in the Preferences of your File Browser or via a commandline:
chmod 755 "LiveSplit for [Game Name].sh"
If everything is setup, you will now be able to run the Script File After starting the game to launch LiveSplit. AutoSplitting works the same as it does on Windows.
Proton GE - Glorious Eggroll.
Proton GE is an adjusted Proton with many fixes for Games Valve can't seem to get right on their own yet. To install it, the most convenient way is to use ProtonUp-QT
- Select for what Launcher you want to Install the Custom Proton at the top.
- Click on [Add version], don't change anything, and just click [Install].
For Steam you can in here also configure which game should use which version of Proton. Just click on [Show game list] You can also configure that within Steam:
- Go to the Properties of a game.
- [Compatibility] > Enable [Force the use of a specific Steam Play compatibility tool]
- Select the one from the list.
You can also default all not officially supported games to a specific proton version:
- Go to the Steam Settings.
- [Compatibility] > Enable [Enable Steam Play for all other titles]
- [Compatibility] > [Run other titles with:]
Twitch now fully implemented the change to their VOD policy. This will mean that going forward, runners will no longer be able to create Twitch highlights of their runs if they exceed 100 hours of total highlight time and may have them automatically deleted.
First off, we came to the conclusion t