Startup parameters

From Kerbal Space Program Wiki
Revision as of 07:47, 19 June 2024 by Dude (talk | contribs) (The "adapter" command-line argument has been replaced with "monitor".)
Jump to: navigation, search
This article is a stub. You can help KSP Wiki by expanding it.

Startup parameters can be configured by creating a new shortcut and then adding the appropriate option in the target line.

Example

<program file> -popupwindow -adapter 2

For Steam version:

  1. Choose the game shortcut in Library
  2. Right click on the game
  3. Properties -> General -> Set Launch Options...

Change default to run in 64bit (Windows):

  1. Properties -> General -> Set Launch Options...
  2. Change default executable to the 64bit version: "<path to KSP directory>\KSP_x64.exe" %command%

ex. "C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64.exe" %command%

Parameters

Here is an incomplete list of available start up parameters:

-popupwindow Enables full screen window mode. "Full Screen" option in graphics settings must be disabled for this to work. This option is also available through the KSP launcher settings. [1]
-single-instance Only allows one instance of KSP. When attempting to launch another instance of KSP, existing instance will become active window. [2]
-adapter Changes preferred monitor for full screen or full screen window. Example: "-adapter 2" [3]
-monitor Changes preferred monitor for full screen or full screen window. Example: "-monitor 2" [4]
-force-opengl Forces KSP to use OpenGL [5]
-force-glcore Forces KSP to use OpenGL and use a core profile (default behavior in OpenGL)
-force-gles Forces KSP to use the OpenGL ES stack typically used in mobile Unity Games.
-force-d3d9 Forces KSP to use DirectX9 [2]
-force-d3d11 Forces KSP to use DirectX11
-force-gfx-metal Forces KSP to use the Mac OS Metal API
-force-vulkan Forces KSP to use the experimental Vulkan stack.
-force-wayland Forces KSP to use the experimental Wayland support in Linux.
-nolog [2]

References

  1. Launching KSP in windowed borderless mode. (Make sure you have fullscreen disabled in the game settings) on reddit
  2. 2.0 2.1 2.2 V0.24.0 Multicore processor issues and solutions (x86-x64) on the forum
  3. PSA: KSP in a Borderless Window (Windowed Fullscreen) on reddit
  4. Command line argument -adapter not working when running two instances at the same time on Unity issue tracker
  5. Less memory usage by using OpenGL on the forum

External Links