SCP: Containment Breach Multiplayer

SCP: Containment Breach Multiplayer

评价数不足
How to host a dedicated server on linux
由 Virtual 制作
A simple tutorial on how to host a dedicated server on linux
   
奖励
收藏
已收藏
取消收藏
Prerequisites
Must be running debian-based server distro.
Basic linux/bash knowlegde.

If this guide does not create a working server, try a different linux install. Docker containers will not fix the issue.
Installing the software
For the server to function, it needs windows runtimes and APIs. This can be solved two ways, Windows or Wine.

To install wine, visit https://wiki.winehq.org/Download and scroll down to your linux distro, and Follow the steps on the linked page.

DON'T MIX DEBIAN WITH UBUNTU!!

There is a good chance you will need a library that isn't installed with wine or your linux distro.
This library is libfaudio0, and can be installed with OBS. If you need to install it, see this docker script for example (Debian): https://github.com/VirtualBrightPlayz/ptero-xvfb-wine/blob/master/Dockerfile

After installing wine, the next application is Xvfb, or X Virtual FrameBuffer. This will create a fake display for wine, and will allow you to run the server without a display or GPU.

This can be installed via
$ sudo apt install xvfb

Next step is install the server from the zip file or steam cmd. The AppId is
1801280
.
Running the server
xvfb-run -a wine server.exe

You might need to restart the server after the first run. The console will also work just fine.

Hope this helps,
- Virtual
9 条留言
red 2022 年 12 月 28 日 下午 6:17 
Hi, I tried the guide on my Linux computer, and it hangs on 'Creating Scene...'. Is there a solution to this? I have wine-8.0-rc2 (winehq-devel) and run Ubuntu 22.04. I have libfaudio0 as well.
toilet 2022 年 11 月 12 日 下午 3:08 
Instructions unclear: ate 3 blenders and fell upstairs
TheUncleBobbyB 2022 年 10 月 7 日 上午 10:16 
Thank you! I didn't realize that one docker file would install everything I needed to run the server. Thats my bad. I did get mine up and going though thanks you to! So thank you very much!

I had a couple more questions quick.
1. Is there a way to save and load saves when running a dedicated server?
2. I did some quick play testing and I found myself not always dying from SCPs when the game logs out that I did. I have to either get hit by them again or kill myself via the pause menu. Is this something you have seen running servers too?
Virtual  [作者] 2022 年 10 月 6 日 下午 11:55 
TheUncleBobbyB 2022 年 10 月 6 日 下午 9:59 
Hey virtual. Would there be anyway you could send me the docker file or docker-compose file you are using to run your server? I would like to get started hosting some servers too but haven't been able to find any docker files. If not, I'm sure I can create my own I'm just a bit a of noob when it comes to creating fresh docker files. Thanks in advanced!
Virtual  [作者] 2021 年 10 月 28 日 上午 9:42 
good thinking Denz! I've been running these in docker containers so I never ran into that issue.
Denz 2021 年 10 月 28 日 上午 2:32 
add -a flag for xvfb-run in guide, this will remove several questions in comment section :)
LegendaryCheese 2021 年 10 月 27 日 下午 5:00 
virtal
Mixarar 2021 年 10 月 27 日 上午 10:15 
Good job! <3