Add equivalents for the command line commands to Launcher
A number of new OpenMW users have indicated that they find the current way of running start testing commands to be cumbersome to use:
it mentions terminal/command line crap which 99% of your users aren't going to use
having to dig into my documents folder whenever i have to edit something is really annoying
Therefore, I'd like to suggest adding equivalent functionality for the startup commands to the Launcher. I have attached a mockup of what this might look like.
Like with the newly implemented "Advanced" menu (a.k.a. the MCP-like menu), this would just be a front for the settings files, and would not prevent power users from manually editing the files themselves. By providing a more user-friendly alternative, this lowers the barrier to entry for OpenMW.
Please be sure this does not rewrite the settings file in any way that's not necessary. I already reported problems with the launcher mucking up the openmw.cfg file (e.g. by removing and moving around #comments and other such shenanigans) last year, so it would not be good to have a similar "formatting enforcement" problem in another config file.
#4 Updated by Will Herrmann 3 months ago
The way that I have implemented it doesn’t modify settings.cfg, but does modify openmw.cfg. It uses the same class that already reads and writes to that file, so it does it no differently.
Still, feel free to review the code and let me be aware of any issues you find.
#7 Updated by Will Herrmann 3 months ago
Dark Locq wrote:
However, the original #3927 should be combined with this idea; it would be good to also be able to arbitrarily pass command-line arguments via the launcher.
There are only two more command line arguments that are not able to be accessed via the Launcher:
--activate-dist=value. The former seems kind of useless in a GUI (it just lists the available command line parameters). Are you wanting the latter to be implemented in the GUI? If so, then would there be any reason to allow for arbitrary command-line arguments?