Reset Hl2 Config How to Upload to Steam Vloud

Русский 日本語

Contents

  • i Source Games
    • one.1 Usage
    • 1.2 Examples
    • i.3 Control-line parameters
    • 1.4 Console variables
      • 1.4.1 Some useful panel variables
  • ii Goldsource Games
    • two.1 Usage
    • 2.2 Examples
    • ii.iii Command-line parameters
      • 2.iii.ane Useful console variables
      • 2.iii.2 Deprecated control-line parameters
  • 3 Steam (Windows)
    • iii.ane Control-line parameters
  • 4 HldsUpdateTool (Windows), steam (Linux)
    • 4.1 Commands
    • 4.ii Parameters for the update control
    • iv.3 Flags for the update control
    • 4.4 Optional parameters for all commands
  • v SteamCMD
    • 5.1 Usage
    • 5.2 Command-line parameters
    • 5.3 Commands
    • 5.four ConVars
    • 5.five Examples
  • vi Source Dedicated Server
    • 6.ane Command-line parameters
    • 6.2 Console variables
      • six.2.1 Some useful panel variables
    • six.3 Linux control options in Left 4 Dead (2)
  • 7 Half-Life Dedicated Server
    • seven.one Examples
    • 7.two Control-line parameters
    • vii.3 Useful console variables
  • eight Troubleshooting the Server Console
  • ix See also

Source Games

These command-line parameters will work with whatever Source engine games (Half-Life 2, Counter-strike: Source, etc.).

Syntax: hl2.exe <parameter1> <parameter2> <cvar1> <cvar2>

Note.png Notation: Parameters are described inside the "<" and ">" characters.

Usage

These options can be used with:

  • Hammer editor Run Map dialog.
  • Windows shortcuts pointing to hl2.exe direct.
  • Windows shortcuts pointing to steam.exe with the proper -applaunch <AppID> specified (come across Steam section below).
  • Command-line batch script files launching these applications.

Examples

  • steam.exe -applaunch 280 -dev -console -sw +sv_lan 1 +map MyMap
  • hl2.exe -game cstrike -dev -console -fullscreen +sv_lan one +map de_dust

Command-line parameters

Argument Clarification
-all_languages Loads all language files.
-autoconfig Restores video and performance settings to default for the current hardware detected. Ignores settings within whatsoever .cfg files until this parameter is removed.
-32bit Forces the engine to beginning in 32-bit mode. Only useful on 64-bit Operating Systems.
-adapter Sets the GL graphics adapter. Default is 0.
-allowdebug Fakes a debugger for phonehome, and is the same as -dev, unless -nodev is specified.
-allowstalezip Suppresses console warnings from stale.txt existing.
-basedir Sets the base of operations directory for the game files. On Xbox 360 RFS, this is forced to smb://hostname/game.
-bi Defines the build identifier ID which is used in phonehome
-bugbait To do:Is information technology for Bugbait E3 2003 demo? This lets IsLoadingBugBaitReport render truthful.
-bugreporterdll Name of the bug reporter DLL to use
-buildcubemaps Builds cubemaps when fully loaded into a map, then quits the game.
-ccsyntax Spew details nearly the localized strings we load.
-clientport Sets the client port. Default is 27002.
-collate Skips everything, just merges the reslist from temp folders to the final folder again.
-conclearlog Clears the console.log text file on start. Only works if -condebug set.
-condebug Logs all console output into the console.log text file.
-panel Starts the game with the developer console enabled. Same as having con_enable enabled.
-deathsonly Supposed to but count deaths while parsing tf2 gamestats, only actually pointless because there is only code for deaths.
-d3d9ex Reduce CPU memory near %40. "csgo" simply.
-defaultgamedir Fallback directory if "-game" is not set. Default is "hl2".
-demo Enters the game into demo mode. Only works for "hl2" and "portal"
-dev Enables developer mode. Also disables the automated loading of menu background maps and stops the quit dialog from appearing on go out.
-debugdxsupport Writes debug DirectX information equally keyvalues to the console every bit shader devices are loading configuration.
-disallowhwmorph Same as mat_disablehwmorph one. Disables HW morphing for particular mods.
-dti Prints the datatable when being sent
-dumpvidmemstats Spews video memory statistics to vidmemstats.txt. This forces CModelLoader to quit.
-dvd Enables strict DVD way. Allows loading files from DVD only. Xbox 360 only.
-dvddev Enables programmer DVD mode. Allows loading files from a remote path as a fallback every bit well as the DVD. Xbox 360 but.
-dxlevel <level> Forces the game to start using specified DirectX API version. Officially supported values are: sixty, seventy, eighty, 81, 90, 91, 95 (recommended), 98 (Xbox 360 only), and 100. Afterwards starting the game with this launch parameter, the selected value will exist saved for future start ups and video settings will be temporarily reset (but not saved), and so it is highly recommended to remove this launch parameter afterwards start launch with it. Meet mat_dxlevel.
-edit According to comments, intended to replace -tools. Does nil except disable all file logging for building reslists.
-endgamevid If specified startup videos volition not be skipped, and EndGameVids.txt will be used instead of StartupVids.txt. This tin can also be invoked past the command "startupmenu playendgamevid", which bails back to the menu and plays the end game video.
-exit Quits the game later fully loading into a map.
-filmgrain Enables the filmgrain screen space effect.
-flushlog Causes log files to be flushed to disk once per second (rather than after every 4kbytes of log data).
-floathdr Forces HDR to use bladder values.
-forcenovsync Forces vsync to be disabled.
-forcestartupmenu Forces the background menu map to ever load, fifty-fifty if developer mode is active or the game is loading straight to a level.
-forcexboxreconfig Forces default config settings to be loaded on Xbox 360.
-forever When you become to the cease of the maplist, offset over from the top
-fs_log Starts creating a batch file to copy files at the specified filename. This works on the latest engine branch.
-fs_logbins Logs binaries to the batch file from -fs_log.
-fs_nopreloaddata Loads in the precompiled keyvalues data for each type. Works simply with dedicated servers.
-fs_target Sets the target game directory to copy files to, used with -fs_log.
-full_memory_dumps
-fullscreen or -total Forces the engine to kickoff in fullscreen mode.
-g15 Enables Logitech G15 support. G15 is only supported in SiN Episodes: Emergence. [confirm]
-game Sets game or mod directory to load the game from. Unremarkably is set by default if not user specified. Default is "-defaultgamedir"'s setting. If -defaultgamedir is non set, "hl2" is used.
-gamestatslogging Enables game stats logging.
-gamestatsloggingtofile Enables game stats logging out to a file, gamestats.log. Passing this parameter automatically forces -gamestatslogging.
-gl_enablesamplerobjects (Linux) Use OpenGL Sampler Objects for amend texture preloading
-gl_texclientstorage (MacOS) Reduce retentivity usage past relying on GPU retentivity instead of a host copy
-gamestatstag <tag> Tags each map reported with the specified tag.
-h <height> Forces the engine to start with resolution set to <height>. Ex: -h 768
-summit <height> Same as -h
-heapcheck (Windows only) Cheque if the heap isent damaged or empty at the initiation of the game and every frame
-heapsize <kilobytes> Specifies the heapsize (in kilobyte) the game volition use. This no longer exists on the Source 2009.
-hideconsole Forces the console hidden, whatever parameters are passed. This overrides -console, -dev, and all others.
-high Sets the game'due south priority to High
-hijack Have command of an existing instance of the game, if any, instead of complaining about already running.
-host Sets hostname. On Xbox 360, this sets the host computer proper noun to be used for RFS. Xbox name must be <HostPC>_360.
-hushasserts Disables a number of asserts in core Source libraries, skipping some fault checks and letters.
-hushsteam
-ignoredxsupportcfg Skips reading DirectX support file, dxsupport.cfg.
-insecure Disable Valve Anti Crook (VAC).
-interactivecaster (CSGO only) Starting your customer with this will switch it into camera man mode (reference tv_allow_camera_man_steamid/tv_allow_camera_man_steamid2)
-internalbuild Causes the bug reporter console to be drawn as internal
-ip Does the aforementioned as the ipname Cvar
-linguistic communication %l Sets the game language to the one specified. (Examples: "english", "german").
-leakcheck Dumps statistics almost retentivity leaks.
-limitvsconst Limits the number of vertex shaders to a maximum of 256.
-localcser Sets a custom gamestats CSER other than the Steam-provided public ane (default is steambeta1:27013)
-low Sets the game's priority to Low
-lowmemworkshop (simply in Counter-Strike: Global Offensive) Allow updating very large map files on Steam Workshop.
-makedevshots Used for taking screenshots, causing entities to non fade. Enables the use of the devshots_nextmap concommand
-makereslists Makes reslists. Need to run with -textmode. Passing a parameter hither uses a script file to control more than complex makereslists operations (multiple passes, etc.)
-mat_aaquality Set MSAA quality level, does the same as the Convar mat_aaquality
-mat_antialias Antialiasing. Tin exist set to viii, amount by eight won't sharpen the edges of game earth.
-mat_vsync Enables Vertical Sync
-mat_softwaretl Enables software vertex processing.
-maxdxlevel Limits the maximum dxlevel to utilise. Default is 0.
-maxdownloadfilesizemb CS:GO five/1/2014, customer launch selection -maxdownloadfilesizemb N if clients needs to download even larger files from customs servers.
-maxplayers Set the maximum players allowed to join the server. This does the same as the maxplayers convar, the maximum yous tin set it to is limited by the game/mod
-minmemory Set startup retentiveness to mem_min_heapsize ?*1024 * 1024?
-monitorTextureSize Set the size of the texture used to render point_cameras.
-multirun (just in Source 2013 Source 2013) Allows the game to run fifty-fifty if another Source game is already open.

Note.png Note: While but implemented in Source 2013, using this while a not-2013 game is already running will work.

-navanalyze
-navforceanalyze
-netspike Sets the trace threshold to the specified value (the limit of the number of records that will be written to netspike.txt before all records are removed).
-newdialogs Forces new Steam dialog to be used.
-no_compressed_verts Disables vertex pinch for shaders.
-no_compressed_vvds Enables thin VVD data, even if the client is not an Xbox 360.
-noassert Allows attaching to a debugger instead of straight asserting.
-noasync Disables asynchronous filesystem access.
-noborder When used with the game set to windowed mode, volition make the game act as if in fullscreen fashion (no window border).
-nobots Allows Counter-Strike server hosts to force bots disabled to enforce CPU limits.
-nobreakpad
-noconvert (xbox360) "No conversions during retail"
-noclearsave Skips clearing the save directory after restoring a relieve.
-nocrashdialog Stop some windows crash message boxes from showing up.
-nodev Disables -dev and -allowdebug during startup so sv_cheats and programmer mode dosent go prepare.
-nodns Disable DNS requests and resolving DNS adresses.
-nodttest Skips datatable testing.
-noff Disables strength feedback for controllers.
-noforcemaccel Use the Windows mouse acceleration settings. Only works if -useforcedmparms is set.
-noforcemspd Use the Windows mouse speed settings. Merely works if -useforcedmparms is set.
-nogamedll Practise non load the Game DLL, this near likely will cause your game/server to crash
-nogamestats
-nohltv Disable SourceTV
-noip Do not bind to an ip and disables all multiplayer support
-nojoy Disables joystick support.
-NoLoadPluginsForClient
-nomaster Hides server from primary serverlist.
-nomessagebox Cease various windows error message boxes from showing up
-nominidumps Dont write minidumps
-nomouse Disables in-game mouse support.
-nop4 Forces the Engine to bypass Perforce Integration
-nopreload Forces models to not be preloaded. Takes priority over cl_forcepreload and -preload.
-nopreloadmodels Same as -nopreload
-nops2b Disables Pixel Shader 2b support.
-noqueuedload Disables queued loading of map resource.
-NoQueuedPacketThread (Linux) No queued bundle thread will be created.
-norebuildaudio Opposite of and overrides -rebuildaudio for the map reslist generator.
-nodefaultmap (Linux merely[ostend]) Supresses the addition of -map
-norfs Forces Remote Filesystem disabled. Xbox 360 only.
-noshaderapi Loads a non-existent shader API dll, shaderapiempty.dll. Finer disables shader and texture loading completely. May exist useful with -textmode to load the game chop-chop since a GUI is not required.
-nosound Disables sound support
-nosrgb Disables support for SRGB.
-nostartupsound Disables menu music (sound/ui/gamestartup*.mp3) to play on startup.
-nosteamcontroller Disables Steam controller system
-nouserclip Uses software clipping instead of hardware user prune planes
-NoVConfig Prevents the filesystem library from running VConfig if it encounters a filesystem fault where it cannot find the game content.
-novid When loading a game with this parameter, the intro video will not play.
-olddialogs Forces old Windows dialogs instead of new Steam ones.
-override_vpk Forces actual files to override VPK.
-particles Sets the number of axle trails to allow (2048 by default, minimum is 512).
-phonehome If debug way is besides enabled, forces the init of phonehome ?which handles some build information and sends them via netmessages to steam?
-pidfile <pidfile> Employ the specified <pidfile> to store the server pid. Default is srcds.pid[ostend] (Unix/Linux just).
-pixel_offset_x Sets the pixel starting time to translate on the Ten axis in MatSystemSurface.
-pixel_offset_y Sets the pixel first to translate on the Y axis in MatSystemSurface.
-pme Activate the performance monitoring events code, this once again simply works on Intel processors newer so PENTIUM4
-port <variable> Sets port for a listen server. Default is 27015.
-preload Does the aforementioned every bit the sv_forcepreload Cvar. If -nopreload or -nopreloadmodels, this behaviour is disabled
-primarysound If surround sound isn't enabled, forces the use of the primary sound buffer
-profile If using Xbox360 or enabling this, additional debugging information are logged like the map startup time and similar
-publicbuild Is this build a public one? If not, phonehome volition not mail service information of this build to steam
-random_invariant Forces the game'due south random number generator value to be invariant.
-rebuildaudio Forces rebuild of _other_rebuild.cache (metacache) file at leave for the map reslist generator.
-recapvid RecapVids.txt will be used instead of EndGameVids.txt. This can also be invoked by the command "startupmenu playrecapvid", which bails to the mainmenu and plays the recap video.
-ref Sets MATERIAL_INIT_REFERENCE_RASTERIZER on the shader cloth adapter.
-remote Sets the remote file path to be used with -dvddev.
-replay Increases maxplayers by 1 at startup and automatically executes replay.cfg for the server.
-requirecubemaps If a map dosen't accept cubemaps, the game volition promt up with "Map X does not have cubemaps!"
-reflectionTextureSize Prepare the size of the texture used to render the Water shader's real-fourth dimension reflection and refraction.
-refresh <rate> Force a specific refresh rate. Ex: -refresh sixty
-refreshrate <rate> Same as -refresh
-freq <rate> Same as -refresh
-r_emulate_gl Emulates OpenGL on Windows, provides a framerate boost for near GPUs
-resizing Allows resizing the window lower than a specific resolution.
-reslistdir Default is "reslists", use this to override. Reslist generator only.
-reuse Reuse network sockets
-rpt Same every bit having -condebug, -conclearlog, and -panel enabled
-safe Enables video safety mode, which sets the game to windowed, the width to 640, the top to 480, refresh rate to default, and disables antialiasing.
-shader Loads a specific shader library instead of depending on hardware. Debug only.
-shaderdll Loads a different shader dll. Default is shaderapidx9.dll. To do:Is this the same as -shader?
-shadersondemand Creates shaders on access, helps reduce D3D memory for tools, but causes I/O hitches.
-sillygibs (Goldsource only) Forces more than gibs similar skull and others to exist spawned all time on NPC's death.
-minor Allow window sizing smaller then 640x480
-sndcachedebug Prints sound cache debug messages (developer must exist enabled to see)
-snoforceformat Skips sound buffer cosmos
-soft Enables Software hardware rendering mode.
-softparticlesdefaultoff Sets particles to be rendered without feathering (scene depth blending) by default.
-softparticlesdefaulton Opposite of -softparticlesdefaultoff.
-spewsentences Spew out vocalisation judgement names during reslist generation
-startmap Restarts devshot generation at the specified map if resuming from a crash.
-startstage When running from script file, this starts at specified stage, and sets current piece of work item (default is 0). Reslist generator merely.
-steam Enables Steam support (if the game is launched from Steam, this is enabled by default). Working directory must exist Steam directory. Works only for singleplayer games.
-steamlocal Similar to -steam. Runs Steam in local filesystem mode (all content off HDD), as opposed to remote filesystem style (requiring Steam backend).
-steamport Master server updater port. Steam authentication port is this port + 1. (default is 26900)
-strictportbind If you launch the game with this option information technology will quit with an error message if it can't bind to the default or specified port.
-sv_benchmark Enables benchmarking through sv_benchmark_force_start.
-swapcores Swaps threads for the particle and material systems each init
-tempcontent Searches for game content in a folder called "_tempcontent" relative to the absolute game path. This option is enabled by default for Portal 1
-testscript <filename> Loads a .vtest file.
-testshaders Loads the shader_test library. Debug only.
-testsub
-textmessagedebug Spews client text messages to console.
-textmode Runs the game without graphics
-threads Number of threads to allocate for the thread pool, default is 3
-tickrate Sets the game tick interval. Disabled in code for TF2 considering "server ops are abusing it".
-timedemoloop
-toconsole Starts the engine directly in the console, unless a map is specified with +map.
-tools Enables engine tools.
-trackdeletions Logs what files are marked for deletion in Reslist Generator.
-tvmasteronly But one person allowed in HLTV.
-untrusted CS:Go Merely, allows the game to launch in "Untrusted Manner".
-usedevshotsfile Get map list from specified file, default is to build for maps/*.bsp
-useforcedmparms Allows the employ of -noforcemspd and -noforcemaccel.
-usegh Loads ghostinj.dll to allow support for tertiary party dlls (gamehost)
-uselogdir Logs various information to logs/(mapname)/*
-usercon Enable RCON for Counter-Strike: Global Offensive servers
-usereslistfile Get map list from specified file, default is to build for maps/*.bsp. Reslist generator only.
-usetcp Disable TCP support
-vcrplayback Plays back a VCR recording. Zilch is simulated on the server, merely all server packets are recorded.
-vcrrecord Records a client'south game and allows you lot to play it dorsum and reproduce information technology exactly. To practice:how is this unlike from a demo?
-vguifocus Enables debug VGUI letters related to input focus.
-vguimessages Enables debug VGUI messages.
-vxconsole Waits for Valve Xbox console to initialise. Xbox 360 only.
-vproject Manually sets the VProject directory to load game content for tools.
-w <width> Forces the engine to start with resolution set to <width>. Ex: -w 1024
-width <width> Same every bit -westward
-wavonly Disables DirectSound and makes the engine attempt to play all sounds in PCM format.
-window Forces the engine to start in windowed mode
-sw Same as -window
-startwindowed Same as -window
-windowed Same as -window
-xnet_bypass_security Disables Xbox 360 secure networking, to let cross-platform testing.
-x <x position> In borderless windowed manner, determines where the window should be horizontally. Ex: -x 0
-y <y position> In borderless windowed mode, determines where the window should be vertically. Ex: -y 0
+connect Console Command
+load Console Command
+mat_hdr_level Panel Control
+maxplayers Console Control
+playdemo Panel Control
+port Console Command
+timedemo Console Command
+timedemoquit Console Control

Console variables

  • +<console variable> <arg> - Sets the Cvar (or panel variable) to the specified setting.

Some useful console variables

Statement Description
+map <map-name[.bsp]> Loads the map specified after the engine starts.
+map_background <map proper name> Forces a specified background map to exist used. Useful for testing custom groundwork maps. To avert loading standard background maps for speed reasons, use the -dev command-line parameter.
+sv_lan <0/1> When set to ane, launches the game in LAN manner. Useful to stop players from joining your game from the Internet.
+sv_cheats <0/1> When set to 1, starts the game with cheats enabled.
+physcannon_mega_enabled 1 Makes Gravity gun a super gravity gun
+cl_showfps <0/one/2/3> When set to 2, shows the framerate and map name.

Goldsource Games

These command-line parameters will work with whatsoever Goldsource engine games (Half-Life, Counter-Strike, etc.).

Syntax: hl.exe <parameter1> <parameter2> <cvar1> <cvar2>

Note.png Note: Parameters are described inside the "<" and ">" characters.

Usage

These options can be used with:

  • Hammer editor Run Map dialog.
  • Windows shortcuts pointing to hl.exe directly.
  • Windows shortcuts pointing to steam.exe with the proper -applaunch <AppID> specified (see Steam section below).
  • Command-line batch script files launching these applications.
  • Game launch options from Steam's Library.

Examples

  • steam.exe -applaunch 70 -dev -console -sw +sv_lan 1 +map MyMap
  • hl.exe -game cstrike -dev -panel -fullscreen +sv_lan one +map de_dust

Command-line parameters

  • -game <game> - Specifies which game/mod to run. Default is "valve".
  • -dll <name.dll> - Specifies which game DLL to use. Ex: -dll dlls/zbotcz.dll.
  • -condebug - Stores console output to "Half-Life\qconsole.log".

    Note.png Note: Can be toggled with condebug console command.

  • -dev - Enables developer way.
  • -glext - When paired with "-dev" setting, outputs all OpenGL extensions supported by your graphics card.

    Note.png Note: Can exercise the same with gl_dump panel command.

  • -gl - Sets the rendered to OpenGL.
  • -soft - Sets the rendered to Software.
  • -full - Forces the engine to get-go in fullscreen mode.
  • -window or -sw or -startwindowed or -windowed - Forces the engine to start in windowed manner.
  • -w <width> or -width <width> - Forces the engine to start with resolution set up to <width>. Ex: -w 1024.
  • -h <pinnacle> or -height <tiptop>- Forces the engine to start with resolution fix to <height>. Ex: -h 768.
  • -stretchaspect - The game by default adds black bars based on your game screen resolution. Use -stretchaspect on your command line if you want the erstwhile behavior dorsum (only always fill up the screen). Setting "-nofbo" also implies "-stretchaspect".
  • -freq <variable> - Force a specific refresh charge per unit when running in fullscreen AND your monitor supports the frequency in question.

    Note.png Note: If you don't have a CRT monitor chances are yous can't employ this pick.

  • -mousethread - If set up we poll the mouse position in another thread running at 100hz by default, to get better movement accuracy. Set the "m_mousethread_sleep" cvar to the number of seconds to sleep between mouse polls to change this rate.
  • -joy_advanced - Use avant-garde joystick options (allows for multiple axes).
  • -joy_advr, -joy_advu, -joy_advv, -joy_advx, -joy_advy, -joy_advz - To exercise
  • -nosound - Disables sound support.

    Note.png Note: Can do the same with nosound <0 or 1> console command.

  • -nocdaudio - Disables mp3 support. Too disallows cd console command to load mp3 tracks.
  • -wavonly - Disables DirectSound and makes the engine attempt to play all sounds in PCM format.
  • -nointro - Disables intro movies.
  • -noip - Disables network support.
  • -noipx - Disables IPX support.
  • -nojoy - Disables joystick support.
  • -nomouse - Disables in-game mouse support.
  • -noforcemparms - Forces the engine to use operating system mouse parameters.
  • -noforcemaccel - Forces the engine to use operating system mouse acceleration.
  • -noforcemspd - Forces the engine to use operating system mouse speed.
  • -nofbo - Disables using the new method for rendering.
  • -nomsaa - Disables MSAA (Anti-Aliasing), setting "-nofbo" likewise implies "-nomsaa".
  • -noborder - When used with the game set to windowed manner, will make the game deed as if in fullscreen mode (no window border).

    Bug.png Bug: Doesn't hide window edge, just control buttons.

  • -nodirectblit - Disables direct blitting (Blit is shorthand for "block paradigm transfer" or flake blit).
  • -nobots - Disables bots.
  • -port <port> - Specifies which port to use for customer connections for a listen server. Default is 27015.

    Note.png Note: Can do the same with port console command.

  • -demoedit - Enables hidden Demo editor.

    Note.png Note: Utilise viewdemo panel command to become access.

  • -num_edicts <variable> - Sets the entity limit for map/game entities (not temporary entities, which is still locked to 500). 900 is default. 4096 is a good limit, beyond that seems to cause hunk_alloc errors[ostend]. Both clients and servers need matching values for all-time compatibility[ostend].
  • -heapsize <kilobytes> - Specifies the corporeality of heap(or costless store - cache, an area of memory used for dynamic memory allocation) the engine will use. Minimum value is 14336(xiv MB). Maximum value is 131072(128 MB). By default this is gear up to 40960 (40 MB) and automatically adjusted to suit your system.

    Note.png Notation: Low value causes "Unable to allocate X.10 MB" leave error.

  • -zone <bytes> - Specifies the amount of Bytes of retentiveness for utilise with the console arrangement.

    Note.png Notation: Low or very high value causes Z_Malloc exit error.

  • -exec <file> - Executes specific config file immediately subsequently the engine is loaded.
  • +<panel variable> <arg> - Sets the Cvar (or console variable) to the specified setting.

Useful console variables

  • +_setgamedir <game> - Specifies which game/modern to run.
  • +_setrenderer <variable> - Sets the rendering mode. Bachelor parameters are opengl and software.

    Note.png Note: Parameter D3D is deprecated.

  • +_setvideomode - To do
  • +_set_vid_level <0 or 1> - Toogles "Low video quality".
  • +_setaddons_folder <0 or 1> - Toogles "Allow custom addon content".
  • +_sethdmodels <0 or 1> - Toogles "Enable Hard disk models if available".
  • +clientport <port> - Specifies which port to use to communicate with a server. Default is 27005.
  • +gg <demoname> or +cl_gg 1 +playdemo <demoname> - Runs the demo in Game Gauge way. This is a criterion utility that runs through a demo every bit fast every bit possible and stores the framerate in the file fps.txt in the GameMod directory.
  • +log on or +log off - Toogles logging before the engine loads config files.

Deprecated command-line parameters

  • -panel - Enables console. Can be opened either from menu (button in elevation-left corner in onetime Half-Life builds or button in main bill of fare in new builds), or past pressing tilde (~) in-game.

    Note.png Note: Always enabled by default.

  • -toconsole - Opens the console right when the game is launched.

    Note.png Note: No longer works.

  • -gldrv <driver name> - Selects the GL Driver. The ii choices are "Default" and "3dfxgl.dll".

    Note.png Annotation: No longer works.

  • -d3d - Sets the rendered to Direct3D.

    Note.png Note: Removed.[1]

  • -vid_mode <variable> or -vt <variable> - Sets the rendering way. Available parameters are gl and software.

    Note.png Notation: No logner works. Apply -gl, -soft or -d3d(see to a higher place) instead.

  • -16bpp - Forces xvi-flake color fashion (bit depth).

    Note.png Notation: Not allowed.

  • -32bpp - Forces 32-chip color mode (bit depth).

    Note.png Note: Enabled past default.

  • -nowinmouse - Don't capture mouse in-game.

    Note.png Annotation: Renamed to -nomouse.

  • -gamegauge <demoname> - Runs the demo in Game Gauge mode. This is a benchmark utility that runs through a demo as fast equally possible and stores the framerate in the file fps.txt in the GameMod directory.

    Note.png Annotation: Use console commands instead.

  • -numericping - Displays ping in server browsers in milliseconds instead of dots.

    Note.png Note: Enabled by default.

  • -particles <variable> - The number of particles for which to ready aside buffer infinite.

    Note.png Note: No longer works.

  • -nosierra - Disables Sierra logo on GoldSrc games that have it.

    Note.png Note: Just works on retail editions of Half-Life; removed when it was transferred to Steam.

  • -noaff - Disables setting of thread analogousness.

    Note.png Note: No longer works.

Steam (Windows)

These control-line parameters work when launching the Steam application (steam.exe) under Windows.

Control-line parameters

Argument Description
-applaunch <appID> [launch parameters] Launches an Game or Awarding through Steam.
-cafeapplaunch Launch apps in a cyber buffet context (Forces apps to be verified / validated before launch).
-clearbeta Opts out of beta participation (in instance for some reason it can't exist done via settings).
-complete_install_via_http Run installation completion over HTTP past default.
-panel Enables the Steam debug console tab.
-ccsyntax Spew details near the localized strings we load.
-debug_steamapi Enables logging of Steam API functions.
-dev Sets the 'developer' variable to 1. Tin can exist used to open the VGUI editor by pressing F6 or VGUI zoo by pressing F7. Intended for skin evolution, likewise enables the debug console tab.
-fs_log Log file system accesses.
-fs_target Set target syntax.
-fs_logbins Log the binaries nosotros load during operation.
-forceservice Run Steam Client Service even if Steam has admin rights.
-gameoverlayinject Sets the method how GameOverlay is injected.
-install <path> Install a production from a specified path (e.g. "D:" for the DVD-ROM drive if D: is one).
-installer_test Changes installing a retail game to emit all files to install_validate/ folder instead of to the steam cache.
-language <language> Sets the Steam language to the one specified. (Examples: "english", "german").
-login <[username]|bearding> [password] Logs into Steam with the specified Username and Password combination. Note: Steam must be off for this to piece of work.
-lognetapi Logs all P2P networking info to log/netapi_log.txt.
-log_voice Writes voice chat data to the logs/voice_log.txt file.
-noasync Don't use async file operations, run them synchronous instead.
-nocache Starts steam with no cache (Steam must exist off for this to work properly).
-nofriendsui Prevents the friends list window from showing automatically upon start.
-noverifyfiles Prevents from the customer from checking files integrity, peculiarly useful when testing localization.
-no-browser Steam's description for this parameter says it "unconditionally disables CEF". CEF stands for Chromium Embedded Framework, which Steam uses for its built-in web browser components (including the in-game overlay browser), and also for WebViews used past the new Panorama-based friends/chat UI, and Library. Using this option will —among other things— disable the new Library UI, and restore the sometime friends list and chat UI. However, it won't restore the old Library UI.
-no-dwrite Forces vgui to employ GDI text even if DWrite support is bachelor.
-script <file proper name> Runs a Steam script. All scripts must be in a subdirectory of the Steam folder called test scripts (Steam must be off for this to work).
-shutdown Shuts down (exits) Steam.
-silent Suppresses the dialog box that opens when you get-go steam. It is used when you have Steam set to motorcar-starting time when your computer turns on. (Steam must exist off for this to work).
-single_core Force Steam to run on your primary CPU but.
-tcp Forces connexion to Steam backend to exist via TCP.
-voice_quality Sets audio quality, range [ane,iii].
-voicerelay Only allow 'relay' connections for voice (testing).
-tenfoot Showtime Steam in Big Motion picture Mode.

HldsUpdateTool (Windows), steam (Linux)

Syntax: hldsupdatetool -control <command> [parameters] [flags]

Commands

  • -command update - Install or update HLDS.
  • -command version - View installed versions.
  • -command list - View available games.

Parameters for the update command

  • -beta <betaname> - Name of the beta (optional parameter for taking role in a beta exam)
  • -game <game> - The name of the game to install (come across enumeration).
  • -dir <installdir> - HLDS Install directory (if dir not specified, will utilise value from last run of tool).

The following parameters are only needed to admission limited content.

  • -username <username> - Steam account username
  • -countersign <password> - Steam account password

Flags for the update command

  • -verify_all - Verify all HLDS files are up to date.
  • -retry - Automatically retry every thirty seconds if the Steam Network is busy.
  • -remember_password - Think password (if a username is supplied).

Optional parameters for all commands

  • -nobootstrapupdate - Do not bank check for updates to the update tool

SteamCMD

The Steam Panel Customer or SteamCMD is a new tool to install and update dedicated servers using a command line interface. It just works with games that have switched over to the SteamPipe content system. Eventually all Steam games will switch from HLDSUpdateTool to this.

Syntax: steamcmd.exe <parameter1> <parameter2> <cvar1> <cvar2>

Note.png Annotation: Parameters are described inside the "<" and ">" characters.

To view the most up to date version of SteamCMD commands visit this GitHub repo: https://github.com/dgibbs64/SteamCMD-Commands-List

Usage

  • steamcmd.exe +COMMAND1 [ARG] +COMMAND2 [ARG]
  • steamcmd.exe +runscript SCRIPTFILE

Command-line parameters

To exercise

Commands

Argument Parameter(southward) Description
api_logging <enabled> <verbose> Enable/disable verbose API logging in SteamCMD
app_build_all_depots [-desc <text>] -depotconfigpath <folder> -contentroot <binder> -buildoutput <folder> <appid> Build all depots for i app
app_dlc_status app_status <appId> <dlcId>
app_info_print Dumps app info for appID
app_info_print Dumps app info for appID
app_info_request <AppID> Issue an appinfo asking for the given appid. Does not wait for results from the server.
app_info_update [0|1] Trigger app info update, optionally for update all
app_license_request <AppID> Requests a free licenses for this app if not already owned.
app_run <AppID> Launches the app.
app_set_config <AppID> <key> <value> Sets a config value for given app.
app_set_update_flag <appId>
app_status <appId>
app_stop <appid> [force:0|1] Finish this running app
app_uninstall [-complete] <appId>
app_update <appid> [-validate] [-language <lang>] [-beta <betaname>] [-betapassword <pwd>] Brand sure a Steam application is up-to-date
app_update_cancel <EAppUpdateError>
apps_installed
apps_running Displays data about running games tracked by Steam
async_disconnect Async disconnect
build_installer <project file> <target folder> [beta key] [beta pwd]
ceg_wrap <appid> <orig filename> <stripped filename> <strips filename> Upload executable to back end for CEG wrapping
cm_force_change Change CM List
device_authorize_status Prints device potency condition
download_depot <appid> <depotid> [<target manifestid>] [<delta manifestid>] [<depot flags filter>] Download a single depot
download_sources Dumps listing of download sources
drm_wrap <appid> <input filename> <output filename> <toolname> <flags> Upload executable to back cease for DRM wrapping
dump_scheduled_functions Displays internal Steam function callback timers
exit Stops Steam client console
find Notice substrings in panel commands
force_install_dir <directory> Sets the directory to install the server in
get_download_throttle
aid Show help information
info Dump various Steam info
install_folder_list Listing all mounted Steam volumes
licenses_for_app <appid> Shows active licenses for appid
licenses_print Display users'south Steam3 licenses
log_callbacks <showtime callbackID> [last callbackID]
log_ipc [verbose] <filter> Enables IPC logging. Specifying "counts" or "verbose" is optional, defaulting to counts.
login [<password>|anonymous] [<Steam baby-sit code>] Login to Steam
logon See "login"
logoff Disconnect from Steam
logout Come across "logoff"
manifest_dump <filename>
mem_stats Dump retentiveness stats
net_msgdump Dumps list of sent cyberspace letters
net_msgspew Spews sent net messages
p2p_info Displays the current state of the P2P networking subsystem.
package_info_print Dumps parcel info for packageID
quit Stops & close Steam client console
render_ipc_connections
run_app_build [-preview] [-desc <text>] <appbuildfile> Run app depot build as specified in appbuildfile
run_app_build_http Alias for run_app_build
runscript <script file, such equally TXT> Runs a console command script
set_download_throttle <Kb/s> <bPersistent = faux>
set_spew <group> <level> <logLevel> Set spew levels for the given grouping
set_spew_level <SpewLevel LogLevel> Sets spew and log level for all groups
set_steam_guard_code Qualify this estimator by adding the Steam Baby-sit email code
sign_install_script <appid> <input filename> <output filename> Upload install script to back end for signing
test_dropcon Tests dropping a connectedness
test_failnextconnect Tests declining the side by side connection
upload_controller_config <appid> <filename> Upload controller config to deject
user_friends Dumps list of friends
verify_chunk_store <appid> <depotid> <datafile> Run app depot build as specified in appbuildfile
verify_vpk <datafile> Verifies content of given VPK
voice_game_usage Displays information about the game's use of Steam vocalisation
workshop_build_item <build config filename> Build a workshop item
workshop_create_legacy_item <appid> <workshop file> Build a legacy workshop item
workshop_download_item <appid> <PublishedFileId> Download a workshop particular
workshop_status <appId>

ConVars

  • app_info_http_min = "0"  :
  • app_info_http_num_sockets = "8"  :
  • AsyncFileIODisableWrite = "0"  :
  • AsyncFileIOExpectOutstandingIO = "16"  :
  • AsyncFileIOForceGenericIO = "ane"  :
  • AsyncFileIOMaxPending = "128"  :
  • AsyncFileIOReadHandleCache = "32"  :
  • AsyncFileIOWriteHandleCache = "32"  :
  • batterypercent = "0"  :
  • batterytime = "0"  :
  • bCheckForFreeGamesOnLogin = "0"  :
  • bCheckUGCIntegrity = "1"  :
  • @bContentManifestUseProtobufs = "1"  :
  • @bCSClientRateLimitUseDelays = "0"  :
  • @bCSForceNoCache = "0"  :
  • @bDepotBuilderReadBufferSizeKB = "8192"  :
  • @bDepotBuilderUnbufferedReads = "ane"  :
  • bDisableTenFootOverlay = "0"  :
  • @bEnableMovieRecording = "0"  :
  • @bEnableOfflineLogonTicket = "i"  : If truthful, an offline logon ticket will be requested during logon if none is buried
  • @bEnableSpewThrottle = "one"  :
  • bEnableSubscribedFileListCache = "i"  :
  • bFinishStagedDepotVersions = "1"  :
  • @bForceStreamUnsupportedApp = "0"  :
  • @bLANPeerConnectionTimeoutSec = "5"  :
  • bLogLegacyDiskDetails = "0"  :
  • @bMsgErrorDump = "0"  :
  • @bRequireOfflineLogonTicket = "0"  : If true, a valid offline logon ticket is required when logging in in offline or no connection fashion
  • @bRequireSignedParentalSettings = "1"  : If true, a valid ready of signed parental settings is required when logging in in offline or no connection mode
  • broadcast_upload_drop_sec = "6"  :
  • broadcast_upload_update_sec = "3"  :
  • bSteam3LimitedUserEnable = "1"  :
  • bSteamLoaderEnable = "1"  :
  • bSubscribedFilesDecompressOnClient = "1"  :
  • bSubscribedFilesPollForUpdates = "0"  :
  • bSubscribedFilesUseRangeRequests = "0"  :
  • bVerifyAllDownloads = "0"  :
  • cAppUpdateWorkingSetMB = "128"  :
  • @cbPartnerUploadChunkSize = "one thousand thousand"  : Chunk size to use for POSTing partner uploads
  • @cCSClientMaxNumSocketsPerHost = "eight"  :
  • @cDepotBuilderFileChunkingThreads = "4"  :
  • cFileValidationMaxLog = "100"  :
  • ClientStatsUploadRateSeconds = "x"  :
  • @cMaxContentServersToRequest = "20"  :
  • @cMaxInitialDownloadSources = "-i"  :
  • @cNetEncryptionHandshakeWorkMax_HighPri = "8000"  :
  • @cNetEncryptionHandshakeWorkMax_LowPri = "2000"  :
  • @cNetEncryptionHandshakeWorkMax_MedPri = "4000"  :
  • countrycode = ""  :
  • cPreallocateMinimumSizeKB = "256"  :
  • @csecCSRequestProcessorTimeOut = "300"  :
  • @csecFavoriteGameAccountCacheTime = "86400"  : Control how frequently we refresh the account IDs in the game server favorites listing
  • @csecIncomingDataRatePeriod = "1"  :
  • csecManifestDownloadTimeout = "120"  :
  • @csecUpdateTargetNumConnectionsEpoch = "10"  :
  • @cSecUploadDownloadRates = "300"  :
  • @CSInterfaceProxyPassword = ""  :
  • @CSInterfaceProxyUsername = ""  :
  • @cUDPSendRetries = "8"  :
  • @CustomBinaryRequestRetryTimes = "xx"  :
  • @DepotBuilderAppInfoTimeout = "120"  :
  • @DepotBuilderConfigRoot = "./depotscripts" :
  • @DepotBuilderContentRoot = ""  :
  • @DepotBuilderMaxParallelUploadChunks = "24"  :
  • @DepotBuilderNoReslist = "0"  :
  • @DepotBuilderNumHTTPSocketsToMDS = "12"  :
  • @DepotBuilderOutputRoot = ""  :
  • @DepotBuilderParallelUploadChunks = "6"  :
  • @DepotBuilderProgressTimeout = "m"  :
  • DepotDownloadProgressTimeout = "120"  :
  • DepotReconstructionLowPrio = "i"  :
  • DepotReconstructionNumIOThreads = "1"  :
  • DepotUseAlternatingReadWrite = "i"  :
  • developer = "0"  :
  • @EnableUDPHistory = "0"  :
  • @fDownloadRateImprovementToAddAnotherConnection = "i.2"  :
  • findbestcellstartupdelay = "600"  :
  • @fMinDataRateToAttemptTwoConnectionsMbps = "0.v"  :
  • @GCNameOverride = ""  :
  • @IOCPGetCompletionBatchSize = "1"  :
  • @LocalContentServer = ""  :
  • log_files_always_flush = "0"  :
  • log_matchmaking_callbacks = "0"  :
  • @MaxOutstandingSendThreadItem = "thou"  :
  • mic_autogain = "16000"  : automatic proceeds command level for microphone input
  • mic_inputfile = ""  : causes voice information to be read from the specified file instead of from the microphone
  • mic_outputfile = ""  : causes microphone data to exist written out to the specified file
  • musiclogging = "0"  :
  • nBroadcastSessionHearbeatSec = "120"  :
  • nBroadcastSessionMaxDropFrames = "100"  :
  • nClientBackgroundAutoUpdateTimeSpreadMinutes = "0"  : Number of minutes to spread background motorcar-updates out over
  • nClientCMUDPPingTimeGoodEnoughThresholdMS = "50"  :
  • nClientCMUDPPingTimeoutUseGoodEnoughMS = "250"  :
  • nCloudDownloadMinIntervalSec = "60"  :
  • nCloudFileCompressionMinFileSizeKB = "sixteen"  :
  • nCloudFileCompressionMinFileSizeKBSharedFile = "128"  :
  • nCloudFileCompressionPercentageMin = "10"  :
  • nCloudFileCompressionPercentageMinSharedFile = "l"  :
  • nCloudSyncIntervalSec = "30"  :
  • nCloudUploadMinIntervalSec = "1800"  :
  • nContentStatsReportInterval = "72"  : In Hours
  • @nCSClientRateLimitKbps = "0"  :
  • @nDownloadLANChunkCacheSizeMB = "128"  :
  • @nDownloadLANPeerGroup = "0"  :
  • @net_backlog_bytes_allowed = "12000000"  :
  • @net_backlog_time_allowed_sec = "5"  :
  • @NetConnectionBufferMsgLimit = "1000"  : Max # of message that will be buffered into a single zipped packet
  • @NetConnectionBufferThreaded = "1"  :
  • net_incomingcheck = "1"  :
  • @net_loopback = "one"  :
  • net_maxresendsperframe = "32"  :
  • @nLANPeerRateLimitKbps = "0"  :
  • @nNetConnectionBufferZipLevel = "ane"  :
  • @NoPromptForPassword = "0"  :
  • @nParentalSettingsLogLevel = "four"  : Control the corporeality of spew written to the parental log file
  • nProductInfoUpdateInterval = "900"  :
  • @nSpewThrottleNagFrequencyMs = "5000"  :
  • [email protected] = "thousand"  :
  • @nSpewThrottleResumeThreshold = "three"  :
  • @nSpewThrottleTriggerThreshold = "10"  :
  • @nSpewThrottleUnconditionalResumeMs = "5000"  :
  • @nSpewThrottleUnconditionalTriggerCount = "l"  :
  • nSubscribedAutoDownloadMaxSimultaneous = "eight"  :
  • @nTCPLargeSendBufSizeMB = "sixteen"  :
  • p2p_connecttimeout = "15"  :
  • p2p_unusedtimeout = "120"  :
  • rtime32EarliestSubscribedFileToDownload = "1348857570" :
  • @sCSDSVirtualHostHeader = ""  :
  • ServerBrowserPingSurveySubmitPct = "5"  :
  • @ShutdownOnFailedCommand = "ane"  : Leave steamcmd immediately upon whatsoever failed build-related command
  • spew_controller_loss = "0"  :
  • @sSteamCmdForcePlatformBitness = ""  : Must be 1 of: [32 | 64]
  • @sSteamCmdForcePlatformType = ""  : Must be one of: [windows | macos | linux]
  • @strCSNoCacheHeader = "no-cache"  :
  • @StreamClientArgs = ""  :
  • testappcloudpaths = "0"  :
  • uForcePreloadApp = "0"  :
  • UGCCDNReportPct = "100"  :
  • voice_autogain = "0"  :
  • voice_minabs = "0.xv"  :
  • voice_minavg = "i.0"  :
  • voice_outputdevice = "0"  : 0=>Miles 1=>XAudio2
  • voice_outputfile = ""  : causes output from voice organization to be written out to the specified file
  • voice_preprocess = "one"  : enables vocalism cleanup on incoming microphone data
  • voice_quality = "4"  :
  • workshop_items_cache_days = "14"  :
  • workshop_items_update_interval = "900"  :

Examples

  • steamcmd(dot)exe +login <username> <password> +force_install_dir <path> +app_update <appid> -validate

Source Defended Server

Control-line arguments for the Source Dedicated Server executable (srcds.exe, srcds_run)

Control-line parameters

-allowdebug
(Same as -debug ?)
-autoupdate
Autoupdate the game. Requires -steam_dir and -steamcmd_script to exist set (Linux/Unix only).
-binary <binary>
Use the specified binary (no auto detection) (Linux/Unix only).
-console
SrcDS will run in console mode (Windows only).
-debug
Run debugging on failed servers if possible. Requires -gdb to exist set [confirm]
-debuglog <logname>
Log debug output to this file (Linux/Unix only).
-dev
Bear witness developer messages.
-fake_stale_server
Counter-Strike: Global OffensiveSkip cheque game version from steam and goes directly to out-of-date state
-game <game or path>
Specifies which game/mod to run. Accepts either a path to a gameinfo.txt, or one of these pre-ready values.
-gdb <gdb>
Utilize <dbg> as the debugger of failed servers (Linux/Unix only).
-help
 ? (Linux/Unix simply).
-insecure
Will offset the server without Valve Anti-Crook.
-ignoresigint
(Linux/Unix only) Ignore signal INT (prevents CTRL+C quitting).
-ip
Specifies the accost to use for the demark(2) syscall, which controls on which IP addresses the program is reachable on. Information technology must either exist a local accost (an addresses of the host it runs on) or 0.0.0.0 (the wildcard). This has zippo to do with externally-visible addresses in NAT setups.
-maxplayers <number>
Specifies how many histrion slots the server tin contain. (CSGO Maxplayers is deprecated, ready it in gamemodes_server.txt or use -maxplayers_override instead.)
-nobots
Disable bots.
-nohltv
Disables SourceTV and closes its port (usually 27020).
-norestart
Won't attempt to restart failed servers.
-notrap
(Linux/Unix only) Don't use trap. This prevents automatic removal of old lock files.
-port
The port the server advertises to clients.
-steam
Use this (forth with -console) when you lot are running the version of SRCDS downloaded through Steam[confirm]. Original Description "Quit on steam update failure"
-steamcmd_script <path>
Path to the steam script to execute. Example: ~/Steam/csgo_ds.txt (Linux/Unix but[confirm])
-steamerr
Quit on steam update failure (Linux/Unix but).
-steamuser
Steam user ID? (Linux/Unix only).
-steampass
Steam Login Password? (Linux/Unix only).
-steam_dir <path>
Dir that steam.sh resides in. Case: ~/Steam (Linux/Unix just)
-tickrate <number>
Specifies Server-Tickrate (for more info run into Source Multiplayer Networking). This doesn't exist on TF2, CSS, L4D, and L4D2.
-timeout <number>
Sleep for <number> seconds before restarting a failed server.
-dumplongticks
Generate minidumps when there are long server frames
-usercon
Enables RCON for CS:Become Servers

Console variables

  • +<console variable> <arg> - Sets the Cvar (or console variable) to the specified setting.

Some useful console variables

  • +hostname "Hostname" - Specifies the name of the server (Spaces between words won't work hither!).
  • +ip - Specifies the IP when multiple network cards are installed (Old, but yet works).
  • +map <map> - Specifies which map to start.
  • +maxplayers <number> - Specifies how many thespian slots the server can contain (Erstwhile, only still works).
  • +hostport <port> - Specifies the host port (Port specification before -port was added, but can still be used).
  • +clientport <port> - Specifies the client port (The port the server advertises to clients, the aforementioned as -port and clientport in console)
  • +sv_lan <0/1> - If set to i, server is only available in Local Area Network (LAN).

Linux command options in Left four Dead (2)

The linux version of Left 4 Expressionless and Left iv Dead 2 dedicated server added extra server commands.

Equally part of the forking functionality mentioned below, the server parameters support substitution. For instance, if you lot specify +exec autoexec##.cfg, then the first server volition execute autoexec01.cfg, the second autoexec02.cfg, and then on.

  • -netconport <number> - Creates a remotely attainable server console on the specified port. This tin can exist connected to with telnet or similar applications, and allows controlling of the server equally if the commands were being typed in at the console
  • -netconpassword "countersign" - It set, users must type Laissez passer "password" to apply the remote panel described above
  • -fork <number> - Starts upwards the specified number of instances as subprocesses at once. They volition each employ the first available port number at 27015 or above.

One-half-Life Dedicated Server

These command-line parameters are used with hlds.exe for Goldsource (One-half-Life) games.

Syntax: hlds.exe <parameter1> <parameter2> <cvar1> <cvar2>

Note.png Notation: Parameters are described inside the "<" and ">" characters.

Examples

  • hlds.exe -console -game cstrike +sv_lan 0 +maxplayers 22 +map de_dust2
  • ./hlds_run -game cstrike -autoupdate -pingboost 2 -port 27016 +maxplayers xx +map de_dust2

Control-line parameters

  • -condebug - Stores console output to "One-half-Life\qconsole.log".

    Note.png Notation: Can exist toggled with condebug panel command.

  • -dev - Enables developer manner.
  • -autoupdate - Autoupdate the game. Requires -steam_dir and -steamcmd_script to be fix (Linux/Unix only)
  • -console - HLDS will run in console mode (Windows only).
  • -game <game> - Specifies which game/mod to run. Default is "valve".
  • -dll <name.dll> - Specifies which DLL to utilize. Ex: -dll addons\metamod\dlls\metamod.dll.
  • -nomaster - Disable advice with Main server. Employ this parameter if you do not want your server to be listed in Server Browser.
  • -insecure - Disables Valve Anti-Cheat applied science.
  • -port <port> - Specifies which port to employ for client connections. Default is 27015.

    Note.png Note: Can practise the aforementioned with port console variable.

  • -sport <port> - Specifies the VAC port the server should apply. Default is 26900.

    Note.png Note: Y'all just need to change -sport if VAC connections fail through the principal port.

  • -noip - Disables network support.
  • -noipx - Disables IPX support.
  • -tos - Enables the LOWDELAY TOS header in the udp/ip packets the server generates. (Linux simply)
  • -nobreakpad - Let plugin authors yet get old style minidumps if they need information technology (win32 merely)
  • -num_edicts <variable> - Sets the entity limit for map/game entities (not temporary entities, which is still locked to 500). 900 is default. 4096 is a good limit, beyond that seems to cause hunk_alloc errors[confirm]. Both clients and servers need matching values for best compatibility[confirm].
  • -heapsize <kilobytes> - Specifies the corporeality of heap(or free store - cache, an expanse of memory used for dynamic retentiveness allocation) the engine will apply. Minimum value is 14336(xiv MB). Maximum value is 131072(128 MB). Past default this is set to 40960 (40 MB) and automatically adapted to arrange your system.

    Note.png Annotation: Depression value causes "Unable to allocate X.X MB" exit mistake.

  • -zone <bytes> - Specifies the amount of Bytes of retentivity for utilise with the console arrangement.

    Note.png Note: Low value causes Z_Malloc go out error.

  • -maxplayers <number> - Sets the maximum number of players that will be able to join your server.

    Note.png Note: Can do the same with maxplayers console variable.

  • -sys_ticrate - Overrides sys_ticrate cvar.
  • -exec <file> - Execute specific config file immediately later on the engine is loaded.
  • +<console variable> <arg> - Sets the Cvar (or console variable) to the specified setting.

Useful console variables

  • +hostname "Server Name" - Specifies the proper name of the server.
  • +ip <address> - Specifies the IP when multiple network cards are installed. Required for VAC2 operation.

    Note.png Note: Ordinarily you do not demand to specify this.

  • +map <map> - Specifies which map to start with.
  • +sv_lan <0/ane> - If set to 1, server is only available in Local Area Network (LAN).
  • +mapchangecfgfile <file> - Similar Server.cfg, ran after every round alter, earlier Plugins are started.
  • -pingboost <one/2/3> - Selects between optimized HLDS network code stack. Gear up this on 2 commonly reduces latency toward 1ms without loss of activity input packets.

Troubleshooting the Server Console

Specifying a map is necessary, otherwise the server is not prepare to accept connections from players to your server. You may wish to specify the "ip" and "port" parameters if you lot are experiencing problems.

Note.png Note: This only applies to dedicated servers.

Encounter also

Developer Console

marshgeorl1982.blogspot.com

Source: https://developer.valvesoftware.com/wiki/Command_Line_Options

0 Response to "Reset Hl2 Config How to Upload to Steam Vloud"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel