-
-
Notifications
You must be signed in to change notification settings - Fork 829
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
Find a workaround for Ark config file #1235
Comments
You can simply call this function in LinuxGSM/lgsm/functions/install_config.sh Lines 39 to 46 in 34d2c96
Many other servers use the same approach and my current pull request uses it and it works fine for Multi Theft Auto. |
"So either it has to create parent directories first (then config file might be erased upon first start)" However, this is something to fact check, just a worry i got atm :p PS: I implemented that function, so I know it exists :p |
Assigning, will try stuff after work in around 10 hours if I'm still able to use my fingers. :o)) |
Any good news? |
Went back home a couple of hours ago. Just made a branch, will try stuff. |
Well, config file is managed kinda weirdly with Ark. But I figured it out. Creating the full path is enough to solve the issue. However, admin password and servername are set within start parameters, so i gotta remove their edition by LGSM. |
Port values might need to be removed from default config file since they are ignored and start parameters are used instead,. On top of that, those are not changed upon server shutdown to match start parameters, so in the end, if they're not used, they can be misleading. Any enlightened thought about that? |
Merged to develop. Closing. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The file is located in serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini
Problem is: the Saved directory doesn't exist until you start the server. So config file cannot be copied to this location.
So either it has to create parent directories first (then config file might be erased upon first start), or, it has to start/stop then replace default config file for LGSM one, then end the install process.
Or maybe you'll find a better solution? Discussion is open.
The text was updated successfully, but these errors were encountered: