List of Command Line Parameters: Difference between revisions
Jump to navigation
Jump to search
BlackSpectre (talk | contribs) No edit summary |
BlackSpectre (talk | contribs) No edit summary |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This is a list of user level [[Command Line Parameters]] that players have access to use while launching City of Heroes/Villains, in alphabetical order. In cases where the command line parameter can also be used as a [[slash command]], the launch parameters will link to the slash command page. This is not a complete list of commands that can be used as command line parameters. Slash commands not on this list still might work as command line parameters, they simply have not been identified as doing so. If you find one, please add it to this list. | |||
This is a list of user level [[Command Line Parameters]] that players have access to use while launching City of Heroes/Villains, in alphabetical order. In cases where the command line parameter can also be used as a [[slash command]], the launch parameters will link to the slash command page. | |||
[[File:City_of_Heroes-star-icon50x50.png|right|top|Ka-Pow!]] | [[File:City_of_Heroes-star-icon50x50.png|right|top|Ka-Pow!]] | ||
== Working Command Line Parameters | == Working Command Line Parameters == | ||
{| class="wikitable" width="99%" | {| class="wikitable" width="99%" | ||
! colspan=2 style="text-align:center;" | | ! colspan=2 style="text-align:center;" | | ||
Line 14: | Line 12: | ||
| Auth server IP string. | | Auth server IP string. | ||
|- | |- | ||
| {{launchparam|compatiblecursors}} | | {{launchparam|camdist}} | ||
| Used to position the camera a certain distance away from the character's head. | |||
|- | |||
| {{launchparam|compatiblecursors}} | |||
| Enables useage of basic windows mouse cursors instead of graphical cursors (command line option). | | Enables useage of basic windows mouse cursors instead of graphical cursors (command line option). | ||
|- | |- | ||
Line 26: | Line 27: | ||
| Start playing the specified demo file. | | Start playing the specified demo file. | ||
|- | |- | ||
| {{launchparam|enablevbos}} | | {{launchparam|enablevbos}} | ||
| Turns on vertex buffer object extension | | Turns on vertex buffer object extension | ||
|- | |- | ||
| {{launchparam|exitlaunch}} | | {{launchparam|exitlaunch}} | ||
| Set program to run when game exits. | | Set program to run when game exits. | ||
|- | |- | ||
| {{launchparam|fullRelight}} | | {{launchparam|fullRelight}} | ||
| Do not cap number of relit vertices per frame. | | Do not cap number of relit vertices per frame. | ||
|- | |- | ||
| {{launchparam|fullscreen}} | | {{launchparam|fullscreen}} | ||
| Sets video mode to fullscreen. | | Sets video mode to fullscreen. | ||
|- | |- | ||
Line 44: | Line 45: | ||
| Enables existing installs of the game client to find certain files when you aren't launching the game with Tequila, Island Rum, or the Homecoming launcher. | | Enables existing installs of the game client to find certain files when you aren't launching the game with Tequila, Island Rum, or the Homecoming launcher. | ||
|- | |- | ||
| {{launchparam|lodbias}} | | {{launchparam|lodbias}} | ||
| Multiplier for LOD (Loss of Detail) distances for entities (alters the Character Detail setting in Options). | | Multiplier for LOD (Loss of Detail) distances for entities (alters the Character Detail setting in Options). | ||
|- | |- | ||
| {{launchparam|maxfps}} | | {{launchparam|maxfps}} | ||
| Sets the maximum limit for frames per second that a player's [[client]] can utilize, whether the game is in focus or not. | | Sets the maximum limit for frames per second that a player's [[client]] can utilize, whether the game is in focus or not. | ||
|- | |- | ||
| {{launchparam|maxInactiveFps}} | | {{launchparam|maxInactiveFps}} | ||
| Limits max frames per second while the game is not in the foreground. | | Limits max frames per second while the game is not in the foreground. | ||
|- | |- | ||
| {{launchparam|maxtexunits}} | | {{launchparam|maxrtframes}} | ||
| How many frames ahead to allow buffering. | |||
|- | |||
| {{launchparam|maxtexunits}} | |||
| Limits number of textures used, set to 4 to emulate GF 4/5 path | | Limits number of textures used, set to 4 to emulate GF 4/5 path | ||
|- | |- | ||
| {{launchparam|mtu}} | | {{launchparam|mtu}} | ||
| Sets the mtu size for client-generated packets (command line option). | | Sets the mtu size for client-generated packets (command line option). | ||
|- | |||
| {{launchparam|neterrorcorrection|[0-2]}} | |||
| Adjusts network error correction limits. | |||
|- | |- | ||
| {{launchparam|noATI}} | | {{launchparam|noATI}} | ||
| Disables use of R200 shader path, uses only ARB shaders instead. | | Disables use of R200 shader path, uses only ARB shaders instead. | ||
|- | |||
| {{launchparam|noBump}} | |||
| Disable bump maps by forcing unperturbed normal. | |||
|- | |- | ||
| {{launchparam|nodebug}} | | {{launchparam|nodebug}} | ||
Line 76: | Line 86: | ||
| {{launchparam|nooverride}} | | {{launchparam|nooverride}} | ||
| Disallows override files. | | Disallows override files. | ||
|- | |||
| {{launchparam|noparticles}} | |||
| Turn off particle graphics. | |||
|- | |- | ||
| {{launchparam|noPBuffers}} | | {{launchparam|noPBuffers}} | ||
Line 86: | Line 99: | ||
| Turns off pixel shaders. | | Turns off pixel shaders. | ||
|- | |- | ||
| {{launchparam|nopopup}} | | {{launchparam|nopopup}} | ||
| Enable or disable popup error dialogs. | | Enable or disable popup error dialogs. | ||
|- | |- | ||
| {{launchparam|norenderthread}} | | {{launchparam|norenderthread}} | ||
| Tell the client not to use a separate thread for rendering graphics. | | Tell the client not to use a separate thread for rendering graphics. | ||
|- | |||
| {{launchparam|nosunflare}} | |||
| Disables sun flare for performance debugging. | |||
|- | |- | ||
| {{launchparam|noRTT}} | | {{launchparam|noRTT}} | ||
Line 110: | Line 126: | ||
| Set profile for launching the game (live / diag / beta / pre). | | Set profile for launching the game (live / diag / beta / pre). | ||
|- | |- | ||
| {{launchparam|profiling_memory}} | | {{launchparam|profiling_memory}} | ||
| Set the number of mb of memory to use for profiling. | | Set the number of mb of memory to use for profiling. | ||
|- | |- | ||
Line 116: | Line 132: | ||
| Set project registry key (coh / cohtest / cohbeta). | | Set project registry key (coh / cohtest / cohbeta). | ||
|- | |- | ||
| {{launchparam|reduce_mip}} | | {{launchparam|reduce_mip}} | ||
| Reduces the resolution of textures to only use the reduced (mip-map) textures. must pass as command line arg -reducemip or you need to subsequently run unloadgfx. | | Reduces the resolution of textures to only use the reduced (mip-map) textures. must pass as command line arg -reducemip or you need to subsequently run unloadgfx. | ||
|- | |- | ||
| {{launchparam|renderscale}} | | {{launchparam|renderscale}} | ||
| Changes the scale at which the 3D world is rendered relative to your screen size | | Changes the scale at which the 3D world is rendered relative to your screen size | ||
|- | |- | ||
Line 125: | Line 141: | ||
| Changes method of filtering used in renderscaling | | Changes method of filtering used in renderscaling | ||
|- | |- | ||
| {{launchparam|renderscalex}} | | {{launchparam|renderscalex}} | ||
| Changes the horizontal scale at which the 3D world is rendered relative to your screen size | | Changes the horizontal scale at which the 3D world is rendered relative to your screen size | ||
|- | |- | ||
| {{launchparam|renderscaley}} | | {{launchparam|renderscaley}} | ||
| Changes the vertical scale at which the 3D world is rendered relative to your screen size | | Changes the vertical scale at which the 3D world is rendered relative to your screen size | ||
|- | |- | ||
| {{launchparam|rendersize}} | | {{launchparam|rendersize}} | ||
| Changes the size at which the 3D world is rendered | | Changes the size at which the 3D world is rendered | ||
|- | |- | ||
| {{launchparam|renderthread}} | | {{launchparam|renderthread}} | ||
| Tell the client to use a separate thread for rendering graphics. | | Tell the client to use a separate thread for rendering graphics. | ||
|- | |- | ||
| {{launchparam|screen}} | | {{launchparam|screen}} | ||
| Sets x and y screen dimensions. | | Sets x and y screen dimensions. | ||
|- | |- | ||
| {{launchparam|shader_init_logging}} | | {{launchparam|shader_init_logging}} | ||
| Set to 1 to view shader initialization details in the console. | | Set to 1 to view shader initialization details in the console. | ||
|- | |- | ||
| {{launchparam|stopinactivedisplay}} | | {{launchparam|stopinactivedisplay}} | ||
| Stops rendering when the game is not the foreground application. | | Stops rendering when the game is not the foreground application. | ||
|- | |- | ||
| {{launchparam| | | {{launchparam|supporthardwarelights}} | ||
| | | Enable support for AlienFX/LightFX case lights. | ||
|- | |- | ||
| {{launchparam|texwordeditor}} | | {{launchparam|texwordeditor}} | ||
Line 175: | Line 173: | ||
| {{launchparam|useARBassembly}} | | {{launchparam|useARBassembly}} | ||
| Forces use of arb assembly shader path. | | Forces use of arb assembly shader path. | ||
|- | |- | ||
| {{launchparam|usecelshader}} | | {{launchparam|usecelshader}} | ||
| Enables or disables the cel shader graphics setting. | | Enables or disables the cel shader graphics setting. | ||
|- | |- | ||
Line 185: | Line 180: | ||
| Use CG shaders instead of ARB. | | Use CG shaders instead of ARB. | ||
|- | |- | ||
| {{launchparam|useFBOs}} | | {{launchparam|useFBOs}} | ||
| Use FBOs, if supported, for off-screen rendering | | Use FBOs, if supported, for off-screen rendering | ||
|- | |- | ||
| {{launchparam|usefp}} | | {{launchparam|usefp}} | ||
| Use a floating point render target for HDR lighting effects if available. | | Use a floating point render target for HDR lighting effects if available. | ||
|- | |- | ||
| {{launchparam|usePBuffers}} | | {{launchparam|usePBuffers}} | ||
| Force use of PBuffers even if on a suspected unsupported video card. | | Force use of PBuffers even if on a suspected unsupported video card. | ||
|- | |- | ||
| {{launchparam|userenderscale}} | | {{launchparam|userenderscale}} | ||
| Enables/disables render scaling feature | | Enables/disables render scaling feature | ||
|- | |- | ||
Line 206: | Line 195: | ||
| Forces use of texture_env_combine shader path. | | Forces use of texture_env_combine shader path. | ||
|- | |- | ||
| {{launchparam|vis_scale}} | | {{launchparam|vis_scale}} | ||
| Controls draw distance for World Detail (1.0=default). | | Controls draw distance for World Detail (1.0=default). | ||
|} | |} | ||
Line 313: | Line 302: | ||
| {{launchparam|shader_optimization}} | | {{launchparam|shader_optimization}} | ||
| Values: 0-3, or -1 to return to default. Causes shaders to reload with the new optimization hint. | | Values: 0-3, or -1 to return to default. Causes shaders to reload with the new optimization hint. | ||
|- | |||
| {{launchparam|shadowvol|0-4}} | |||
| Controls whether or not shadow volumes are drawn. 0 = off, default, 1 = green shadows, 2 = no shadows, 3 = white shadows, 4 = blue shadows. Dev comment: //disabled for now | |||
|- | |||
| {{launchparam|splatShadowBias}} | |||
| Change how far from the camera to give people shadows. //scales distance to draw entitys' splat shadow. (appears to have no effect) | |||
|- | |||
| {{launchparam|sliClear|number}} | |||
| Clear each FBO the first time it is used in the frame to help SLI/CF (0 to disable). | |||
|- | |||
| {{launchparam|sliFBOs|number}} | |||
| Number of SLI/CF framebuffers to allocate (1 to disable). | |||
|- | |||
| {{launchparam|sliLimit|number}} | |||
| Limit number of SLI/CF frames to allow in parallel (0 to disable limiter). | |||
|- | |||
| {{launchparam|soundDebugName}} | |||
| name of sound to debug (will only play this sound name) | |||
|- | |||
| {{launchparam|ss|boolean}} | |||
| Controls whether or not simple shadows are drawn (appears to have no effect) | |||
|- | |- | ||
| {{launchparam|testgameprogress}} | | {{launchparam|testgameprogress}} | ||
| Test the progress of the game. (Non-functional for players) | | Test the progress of the game. (Non-functional for players) | ||
|- | |||
| {{launchparam|usebumpmaps}} | |||
| Use bumpmaps | |||
|- | |||
| {{launchparam|usenvfence|number}} | |||
| Use NV fences instead of ARB queries. | |||
|- | |||
| {{launchparam|useMRTs}} | |||
| Use MRTs, for DoF effect debugging | |||
|- | |- | ||
| {{launchparam|verify}} | | {{launchparam|verify}} | ||
Line 321: | Line 340: | ||
|} | |} | ||
† | † Most of these command line parameters are dead, depreciated, or obsolete. However, there are a few unknowns in the group whose function is a mystery (probably because they're dev commands). | ||
'''Notes:''' | |||
* Commands that are colored red merely indicate that the command does not have an individual wiki page. | |||
* Most graphics commands can also be used as command line parameters. | |||
Latest revision as of 18:49, 1 November 2024
This is a list of user level Command Line Parameters that players have access to use while launching City of Heroes/Villains, in alphabetical order. In cases where the command line parameter can also be used as a slash command, the launch parameters will link to the slash command page. This is not a complete list of commands that can be used as command line parameters. Slash commands not on this list still might work as command line parameters, they simply have not been identified as doing so. If you find one, please add it to this list.
Working Command Line Parameters
-assetpath options | Points the game client to the piggs folders, in load order. |
-auth | Auth server IP string. |
-camdist | Used to position the camera a certain distance away from the character's head. |
-compatiblecursors | Enables useage of basic windows mouse cursors instead of graphical cursors (command line option). |
-console | Turns on debug console (where printfs go). |
-CoV | Sets your login theme to city of villains with launch parameters. |
-demoplay | Start playing the specified demo file. |
-enablevbos | Turns on vertex buffer object extension |
-exitlaunch | Set program to run when game exits. |
-fullRelight | Do not cap number of relit vertices per frame. |
-fullscreen | Sets video mode to fullscreen. |
-gfxreset | Resets all graphics settings and launches the game in windowed mode. |
-legacylayout | Enables existing installs of the game client to find certain files when you aren't launching the game with Tequila, Island Rum, or the Homecoming launcher. |
-lodbias | Multiplier for LOD (Loss of Detail) distances for entities (alters the Character Detail setting in Options). |
-maxfps | Sets the maximum limit for frames per second that a player's client can utilize, whether the game is in focus or not. |
-maxInactiveFps | Limits max frames per second while the game is not in the foreground. |
-maxrtframes | How many frames ahead to allow buffering. |
-maxtexunits | Limits number of textures used, set to 4 to emulate GF 4/5 path |
-mtu | Sets the mtu size for client-generated packets (command line option). |
-neterrorcorrection [0-2] | Adjusts network error correction limits. |
-noATI | Disables use of R200 shader path, uses only ARB shaders instead. |
-noBump | Disable bump maps by forcing unperturbed normal. |
-nodebug | Turns off error printing. |
-noHDR | Disable HDR lighting effects. |
-noNV | Disables use of NV1X/NV2X shader path, uses only ARB shaders instead. |
-no_nv_clip | Disable using nvidia specific vertex profiles for user clipping. (use on command line). |
-nooverride | Disallows override files. |
-noparticles | Turn off particle graphics. |
-noPBuffers | Disables PBuffers. Active. |
-noperforce | Disable perforce usage for life of the app. |
-nopixshaders | Turns off pixel shaders. |
-nopopup | Enable or disable popup error dialogs. |
-norenderthread | Tell the client not to use a separate thread for rendering graphics. |
-nosunflare | Disables sun flare for performance debugging. |
-noRTT | Disables RTT PBuffers. |
-nothread | Disables threaded texture loading |
-noversioncheck | Allow connecting to wrong version of mapserver. |
-pbuftest | Thrash PBuffers. |
-port | Sets a network port. |
-profile | Set profile for launching the game (live / diag / beta / pre). |
-profiling_memory | Set the number of mb of memory to use for profiling. |
-project | Set project registry key (coh / cohtest / cohbeta). |
-reduce_mip | Reduces the resolution of textures to only use the reduced (mip-map) textures. must pass as command line arg -reducemip or you need to subsequently run unloadgfx. |
-renderscale | Changes the scale at which the 3D world is rendered relative to your screen size |
-renderscalefilter | Changes method of filtering used in renderscaling |
-renderscalex | Changes the horizontal scale at which the 3D world is rendered relative to your screen size |
-renderscaley | Changes the vertical scale at which the 3D world is rendered relative to your screen size |
-rendersize | Changes the size at which the 3D world is rendered |
-renderthread | Tell the client to use a separate thread for rendering graphics. |
-screen | Sets x and y screen dimensions. |
-shader_init_logging | Set to 1 to view shader initialization details in the console. |
-stopinactivedisplay | Stops rendering when the game is not the foreground application. |
-supporthardwarelights | Enable support for AlienFX/LightFX case lights. |
-texwordeditor | Edit the text layout for translatable textures. |
-uiskin | Sets your preferred login theme. |
-useARBassembly | Forces use of arb assembly shader path. |
-usecelshader | Enables or disables the cel shader graphics setting. |
-useCG | Use CG shaders instead of ARB. |
-useFBOs | Use FBOs, if supported, for off-screen rendering |
-usefp | Use a floating point render target for HDR lighting effects if available. |
-usePBuffers | Force use of PBuffers even if on a suspected unsupported video card. |
-userenderscale | Enables/disables render scaling feature |
-useTexEnvCombine | Forces use of texture_env_combine shader path. |
-vis_scale | Controls draw distance for World Detail (1.0=default). |
Unknown or Non-functional Command Line Parameters †
-assert_on_bs_errors | Tells debug dbid's client to assert on a BS error (non-functional). This was commented out by the devs in the cmdserver list, so was most likely removed. |
-ati_stencil_leak | enable stencil FBO's which causes memory leaks on ATI GPUs. (Command removed. Dev Note: // TODO: Remove this once ATI memory leak regarding glEnable(GL_POLYGON_STIPPLE) in rt_shadow.c is fixed (11/06/09)) |
-ati_stipple_leak <int> | Enable call to glEnable(GL_POLYGON_STIPPLE) which causes memory leaks on ATI GPUs. (Command removed. Dev Note: // TODO: Remove this once ATI memory leak regarding glEnable(GL_POLYGON_STIPPLE) in rt_shadow.c is fixed (11/06/09)) |
-authserver | The IP address for the authorization server for user/password login. (Removed) |
-dxt5nm_normal_maps | 1 = use dxt5nm cvompressed normal maps, 0 = use dxt5 normal maps (old mode). |
-forcecrashcheck | Disabled. Used to be part of the verify files routine after the game client crashed. |
-ignorebaddrivers | Issue 25: The -ignoreBadDrivers command line parameter will hide the popup and warnings about your drivers being out of date. You will still get a warning if the driver is in a (very small) list of drivers that are known to cause problems. |
-launcher | Tells the game that the client was started with the NCsoft Launcher instead of the CohUpdater. |
-launchedfromsteam | Tells the game that the client was started with the Valve Steam launcher. If so, the Steam SDK is initialized. |
-lwc | LWC = "Light Weight Client". (crashes game client) |
-noARBfp | Disables use of ARBfp shader path, uses vendor-specific fragment shaders instead. (crashes game client) |
-noJPG | Disables saving of .JPG files in image server mode. Probably a dev command. |
-nolastauthor | turns off error printing (non-functional) |
-nominidump | disables writing of a minidump upon crash (non-functional) |
-noStencilShadows | Command line option to disable stencil shadows. |
-novbos | Turns off vertex buffer object extension. (crashes game client) |
-noverify | Skip verify. This command prevented the CohUpdater from verifying files. Although not disabled, the command now has little or no functionality since the Homecoming Launcher now performs the file verification function. |
-NV1X | Forces NV1X rendering path. GPU-acceleration of a style of 2D graphics known as path rendering all CUDA-capable NVIDIA GPUs (crashes game client on system with non-Nvidia GPU) |
-NV2X | Forces NV2X rendering path. (crashes game client on system with non-Nvidia GPU) |
-patchdir | Command removed by Homecoming in Issue 26 Page 5. |
-patchversion | Command removed by Homecoming in Issue 26 Page 5. |
-priorityBoost | Set the game process priority to Above Normal rather than Normal when running in the foreground. |
-profile_spikes | Save profiles of any frame longer than the specified time in ms. (non-functional) |
-R200 | Forces R200 rendering path. (crashes game client) |
-runnerdebug | Enable limited debugging for a possible critter run-away bug (probably a dev command) |
-safemode number | Forces most compatible graphics and audio settings. (non-functional) |
-setlocale | Command line argument to change the locale of the game client. (Non-functional for players). See /playerlocale for more info. |
-setregion | Sets one of two "regions" for the game client: EU and NA. Default value is empty or N/A, meaning the "world" region. (non-functional for players) |
-shaderdetail 0-2 | Changes the shader detail level. Default = 0 |
-shader_optimization | Values: 0-3, or -1 to return to default. Causes shaders to reload with the new optimization hint. |
-shadowvol 0-4 | Controls whether or not shadow volumes are drawn. 0 = off, default, 1 = green shadows, 2 = no shadows, 3 = white shadows, 4 = blue shadows. Dev comment: //disabled for now |
-splatShadowBias | Change how far from the camera to give people shadows. //scales distance to draw entitys' splat shadow. (appears to have no effect) |
-sliClear number | Clear each FBO the first time it is used in the frame to help SLI/CF (0 to disable). |
-sliFBOs number | Number of SLI/CF framebuffers to allocate (1 to disable). |
-sliLimit number | Limit number of SLI/CF frames to allow in parallel (0 to disable limiter). |
-soundDebugName | name of sound to debug (will only play this sound name) |
-ss boolean | Controls whether or not simple shadows are drawn (appears to have no effect) |
-testgameprogress | Test the progress of the game. (Non-functional for players) |
-usebumpmaps | Use bumpmaps |
-usenvfence number | Use NV fences instead of ARB queries. |
-useMRTs | Use MRTs, for DoF effect debugging |
-verify | Although not disabled, the command now has little or no functionality since the Homecoming Launcher now performs the file verification function. Dev Notes: // This function is needed if we launch from NcLauncher because Launcher does not validate the installation before running. COHUpdater does a validate so we don't do another here in that case. Enable this block if only want to verify when -verify passed on command line. |
† Most of these command line parameters are dead, depreciated, or obsolete. However, there are a few unknowns in the group whose function is a mystery (probably because they're dev commands).
Notes:
- Commands that are colored red merely indicate that the command does not have an individual wiki page.
- Most graphics commands can also be used as command line parameters.