Closed justmiles closed 12 months ago
Hey @justmiles Im not really understanding what you mean and what the scenario is what you want to cover and what goals to reach?
Do you mean in https://github.com/jammsen/docker-sons-of-the-forest-dedicated-server/blob/master/usr/bin/servermanager.sh#L84 Change to the following code or what do you mean?
wine64 /sonsoftheforest/SonsOfTheForestDS.exe -userdatapath $USERDATA_PATH
Hey, yes. That's to allow setting a custom path for anyone trying to separate the game data from configs. I'd like to manage the config separately from the /game
. I'm passing it in like this.
-v $(pwd)/dedicatedserver.cfg:/userdata/dedicatedserver.cfg
I've got a fork with this enabled. I'll submit a PR for you to review.
@justmiles did you look here? https://github.com/jammsen/docker-sons-of-the-forest-dedicated-server/pull/11
Yes, I wrote it.
I know, but i mean the 3 Pending Review Questions.
Odd. Not sure what I'm missing but I don't see any review questions.
Now?
Ah, I see it now! Thanks - I'll respond to those comments.
Building and testing now
Hey @justmiles So aside from a windows-vs-unix encoding problem which can easily be solved by "dos2unix servermanager.sh" and missing chmod +x permissions which might be down to my setup, everything else is working just fine.
Im done pushing the image right now to Docker-Hub - Feel free to test it and give me a feedback if what you want to do works 😃
@justmiles did you test it yet?
Haven't been able to yet but it's on my radar.
Take your time 😎 its weekend and time to fill up the batteries
@jammsen this is working as expected! Thanks for helping out here!
@justmiles No Sir! Thank you! 😄
Hi team!
It looks like the
-userdatapath
argument is hardcoded to/sonsoftheforest/userdata
. This makes it difficult for folks that want to pass the configuration files into the container, as that path is nested under theGAME_PATH
.Could we make
USERDATA_PATH
default to/sonsoftheforest/userdata
but allow overrides from the environment?