Sign inSign up

umlatt/steamcmd-proton

By umlatt

•Updated 10 days ago

Steamcmd, proton & some other stuff for running windows native game servers.

Image
Web servers
Operating systems
0

2.2K

umlatt/steamcmd-proton repository overview

⁠Steamed Proton [SteamCMD + Proton]

Docker Pulls Docker Stars

⁠Peon SteamCMD + Proton

The github⁠ repo for developing the container.

⁠State

RELEASE

Functionality working as required (tested with VRising windows steam server)

⁠Version Info

Check changelog⁠ for more information

  • Deployed with cm2network/steamcmd as a base image
  • Added proton
  • Added generic functions to allow the easy creation of recipes to deploy servers.
⁠Architecture/Rules

This is a base image for certain game servers that are not Linux native. Use default [cm2network/steamcmd] if Windows is not required (waaaaaaay more efficient))

Source container provided by Valve SteamCMD - Docker⁠

⁠Installation

⁠Automated mode

This container has been built as part of the PEON project⁠. The intention is to make deploying servers accessible to non-programmer container-skilled persons. It would be great if you'd be willing to test the PEON project and provide feedback. Go here⁠ to get started.

⁠Stand-Alone mode

This recipe can be used without the wider PEON project components.

⁠Guide

For this guide, please make sure you have Docker Compose⁠ installed and running.

  1. Download the relevant game folder from here⁠ and its contents.
  2. Create a file docker-compose.yml in the directory with the content being described in the README.md file for that game.
  3. Ensure that any scripts in the actions directory (i.e. server_start, init_custom) are executable by the docker user.
chown 1000:1000 server_start
chmod u+x server_start
  1. Start the server. You can now start the server with the following command docker-compose up -d/docker compose up -d. You can then follow the deployment using docker-compose logs -f
⁠docker-compose.yml

You can change any of the settings in the docker-compose.yml file according to your needs.

e.g. Enshrouded

services:
    server:
        container_name: peon.warcamp.enshrouded
        hostname: peon.warcamp.enshrouded
        image: umlatt/steamcmd-proton
        ports:
        - 15636:15636/tcp
        - 15636:15636/udp
        - 15637:15637/tcp
        - 15637:15637/udp
        environment:
        - PORT=15636
        - QUERYPORT=15637
        - STEAM_ID=2278520
        - SERVER_NAME="Some Cool Servername"
        - PASSWORD="Some Password"
        volumes:
        - $PWD/enshrouded/actions:/actions
        - $PWD/enshrouded/data:/home/steam/steamcmd/data
        - $PWD/enshrouded/config:/home/steam/config
        - $PWD/enshrouded/user:/home/steam/steamcmd/data/savegame
        user: 1000:1000

⁠Docker Run

This can be deployed as a stand-alone container to run a Windows-based Steam game server, without the PEON integration. This can be done as follows.

# Start server
docker run -dit --entrypoint /bin/bash --name steamedproton -p [gameport_01]:[gameport_01] umlatt/steamcmd-proton:latest
# Access container
docker exec -it steameproton bash
⁠Starting Proton correctly

The point of this container is to allow for Windows-based steamcmd game servers to run, which does mean a little fiddling to get going. As a general rule, the below code should get the final components up for you. Just start your game server as in the last line.

# For the most simple result, `cd` into the folder where the `*.exe` file lives, as proton can get confused by unix pathing
cd /home/steam/steamcmd/data

/home/steam/steamcmd/compatibilitytools.d/GE-Proton9-18/proton run thegameserver.exe
⁠Peon Project⁠

An OpenSource project to assist gamers in self-deploying/managing game servers.
Intended to be a one-stop-shop for game server deployment/management.
If run on a public/paid cloud, it is architected to try to minimise costs (easy schedule/manage uptime vs downtime)\

⁠Support the Project

PEON is an open-source project that I am working on in my spare time (for fun). However, if you still wish to say thanks, please pick up a virtual coffee for me at Ko-fi.

ko-fi

Tag summary

Content type

Image

Digest

sha256:99ba605dd…

Size

1.3 GB

Last updated

10 days ago

docker pull umlatt/steamcmd-proton