Difference between revisions of "Startup parameters"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Parameters: -- Added GL Core mode, GL ES mode, Vulkan Mode and Wayland Mode.)
(Parameters: Add vulkan, remove obvious untested notes.)
Line 29: Line 29:
 
|'''<tt>-force-glcore</tt>''' || Forces KSP to use OpenGL and use a core profile (default behavior in OpenGL)
 
|'''<tt>-force-glcore</tt>''' || Forces KSP to use OpenGL and use a core profile (default behavior in OpenGL)
 
|-
 
|-
|'''<tt>-force-gles</tt>''' || Forces KSP to use the OpenGL ES stack typically used in mobile Unity Games. Warning: This is not tested with KSP.
+
|'''<tt>-force-gles</tt>''' || Forces KSP to use the OpenGL ES stack typically used in mobile Unity Games.  
 
|-
 
|-
 
|'''<tt>-force-d3d9</tt>''' || Forces KSP to use DirectX9 <ref name="multi" />
 
|'''<tt>-force-d3d9</tt>''' || Forces KSP to use DirectX9 <ref name="multi" />
Line 35: Line 35:
 
|'''<tt>-force-d3d11</tt>''' || Forces KSP to use DirectX11
 
|'''<tt>-force-d3d11</tt>''' || Forces KSP to use DirectX11
 
|-
 
|-
|'''<tt>-force-vulkan</tt>''' || Forces KSP to use the '''experimental''' Vulkan stack.  Warning: This is not tested with KSP
+
|'''<tt>-force-gfx-metal</tt>''' || Forces KSP to use the Mac OS Metal API
 
|-
 
|-
|'''<tt>-force-wayland</tt>''' || Forces KSP to use the '''experimental''' Wayland support in Linux.   Warning: This is not tested with KSP
+
|'''<tt>-force-vulkan</tt>''' || Forces KSP to use the '''experimental''' Vulkan stack. 
 +
|-
 +
|'''<tt>-force-wayland</tt>''' || Forces KSP to use the '''experimental''' Wayland support in Linux.  
 
|-
 
|-
 
|'''<tt>-nolog</tt>''' <ref name="multi" /> ||
 
|'''<tt>-nolog</tt>''' <ref name="multi" /> ||

Revision as of 01:42, 2 February 2019

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]
-force-opengl Forces KSP to use OpenGL [4]
-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. Jump up Launching KSP in windowed borderless mode. (Make sure you have fullscreen disabled in the game settings) on reddit
  2. Jump up to: 2.0 2.1 2.2 V0.24.0 Multicore processor issues and solutions (x86-x64) on the forum
  3. Jump up PSA: KSP in a Borderless Window (Windowed Fullscreen) on reddit
  4. Jump up Less memory usage by using OpenGL on the forum

External Links