S&box Wiki

Revision Difference

launchargs#550140

<cat>Code.Misc</cat> <title>Launch Arguments</title> # List of launch arguments that may be useful to anyone who needs them, update this page with ones you find⤶ Just a quickly made page, todo: make this look pretty⤶ ```⤶ -adapter⤶ -addon⤶ -addon_path⤶ -allthreads⤶ -border⤶ -con_logfile⤶ -condebug⤶ -conrotate⤶ -consoleapp⤶ -consolelog⤶ -consolelog_append⤶ -consolelog_notimestamp⤶ -consolelog_rotate⤶ -coop_fullscreen⤶ -devcontent⤶ -dx11⤶ -dxlevel⤶ -dxwarp⤶ -empty⤶ -entrypoint⤶ -force_new_recommend⤶ -forcenovsync⤶ -fpexcept⤶ -fullscreen⤶ -game⤶ -gameinfo_define⤶ -height⤶ -highdpi⤶ -indir⤶ -msaa⤶ -multiple_tools_instances⤶ -no_bundle_module⤶ -no_tier2_bundle⤶ -no_tier3_bundle⤶ -noborder⤶ -novpk⤶ -novr⤶ -novsync⤶ -nowindow⤶ -outdir⤶ -p-r-⤶ -p-t-⤶ -p-t-⤶ -p-x-⤶ -p-x-v-⤶ -publiccontent⤶ -rendersystemdll⤶ -resizing⤶ -rs_reset⤶ -safe_mode⤶ -script⤶ -showasserts⤶ -sse2⤶ -sse3⤶ -sse4⤶ -steam⤶ -tempcontent⤶ -threads⤶ -tools⤶ -toolsvr⤶ -unbufferedio⤶ -use_tier2_bundle⤶ -use_tier3_bundle⤶ -vconport⤶ -vconsole⤶ -vrdebug⤶ -vrdemo⤶ -vsync⤶ -vulkan⤶ -width⤶ ``` # Launch Arguments⤶ ⤶ Here's a list of launch arguments that can be useful for various purposes.⤶ ⤶ | Argument | Description |⤶ |---------------------------|---------------------------------------------------------|⤶ | -adapter | Specify the graphics adapter to use |⤶ | -allthreads | Use all available CPU threads |⤶ | -border | |⤶ | -con_logfile | |⤶ | -condebug | |⤶ | -conrotate | |⤶ | -consoleapp | |⤶ | -consolelog | |⤶ | -consolelog_append | |⤶ | -consolelog_notimestamp | |⤶ | -consolelog_rotate | |⤶ | -dx11 | Use DirectX 11 for rendering |⤶ | -dxlevel | Set the DirectX feature level |⤶ | -dxwarp | Use the DirectX software rasterizer (WARP) |⤶ | -empty | Create an empty project |⤶ | -entrypoint | |⤶ | -force_new_recommend | |⤶ | -forcenovsync | Disable vertical sync |⤶ | -fpexcept | |⤶ | -fullscreen | Launch the application in fullscreen mode |⤶ | -game | Specify the game to run |⤶ | -gameinfo_define | Define a game info key-value pair |⤶ | -height | Set the window height |⤶ | -highdpi | Enable high DPI support |⤶ | -indir | Set the input directory |⤶ | -msaa | Enable multi-sample anti-aliasing |⤶ | -multiple_tools_instances | Allow multiple instances of the tools |⤶ | -no_bundle_module | |⤶ | -no_tier2_bundle | |⤶ | -no_tier3_bundle | |⤶ | -noborder | |⤶ | -novpk | |⤶ | -novr | Disable virtual reality |⤶ | -novsync | Disable vertical sync |⤶ | -nowindow | Hide the application window |⤶ | -outdir | |⤶ | -p-r- | |⤶ | -p-t- | |⤶ | -p-x- | |⤶ | -p-x-v- | |⤶ | -publiccontent | |⤶ | -rendersystemdll | |⤶ | -resizing | Enable window resizing |⤶ | -rs_reset | Reset render system to default settings |⤶ | -safe_mode | Enable safe mode |⤶ | -script | Execute a script file |⤶ | -showasserts | Show assert dialog on errors |⤶ | -sse2 | |⤶ | -sse3 | |⤶ | -sse4 | |⤶ | -tempcontent | |⤶ | -threads | Set the number of worker threads |⤶ | -tools | Launch the tools application |⤶ | -toolsvr | Launch the tools application in VR mode |⤶ | -unbufferedio | |⤶ | -use_tier2_bundle | |⤶ | -use_tier3_bundle | |⤶ | -vconport | Set the VConsole port number |⤶ | -vconsole | Enable the VConsole |⤶ | -vr | Enable VR |⤶ | -vrdebug | Enable VR debugging |⤶ | -vrdemo | Enable VR demo mode |⤶ | -vsync | Enable vertical sync |⤶ | -vulkan | Use the Vulkan rendering backend |⤶ | -width | Set the window width |⤶