-
-
Notifications
You must be signed in to change notification settings - Fork 192
feat: Allow custom CS# directory for flexible server deployment (aka. css_basepath)
#1033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Currently working as expected on Windows platform. Haven't tested on Linux yet Well, I'm not sure if this feature is actually needed, but honestly I don't know any other way to run multiple CS# instances on the same server installation without having to download separate server files for each instance |
|
Hi, @KillStr3aK PTAL when convenient |
I believe you can use the same base with symlinks to run multiple instances the code is LGTM however I don't have any linux environment to test there as well at the moment. |
Sorry, quick question, what's symlinks? |
@roflmuffin
hmm, is that right? 🧐
|
css_basepath)css_basepath)
css_basepath)css_basepath)
|
Tested on Ubuntu 22.04 |
|
Thank you for the contribution! |




#117 #391
This implementation relies on command line parameters (startup arguments) rather than ConVar, which introduces certain limitations. The value must be set when starting the CS2 server and cannot be changed afterwards. If not set or if the specified directory does not exist, the default value
/addons/counterstrikesharpwill be usedOR
The parameter must be +css_basepath (with plus sign)
btw: Path separators will be automatically normalized (mixed
\and/are supported)