Author Topic: Separate shortcuts for UFO and TFTD  (Read 2583 times)

Offline Mackus

  • Sergeant
  • **
  • Posts: 48
    • View Profile
Separate shortcuts for UFO and TFTD
« on: April 18, 2019, 06:03:00 pm »
Currently, to swap between both games, one must change in-game settings.
Is there any command, something like "openxcom.exe -mod ufo1", that can be added to shortcut to swap mods without using ingame settings?

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Separate shortcuts for UFO and TFTD
« Reply #1 on: April 18, 2019, 07:29:51 pm »
You can create copies of the options.cfg file for different sets of mods as that's where the list of mods you have active are saved. Then you can run

Code: [Select]
openxcom.exe -config "/path/to/folder/containing/the/config/file"

to run different configuration files. Note that you need to put the file in a separate folder, as the game assumes the path passed to it is a directory containing the file, not the file itself.