Command-Line Arguments and Switches#
This page contains details on all command-line switches implemented within the engine. These can be passed through to the engine when executing.
| Argument/Switch | Flags | Description |
|---|---|---|
| -autogenplugins | Automatically generate XML plugins for Guerilla at startup. | |
| -console | Enables the in-game console in a Release build. If the project author has disabled use of the console in Release builds, then this switch will have no effect. | |
| -devmode | Enables in-engine development tools in a Release build. If the project author has disabled use of debug tools in Release builds, then this switch will have no effect. | |
| -dpi_unaware | Instructs the program to run in a DPI-unaware mode. Will only have an effect when used with the game executable. | |
| -sdl_single_buffer | Instructs SDL to run in single-buffer mode. Will only have an effect when used with the game executable. | |
| -skipshowwindow | Instructs the engine to skip showing the engine window. This is primarily intended for internal use for the Editing Kit, where window showing/hiding is handled externally. If passed to the engine executable directly, the main window will never be displayed. | |
| -dotnet | Legacy compatibility flag used by C#/.NET based editing tools. No longer used. |