Go to file
SeanOMik 1d156f8b08 Fix installing apt-fast 2020-10-25 21:44:26 +00:00
Dockerfile Fix installing apt-fast 2020-10-25 21:44:26 +00:00
README.md Update README.md 2020-10-21 17:07:09 -05:00
SpaceEngineers-Dedicated.cfg Update SpaceEngineers-Dedicated.cfg 2020-10-22 19:12:59 -05:00
build.sh Initial commit 2015-10-26 10:52:10 +01:00
install.sh fixed for <= 1101023 2019-06-20 15:27:41 +01:00

README.md

Space Engineers Server on Linux

This is a docker container suitable for running a Space Engineers server. There is no public prebuilt container image because of microsoft copyright restrictions.

Setup

  • Create the required directory structure.
mkdir -p space-engineers/{docker,data,steam}
mkdir -p space-engineers/data/Space\ Engineers/{Mods,Saves}
  • Clone this repository into the home directory of the new user account.
git clone https://github.com/ChipWolf/se-server.git space-engineers/docker
  • Obtain a copy of the most current DedicatedServer.zip and place it in ~/games/space-engineers/data. You may use this method below.
docker run --rm -it -v $(pwd)/space-engineers/steam:/data wilkesystems/steamcmd

# the following 4 commands are for the steamcmd terminal
login anonymous
force_install_dir /data
app_update 298740 validate
quit
  • At this stage we need to patch a few .dlls to fix an issue with mods not downloading, thanks to Thomas_Jefferson from the Keen Software House forum for this one.

cd space-engineers/steam
zip -r ../data/DedicatedServer.zip
cd ../..
sudo chown -R 256:256 space-engineers
  • Upload your SpaceEngineers-Dedicated.cfg and place it in ~/games/space-engineers/data/Space Engineers. Use the one in this repository and edit it to your liking if you do not already have one.

  • Build the image! (This will take a while)

space-engineers/docker/build.sh

Running

docker run -it -p 27016:27016/udp -v $(pwd)/games/space-engineers/data:/host --rm --name space-engineers saiban/space-engineers


Additional notes

Running SES this way requires a program called sigmap, Space Engineers ignores SIGTERM when it is sent by docker to stop the service, sigmap catches that signal and forwards a SIGINT to Space Engineers.

See here for more information.

Credits

The original Dockerfile was written by webanck and can be found here.

This repo has been adapted from marjacob's & ChipWolf's efforts