Export to GitHub

wxlauncher - issue #36

Command-line parameters


Posted on Jan 19, 2010 by Happy Bird

Launcher should be able to accept command-line parameters.

One possible parameter use:

-profile "<profile name>"

Purpose: to allow creation of shortcuts that can launch FSO with the specified profile without having to explicitly open the launcher window

Example:

wxlauncher -profile "My Derelict profile #2"

This will apply the settings found in profile 'My Derelict profile #2' (if it exists) and launch the game.

Sidenote: A button "Create desktop shortcut for the current profile" would be nice. However, if it will ever be implemented it will have the lowest priority.

Comment #1

Posted on Feb 7, 2010 by Happy Bird

Another useful use for parameters:

-data ""

This will tell the launcher where to look for and store profiles and other data. Useful with multiple operating systems installed on one computer.

Comment #2

Posted on Dec 6, 2010 by Swift Elephant

Yet another useful parameter would be:

-execute FSO|FRED -- OR --- -run FSO|FRED -- OR --- -runfs -runfred

This would tell the launcher to not show the gui and just load the profile specified and launch the game or fred binary. Intended for people that don't want to use the gui to run FSO or for use in shortcuts.

Status: Accepted

Labels:
Type-Enhancement Severity-None OpSys-All Usability