Coder Social home page Coder Social logo

spaceengineerslinuxpatches's Introduction

This is currently the easiest solution to getting Space Engineers to run smoothly using DotNet:

This guide assumes you have already have Steamplay/Proton installed with all of the prerequisites and such, as well as Space Engineers, and winetricks. If not, you can check around the internet for guides that can explain it much better than I can!

Here is a list of Known Issues, and potential solutions:

  1. Freeze at starup

  2. rundl32.exe error popup

  3. Looping Sound

  4. Popping/Crackling Sound

  5. Mouse/Keyboard issues when changing window focus(alt+tab)

The Automated Setup Guide:

This will create the wineprefix and modify the config file for you. If you want you can scroll down and find the manual instruction on what this patcher automates.

Step 0:

Backup any save data, blueprints, ETC... Then verify the integrity of your game files in Steam.

Step 1:

Ensure winetricks is up to date.

sudo winetricks --self-update

Step 2:

Download(Save to downloads) this python script: autoprefix-patcher.py

Run this script with

python3 autoprefix-patcher.py

Note: The script will ask you if it needs help, so make sure you read what it says! It can apply another fix for one of the issues below(freeze at startup) and will ask you if you want to fix it.

Congratulations Space Engineers should now work properly on Linux. Have fun and enjoy!

The Manual Setup Guide(Skip if you used the autopatcher):

Step 0:

Backup any save data, blueprints, ETC...
Then verify the integrity of your game files in Steam.

Step 1:

With winetricks

Ensure winetricks is up to date.

sudo winetricks --self-update


OR with protontricks (You can use protontricks is you already have it installed.)

Ensure protontricks is up to date.

follow the instructions here based on how you installed it.

Step 2:

With winetricks

Create your wine prefix with winetricks in the compatdata folder in steamapps/common/

WINEPREFIX="INSERT/DIRECTORY/TO/SPACEENGINEERS/pfx" winetricks --force -q dotnet472 vcrun2015 faudio d3dcompiler_47


OR with protontricks

Create your wine prefix using protontricks if it is already installed, or if you want to install it from the instructions here.

protontricks 244850 --force -q dotnet472 vcrun2015 faudio d3dcompiler_47

Step 3:

Open your Space Engineers bin64 directory: usually at $HOME/.local/share/Steam/steamapps/common/SpaceEngineers/Bin64

In this folder find the file SpaceEngineers.exe.config and open it in a text editor(Gedit, Kwrite, ETC...).

You should see something like this: before

Step 4:

Now add <gcServer enabled = "true"/> to a new line after the line that says <runtime> It should now look like this: before

Save the file and close it.

Congratulations Space Engineers should now work properly on Linux. Have fun and enjoy!

Note you may have to reapply these fixes if the game updates. It depends on if the file is changed durring the update. If you encounter issues try following these steps again.


Known issues:

Issue 1:

Broken startup and missing videos, causing startup freeze that requires user input to get past the splash screen.

Known Fix:

Rename the file here: "LOCATION_OF_SPACE_ENGINEERS_INSTALL/SpaceEngineers/Content/Videos/KSH.wmv to KSH.wmv.old


Issue 2:

Upon startup the game will show this error one or more times.

rundllerror

Known Fixes:

  1. Just hit no each time it appears. It should not impact the ability of the game to run.

OR

  1. Run WINEPREFIX="INSERT/DIRECTORY/TO/SPACEENGINEERS/pfx" winetricks In the library tab of the configuration window add rundll32.exe to the New override for library box and click add. Then find it in the list below and click edit and ensure disabled is selected. (See image below:) Click apply, then close the window.

rundlldisable


Issue 3:

Some users report that faudio has looping sound issues.

Known Fix:

None is known at this time. More testing is required.


Issue 4:

While using faudio some users report crackling or popping audio.

Known Fix:

Try adding the following to your steam launch options(right click Space Engineers in steam, click Properties, then in the General tab, click SET LAUNCH OPTIONS...) add the following in the box that appears.

A) If something is already in the box add PULSE_LATENCY_MSEC=60 after those items but before %command%

e.g. DXVK_HUD=full PULSE_LATENCY_MSEC=60 %command% Make sure you have spaces between each item.

B) If the box is empty add:

PULSE_LATENCY_MSEC=60 %command%

Then hit ok on the launch options window. If you are still experiencing issues, try modifying the value of PULSE_LATENCY_MSEC try 30, or 90 instead of 60.


Issue 5:

When the user alt+tab from the game, the game will keep the mouse from moving to another screen or selecting other windows. It also prevents keyboard input to other windows, even if they are on the same screen, or there is only one monitor.

Known Fix:

The known workaround causes more issues than it fixes. If you are so inclinded to try it you can find it in issue #14 (Mouse Capture) #Be warned this fix breaks other things. Try at your own risk!


Special thanks to InflexCZE for taking the time to help. Without his help it could have taken many more months to figure this out.

and Huge thanks to everyone else on ValveSoftware/Proton#1792 for helping solve these issues.

spaceengineerslinuxpatches's People

Contributors

linux74656 avatar stripedmonkey avatar dsge avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.