Difference between revisions of "Startup parameters"

From Kerbal Space Program Wiki
Jump to: navigation, search
(formatting)
(Parameters: -- Added GL Core mode, GL ES mode, Vulkan Mode and Wayland Mode.)
Line 25: Line 25:
 
|'''<tt>-adapter</tt>''' || Changes preferred monitor for full screen or full screen window. Example: "<tt>-adapter 2</tt>" <ref>[http://www.reddit.com/r/KerbalSpaceProgram/comments/1y2h8m/psa_ksp_in_a_borderless_window_windowed_fullscreen/cfh52nr PSA: KSP in a Borderless Window (Windowed Fullscreen)] on reddit</ref>
 
|'''<tt>-adapter</tt>''' || Changes preferred monitor for full screen or full screen window. Example: "<tt>-adapter 2</tt>" <ref>[http://www.reddit.com/r/KerbalSpaceProgram/comments/1y2h8m/psa_ksp_in_a_borderless_window_windowed_fullscreen/cfh52nr PSA: KSP in a Borderless Window (Windowed Fullscreen)] on reddit</ref>
 
|-
 
|-
|'''<tt>-force-opengl</tt>''' || Forces KSP to use openGL <ref>[[thread:84203|Less memory usage by using OpenGL]] on the forum</ref>
+
|'''<tt>-force-opengl</tt>''' || Forces KSP to use OpenGL <ref>[[thread:84203|Less memory usage by using OpenGL]] on the forum</ref>
 +
|-
 +
|'''<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-d3d9</tt>''' || Forces KSP to use DirectX9 <ref name="multi" />
 
|'''<tt>-force-d3d9</tt>''' || Forces KSP to use DirectX9 <ref name="multi" />
 
|-
 
|-
 
|'''<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-wayland</tt>''' || Forces KSP to use the '''experimental''' Wayland support in Linux.  Warning: This is not tested with KSP
 
|-
 
|-
 
|'''<tt>-nolog</tt>''' <ref name="multi" /> ||
 
|'''<tt>-nolog</tt>''' <ref name="multi" /> ||

Revision as of 01:36, 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. Warning: This is not tested with KSP.
-force-d3d9 Forces KSP to use DirectX9 [2]
-force-d3d11 Forces KSP to use DirectX11
-force-vulkan Forces KSP to use the experimental Vulkan stack. Warning: This is not tested with KSP
-force-wayland Forces KSP to use the experimental Wayland support in Linux. Warning: This is not tested with KSP
-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. Less memory usage by using OpenGL on the forum

External Links