This wiki is archived from 2021-09-05

Command-line options: Difference between revisions

From Planetary Annihilation: TITANS and Classic PA Wiki
Jump to navigation Jump to search
Line 8: Line 8:
== List of client command-line options ==
== List of client command-line options ==


<code>     | --ticket                : UberNet session ticket                                                                                                                  
<code>
    | --ubernetdev            : connect to ubernet dev instead of ubernet live                                                                                          
--ticket                : UberNet session ticket
    | --ubernet-url            : connect to ubernet via explicit url (e.g. localhost)                                                                                    
--ubernetdev            : connect to ubernet dev instead of ubernet live
    | --devmode                : enable dev only features                                                                                                                
--ubernet-url            : connect to ubernet via explicit url (e.g. localhost)
    | --server-debug-port      : enable server debug with port
--devmode                : enable dev only features
    | --username              : override username
--server-debug-port      : enable server debug with port
    | --nofeatures            : turn off features
--username              : override username
    | --nomouselock            : turn off mouse lock
--nofeatures            : turn off features
    | --forwardlogs            : forward engine logs to ui.
--nomouselock            : turn off mouse lock
    | --audiologging          : log audio events in the console.
--forwardlogs            : forward engine logs to ui.
    | --audioprofiler          : allows fmod to connect to an external profiler.
--audiologging          : log audio events in the console.
    | --audionetmix            : allows fmod to respond to external connections from the design software.
--audioprofiler          : allows fmod to connect to an external profiler.
    | --colormips              : displays color-codes for loaded texture mip levels.
--audionetmix            : allows fmod to respond to external connections from the design software.
    | --log-threshold          : set logging level [1 : LOG_Test , LOG_Trace : 6]
--colormips              : displays color-codes for loaded texture mip levels.
    | --software-ui            : render ui without using gpu
--log-threshold          : set logging level [1 : LOG_Test , LOG_Trace : 6]
    | --no-audio              : disable all audio
--software-ui            : render ui without using gpu
    | --coherent_port          : Coherent debugger port
--no-audio              : disable all audio
    | --localstorageurl        : local storage url
--coherent_port          : Coherent debugger port
    | --uioptions              : optional data sent to the ui on start
--localstorageurl        : local storage url
    | --nomods                : disable loading and mounting of mod folders
--uioptions              : optional data sent to the ui on start
    | --steam                  : attempt to initialize the Steam API
--nomods                : disable loading and mounting of mod folders
    | --forcefullscreen        : lock display mode to fullscreen
--steam                  : attempt to initialize the Steam API
    | --local-server          : path to local server executable
--forcefullscreen        : lock display mode to fullscreen
    | --matchmaking-url        : connect to matchmaking via explicit url (e.g. localhost)
--local-server          : path to local server executable
    | --no-content            : disable all extra content support
--matchmaking-url        : connect to matchmaking via explicit url (e.g. localhost)
    | --list-errors            : show a list of the registered fatal errors
--no-content            : disable all extra content support
    | --simulate-error        : simulate the fatal error with the given code
--list-errors            : show a list of the registered fatal errors
    | --profile-until-main-menu : create an uberprobe up until the main menu starts executing JavaScript.
--simulate-error        : simulate the fatal error with the given code
    | --content-dev            : Assume development directory structure and use content from Perforce root.
--profile-until-main-menu : create an uberprobe up until the main menu starts executing JavaScript.
    | --uiurl                  : url for custom ui.
--content-dev            : Assume development directory structure and use content from Perforce root.
    | --shaderurl              : url for custom shaders.
--uiurl                  : url for custom ui.
    | --scripturl              : url for server scripts, for local server development.
--shaderurl              : url for custom shaders.
    | --paurl                  : [DEPRECATED] url for custom content json.
--scripturl              : url for server scripts, for local server development.
    | --coherent-log-level    : Set coherent logging level [TRACE|DEBUG|INFO|WARNING|ASSERTFAILURE|ERROR|]
--paurl                  : [DEPRECATED] url for custom content json.
    | --coherent-options      : pass options to the Coherent host
--coherent-log-level    : Set coherent logging level [TRACE|DEBUG|INFO|WARNING|ASSERTFAILURE|ERROR|]
    | --disable-ui-cache      : never return 304 Not Modified to Coherent
--coherent-options      : pass options to the Coherent host
    | --help -h                : Prints the list of command line options
--disable-ui-cache      : never return 304 Not Modified to Coherent
    | --gl-debug              : set OpenGL context debug flags
--help -h                : Prints the list of command line options
    | --gl-debug-verbose      : log NOTIFICATION level debug output from OpenGL
--gl-debug              : set OpenGL context debug flags
    | --gl-vendor              : Override the GL_VENDOR string
--gl-debug-verbose      : log NOTIFICATION level debug output from OpenGL
    | --gl-force-enable-capabilities : Comma separated list of capabilities that are forced ON.
--gl-vendor              : Override the GL_VENDOR string
    | --gl-force-disable-capabilities : Comma separated list of capabilities that are forced OFF.
--gl-force-enable-capabilities : Comma separated list of capabilities that are forced ON.
    | --gl-force-mrt-srgb-capable : Force proper MRT sRGB blending capability.</code>
--gl-force-disable-capabilities : Comma separated list of capabilities that are forced OFF.
--gl-force-mrt-srgb-capable : Force proper MRT sRGB blending capability.
</code>


== List of server command-line options ==
== List of server command-line options ==

Revision as of 06:46, 16 February 2016

Using command-line options via Steam (client only)

Using command-line options on Windows

Using command-line options on Windows

List of client command-line options

--ticket                 : UberNet session ticket
--ubernetdev             : connect to ubernet dev instead of ubernet live
--ubernet-url            : connect to ubernet via explicit url (e.g. localhost)
--devmode                : enable dev only features
--server-debug-port      : enable server debug with port
--username               : override username
--nofeatures             : turn off features
--nomouselock            : turn off mouse lock
--forwardlogs            : forward engine logs to ui.
--audiologging           : log audio events in the console.
--audioprofiler          : allows fmod to connect to an external profiler.
--audionetmix            : allows fmod to respond to external connections from the design software.
--colormips              : displays color-codes for loaded texture mip levels.
--log-threshold          : set logging level [1 : LOG_Test , LOG_Trace : 6]
--software-ui            : render ui without using gpu
--no-audio               : disable all audio
--coherent_port          : Coherent debugger port
--localstorageurl        : local storage url
--uioptions              : optional data sent to the ui on start
--nomods                 : disable loading and mounting of mod folders
--steam                  : attempt to initialize the Steam API
--forcefullscreen        : lock display mode to fullscreen
--local-server           : path to local server executable
--matchmaking-url        : connect to matchmaking via explicit url (e.g. localhost)
--no-content             : disable all extra content support
--list-errors            : show a list of the registered fatal errors
--simulate-error         : simulate the fatal error with the given code
--profile-until-main-menu : create an uberprobe up until the main menu starts executing JavaScript.
--content-dev            : Assume development directory structure and use content from Perforce root.
--uiurl                  : url for custom ui.
--shaderurl              : url for custom shaders.
--scripturl              : url for server scripts, for local server development.
--paurl                  : [DEPRECATED] url for custom content json.
--coherent-log-level     : Set coherent logging level [TRACE|DEBUG|INFO|WARNING|ASSERTFAILURE|ERROR|]
--coherent-options       : pass options to the Coherent host
--disable-ui-cache       : never return 304 Not Modified to Coherent
--help -h                : Prints the list of command line options
--gl-debug               : set OpenGL context debug flags
--gl-debug-verbose       : log NOTIFICATION level debug output from OpenGL
--gl-vendor              : Override the GL_VENDOR string
--gl-force-enable-capabilities : Comma separated list of capabilities that are forced ON.
--gl-force-disable-capabilities : Comma separated list of capabilities that are forced OFF.
--gl-force-mrt-srgb-capable : Force proper MRT sRGB blending capability.

List of server command-line options

    | --log-network-traffic    : Log network traffic to given file
    | --http                   : Enables http server
    | --ubernet-url            : Sets UberNet service url
    | --monitor-url            : Sets UberNet monitor service url
    | --ubernet-secret         : Sets UberNet secret key for server to server calls
    | --lobby-id               : Sets the UberNet lobby id
    | --server-id              : Sets the UberNet server id
    | --build-id               : Set the build id
    | --output-dir             : Specify directory to write log files, replays, etc.
    | --headless               : Server will not create a window
    | --debug-landing-zones    : Server will give players all landing zones generated and disable the force landing timer
    | --test-config            : Use a very simple test system config
    | --game-mode              : Sets the current game mode.
    | --allow-cheats           : Server will allow clients to cheat.
    | --allow-lan              : Server will allow enable lan messages.
    | --load-replay            : Replay file to load at startup.
    | --no-players             : Run the server without waiting for any players.  (AI only.)
    | --no-waiting             : Do not wait for time passage, user connections, or anything that would slow down the server.
    | --no-throttle            : Do not throttle the sim tick even if it is running slowly.
    | --time-limit             : Maximum time limit for running the sim, in sim time seconds.
    | --log-threshold          : set logging level [1 : LOG_Test , LOG_Trace : 6]
    | --allow-crash-api        : Allow access to /api/crash and /api/die.
    | --enable-crash-reporting : Report server crashes to Uber Entertainment.
    | --disable-replays        : Don't save replays, even if you specify --output-dir.
    | --port -p                : Listen on port [1-65535]
    | --matchmaking-url        : connect to matchmaking via explicit url (e.g. localhost)
    | --debug-port             : Set up v8 debugger on port [1-65535]
    | --content-dev            : Assume development directory structure and use content from Perforce root.
    | --scripturl              : url for server scripts.
    | --paurl                  : [DEPRECATED] url for custom content json.
    | --neuralnetdatadir       : Sets the neural network data directory.
    | --ai-log                 : Enables AI logging.
    | --no-ai                  : Prevents ticking of AI armies.
    | --neural-learnrate       : Sets neural network learning rate.
    | --neural-momentum        : Sets neural network momentum rate.
    | --help -h                : Prints the list of command line options
    | --gl-debug               : set OpenGL context debug flags
    | --gl-debug-verbose       : log NOTIFICATION level debug output from OpenGL
    | --gl-vendor              : Override the GL_VENDOR string
    | --gl-force-enable-capabilities : Comma separated list of capabilities that are forced ON.
    | --gl-force-disable-capabilities : Comma separated list of capabilities that are forced OFF.
    | --gl-force-mrt-srgb-capable : Force proper MRT sRGB blending capability.

Command-line options of Coherent