Games Like Csgo On Xbox One




Italiano
Русский
日本語

Contents

  • 1


    Source

    Games

    • 1.1
      Usage
    • 1.2
      Examples
    • 1.3
      Command-Line Parameters
    • 1.four
      Panel Variables

      • i.iv.1
        Some Useful Console Variables
  • ii


    GoldSrc

    Games

    • 2.1
      Usage
    • ii.two
      Examples
    • 2.three
      Command-Line Parameters

      • 2.3.1
        Useful Console Variables
      • 2.iii.two
        Deprecated Command-Line Parameters
  • three


    Source 2

    Games

    • 3.1
      Control-Line Parameters
  • four
    Steam

    • 4.ane
      Command-Line Parameters
  • 5
    HldsUpdateTool (Windows), Steam (Linux)

    • five.1
      Commands
    • 5.2
      Parameters for the Update Control
    • v.three
      Flags for the Update Control
    • 5.4
      Optional Parameters for All Commands
  • 6
    SteamCMD

    • 6.1
      Usage
    • 6.ii
      Command-Line Parameters
    • 6.3
      Commands
    • 6.4
      ConVars
    • half-dozen.5
      Examples
  • 7
    Source Dedicated Server

    • 7.ane
      Command-Line Parameters
    • 7.2
      Console Variables

      • 7.2.1
        Some Useful Panel Variables
    • 7.3
      Linux Command Options in

      Left 4 Dead series

  • eight
    GoldSrc /
    Half-Life
    Dedicated Server

    • 8.1
      Examples
    • 8.two
      Command-Line Parameters
    • 8.three
      Useful Panel Variables
  • 9
    Troubleshooting the Server Console
  • 10
    Run across Also



Source
Source

Games

These command-line parameters will work with any Source engine games (
Half-Life 2
Half-Life 2
,

Counter-Strike: Source
Counter-Strike: Source
, etc.).

Syntax:
hl2.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
    hl2.exe
    directly.
  • Windows shortcuts pointing to
    steam.exe
    with the proper
    -applaunch <AppID>
    specified (run across
    Steam
    section beneath).
  • Control-line batch script files launching these applications.

Examples

  • steam.exe -applaunch 280 -dev -console -sw +sv_lan one +map MyMap
  • hl2.exe -game cstrike -dev -panel -fullscreen +sv_lan 1 +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 any .cfg files until this parameter is removed.
-32bit Forces the engine to start in 32-chip fashion. Just 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 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 it for Bugbait E3 2003 demo? This lets IsLoadingBugBaitReport return truthful.
-bugreporterdll Name of the bug reporter DLL to employ
-buildcubemaps Builds cubemaps when fully loaded into a map, and then quits the game.
-ccsyntax Spew details about the localized strings nosotros load.
-clientport Sets the customer port. Default is 27002.
-collate Skips everything, simply merges the reslist from temp folders to the terminal folder again.
-conclearlog Clears the
console.log
text file on starting time. Only works if -condebug set.
-condebug Logs all console output into the
console.log
text file.
-console Starts the game with the developer panel enabled. Same as having con_enable enabled.
-deathsonly Supposed to only count deaths while parsing tf2 gamestats, but actually pointless considering there is only lawmaking for deaths.
-d3d9ex Reduce CPU memory about %40. “csgo” just.
-defaultgamedir Fallback directory if “-game” is not set. Default is “hl2”.
-demo Enters the game into demo style. But works for “hl2” and “portal”
-dev Enables developer fashion. Too disables the automatic loading of menu background maps and stops the quit dialog from appearing on get out.
-debugdxsupport Writes debug DirectX data as keyvalues to the console every bit shader devices are loading configuration.
-disallowhwmorph Same as
mat_disablehwmorph 1. Disables HW morphing for item mods.
-dti Prints the datatable when being sent
-dumpvidmemstats Spews video retention statistics to vidmemstats.txt. This forces CModelLoader to quit.
-dvd Enables strict DVD mode. Allows loading files from DVD just. Xbox 360 simply.
-dvddev Enables programmer DVD mode. Allows loading files from a remote path as a fallback also as the DVD. Xbox 360 merely.
-dxlevel <level> Forces the game to start using specified DirectX API version. Officially supported values are: threescore, lxx, 80, 81, 90, 91, 95 (recommended), 98 (Xbox 360 but), and 100. After starting the game with this launch parameter, the selected value will be saved for future start ups and video settings will be temporarily reset (just non saved), then it is highly recommended to remove this launch parameter afterward first launch with it. See mat_dxlevel.
-edit Co-ordinate to comments, intended to replace -tools. Does nothing except disable all file logging for building reslists.
-enablefakeip
-endgamevid If specified startup videos will not be skipped, and EndGameVids.txt will be used instead of StartupVids.txt. This tin also exist invoked by the command “startupmenu playendgamevid”, which bails back to the menu and plays the end game video.
-exit Quits the game later on fully loading into a map.
-filmgrain Enables the
filmgrain
screen infinite upshot.
-flushlog Causes log files to exist flushed to deejay once per 2d (rather than after every 4kbytes of log information).
-floathdr Forces HDR to utilise float values.
-forcenovsync Forces vsync to be disabled.
-forcestartupmenu Forces the groundwork menu map to ever load, fifty-fifty if developer mode is agile or the game is loading straight to a level.
-forcexboxreconfig Forces default config settings to be loaded on Xbox 360.
-forever When you get to the end of the maplist, kickoff 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 only with defended servers.
-fs_target Sets the target game directory to re-create files to, used with -fs_log.
-full_memory_dumps
-fullscreen
or
-total
Forces the engine to offset in fullscreen mode.
-g15 Enables Logitech G15 back up. G15 is simply supported in SiN Episodes: Emergence.
[confirm]
-game Sets game or mod directory to load the game from. Unremarkably is set past default if not user specified. Default is “-defaultgamedir”‘s setting. If -defaultgamedir is not set, “hl2” is used.
-gamepadui
(only
in
Half-Life 2
Portal)
Enables the controller-oriented UI used on Steam Deck, and also enables the Vulkan renderer.
-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 better texture preloading
-gl_texclientstorage (MacOS) Reduce retentiveness usage past relying on GPU memory instead of a host re-create
-gamestatstag <tag> Tags each map reported with the specified tag.
-h <meridian> Forces the engine to start with resolution prepare to
<height>. Ex:
-h 768
-height <height> Same every bit -h
-heapcheck (Windows merely) Check if the heap isn’t damaged or empty at the initiation of the game and every frame
-heapsize <kilobytes> Specifies the heapsize (in kilobyte) the game will use. This no longer exists on

Source 2009
Source 2009
.



Confirm:

what virtually Source MP?

-hideconsole Forces the console subconscious, whatever parameters are passed. This overrides -console, -dev, and all others.
-high Sets the game’s priority to High
-hijack Accept command of an existing instance of the game, if whatever, instead of complaining about already running.
-host Sets hostname. On Xbox 360, this sets the host estimator name to be used for RFS. Xbox proper noun must be <HostPC>_360.
-hushasserts Disables a number of asserts in core Source libraries, skipping some fault checks and messages.
-hushsteam
-ignoredxsupportcfg Skips reading DirectX support file, dxsupport.cfg.
-insecure Disable Valve Anti Cheat (VAC).
-interactivecaster
(simply
in
Counter-Strike: Global Offensive)
Starting your client with this will switch it into camera man style (reference tv_allow_camera_man_steamid/tv_allow_camera_man_steamid2)
-internalbuild Causes the problems reporter console to be fatigued equally internal
-ip Does the same as the ipname Cvar
-language %l Sets the game language to the one specified. (Examples: “english language”, “high german”).
-leakcheck Dumps statistics nigh memory 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 one (default is steambeta1:27013)
-depression Sets the game’due south priority to Low
-lowmemworkshop
(only
in
Counter-Strike: Global Offensive)
Allow updating very big map files on Steam Workshop.
-makedevshots Used for taking screenshots, causing entities to not fade. Enables the employ of the devshots_nextmap concommand
-makereslists Makes reslists. Need to run with -textmode. Passing a parameter here uses a script file to control more complex makereslists operations (multiple passes, etc.)
-mat_aaquality Set MSAA quality level, does the aforementioned every bit the Convar mat_aaquality
-mat_antialias Antialiasing. Tin exist set up to 8, corporeality past 8 won’t sharpen the edges of game world.
-mat_vsync Enables Vertical Sync
-mat_softwaretl Enables software vertex processing.
-maxdxlevel Limits the maximum
dxlevel
to apply. Default is 0.
-maxdownloadfilesizemb CS:Become 5/1/2014, client launch choice -maxdownloadfilesizemb N if clients needs to download fifty-fifty larger files from customs servers.
-maxplayers Set the maximum players immune to bring together the server. This does the same as the maxplayers convar, the maximum you can gear up it to is express by the game/mod
-minmemory Set startup retentivity to mem_min_heapsize ?*1024 * 1024?
-monitorTextureSize Set the size of the texture used to render point_cameras.
-multirun
(simply
in
Source 2013)
Allows the game to run even if another Source game is already open.


Note.png Note:

While only implemented in Source 2013, using this while a non-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 exist used.
-no_compressed_verts Disables vertex compression for shaders.
-no_compressed_vvds Enables thin VVD data, fifty-fifty if the client is not an Xbox 360.
-noassert Allows attaching to a debugger instead of directly asserting.
-noasync Disables asynchronous filesystem access.
-noborder When used with the game prepare to windowed fashion, volition make the game human action every bit if in fullscreen way (no window border).
-nobots Allows Counter-Strike server hosts to forcefulness 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 upward.
-nodev Disables -dev and -allowdebug during startup so sv_cheats and developer mode dosent get set.
-nodns Disable DNS requests and resolving DNS adresses.
-nodttest Skips datatable testing.
-noff Disables force feedback for controllers.
-noforcemaccel Use the Windows mouse acceleration settings. But works if -useforcedmparms is fix.
-noforcemspd Use the Windows mouse speed settings. Only works if -useforcedmparms is set.
-nogamedll Do non load the Game DLL, this most likely will cause your game/server to crash
-nogamestats
-nohltv Disable SourceTV
-noip Exercise non bind to an ip and disables all multiplayer back up
-nojoy Disables joystick support.
-NoLoadPluginsForClient
-nomaster Hides server from chief serverlist.
-nomessagebox End various windows mistake message boxes from showing upwardly
-nominidumps Dont write minidumps
-nomouse Disables in-game mouse support.
-nop4 Forces the Engine to bypass Perforce Integration
-nopreload Forces models to not exist preloaded. Takes priority over cl_forcepreload and -preload.
-nopreloadmodels Aforementioned as -nopreload
-nops2b Disables Pixel Shader 2b support.
-noqueuedload Disables queued loading of map resources.
-NoQueuedPacketThread (Linux) No queued package thread will be created.
-norebuildaudio Contrary of and overrides -rebuildaudio for the map reslist generator.
-nodefaultmap (Linux only[ostend]) Supresses the addition of -map
-norfs Forces Remote Filesystem disabled. Xbox 360 only.
-noshaderapi Loads a non-existent shader API dll, shaderapiempty.dll. Effectively disables shader and texture loading completely. May exist useful with -textmode to load the game quickly since a GUI is not required.
-nosound Disables audio support
-nosrgb Disables back up for SRGB.
-nostartupsound Disables carte du jour music (audio/ui/gamestartup*.mp3) to play on startup.
-nosteamcontroller Disables Steam controller system
-nouserclip Uses software clipping instead of hardware user clip planes
-NoVConfig Prevents the filesystem library from running VConfig if it encounters a filesystem fault where it cannot observe the game content.
-novid When loading a game with this parameter, the intro video volition 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 beam trails to let (2048 past default, minimum is 512).
-phonehome If debug mode is also enabled, forces the init of phonehome ?which handles some build information and sends them via netmessages to steam?
-pidfile <pidfile> Use the specified <pidfile> to store the server pid. Default is srcds.pid[ostend]
(Unix/Linux only).
-pixel_offset_x Sets the pixel offset to interpret on the Ten axis in MatSystemSurface.
-pixel_offset_y Sets the pixel offset to translate on the Y axis in MatSystemSurface.
-pme Activate the functioning monitoring events code, this again only works on Intel processors newer then PENTIUM4
-port <variable> Sets port for a listen server. Default is 27015.
-preload Does the same equally the sv_forcepreload Cvar. If -nopreload or -nopreloadmodels, this behaviour is disabled
-primarysound If surround audio isn’t enabled, forces the employ of the primary audio buffer
-profile If using Xbox360 or enabling this, additional debugging data are logged like the map startup time and similar
-publicbuild Is this build a public i? If non, phonehome will not post 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 exit for the map reslist generator.
-recapvid RecapVids.txt will be used instead of EndGameVids.txt. This can also exist invoked by the command “startupmenu playrecapvid”, which bails to the mainmenu and plays the epitomize video.
-ref Sets MATERIAL_INIT_REFERENCE_RASTERIZER on the shader cloth adapter.
-remote Sets the remote file path to exist used with -dvddev.
-replay Increases maxplayers by 1 at startup and automatically executes replay.cfg for the server.
-requirecubemaps If a map dosen’t take cubemaps, the game volition promt up with “Map X does non have cubemaps!”
-reflectionTextureSize Ready the size of the texture used to render the Water shader’s real-time reflection and refraction.
-refresh <rate> Force a specific refresh rate. Ex:
-refresh 60
-refreshrate <rate> Same as -refresh
-freq <rate> Aforementioned as -refresh
-r_emulate_gl Emulates OpenGL on Windows, provides a framerate heave for almost GPUs
-resizing Allows resizing the window lower than a specific resolution.
-reslistdir Default is “reslists”, utilise this to override. Reslist generator merely.
-reuse Reuse network sockets
-rpt Same as having -condebug, -conclearlog, and -panel enabled
-safe Enables video safety mode, which sets the game to windowed, the width to 640, the height to 480, refresh charge per unit 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 every bit -shader?
-shadersondemand Creates shaders on access, helps reduce D3D memory for tools, but causes I/O hitches.
-sillygibs (Goldsource simply) Forces more gibs similar skull and others to be spawned all fourth dimension on NPC’due south death.
-skiploadingworkshopaddons
(only
in
Alien Swarm: Reactive Drop)
But load addons from the addons folder, not subscriptions on the Steam Workshop.
-modest Allow window sizing smaller then 640×480
-sndcachedebug Prints sound cache debug messages (programmer must exist enabled to run into)
-snoforceformat Skips audio buffer cosmos
-soft Enables Software hardware rendering way.
-softparticlesdefaultoff Sets particles to be rendered without feathering (scene depth blending) by default.
-softparticlesdefaulton Opposite of -softparticlesdefaultoff.
-spewsentences Spew out vocalisation sentence 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 phase, and sets current work item (default is 0). Reslist generator only.
-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 style (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)
-storeambientcache
(only
in
Counter-Strike: Global Offensive)
Stores an ambient cache file in every loaded BSP.
To do:What is ambience enshroud?
-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 textile 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 one
-testscript <filename> Loads a .vtest file.
-testshaders Loads the shader_test library. Debug merely.
-testsub
-textmessagedebug Spews client text messages to panel.
-textmode
(not
in
Counter-Strike: Global Offensive)
Runs the game without graphics
-threads Number of threads to allocate for the thread puddle, default is iii
-tickrate Sets the game tick interval. Disabled in code for TF2 because “server ops are abusing information technology”.
-timedemoloop
-toconsole Starts the engine directly in the panel, 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 ONLY, allows the game to launch in “Untrusted Mode”.
-usedevshotsfile Get map list from specified file, default is to build for maps/*.bsp
-useforcedmparms Allows the use of -noforcemspd and -noforcemaccel.
-usegh Loads ghostinj.dll to let support for 3rd 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 imitation on the server, but all server packets are recorded. Note: VCR recording and playback merely fully working on a leaked HLS build, other games and versions crash
-vcrrecord Records a client’south game and allows you to play it dorsum and reproduce information technology exactly. Requires -nosound Encounter this video on how it is different.
-vguifocus Enables debug VGUI messages related to input focus.
-vguimessages Enables debug VGUI letters.
-vxconsole Waits for Valve Xbox console to initialise. Xbox 360 only.
-vproject Manually sets the VProject directory to load game content for tools.
-vulkan Forces the engine to use the Vulkan renderer.
-w <width> Forces the engine to start with resolution set to
<width>. Ex:
-w 1024
-width <width> Aforementioned as -w
-wavonly Disables DirectSound and makes the engine attempt to play all sounds in PCM format.
-window Forces the engine to start in windowed way
-sw Aforementioned equally -window
-startwindowed Same as -window
-windowed Aforementioned every bit -window
-xnet_bypass_security Disables Xbox 360 secure networking, to permit cross-platform testing.
-x <x position> In borderless windowed mode, determines where the window should be horizontally. Ex:
-x 0.
Note:
Setting this to 0 will brand information technology marshal with the left side of your main monitor, rather than its center. Negative values as well aren’t accepted.
-y <y position> In borderless windowed mode, determines where the window should be vertically. Ex:
-y 0.
Notation:
Setting this to 0 will make information technology align with the superlative side of your primary monitor, rather than its center. Negative values also aren’t accepted.
+connect Panel Command
+load Panel Command
+mat_hdr_level Panel Control
+maxplayers Console Command
+playdemo Console Command
+port Console Command
+timedemo Console Control
+timedemoquit Console Command

Console Variables

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

Some Useful Console Variables

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



GoldSrc
GoldSrc

Games

These command-line parameters volition piece of work with any GoldSource engine games (
Half-Life
Half-Life
,

Counter-Strike
Counter-Strike
, etc.).

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


Note.png Note:

Parameters are described within the “<” and “>” characters.

Usage

These options tin can exist used with:

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

Examples

  • steam.exe -applaunch 70 -dev -panel -sw +sv_lan i +map MyMap
  • hl.exe -game cstrike -dev -console -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 panel output to “One-half-Life\qconsole.log”.


    Note.png Note:

    Tin be toggled with
    condebug
    console command.

  • -dev
    – Enables programmer mode.
  • -glext
    – When paired with “-dev” setting, outputs all OpenGL extensions supported past your graphics card.


    Note.png Note:

    Tin can exercise the same with
    gl_dump
    console command.

  • -gl
    – Sets the rendered to OpenGL.
  • -soft
    – Sets the rendered to Software.
  • -total
    – Forces the engine to start in fullscreen manner.
  • -window
    or
    -sw
    or
    -startwindowed
    or
    -windowed
    – Forces the engine to get-go in windowed way.
  • -w <width>
    or
    -width <width>
    – Forces the engine to start with resolution fix to
    <width>. Ex:
    -w 1024.
  • -h <peak>
    or
    -height <height>– Forces the engine to start with resolution ready to
    <elevation>. Ex:
    -h 768.
  • -stretchaspect
    – The game by default adds black bars based on your game screen resolution. Utilize
    -stretchaspect
    on your command line if you lot desire the old beliefs back (only always fill the screen). Setting “-nofbo” too implies “-stretchaspect”.
  • -freq <variable>
    – Force a specific refresh rate when running in fullscreen AND your monitor supports the frequency in question.


    Note.png Notation:

    If y’all don’t accept a CRT monitor chances are you tin’t use this option.

  • -mousethread
    – If ready we poll the mouse position in another thread running at 100hz by default, to get improve movement accurateness. Set the “m_mousethread_sleep” cvar to the number of seconds to sleep betwixt mouse polls to change this charge per unit.
  • -joy_advanced
    – Utilise advanced joystick options (allows for multiple axes).
  • -joy_advr, -joy_advu, -joy_advv, -joy_advx, -joy_advy, -joy_advz

    To do
  • -nosound
    – Disables sound support.


    Note.png Note:

    Can do the same with
    nosound <0 or 1>
    panel command.

  • -nocdaudio
    – Disables mp3 support. As well 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 back up.
  • -nojoy
    – Disables joystick support.
  • -nomouse
    – Disables in-game mouse support.
  • -noforcemparms
    – Forces the engine to apply operating organization mouse parameters.
  • -noforcemaccel
    – Forces the engine to apply operating system mouse dispatch.
  • -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” also implies “-nomsaa”.
  • -noborder
    – When used with the game set to windowed mode, will brand the game deed as if in fullscreen style (no window border).


    Bug.png Bug:

    Doesn’t hibernate window border, simply control buttons.

  • -nodirectblit
    – Disables direct blitting (Blit is autograph for “cake epitome transfer” or bit blit).
  • -nobots
    – Disables bots.
  • -port <port>
    – Specifies which port to utilise for client connections for a heed server. Default is 27015.


    Note.png Notation:

    Can do the same with
    port
    console control.

  • -demoedit
    – Enables hidden Demo editor.


    Note.png Annotation:

    Use
    viewdemo
    console command to go access.

  • -num_edicts <variable>
    – Sets the entity limit for map/game entities (not temporary entities, which is nevertheless locked to 500). 900 is default. 4096 is a practiced limit, beyond that seems to crusade hunk_alloc errors[confirm]. Both clients and servers need matching values for best compatibility[confirm].
  • -heapsize <kilobytes>
    – Specifies the amount of heap(or gratis store – cache, an area of retentiveness used for dynamic memory allocation) the engine will use. Minimum value is 14336(14 MB). Maximum value is 131072(128 MB). By default this is set to 40960 (40 MB) and automatically adjusted to suit your system.


    Note.png Note:

    Low value causes “Unable to allocate X.X MB” exit mistake.

  • -zone <bytes>
    – Specifies the corporeality of Bytes of memory for apply with the console system.


    Note.png Note:

    Low or very high value causes Z_Malloc exit error.

  • -exec <file>
    – Executes specific config file immediately after 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/mod to run.
  • +_setrenderer <variable>
    – Sets the rendering fashion. Available parameters are
    opengl
    and
    software.


    Note.png Notation:

    Parameter
    D3D
    is deprecated.

  • +_setvideomode

    To do
  • +_set_vid_level <0 or ane>
    – Toogles “Low video quality”.
  • +_setaddons_folder <0 or 1>
    – Toogles “Allow custom addon content”.
  • +_sethdmodels <0 or 1>
    – Toogles “Enable HD 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 Estimate mode. This is a benchmark 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 earlier the engine loads config files.

Deprecated Command-Line Parameters

  • -panel
    – Enables panel. Tin exist opened either from menu (push button in top-left corner in old
    One-half-Life
    builds or button in main bill of fare in new builds), or past pressing tilde (~) in-game.


    Note.png Note:

    Ever 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 Commuter. The two choices are “Default” and “3dfxgl.dll”.


    Note.png Note:

    No longer works.

  • -d3d
    – Sets the rendered to Direct3D.


    Note.png Annotation:

    Removed.[one]

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


    Note.png Note:

    No logner works. Utilise
    -gl,
    -soft
    or
    -d3d(see above) instead.

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


    Note.png Note:

    Non allowed.

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


    Note.png Notation:

    Enabled past default.

  • -nowinmouse
    – Don’t capture mouse in-game.


    Note.png Notation:

    Renamed to
    -nomouse.

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


    Note.png Note:

    Employ console commands instead.

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


    Note.png Annotation:

    Enabled past default.

  • -particles <variable>
    – The number of particles for which to set aside buffer space.


    Note.png Note:

    No longer works.

  • -nosierra
    – Disables Sierra logo on GoldSrc games that take information technology.


    Note.png Note:

    Only works on retail editions of Half-Life; removed when information technology was transferred to Steam.

  • -noaff
    – Disables setting of thread affinity.


    Note.png Note:

    No longer works.



Source 2
Source 2

Games

To practice:fill this out.

Control-Line Parameters

Argument Description
-allowmultiple Allows multiple Source 2 instances to run at the aforementioned time. Only works if a
VPROJECT
environment variable is gear up.



Ostend:

Does this exist in every S2 game or merely HL:A?

-vrdebug Allows the game to run without a VR headset.
(simply
in
Half-Life: Alyx)

[confirm]

Steam

These control-line parameters work when launching the Steam application.

Command-Line Parameters

Argument Clarification
-applaunch <appID> [launch parameters] Launches an Game or Application 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 case for some reason information technology tin can’t be done via settings).
-complete_install_via_http Run installation completion over HTTP by default.
-console Enables the Steam debug console tab.
-ccsyntax Spew details about the localized strings we load.
-debug_steamapi Enables logging of Steam API functions.
-dev Sets the ‘programmer’ variable to 1. Can exist used to open the VGUI editor past pressing F6 or VGUI zoo by pressing F7. Intended for skin development, also enables the debug console tab.
-fs_log Log file system accesses.
-fs_target Prepare target syntax.
-fs_logbins Log the binaries we load during operation.
-forceservice Run Steam Customer 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]|anonymous> [password] Logs into Steam with the specified Username and Countersign combination.
Note:
Steam must be off for this to 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 utilise async file operations, run them synchronous instead.
-nocache Starts steam with no enshroud (Steam must be 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, especially 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 by the new Panorama-based friends/chat UI, and Library. Using this pick volition —amongst other things— disable the new Library UI, and restore the old friends listing and chat UI. Even so, it won’t restore the sometime Library UI.
-no-dwrite Forces vgui to use GDI text even if DWrite support is bachelor.
-script <file name> Runs a Steam script. All scripts must exist in a subdirectory of the Steam folder called examination scripts (Steam must be off for this to piece of work).
-shutdown Shuts downwardly (exits) Steam.
-silent Suppresses the dialog box that opens when you start steam. It is used when you take Steam fix to auto-start when your figurer turns on. (Steam must exist off for this to work).
-single_core Force Steam to run on your primary CPU only.
-tcp Forces connexion to Steam backend to exist via TCP.
-voice_quality Sets audio quality, range [1,3].
-voicerelay Only allow ‘relay’ connections for voice (testing).
-tenfoot Commencement Steam in Big Motion picture Mode.


HldsUpdateTool (Windows), Steam (Linux)

Syntax:
hldsupdatetool -command <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 part in a beta test)
  • -game <game>
    – The proper name of the game to install (run across enumeration).
  • -dir <installdir>
    – HLDS Install directory (if dir not specified, will use value from final run of tool).

The following parameters are only needed to access limited content.

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

Flags for the Update Control

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

Optional Parameters for All Commands

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

SteamCMD

The Steam Console Client or SteamCMD is a new tool to install and update dedicated servers using a command line interface. It merely 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 Notation:

Parameters are described inside the “<” and “>” characters.

To view the about 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 practise

Commands

Argument Parameter(s) 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> Result an appinfo request for the given appid. Does non 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|i] Stop this running app
app_uninstall [-complete] <appId>
app_update <appid> [-validate] [-language <lang>] [-beta <betaname>] [-betapassword <pwd>] Brand certain a Steam application is up-to-appointment
app_update_cancel <EAppUpdateError>
apps_installed
apps_running Displays information nigh 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 terminate for CEG wrapping
cm_force_change Change CM Listing
device_authorize_status Prints device dominance status
download_depot <appid> <depotid> [<target manifestid>] [<delta manifestid>] [<depot flags filter>] Download a single depot
download_sources Dumps list of download sources
drm_wrap <appid> <input filename> <output filename> <toolname> <flags> Upload executable to dorsum cease for DRM wrapping
dump_scheduled_functions Displays internal Steam part callback timers
exit Stops Steam client console
detect Find substrings in console commands
force_install_dir <directory> Sets the directory to install the server in
get_download_throttle
help Testify help information
info Dump diverse Steam info
install_folder_list Listing all mounted Steam volumes
licenses_for_app <appid> Shows active licenses for appid
licenses_print Display users’s Steam3 licenses
log_callbacks <first callbackID> [concluding callbackID]
log_ipc [verbose] <filter> Enables IPC logging. Specifying “counts” or “verbose” is optional, defaulting to counts.
login [<password>|bearding] [<Steam baby-sit code>] Login to Steam
logon Meet “login”
logoff Disconnect from Steam
logout Meet “logoff”
manifest_dump <filename>
mem_stats Dump memory stats
net_msgdump Dumps list of sent cyberspace messages
net_msgspew Spews sent net letters
p2p_info Displays the current state of the P2P networking subsystem.
package_info_print Dumps package 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 Allonym for run_app_build
runscript <script file, such as TXT> Runs a panel command script
set_download_throttle <Kb/due south> <bPersistent = false>
set_spew <group> <level> <logLevel> Set spew levels for the given group
set_spew_level <SpewLevel LogLevel> Sets spew and log level for all groups
set_steam_guard_code Authorize this estimator past adding the Steam Guard email lawmaking
sign_install_script <appid> <input filename> <output filename> Upload install script to dorsum end for signing
test_dropcon Tests dropping a connection
test_failnextconnect Tests failing the next connectedness
upload_controller_config <appid> <filename> Upload controller config to cloud
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 data about the game’s use of Steam voice
workshop_build_item <build config filename> Build a workshop detail
workshop_create_legacy_item <appid> <workshop file> Build a legacy workshop item
workshop_download_item <appid> <PublishedFileId> Download a workshop item
workshop_status <appId>

ConVars

  • app_info_http_min = “0”  :
  • app_info_http_num_sockets = “8”  :
  • AsyncFileIODisableWrite = “0”  :
  • AsyncFileIOExpectOutstandingIO = “xvi”  :
  • AsyncFileIOForceGenericIO = “1”  :
  • AsyncFileIOMaxPending = “128”  :
  • AsyncFileIOReadHandleCache = “32”  :
  • AsyncFileIOWriteHandleCache = “32”  :
  • batterypercent = “0”  :
  • batterytime = “0”  :
  • bCheckForFreeGamesOnLogin = “0”  :
  • bCheckUGCIntegrity = “1”  :
  • @bContentManifestUseProtobufs = “i”  :
  • @bCSClientRateLimitUseDelays = “0”  :
  • @bCSForceNoCache = “0”  :
  • @bDepotBuilderReadBufferSizeKB = “8192”  :
  • @bDepotBuilderUnbufferedReads = “1”  :
  • bDisableTenFootOverlay = “0”  :
  • @bEnableMovieRecording = “0”  :
  • @bEnableOfflineLogonTicket = “ane”  : If truthful, an offline logon ticket will be requested during logon if none is cached
  • @bEnableSpewThrottle = “ane”  :
  • bEnableSubscribedFileListCache = “ane”  :
  • bFinishStagedDepotVersions = “1”  :
  • @bForceStreamUnsupportedApp = “0”  :
  • @bLANPeerConnectionTimeoutSec = “v”  :
  • bLogLegacyDiskDetails = “0”  :
  • @bMsgErrorDump = “0”  :
  • @bRequireOfflineLogonTicket = “0”  : If true, a valid offline logon ticket is required when logging in in offline or no connection way
  • @bRequireSignedParentalSettings = “1”  : If true, a valid set of signed parental settings is required when logging in in offline or no connexion mode
  • broadcast_upload_drop_sec = “6”  :
  • broadcast_upload_update_sec = “three”  :
  • bSteam3LimitedUserEnable = “i”  :
  • bSteamLoaderEnable = “1”  :
  • bSubscribedFilesDecompressOnClient = “ane”  :
  • bSubscribedFilesPollForUpdates = “0”  :
  • bSubscribedFilesUseRangeRequests = “0”  :
  • bVerifyAllDownloads = “0”  :
  • cAppUpdateWorkingSetMB = “128”  :
  • @cbPartnerUploadChunkSize = “million”  : Chunk size to use for POSTing partner uploads
  • @cCSClientMaxNumSocketsPerHost = “viii”  :
  • @cDepotBuilderFileChunkingThreads = “4”  :
  • cFileValidationMaxLog = “100”  :
  • ClientStatsUploadRateSeconds = “x”  :
  • @cMaxContentServersToRequest = “20”  :
  • @cMaxInitialDownloadSources = “-1”  :
  • @cNetEncryptionHandshakeWorkMax_HighPri = “8000”  :
  • @cNetEncryptionHandshakeWorkMax_LowPri = “2000”  :
  • @cNetEncryptionHandshakeWorkMax_MedPri = “4000”  :
  • countrycode = “”  :
  • cPreallocateMinimumSizeKB = “256”  :
  • @csecCSRequestProcessorTimeOut = “300”  :
  • @csecFavoriteGameAccountCacheTime = “86400”  : Command how ofttimes we refresh the account IDs in the game server favorites list
  • @csecIncomingDataRatePeriod = “1”  :
  • csecManifestDownloadTimeout = “120”  :
  • @csecUpdateTargetNumConnectionsEpoch = “ten”  :
  • @cSecUploadDownloadRates = “300”  :
  • @CSInterfaceProxyPassword = “”  :
  • @CSInterfaceProxyUsername = “”  :
  • @cUDPSendRetries = “eight”  :
  • @CustomBinaryRequestRetryTimes = “20”  :
  • @DepotBuilderAppInfoTimeout = “120”  :
  • @DepotBuilderConfigRoot = “./depotscripts” :
  • @DepotBuilderContentRoot = “”  :
  • @DepotBuilderMaxParallelUploadChunks = “24”  :
  • @DepotBuilderNoReslist = “0”  :
  • @DepotBuilderNumHTTPSocketsToMDS = “12”  :
  • @DepotBuilderOutputRoot = “”  :
  • @DepotBuilderParallelUploadChunks = “six”  :
  • @DepotBuilderProgressTimeout = “1000”  :
  • DepotDownloadProgressTimeout = “120”  :
  • DepotReconstructionLowPrio = “1”  :
  • DepotReconstructionNumIOThreads = “ane”  :
  • DepotUseAlternatingReadWrite = “1”  :
  • developer = “0”  :
  • @EnableUDPHistory = “0”  :
  • @fDownloadRateImprovementToAddAnotherConnection = “1.two”  :
  • findbestcellstartupdelay = “600”  :
  • @fMinDataRateToAttemptTwoConnectionsMbps = “0.5”  :
  • @GCNameOverride = “”  :
  • @IOCPGetCompletionBatchSize = “ane”  :
  • @LocalContentServer = “”  :
  • log_files_always_flush = “0”  :
  • log_matchmaking_callbacks = “0”  :
  • @MaxOutstandingSendThreadItem = “yard”  :
  • mic_autogain = “16000”  : automatic proceeds control level for microphone input
  • mic_inputfile = “”  : causes voice data to exist read from the specified file instead of from the microphone
  • mic_outputfile = “”  : causes microphone data to be written out to the specified file
  • musiclogging = “0”  :
  • nBroadcastSessionHearbeatSec = “120”  :
  • nBroadcastSessionMaxDropFrames = “100”  :
  • nClientBackgroundAutoUpdateTimeSpreadMinutes = “0”  : Number of minutes to spread background auto-updates out over
  • nClientCMUDPPingTimeGoodEnoughThresholdMS = “50”  :
  • nClientCMUDPPingTimeoutUseGoodEnoughMS = “250”  :
  • nCloudDownloadMinIntervalSec = “lx”  :
  • nCloudFileCompressionMinFileSizeKB = “16”  :
  • nCloudFileCompressionMinFileSizeKBSharedFile = “128”  :
  • nCloudFileCompressionPercentageMin = “ten”  :
  • nCloudFileCompressionPercentageMinSharedFile = “fifty”  :
  • nCloudSyncIntervalSec = “30”  :
  • nCloudUploadMinIntervalSec = “1800”  :
  • nContentStatsReportInterval = “72”  : In Hours
  • @nCSClientRateLimitKbps = “0”  :
  • @nDownloadLANChunkCacheSizeMB = “128”  :
  • @nDownloadLANPeerGroup = “0”  :
  • @net_backlog_bytes_allowed = “12000000”  :
  • @net_backlog_time_allowed_sec = “v”  :
  • @NetConnectionBufferMsgLimit = “1000”  : Max # of bulletin that will be buffered into a unmarried zipped bundle
  • @NetConnectionBufferThreaded = “1”  :
  • net_incomingcheck = “1”  :
  • @net_loopback = “1”  :
  • net_maxresendsperframe = “32”  :
  • @nLANPeerRateLimitKbps = “0”  :
  • @nNetConnectionBufferZipLevel = “1”  :
  • @NoPromptForPassword = “0”  :
  • @nParentalSettingsLogLevel = “4”  : Control the amount of spew written to the parental log file
  • nProductInfoUpdateInterval = “900”  :
  • @nSpewThrottleNagFrequencyMs = “5000”  :
  • [email protected] = “g”  :
  • @nSpewThrottleResumeThreshold = “three”  :
  • @nSpewThrottleTriggerThreshold = “10”  :
  • @nSpewThrottleUnconditionalResumeMs = “5000”  :
  • @nSpewThrottleUnconditionalTriggerCount = “50”  :
  • nSubscribedAutoDownloadMaxSimultaneous = “8”  :
  • @nTCPLargeSendBufSizeMB = “16”  :
  • p2p_connecttimeout = “15”  :
  • p2p_unusedtimeout = “120”  :
  • rtime32EarliestSubscribedFileToDownload = “1348857570” :
  • @sCSDSVirtualHostHeader = “”  :
  • ServerBrowserPingSurveySubmitPct = “5”  :
  • @ShutdownOnFailedCommand = “1”  : Exit steamcmd immediately upon any failed build-related command
  • spew_controller_loss = “0”  :
  • @sSteamCmdForcePlatformBitness = “”  : Must exist i 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.15”  :
  • voice_minavg = “1.0”  :
  • voice_outputdevice = “0”  : 0=>Miles 1=>XAudio2
  • voice_outputfile = “”  : causes output from voice organisation to be written out to the specified file
  • voice_preprocess = “1”  : enables vocalisation cleanup on incoming microphone data
  • voice_quality = “four”  :
  • 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 Dedicated Server

Command-line arguments for the Source Defended Server executable (srcds.exe,
srcds_run)

Command-Line Parameters

-allowdebug
(Same as -debug ?)
-autoupdate
Autoupdate the game. Requires -steam_dir and -steamcmd_script to be set up (Linux/Unix only).
-binary <binary>
Use the specified binary (no auto detection) (Linux/Unix only).
-console
SrcDS volition run in console mode (Windows only).
-debug
Run debugging on failed servers if possible. Requires -gdb to be fix
[ostend]
-debuglog <logname>
Log debug output to this file (Linux/Unix only).
-dev
Show programmer letters.
-fake_stale_server
Counter-Strike: Global OffensiveSkip cheque game version from steam and goes straight to
out-of-date
land
-game <game or path>
Specifies which game/mod to run. Accepts either a path to a gameinfo.txt, or one of these pre-gear up values.
-gdb <gdb>
Use <dbg> as the debugger of failed servers (Linux/Unix simply).
-assist
 ? (Linux/Unix merely).
-insecure
Will kickoff the server without Valve Anti-Crook.
-ignoresigint
(Linux/Unix simply) Ignore bespeak INT (prevents CTRL+C quitting).
-ip
Specifies the address to utilise for the bind(ii) syscall, which controls on which IP addresses the program is reachable on. It must either be a local address (an addresses of the host it runs on) or 0.0.0.0 (the wildcard). This has zero to practise with externally-visible addresses in NAT setups.
-maxplayers <number>
Specifies how many role player slots the server tin contain. (CSGO Maxplayers is deprecated, set it in gamemodes_server.txt or utilize
-maxplayers_override
instead.)
-nobots
Disable bots.
-nohltv
Disables SourceTV and closes its port (commonly 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
Apply this (along with
-panel) when you are running the version of SRCDS downloaded through Steam[ostend]. Original Description “Quit on steam update failure”
-steamcmd_script <path>
Path to the steam script to execute. Example: ~/Steam/csgo_ds.txt (Linux/Unix only[confirm])
-steamerr
Quit on steam update failure (Linux/Unix just).
-steamuser
Steam user ID? (Linux/Unix but).
-steampass
Steam Login Countersign? (Linux/Unix only).
-steam_dir <path>
Dir that steam.sh resides in. Example: ~/Steam (Linux/Unix but)
-tickrate <number>
Specifies Server-Tickrate (for more than info see Source Multiplayer Networking). This doesn’t be 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:GO Servers

Console Variables

  • +<panel 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 betwixt words won’t work here!).
  • +ip
    – Specifies the IP when multiple network cards are installed (Former, but still works).
  • +map <map>
    – Specifies which map to outset.
  • +maxplayers <number>
    – Specifies how many actor slots the server can comprise (One-time, but still works).
  • +hostport <port>
    – Specifies the host port (Port specification before -port was added, but can withal be used).
  • +clientport <port>
    – Specifies the customer port (The port the server advertises to clients, the same as -port and clientport in panel)
  • +sv_lan <0/1>
    – If set to 1, server is only bachelor in Local Area Network (LAN).

Linux Command Options in

Left 4 Dead series
Left four Dead series


The Linux version of

Left 4 Dead
Left 4 Dead

and

Left 4 Dead 2
Left 4 Expressionless 2

defended server added extra server commands.

Every bit part of the forking functionality mentioned below, the server parameters support exchange. For instance, if you specify
+exec autoexec##.cfg, and so the beginning server will execute
autoexec01.cfg, the second
autoexec02.cfg, and so on.

  • -netconport <number>
    – Creates a remotely accessible server console on the specified port. This can be connected to with telnet or like applications, and allows controlling of the server every bit if the commands were being typed in at the console
  • -netconpassword "password"
    – It set up, users must type Laissez passer “password” to employ the remote console described in a higher place
  • -fork <number>
    – Starts upwards the specified number of instances as subprocesses at once. They volition each use the first bachelor port number at 27015 or above.


GoldSrc /
Half-Life
Dedicated Server

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

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


Note.png Note:

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 20 +map de_dust2

Control-Line Parameters

  • -condebug
    – Stores console output to “Half-Life\qconsole.log”.


    Note.png Note:

    Tin exist toggled with
    condebug
    console control.

  • -dev
    – Enables developer fashion.
  • -autoupdate
    – Autoupdate the game. Requires -steam_dir and -steamcmd_script to be gear up (Linux/Unix merely)
  • -console
    – HLDS will run in console mode (Windows only).
  • -game <game>
    – Specifies which game/modernistic to run. Default is “valve”.
  • -dll <name.dll>
    – Specifies which DLL to employ. Ex:
    -dll addons\metamod\dlls\metamod.dll.
  • -nomaster
    – Disable communication with Master server. Use this parameter if you lot do non want your server to be listed in Server Browser.
  • -insecure
    – Disables Valve Anti-Crook technology.
  • -port <port>
    – Specifies which port to use for client connections. Default is 27015.


    Note.png Note:

    Can do the same with
    port
    panel variable.

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


    Note.png Annotation:

    You only need to change -sport if VAC connections neglect through the primary port.

  • -noip
    – Disables network support.
  • -noipx
    – Disables IPX support.
  • -tos
    – Enables the LOWDELAY TOS header in the udp/ip packets the server generates. (Linux just)
  • -nobreakpad
    – Let plugin authors withal get old style minidumps if they need it (win32 only)
  • -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 expert limit, beyond that seems to crusade hunk_alloc errors[ostend]. Both clients and servers need matching values for all-time compatibility[confirm].
  • -heapsize <kilobytes>
    – Specifies the amount of heap(or free store – cache, an area of memory used for dynamic memory allotment) the engine volition apply. Minimum value is 14336(xiv MB). Maximum value is 131072(128 MB). Past default this is set to 40960 (xl MB) and automatically adjusted to conform your system.


    Note.png Note:

    Depression value causes “Unable to allocate X.X MB” exit error.

  • -zone <bytes>
    – Specifies the amount of Bytes of memory for use with the console system.


    Note.png Note:

    Low value causes Z_Malloc exit error.

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


    Note.png Note:

    Can do the aforementioned with
    maxplayers
    panel 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 name of the server.
  • +ip <address>
    – Specifies the IP when multiple network cards are installed. Required for VAC2 operation.


    Note.png Annotation:

    Normally you exercise non need to specify this.

  • +map <map>
    – Specifies which map to get-go with.
  • +sv_lan <0/1>
    – If set to ane, server is only available in Local Surface area Network (LAN).
  • +mapchangecfgfile <file>
    – Like Server.cfg, ran after every circular change, earlier Plugins are started.
  • -pingboost <ane/two/3>
    – Selects between optimized HLDS network code stack. Set this on 2 usually reduces latency toward 1ms without loss of activity input packets.

Troubleshooting the Server Console

Specifying a map is necessary, otherwise the server is not ready to take connections from players to your server. Yous may wish to specify the “ip” and “port” parameters if you lot are experiencing problems.


Note.png Note:

This only applies to defended servers.

Encounter Also

Programmer Console


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