Command Line Switches
Posted: Mon Aug 31, 2009 5:08 am
Please find below a collection of Command Line Switches known to me at this time.
Two switches are not clear to me (the first two), and I'd appreciate any references or clarifications. And, of course, additions I overlooked.
Undocumented / unclear
-dd_hw Direct Draw switch (DirectDraw Hardware?)
-dd_def Direct Draw switch (unclear)
Performance Switches
-SingleCpuStart : Starts the game in single CPU mode. Switches to multi CPU mode if available later. We’ve
found this to be useful on some multi-core systems, especially AMD processors.
-SingleCpuOrders : Starts the game in single CPU mode and stays in single CPU for the orders phase, switches
to multi CPU mode for running the turn, then switches back to single mode for the next orders phase. We’ve
found this to be useful on some multi-core systems, especially AMD processors. Use this or –SingleCpuStart,
not both.
If either of the above are used with one of the -cpu# switches noted below, it will use the specified CPU,
otherwise both of these switches default to the first CPU. If a -cpu# switch and one of these -Single
switches are used, the turns will always be processed in multi processor mode.
-cpu# : (cpu1, cpu2, cpu3, cpu4) Switches set the cpu affinity for multi cpu systems. It will do nothing for
single cores and will default to using all cores if a core is designated which is not there (for example
using -cpu3 on a dual core system). We’ve found this to be very useful on some multi-core systems,
especially Intel processors.
If used alone, the -cpu# switches will keep the game running on the CPU specified all the time. If used with
the -SingleCpuStart switch, it will only use that core when starting the game. If used with the
-SingleCpuOrders switch, it will stay in single CPU mode for starting and the orders phase, but will run in
multicore. If one of the SingleCpu switches is used without a -cpu# switch, it will default to cpu 1 when it
is in single core.
-multiaudio : Invokes a fix that changes audio timing for multicore machines.
-dd_sw : Handles DirectDraw via Software. We’ve found this can make a huge difference on many systems as
far as reducing interface lag and making button clicking in-game more responsive. On a few newer systems
this can cause some visual glitches and slow combat animations though, so give it a try and remove it if
it’s not ideal on your system.
-colorBlind : Support for color blindness
-deepColor : Enables 32 bit color
-altFont : Enables alternate in-game font (Lucida Sans Unicode)
-w : Windowed mode
-wd : Windowed mode, daily autosaves
-ww : Windowed mode, weekly autosaves
-fd : Full screen, daily autosaves
-fw : Full screen, weekly autosaves
-r : Show Roads
-autosave : Daily autosave
Edit: Please note - the explanations listed are from official documentation or notes from Matrix. They're not mine.
Two switches are not clear to me (the first two), and I'd appreciate any references or clarifications. And, of course, additions I overlooked.
Undocumented / unclear
-dd_hw Direct Draw switch (DirectDraw Hardware?)
-dd_def Direct Draw switch (unclear)
Performance Switches
-SingleCpuStart : Starts the game in single CPU mode. Switches to multi CPU mode if available later. We’ve
found this to be useful on some multi-core systems, especially AMD processors.
-SingleCpuOrders : Starts the game in single CPU mode and stays in single CPU for the orders phase, switches
to multi CPU mode for running the turn, then switches back to single mode for the next orders phase. We’ve
found this to be useful on some multi-core systems, especially AMD processors. Use this or –SingleCpuStart,
not both.
If either of the above are used with one of the -cpu# switches noted below, it will use the specified CPU,
otherwise both of these switches default to the first CPU. If a -cpu# switch and one of these -Single
switches are used, the turns will always be processed in multi processor mode.
-cpu# : (cpu1, cpu2, cpu3, cpu4) Switches set the cpu affinity for multi cpu systems. It will do nothing for
single cores and will default to using all cores if a core is designated which is not there (for example
using -cpu3 on a dual core system). We’ve found this to be very useful on some multi-core systems,
especially Intel processors.
If used alone, the -cpu# switches will keep the game running on the CPU specified all the time. If used with
the -SingleCpuStart switch, it will only use that core when starting the game. If used with the
-SingleCpuOrders switch, it will stay in single CPU mode for starting and the orders phase, but will run in
multicore. If one of the SingleCpu switches is used without a -cpu# switch, it will default to cpu 1 when it
is in single core.
-multiaudio : Invokes a fix that changes audio timing for multicore machines.
-dd_sw : Handles DirectDraw via Software. We’ve found this can make a huge difference on many systems as
far as reducing interface lag and making button clicking in-game more responsive. On a few newer systems
this can cause some visual glitches and slow combat animations though, so give it a try and remove it if
it’s not ideal on your system.
-colorBlind : Support for color blindness
-deepColor : Enables 32 bit color
-altFont : Enables alternate in-game font (Lucida Sans Unicode)
-w : Windowed mode
-wd : Windowed mode, daily autosaves
-ww : Windowed mode, weekly autosaves
-fd : Full screen, daily autosaves
-fw : Full screen, weekly autosaves
-r : Show Roads
-autosave : Daily autosave
Edit: Please note - the explanations listed are from official documentation or notes from Matrix. They're not mine.