Space engineers на линукс

CoffeePirate / se_server_linux.md

You’ll have to change the 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 tag must look like this, where is the same as $(whoami)

C:\Users\\Application Data\SpaceEngineersDedicated\Default\Saves\Created 2015-03-30 2331 

You still need to use windows paths.

  1. Go to the directory where you have the dedicated server files
  2. 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

No, this does not work anymore because Space Engineers recently switch over to 64bit architecture, and there currently exists no linux workaround for that.

Why doesn’t the 64 bit one work? I’ve had trouble getting it to work in the past before I ran into this and was wondering why, afaik 64 bit applications run fine inside wine/mono (wine uses mono for the .NET parts).

I know I am necroing an old thread, but wine64 works with 64 bit mono/.net stuff, so that should work. I am going to attempt this myself, so I will update you soon.

I’m curious too. Just setup a server for a friend and was Blown away to find out Space Engineers doesn’t come with a Linux dedicated server. sooo. yeah. Thats a big bummer.

Came here because I wanted to give this a try too. now I’m curious. any experiences to share?

I was able to get this working on the latest version. It is essentially a modified version of this tutorial. Here is what I did. Your mileage may vary.

sudo dpkg —add-architecture i386
sudo apt install steamcmd
steamcmd +login anonymous +force_install_dir /path/to/SEServer +app_update 298740 +quit

Install latest wine (use the proper distro in repository)

sudo dpkg —add-architecture i386
wget -qO — https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add —
sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main’
sudo apt update
sudo apt install wine

Читайте также:  Во время чтения архива произошла ошибка linux

./winetricks dotnet472
./winetricks vcrun2013
./winetricks vcrun2017

Launch Space Engineers Dedicated Server

cd /path/to/SEServer
wine DedicatedServer64/SpaceEngineersDedicated.exe

Press «Continue to server configuratior»
It should crash. But, it has made the proper directory here:

On a windows machine, install Space Engineers Dedicated Server
via Steam, launch, and create your server. Follow this guide
for info: https://www.spaceengineersgame.com/dedicated-servers.html
Save and Run your server, then stop it and exit out of the
Dedicated Server GUI.

Copy the following file and folder from the Windows machine

Place that file and folder here on the Linux machine:

~/.wine/drive_c/users//Application Data/SpaceEngineersDedicated/SpaceEngineers-Dedicated.cfg
~/.wine/drive_c/users//Application Data/SpaceEngineersDedicated/Saves//

Edit SpaceEngineers-Dedicated.cfg and change the line.
Use the correct (wine) username and world name.

Launch Space Engineers Dedicated Server in console mode

cd /path/to/SEServer
wine DedicatedServer64/SpaceEngineersDedicated.exe -console

If you’re using mods, it will take a while to download the mods
Wait until you get the «Game Ready. » message
Then you’re ready to connect to the server! Be sure to update
your firewall settings, if necessary.

N.B. I’ve worked through this on two machines (Ubuntu 16.04 and
19.04). On one, I got hardly any error messages, but on the
other I get error messages left and right. Your milage may vary.
Everything seems to work just fine, though.

N.B.2. You can’t run the server within «screen». I get the error
«Error: No IP assigned»

I have followed our instructions and am having an issue with wine where when running wine at 64 bit is gets errors however when running on 32bit it says the software does not support 32 bit:

Please note that I ended up copying all of the install from windows as it did not create the appropriate directory on first run via command line.

wine with 32 bit prefix:
wine DedicatedServer64/SpaceEngineersDedicated.exe -console 0009:err:process:create_process 64-bit application L»Z:\\home\\wine\\SpaceEngineersDedicatedServer\\DedicatedServer64\\SpaceEngineersDedicated.exe» not supported in 32-bit prefix

wine 64 bit prefix:
wine DedicatedServer64/SpaceEngineersDedicated.exe -console wine: Unhandled page fault on read access to 0x140000000 at address 0x140000000 (thread 002c), starting debugger. 002e:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 002e:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 002e:fixme:dbghelp:elf_search_auxv can’t find symbol in module 002e:fixme:dbghelp:elf_search_auxv can’t find symbol in module 002e:fixme:dbghelp:elf_search_auxv can’t find symbol in module 002e:fixme:dbghelp:elf_search_auxv can’t find symbol in module Unhandled exception: page fault on read access to 0x140000000 in 64-bit code (0x0000000140000000). 002e:fixme:dbghelp:elf_search_auxv can’t find symbol in module Register dump: rip:0000000140000000 rsp:000000000053fdd8 rbp:000000000053ffd0 eflags:00010246 ( R- — I Z- -P- ) rax:0000000140000000 rbx:0000000000000000 rcx:00007fffffeaf000 rdx:0000000000000000 rsi:0000000000000000 rdi:000000000053fe40 r8:000000000053fd00 r9:0000000000000008 r10:0000000000000008 r11:0000000000000246 r12:0000000000000000 r13:0000000000000000 r14:0000000000000000 r15:0000000000000000 Stack dump: 0x000000000053fdd8: 000000007b47a41a 0000000000000000 0x000000000053fde8: 0000000000000000 0000000000000000 0x000000000053fdf8: 0000000000000000 0000000140000000 0x000000000053fe08: 00007fffffeaf000 0000000000000000 0x000000000053fe18: 0000000000000000 ffffffffffffffff 0x000000000053fe28: 000000007b4a6540 000000007b44c600 0x000000000053fe38: 0000000000000000 0000000000000000 0x000000000053fe48: 609a5e755115332b 0000000000000000 0x000000000053fe58: 0000000000000000 0000000000000000 0x000000000053fe68: 0000000000000000 609a5e755575332b 0x000000000053fe78: 609aa85de89d332b 0000000000000000 0x000000000053fe88: 0000000000000000 0000000000000000 Backtrace: =>0 0x0000000140000000 in spaceengineersdedicated (+0x0) (0x000000000053ffd0) 1 0x000000007b47a41a in kernel32 (+0x5a419) (0x000000000053ffd0) 0x0000000140000000: popq %r10 Modules: Module Address Debug info Name (18 modules) ELF 7b400000- 7b80d000 Dwarf kernel32 \-PE 7b420000- 7b80d000 \ kernel32 ELF 7bc00000- 7bd16000 Deferred ntdll \-PE 7bc20000- 7bd16000 \ ntdll ELF 7c000000- 7c004000 Deferred PE 140000000- 140012000 Export spaceengineersdedicated ELF 7f93e458c000- 7f93e47b6000 Deferred libtinfo.so.5 ELF 7f93e47b6000- 7f93e49d9000 Deferred libncurses.so.5 ELF 7f93e4ad9000- 7f93e4ceb000 Deferred libnss_files.so.2 ELF 7f93e4ceb000- 7f93e4f05000 Deferred libnsl.so.1 ELF 7f93e4f05000- 7f93e5111000 Deferred libnss_nis.so.2 ELF 7f93e5111000- 7f93e531b000 Deferred libnss_compat.so.2 ELF 7f93e56f9000- 7f93e5911000 Deferred libgcc_s.so.1 ELF 7f93e5911000- 7f93e5caf000 Deferred libm.so.6 ELF 7f93e5caf000- 7f93e5eb3000 Deferred libdl.so.2 ELF 7f93e5eb3000- 7f93e62a4000 Deferred libc.so.6 ELF 7f93e62a4000- 7f93e64c3000 Deferred libpthread.so.0 ELF 7f93e6868000- 7f93e6a92000 Deferred ld-linux-x86-64.so.2 Threads: process tid prio (all id:s are in hex) 0000000e services.exe 00000024 0 0000001d 0 00000015 0 00000014 0 00000013 0 00000010 0 0000000f 0 00000011 winedevice.exe 0000001c 0 00000019 0 00000018 0 00000017 0 00000016 0 00000012 0 0000001a plugplay.exe 0000001f 0 0000001e 0 0000001b 0 00000020 explorer.exe 0000002a 0 00000029 0 00000021 0 00000022 winedevice.exe 0000002f 0 00000028 0 00000027 0 00000026 0 00000025 0 00000023 0 0000002b (D) Z:\home\wine\SpaceEngineersDedicatedServer\DedicatedServer64\SpaceEngineersDedicated.exe 0000002c 0

Читайте также:  Astra linux token manager

Any insite to what I may be missing? It appears overall that using wine, or linux in general, is so rare that there is not much information out there for this software.

Thank you for any help you can provide.

Источник

Space engineers на линукс

1. enable steamplay in steam settings

2. install additional components into space engineers wineprefix :

sudo winetricks —self-update wget ‘h t t p s:// github . com /Linux74656/SpaceEngineersLinuxPatches/raw/master/autoprefix-patcher.py’ -O $HOME/SE-proton-fix.py chmod 700 $HOME/SE-proton-fix.py python3 $HOME/SE-proton-fix.py

3. (optional ; without this you’ll have to hit ‘NO’ twice on an error dialog on startup) rundll32 fix :

WINEPREFIX=»INSERT/DIRECTORY/TO/SPACEENGINEERS/pfx» winecfg # for example, for me: # WINEPREFIX=»/mnt/space3/games/steam/steamapps/compatdata/244850/pfx» winecfg # library tab / new override for library / type «rundll32.exe» (no quotes) then hit Add # select «rundll32.exe» in «existing overrides» # Edit. # select «Disable» # OK / OK

set ingame graphics/display settings to the minimum (i personally had to use 1280×720 with almost every setting at its minimal value to get around 30 fps, on a core i7 2600k 3.4GHz, radeon hd 7870 2GB and 16GB ram but i get quite low framerates using this graphics card, as opposed to dead nvidia gtx 1050 ti ..)

I also use this ugly trick to change my active monitor resolution to a lower 1280×720 resolution upon starting Space Engineers :

# set as launch option after ingame settings were changed to use 1280×720 : xrandr —output HDMI-A-0 —mode 1280×720 && %command% ; xrandr —output HDMI-A-0 —mode 1920×1080

That way, i can _actually_ use a lower video resolution on this output instead of scaling things up/down ; you don’t have to do this if you plan to run SpaceEngineers at your native/current monitor resolution.

Читайте также:  Linux очистить кэш браузера

i now (november 2nd 2019) get around 30 fps with the lowest settings possible, which loooks quite ugly, but at least simulation seems ok so far.

That is using this hardware :
— intel core i7 2600k 3.4GHz
— 16GB ram
— radeon hd 7870 GHz edition (from 2012 — 2013) ; my GTX1050Ti burnt a few months ago

According to a report at https://www.protondb.com/app/244850 using mesa 19.3 vulkan driver may provide better performance, i’ll have to build it from source, my distro (debian ; i already hear you laugh) does not provide anything above 19.2 yet (bullseye/testing) . )

I gave a try to mesa 19.2 and linux kernel 5.2 (by switching from buster to bullseye), there could be an important performance increase, or not at all, i can’t really tell, because i’m not comparing the exact same things.
SpaceEngineers performance heavily depends on the scene complexity and i did not re-use the same savegame.

I also lowered the savegame viewdistance setting to the minimum.

Источник

Оцените статью
Adblock
detector