Author Topic: Command Line Parameters  (Read 3400 times)

Offline n3rd4i

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Command Line Parameters
« on: June 16, 2019, 04:54:16 pm »
Is there any way to specify that you want to start either:
  • XCOM: UFO Defense
  • TFTD

From command line when starting OpenXCOM ?

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2159
    • View Profile
Re: Command Line Parameters
« Reply #1 on: June 17, 2019, 01:54:52 am »
You can now! Use "-master xcom1" or "-master xcom2".

Offline hellrazor

  • Commander
  • *****
  • Posts: 2013
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: Command Line Parameters
« Reply #2 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).

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Command Line Parameters
« Reply #3 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.

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2159
    • View Profile
Re: Command Line Parameters
« Reply #4 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.