Difference between revisions of "Startup parameters"
From Kerbal Space Program Wiki
(Added info for how to run in 64bit by default) |
(Replace "adapter" with "monitor" in first example.) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
;Example: | ;Example: | ||
− | <tt><program file> -popupwindow - | + | <tt><program file> -popupwindow -monitor 2</tt> |
'''For Steam version:''' | '''For Steam version:''' | ||
Line 14: | Line 14: | ||
# Properties -> General -> Set Launch Options... | # Properties -> General -> Set Launch Options... | ||
# Change default executable to the 64bit version: "<path to KSP directory>\KSP_x64.exe" %command% | # 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== | ==Parameters== | ||
Here is an incomplete list of available start up parameters: | Here is an incomplete list of available start up parameters: | ||
− | + | {| | |
− | + | |'''<tt>-popupwindow</tt>''' || 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. <ref>[http://www.reddit.com/r/KerbalSpaceProgram/comments/39uiyj/launching_ksp_in_windowed_borderless_mode_make/ Launching KSP in windowed borderless mode. (Make sure you have fullscreen disabled in the game settings)] on reddit</ref> | |
− | + | |- | |
− | + | |'''<tt>-single-instance</tt>''' || Only allows one instance of KSP. When attempting to launch another instance of KSP, existing instance will become active window. <ref name="multi">[[thread:86893|V0.24.0 Multicore processor issues and solutions (x86-x64)]] on the forum</ref> | |
− | + | |- | |
− | + | |<s>'''<tt>-adapter</tt>'''</s> || <s>Changes preferred monitor for full screen or full screen window. Example: "<tt>-adapter 2</tt>"</s> <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>-monitor</tt>''' || Changes preferred monitor for full screen or full screen window. Example: "<tt>-monitor 2</tt>" <ref>[https://issuetracker.unity3d.com/issues/command-line-argument-adapter-not-working-when-running-two-instances-at-the-same-time Command line argument -adapter not working when running two instances at the same time] on Unity issue tracker</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. | ||
+ | |- | ||
+ | |'''<tt>-force-d3d9</tt>''' || Forces KSP to use DirectX9 <ref name="multi" /> | ||
+ | |- | ||
+ | |'''<tt>-force-d3d11</tt>''' || Forces KSP to use DirectX11 | ||
+ | |- | ||
+ | |'''<tt>-force-gfx-metal</tt>''' || Forces KSP to use the Mac OS Metal API | ||
+ | |- | ||
+ | |'''<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" /> || | ||
+ | |} | ||
== References == | == References == |
Latest revision as of 07:48, 19 June 2024
Startup parameters can be configured by creating a new shortcut and then adding the appropriate option in the target line.
- Example
<program file> -popupwindow -monitor 2
For Steam version:
- Choose the game shortcut in Library
- Right click on the game
- Properties -> General -> Set Launch Options...
Change default to run in 64bit (Windows):
- Properties -> General -> Set Launch Options...
- 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] |
| |
-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
- ↑ Launching KSP in windowed borderless mode. (Make sure you have fullscreen disabled in the game settings) on reddit
- ↑ 2.0 2.1 2.2 V0.24.0 Multicore processor issues and solutions (x86-x64) on the forum
- ↑ PSA: KSP in a Borderless Window (Windowed Fullscreen) on reddit
- ↑ Command line argument -adapter not working when running two instances at the same time on Unity issue tracker
- ↑ Less memory usage by using OpenGL on the forum