S&box Wiki

Revision Difference

launchargs#551243

<cat>Play.Console</cat> <title>Launch Arguments</title> # Launch Arguments Here's a list of launch arguments that can be useful for various purposes. ## Window | Argument | Description | |---------------------------|---------------------------------------------------------| | -border | | | -fullscreen | Launch the application in fullscreen mode | | -height | Set the window height | | -noborder | | | -resizing | Enable window resizing | | -width | Set the window width | ## Rendering | Argument | Description | |---------------------------|---------------------------------------------------------| | -adapter | Specify the graphics adapter to use | | -dx11 | Use DirectX 11 for rendering | | -dxlevel | Set the DirectX feature level | | -dxwarp | Use the DirectX software rasterizer (WARP) | | -forcenovsync | Disable vertical sync | | -highdpi | Enable high DPI support | | -msaa | Force MSAA level | | -novsync | Disable vertical sync | | -nowindow | Hide the application window | | -rendersystemdll | | | -rs_reset | Use default render system | | -safe_mode | Use default render system | | -vsync | Enable vertical sync | | -vulkan | Use the Vulkan rendering backend | ## VR | Argument | Description | |---------------------------|---------------------------------------------------------| | -novr | Disable virtual reality | | -vr | Enable VR | | -vrdemo | Show window centered on default monitor | ## Tools | Argument | Description | |---------------------------|---------------------------------------------------------| | -multiple_tools_instances | Allow multiple instances of the tools | | -project "mygame/.sbproj" | Launches straight into the specified project |⤶ | -skip_start_screen | Skips the start screen, straight into content mode |⤶ | -tools | Launch the tools application | | -vconsole | Enable the VConsole | ## Server | Argument | Description | |---------------------------|-----------------------------------------------------------| | -allowlocalhttp | Allow local urls for http requests. Only works on server. |