OpenXcom Forum

OpenXcom => Troubleshooting => Topic started by: Mackus on April 18, 2019, 06:03:00 pm

Title: Separate shortcuts for UFO and TFTD
Post by: Mackus 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?
Title: Re: Separate shortcuts for UFO and TFTD
Post by: ohartenstein23 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.