Launch Arguments
Here's a list of launch arguments that can be useful for various purposes.
Window
Argument |
Description |
-border |
Launch in borderless fullscreen |
-fullscreen |
Launch the application in fullscreen mode |
-noborder |
Launch in windowed mode with no border |
-resizing |
Enable window resizing |
-width |
Set the window width |
-height |
Set the window height |
Rendering
Argument |
Description |
-adapter |
Specify the graphics adapter to use |
-highdpi |
Enable high DPI support |
-msaa |
Force MSAA level |
-nowindow |
Hide the application window |
-rendersystemdll |
|
-rs_reset |
Use default render system |
-safe_mode |
Use default render system |
-vsync |
Enable vertical sync |
-forcenovsync |
Disable vertical sync |
-novsync |
Disable vertical sync |
VR
Argument |
Description |
-vrdemo |
Show window centered on default monitor |
-novr |
Disable virtual reality |
-vr |
Enable VR |
Tools
Argument |
Description |
-project "mygame/.sbproj" |
Launches straight into the specified project |
-tools |
Launch the tools application |
-vconsole |
Enable the VConsole |
Server
Argument |
Description |
-allowlocalhttp |
Allow local urls for http requests. Only works on server. |