Skip to content
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

[Documentation] Linux Server capabilty #10

Open
spannerman79 opened this issue Sep 10, 2021 · 4 comments
Open

[Documentation] Linux Server capabilty #10

spannerman79 opened this issue Sep 10, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@spannerman79
Copy link

spannerman79 commented Sep 10, 2021

I read the README.md and there was no reference in regards to how this would affect/work with a dedicated server.

Now I am going to assume that you have both linux and windows dedicated servers in mind due to the fact that Stationseers dedicated server can be ran on both.

The reason why I opened this issue was specifically because of https://github.com/Erdroy/Stationeers.Addons/blob/master/README.md?plain=1#L9

For a linux dedicated server there is no GUI - hence no "right click X, blah blah blah"

NB: Yes I know how to run a dedicated server, Stationeer amongst others. Your docs only reflect a client not a server. If this is to be the defacto system to use for modded Stationeers this needs to be addressed.

@Erdroy
Copy link
Collaborator

Erdroy commented Sep 11, 2021

Hi!

Yes, we're missing dedicated server docs because we do not support Linux currently.
Windows dedicated servers should work fine, and as far as I can tell, some people already been using it.

The issue with Linux support is that we need to run plugin compiler under mono runtime.
Here is the whole description:
Copy-paste:
The only issue why this will not work under linux hood, is because we're hosting the plugin compiler as so: https://github.com/Erdroy/Stationeers.Addons/blob/master/Source/Stationeers.Addons/Modules/Plugins/PluginCompiler.cs#L23 This tries to run the exe file just like on windows, and linux fails to do that - it would have to run it through mono runtime. Maybe this could be as simple to solve as to just detect if running under Linux and then use mono executable for that and pass the path etc. as arguments (you would have to install mono-runtime). Discord message

To install this on Linux machine (for the game or server), you have to run patcher file manually using mono. But plugin compiler won't run, so it will error-our during plugin compilation. Server might not detect correctly the context it is running at and there is PR for adding Linux dedicated server detection support eea16a9.

Once we get higher priority tasks down (AST validation/whitelisting and resolve the code injection issue with custom content [you can inject some callbacks into some types of assets - that can lead to RCE]) - then this will be the time for making Addons a bit more usable and dedicated server friendly.

I'll leave this issue open for now.

@spannerman79
Copy link
Author

spannerman79 commented Sep 11, 2021

To install this on Linux machine (for the game or server)

The only issue I see for it for a linux client is that (currently) I can easily play Stationeers via Proton. So in order for the Linux playerbase (not much, but did reach 1%, but 1% of Steam Playerbase = ~ 1,204,000 users - source) it would be nice if this doesn't have any issues being used via Proton.

@Gfurst
Copy link

Gfurst commented Jan 3, 2022

Just came to ask and point out, that apparently the loader doesn't work via Proton, as stated above. But from what I understood on the OP, its just a suggestion to add proper documentation.
Do I need to get a stand alone server running or is it possible to get the loader running through wine? aka, it could just something missing in the loading chain.

@specs32
Copy link

specs32 commented Jan 8, 2023

To install this on Linux machine (for the game or server)

The only issue I see for it for a linux client is that (currently) I can easily play Stationeers via Proton. So in order for the Linux playerbase (not much, but did reach 1%, but 1% of Steam Playerbase = ~ 1,204,000 users - source) it would be nice if this doesn't have any issues being used via Proton.

I totally agree, it would be nice, really really nice ! :) And as a linux user I would totally be okay with the fact that you need to run a script before playing to activate and integrate the modifications to the game or something similar.. To be able to just install the Stationeers.Addons via workshop and simply use them with proton would be the golden cradle ;) Where is the tip jar ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants