Skip to content

Instantly share code, notes, and snippets.

@opekope2
Last active January 26, 2025 22:31
Show Gist options
  • Save opekope2/e02db7e526dadff0813a6ea2aebf820b to your computer and use it in GitHub Desktop.
Save opekope2/e02db7e526dadff0813a6ea2aebf820b to your computer and use it in GitHub Desktop.
Run Space Engineers with Plugin Loader on Linux

Run Space Engineers with Plugin Loader on Linux - New Method

Adapted from @GangolfOvaert's comment.

  1. Download the latest Space Engineers Launcher into the Bin64 folder of the game
  2. Set Space Engineers launch options in Steam to bash -c 'exec "${@/%SpaceEngineers.exe/SpaceEngineersLauncher.exe}"' -- %command% (arguments can be added after %command%)
  3. Launch Space Engineers from Steam

This method does not use SpaceEngineersLauncher.py, so downloading it is not required.

#!/usr/bin/env python3
"""
Old method - check the GitHub Gist link below for the new method
Load https://github.com/sepluginloader/PluginLoader on Linux after Space Engineers 1.202 (Automatons update)
1. Download SpaceEngineersLauncher from https://github.com/sepluginloader/SpaceEngineersLauncher
2. Download this file (`SpaceEngineersLauncher.py`) into the `Bin64` folder of the game
3. Give it execute permissions (`chmod a+x SpaceEngineersLoader.py`)
4. Set the steam launch options for Space Engineers to `./SpaceEngineersLauncher.py %command%`
https://gist.github.com/opekope2/e02db7e526dadff0813a6ea2aebf820b
"""
import sys
import subprocess
def replace_with_launcher(arg):
if arg.endswith('SpaceEngineers.exe'):
arg = arg[:-len('SpaceEngineers.exe')]
return arg + 'SpaceEngineersLauncher.exe'
return arg
se_launcher_args = [replace_with_launcher(arg) for arg in sys.argv[1::]]
sys.exit(subprocess.call(se_launcher_args))
@RoyalWolfie
Copy link

I would also like to add if i may, that in the steam launch options quotation marks are needed "/path/to/SteamLibrary/steamapps/common/SpaceEngineers/Bin64/SpaceEngineersLauncher.py" %command%

@opekope2
Copy link
Author

It works with relative path (./SpaceEngineersLauncher.py), I just updated the script

@decom70
Copy link

decom70 commented Jun 6, 2024

Hey, this does not work anymore. I followed all the steps, but it just does not start.

@opekope2
Copy link
Author

image
image

I got it working first try. Try without the script, maybe your prefix has some problems. Make sure SE launches by itself.

@opekope2
Copy link
Author

opekope2 commented Jun 10, 2024

I added a step to download SpaceEngineersLauncher because I forgot

@hughesjr
Copy link

I want to point out this is working perfectly with the current version of Space Engineers and the latest Plugin Loader. it even works with WINE FSR3. This is my current load line for steam:

WINE_FULLSCREEN_FSR=1 WINE_FULLSCREEN_FSR_MODE=ultra ./SpaceEngineersLauncher.py gamemoderun kde-inhibit --notifications --colorCorrect %command% -skipintro -nosplash -useallavailablecores

@GangolfOvaert
Copy link

I used the .exe and launch parameters of steam. Works great tho and you can use Steam to run the game.

  1. Place the .exe in the Bin64 Folder of your Space Engineers
  2. Change the launchparameters to bash -c 'exec "${@/SpaceEngineers.exe/SpaceEngineersLauncher.exe}"' -- %command% -skipintro -useallavailablecores
  3. Launch the Game

@opekope2
Copy link
Author

Thanks for the bash-based launch options, I added it as the New Method. Very concise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment