CM2Walki / CSGO

Dockerfile for automated build of a CS:GO gameserver: https://hub.docker.com/r/cm2network/csgo/
https://CM2.Network
MIT License
248 stars 76 forks source link

CS2 #106

Closed juanca closed 1 year ago

juanca commented 1 year ago

How does support for CS2 work with this image?

CM2Walki commented 1 year ago

I'll have to look into this. I'm having trouble finding the new dedicated server. If someone has input on that I'm all ears.

EDIT: Given that CSGO has been renamed to CS2, it's likely the dedicated server steam appId will remain the same, too.

juanca commented 1 year ago

Confirmed for non-dedicated server app: app id is the same as CSGO for CS2: 730 See https://steamdb.info/app/730/

MattJeanes commented 1 year ago

It seems that community server support is not yet ready: https://help.steampowered.com/en/faqs/view/5ED2-ED8E-81F4-0C18#commserver

image

simon96aic commented 1 year ago

The last update: image

CM2Walki commented 1 year ago

Can cs2 be downloaded using +login anonymous? Because that might be a problem, since you would need a valid steam account login otherwise.

simon96aic commented 1 year ago

I think anonymous download does not work yet, unfortunately. Getting "ERROR! Failed to install app '730' (No subscription)" with anonym command.

"The game may be free, but currently you can’t just use +login anonymous" Source

CM2Walki commented 1 year ago

It's not too problematic. All you would need [for now] is an additional steam account. I'm using this approach to push game builds to steam using: https://github.com/CM2Walki/steampipe

Previously, the https://github.com/CM2Walki/HoldfastNaW dedicated server also was only downloaded-able via ownership of the game.

I'll throw together a temporary solution that works via saving a steam account login in a volume, that'll at least make it possible to host a server.

stefanmasek commented 1 year ago

There's a wiki page for cs2 dedicated servers: https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers#Docker

The server can be done with this docker image https://hub.docker.com/r/joedwards32/cs2 that's based on @CM2Walki steamcmd image

CM2Walki commented 1 year ago

I'm aware of that repository. In fact, I've forked it and I'm working on my own version of it. Stay tuned!

https://github.com/CM2Walki/CS2/ (BIG WIP)

CM2Walki commented 1 year ago

Alright, the bare bones image is running. Please make sure to follow the instructions on the new README.md:

Any CS2 related development will move over to this repository. Make sure to star it, please 😄.

This repository will enter read-only mode. The docker hub image will still be available, however autobuilds will be switched off..