OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: n3rd4i on June 16, 2019, 04:54:16 pm

Title: Command Line Parameters
Post by: n3rd4i on June 16, 2019, 04:54:16 pm
Is there any way to specify that you want to start either:

From command line when starting OpenXCOM ?
Title: Re: Command Line Parameters
Post by: SupSuper on June 17, 2019, 01:54:52 am
You can now! Use "-master xcom1" or "-master xcom2".
Title: Re: Command Line Parameters
Post by: hellrazor on June 19, 2019, 09:56:47 am
You can now! Use "-master xcom1" or "-master xcom2".

Uhhh!!! The sweetness of having some small startup scripts.

SupSuper would it also be possible, do startup the game and also invoke activations of mods via given over variable (utilizing the information in metadata,yml for example).
Title: Re: Command Line Parameters
Post by: ohartenstein23 on June 19, 2019, 06:29:49 pm
You can use separate config files for that and specify which to use with the "-config <directory containing options.cfg>" option.
Title: Re: Command Line Parameters
Post by: SupSuper on June 19, 2019, 07:19:32 pm
Yeah it's easy to enable masters because "there can be only one". :P Resolving a whole mod dependency chain is much more complicated, and would easily block the game from starting if anything was missing.