The launcher should not ask for an install directory when run via steam. It should 'just work.'
That said, what's a good default directory? %appdata%\StarMade? documents\my_games?
The launcher should not ask for an install directory when run via steam. It should 'just work.'
That said, what's a good default directory? %appdata%\StarMade? documents\my_games?
<replace this line with the file content>
<replace this line with the file content>
Okay, Steam installs (--steam on a first/clean run) should automatically select the install directory now based on path:
When SteamApps/common/StarMade:
automatically install to SteamApps/common/StarMade/StarMade
When SteamApps/common/???:
automatically install to SteamApps/common/???/StarMade
(??? can be any number of folders deep; this allows for users to move the game's folder around and have it still install correctly)
When SteamApps/common does not exist in the path:
display default install directory and let the user choose
When --steam flag is absent:
display default install directory and let the user choose
However, I am unsure if the "default install directory" is a good choice on Linux or OSX.
Please test this and the above conditions!
Note: You do not need Steam installed to test this feature.
To mimic the Steam behavior, simply create Steam's folder structure (e.g. Steam/SteamApps/common/StarMade) and run the (clean) launcher from within that directory with the --steam flag.
Hm odd, I've tried both of the beta builds, and a normal build. but seems my launcher version on steam is 2.0.4, not 2.0.6.
I had it auto update only once and it didn't seem to update to the latest one (maybe a newer 2.0.4, didn't check build)
I threw the 2.0.6 version in there myself, deleted the appdata again but it still shows me the roaming path.
In your comments you mentioned ../SteamApps/common
However, steamapps is in lower case for me ../steamapps/common
So I guess in my case it would always use the default one?
I tried the "non steam" installation with my own test folder using the SteamApps path, that gave me something weird (see screenshot) and unfortunately the installation path is still referring to my appdata/roaming/Starmade folder
In the screenshot you already see the continue button even before accepting the Eula.
I've removed the --steam requirement for the automatic install path, which should resolve this.
I also may have fixed the overlapping pages issue. I wasn't able to duplicate it, however, and couldn't find a cause.
I may additionally replace the default install directory with simply ./StarMade; i'm undecided as this could potentially cause permissions issues when installed within specific directories (e.g. %programfiles%, /bin, etc.)