List of Command Line Parameters: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 43: Line 43:
|-
|-
| {{launchparam|launcher}}
| {{launchparam|launcher}}
| Seems active. Will set game_state.usedLauncher if "-launcher" is present on the command line. // Game was started with NCsoft Launcher instead of CohUpdater.
| Tells the game that the client was started with the NCsoft Launcher instead of the CohUpdater.  
|-
|-
| {{launchparam|launchedfromsteam}}
| {{launchparam|launchedfromsteam}}
| Seems active. // Indicates that the game was launched via the Valve Steam client. // Check if we were launched from Steam, if so, initialize the Steam SDK
| Tells the game that the client was started with the Valve Steam launcher. If so, the Steam SDK is initialized.
|-
|-
| {{launchparam|legacylayout}}
| {{launchparam|legacylayout}}

Revision as of 18:57, 7 July 2023

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.

Ka-Pow!

Working Command Line Parameters        ★ = Using slash Command page

-assetpath options Points the game client to the piggs folders, in load order.
-auth Auth server IP string.
-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.
-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.
-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.
-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).
-no_nv_clip Disable using nvidia specific vertex profiles for user clipping. (use on command line).
-noATI Disables use of R200 shader path, uses only ARB shaders instead. Active. Any effect?
-nodebug Turns off error printing. Any effect?
-noNV Disables use of NV1X/NV2X shader path, uses only ARB shaders instead. Any effect?
-nooverride Disallows override files. Any effect?
-noPBuffers Disables PBuffers. Active. Any effect?
-noperforce // disable perforce usage for life of the app. To be used when perforce not available. Perforce - the FAST SCM System. Perforce, the Fast Software Configuration Management (SCM) System. Perforce tracks and manages source code, document, and digital asset development for software production environments.
-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.
-noRTT Disables RTT PBuffers.
-noStencilShadows Command line option to disable stencil shadows. //Startup flag to disable stencil shadows
-noverify Skip verify.
-noversioncheck Allow connecting to wrong version of mapserver.
-NV1X Forces NV1X rendering path. GPU-acceleration of a style of 2D graphics known as path rendering all CUDA-capable NVIDIA GPUs
-NV2X Forces NV2X rendering path.
-pbuftest Thrash PBuffers.
-port A network port is a 16-bit number that identifies one side of a network connection between two computers. Computers use port numbers to determine to which process or application a message should be delivered. 2106 6994 13094 23094 TCP 2104

TCP 2106 TCP 443 UDP 7000-7200

-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.
-profile Save a profile of the current frame for up to the specified number of frames.
-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.
-renderthread Tell the client to use a separate thread for rendering graphics.
-screen Sets x and y screen dimensions.
-stopinactivedisplay Stops rendering when the game is not the foreground application.
-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.
-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. In OpenGL, a pbuffer is an off-screen render target that acts like the default framebuffer.
-useTexEnvCombine Forces use of texture_env_combine shader path.
-vis_scale Controls draw distance for World Detail (1.0=default).






They're dead, Jim!

Unknown or Non-functional Command Line Parameters

 
-safemode number Forces most compatible graphics and audio settings. (non-functional)
-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.
-lwc Crashes the game client. LWC = Light Weight Client
-noARBfp Disables use of arbfp shader path, uses vendor-specific fragment shaders instead. Crashes game Client.
-novbos Turns off vertex buffer object extension.
-patchdir Command removed by Homecoming in Issue 26 Page 5.
-patchversion Command removed by Homecoming in Issue 26 Page 5.
-R200 Forces r200rendering path. (crashes game client)
-setlocale Command line argument to change the locale of the game client. (Non-functional for players).
-setregion Set the region for the game client. 2 regions: EU and NA. Default value is empty or N/A, meaning the "world" region. (non-functional for players)
-testgameprogress Test the progress of the game. (Non-functional for players)
-verify Appears to have been disabled in game client, however the launcher has taken over this function. // 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

† It's possible that many of these command line parameters work, but how to get them to work is currently unknown. Maybe you'd have better luck in figuring some of these out? We could use your help...