Here's a quick guide how to run SpaceEngineers Dedicated Server on Ubuntu with Wine
- A copy of Space Engineers
- A Windows box
- A Linux box running Ubuntu 14.04 or 14.10 (It'll probably work on other distros, YMMV)
sudo apt-get update
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.6
winetricks -q dotnet40
rm -r ~/.wine
WINEARCH=win32 wine wineboot
There are multiple ways for transfering files, easiets would probably be using SCP, WinSCP works well for that. You'll want to transfer the DedicatedServer.zip file found in
[Steam install directory]\steamapps\common\SpaceEngineers\Tools
Unpack the zip somewhere inside
~/.wine/drive_c/users/$(whoami)/
The easiest way to do this is to just generate them locally and copy them over to the server, this can be done by using the dedicated server tool on your windows box, the tool is located in
[Steam intall directory]\steamapps\common\SpaceEngineers\Tools\DedicatedServer\SpaceEngineersDedicated.exe
- Select the Default profile
- Set up the world
- Save the config
- Start to generate the world.
The files will be stored in
C:\Users\{USERNAME}\AppData\Roaming\SpaceEngineersDedicated\Default
Edit the SpaceEngineers-Dedicated.cfg
and copy it with the Saves
folder to the following directory on your Linux box
~/.wine/drive_c/users/$(whoami)/Application\ Data/SpaceEngineersDedicated
You'll have to change the <LoadWorld>
tag so it point to the correct directory.
If the Save folder is located in
~/.wine/drive_c/users/$(whoami)/Application\ Data/SpaceEngineersDedicated/Saves/Created 2015-03-30 2331
the <LoadWorld>
tag must look like this, where {username}
is the same as $(whoami)
<LoadWorld>C:\Users\{username}\Application Data\SpaceEngineersDedicated\Default\Saves\Created 2015-03-30 2331</LoadWorld>
You still need to use windows paths.
- Go to the directory where you have the dedicated server files
wine SpaceEngineersDedicated.exe -console
- There will be a lot of messages regarding xserver, ignore them
- Errors like
fixme:shell:URL_ParseUrl failed to parse L"System.Core"
are okay, ignore them. - Be sure to run 32bit, wine doesn't like the 64bit one.
- There is a small bug where after stopping the server you will no longer see what you're typing into the console.
- This guide is based on the guide I found over at Keen Software House Forums created by AdamAnt
Do you get this error too?
0009:fixme:path:parse_url failed to parse L"VRage.Input" 0009:fixme:path:parse_url failed to parse L"VRage.NativeWrapper" 002e:fixme:ole:Context_CC_ContextCallback (000000001A69A810/000000001A69A818)->(0000000000EC2B80, 000000001A54F770, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000) 002e:fixme:ole:Context_CC_ContextCallback (000000001A69A810/000000001A69A818)->(0000000000EC2B80, 000000001A54F660, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000) 002e:fixme:ole:Context_CC_ContextCallback (000000001A693060/000000001A693068)->(0000000000EC2B80, 000000001A54F770, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000) 002e:fixme:ole:Context_CC_ContextCallback (000000001A693060/000000001A693068)->(0000000000EC2B80, 000000001A54F660, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000) 0009:fixme:path:parse_url failed to parse L"VRage.Game.XmlSerializers" 0009:fixme:path:parse_url failed to parse L"SpaceEngineers.ObjectBuilders.XmlSerializers" 0009:fixme:path:parse_url failed to parse L"Sandbox.Game.XmlSerializers" 0009:fixme:combase:RoGetActivationFactory (L"Windows.Foundation.Diagnostics.AsyncCausalityTracer", {50850b26-267e-451b-a890-ab6a370245ee}, 000000000052D828): semi-stub 0009:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer" 0009:fixme:ntdll:EtwEventRegister ({2e5dba47-a3d2-4d16-8ee0-6671ffdcd7b5}, 0x1d02040c, (nil), 0x22ceaa0) stub. 0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x22cea58, 40) stub 0034:fixme:sync:SetWaitableTimerEx (0000000000001374, 000000002219FC40, 500, 0000000000000000, 0000000000000000, 0000000000000000, 50) semi-stub 0009:fixme:path:parse_url failed to parse L"System.Runtime.Serialization" 2020-02-04 16:11:20.240: Bind IP : 0.0.0.0:27016 0009:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 000000001A6ED4D8 0000000000529678 000000000052A3B0 0000000000000000 0009:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000001A701C50 000000000052A258 000000000052AF90 0000000000000000 0009:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000001A701C50 000000000052A258 000000000052AF90 0000000000000000 0009:fixme:path:parse_url failed to parse L"System.Runtime.CompilerServices.Unsafe" 0009:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 000000001A742520 000000000052BB68 000000000052C8A0 0000000000000000 0009:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000001A745DB0 000000000052C748 000000000052D480 0000000000000000 0009:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000001A745DB0 000000000052C748 000000000052D480 0000000000000000 0009:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 000000001A74D1D8 000000000052A6E8 000000000052B420 0000000000000000 0009:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000001A74D1B0 000000000052B2C8 000000000052C000 0000000000000000 0009:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000001A74D1B0 000000000052B2C8 000000000052C000 0000000000000000 2020-02-04 16:11:24.736: Error starting Steam dedicated server
I see the error
0009:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer"
But it crashes after trying to bind the IP?
I'm a total newb at this and probably wouldn't understand the solution anyway. I hope a solution is found though. I was having fun running my own dedicated server on a space computer I have.