Project

General

Profile

Feature #4345

Add equivalents for the command line commands to Launcher

Added by Will Herrmann 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Launcher
Target version:
Start date:
03/05/2018
% Done:

100%

Severity:
Normal

Description

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.

Testing Settings.png View - Mockup of command line equivalents (55.1 KB) Will Herrmann, 03/06/2018 03:19 AM


Related issues

Duplicated by OpenMW - Feature #3927: Allow passing in game arguments from the launcher Rejected 06/19/2017

History

#1 Updated by Will Herrmann 3 months ago

  • Status changed from New to Resolved
  • Assignee set to Will Herrmann
  • Target version set to openmw-0.44
  • % Done changed from 0 to 100

Implemented by PR #1623

#2 Updated by Dark Locq 3 months ago

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.

#3 Updated by Alexei Dobrohotov 3 months ago

The way Thunderforge has implemented it does not affect settings.cfg at all. The command line arguments cannot be set through settings.cfg either.

#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.

#5 Updated by Will Herrmann 3 months ago

  • Duplicated by Feature #3927: Allow passing in game arguments from the launcher added

#6 Updated by Dark Locq 3 months ago

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.

#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: --help and --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?

Also available in: Atom PDF