Fixed the config file getting overwritten on update
Added Sleep functionality
Fixed Steam direct connect link
Properly hid Port/IP settings
Removed unused Port 3
This is the initial Stationeers generic config. The server functions well overall. The GUI settings appear to work as intended. I do not own this game and as such cannot test fully. I need someone to login and obtain the join/leave/chat console output so I can complete this one. Otherwise, I believe it should be finished.
Known issues:
The shutdown command does not work in Windows, only Linux using OS_Close.
Sleep mode fails to wake up: Related issue - https://github.com/CubeCoders/AMP/issues/587
I believe that this game's dedicated server is the cause of the timeout issue. It is still in an early beta stage at this point. I have tried to recreate the problem and no matter what, I cannot now. After the first initial connection to any server it works from then on. The ini file is intended to not have quotes in this case given the examples at the top. There are other settings I've put in the GUI but do not seem to function in the server yet, things like "No Food", "No Death", etc. have no impact. You will die and you will be angry. Please contact the develop to have them fix their game.
Set the ConfigFormat to use quotes around all settings. I believe this was causing games with spaces in the name to be non-joinable. The strange part is you could set it back to having a space and it would work going forward.
Also set the ExitMethod to String and quit. The user must type yes following since there is no option to do two input commands to quit a server. CtrlC doesn't work in AMP on Windows for this game. And CtrlC doesn't work for this game on the Linux Terminal. OS_CLOSE ended in a kill.
Removed the config file and used the start/wait/stop update stages instead.
During the Proton feature enhancement I accidentally removed the Steam SDK update stage. This should resolve it so players can view their server in the browser again.
This switches the config to use a base config rather than a template to allow users to manually add special settings without a full config file overwrite.
This update allows Risk of Rain 2 to run under Proton and xvfb. This requires the user to run the command below to install prerequisites.
apt-get install xvfb lib32gcc1
- Use OS_CLOSE for saner shutdown (on Linux at least)
- Add start/wait/stop update stages
- Shorten exit timeout (for Windows)
- Other tweaks (RCON port, command line args, manifest)