Talk:Command Line Options
- 1 hldsupdatetool
- 2 Steam (test) script
- 3 -toconsole
- 4 All Switches
- 5 Forcing specific configuration files?
- 6 -binary
- 7 Getting My Map Go For Online Multiplayer
- 8 Missing a few or perhaps a lot.
- 9 -allowdebug
- 10 -heapsize
- 11 -adapter
- 12 Forking for TF2
- 13 Linux and Mac Client Command Line Options
- 14 2020 Updated Command Line Options
- 15 Launch options regarding TF2
So.. how does one do update from hldsupdate tool for your mod? It only accepts mods in its list (CSS, Garry's, TF, etc) but not custom mods. This is really confusing. --Mflux 17:07, 14 Jul 2008 (PDT)
- Presumably you update with the game your mod is based on. Everything else you copy from your client installation --TomEdwards 02:05, 15 Jul 2008 (PDT)
Steam (test) script
What is a Steam (test) script? --King2500 10:03, 26 Jul 2005 (PDT)
- Does anyone know this? --King2500 00:34, 7 Sep 2005 (PDT)
- A script for developers? -ts2do
Does this mean Steam runs in Linux? --TomEdwards 10:36, 26 Jul 2005 (PDT)
- No, it´s only a small application to download and update the linux dedicated servers. --King2500 16:25, 27 Jul 2005 (PDT)
As for "-novideo", I use "-novid", although that is rather trivial. --wisemx 11:40, 26 Jul 2005 (PDT)
-toconsole doesn't work HL2 or Lost Coast. The console appears, but the menu background loads anyway. --TomEdwards 03:30, 3 Jan 2006 (PST)
- Yes, that's correct. I'll need to update the article. You need to add
-devto suppress loading of background maps. Be aware, this is just background maps -- the blurred background images will still appear in HL2. --JeffLane 12:16, 3 Jan 2006 (PST)
Is it posible to have a complete list of switches - not just the common ones (i dont want to look at the engine code no one has)
- That's what we're aspiring to do. However, Valve keeps its secrets, so we sometimes need to employ a bit of creativity (as far as the license agreement permits). A tip: commands beginning with a plus are, in reality, console commands and you can learn about them over at the Console Command List. We'll be updating this section only with the commands starting with a dash. ~~ Ravu 10:00, 6 Jun 2006 (PDT)
Forcing specific configuration files?
Switches regarding config files (Telling Source where to get it's config from) would be extremely useful to have listed here for external application developers and server hosts. --JamesHarrison 07:52, 5 Sep 2006 (PDT)
Is the binary option still supported by the hlds_run script? Also does the srcds_run script support it as well? What about Windows, do these also have different binaries? I have seen an example line like this:
./hlds_run -binary ./hlds_i686 -game cstrike +maxplayers 12 +map de_dust
If all above questions can be answered with "yes", I'd add this to the dedicated server (hlds and srcds) command line options:
- -binary - The server will use the chosen binary instead of auto detecting the best suitable.
--Pizzahut 06:52, 17 Nov 2007 (PST)
Getting My Map Go For Online Multiplayer
Hello, I was wondering if anyone could tell me how I could get my map used for online multiplayer, I'm thinking it has something to do with the Command-Line Parameters. All my friends who I invite to play my maps say that the "Server is not responding." If anyone could help, I'd very much appreciate it. --SuperhumanGambit 11:14, 10 March 2008 (EST)
- https://support.steampowered.com/kb_article.php?ref=7017-UJBN-6785 --TomEdwards 16:18, 10 May 2009 (UTC)
Missing a few or perhaps a lot.
Forces the Steam client to validate or check the files prior to launching the game
Forces the Steam client to rely only on TCP connections rather than UDP connections. This is particularly useful in debugging possible connection issues.
I am sure I can find a bunch of additional client command line options. Annoying that there is no official documentation of that client.
-allowdebug allows plugins built in debug mode (through the IDE) to be loaded by the game engine. Without it, binaries cannot be loaded if they emit any debugging information. Correct me if I'm wrong, but I don't believe -debug does this. --Emi 00:50, 10 July 2010 (UTC)
In my attempts to get Portal 2 to go fullscreen on my auxiliary monitor, I came across the command line switch "-adapter", which had no description with it. Remembering how the adapter option works with other games (Fallout and Amnesia come to mind), I did a bit of trial and error with it.
As I'd originally guessed, "-adapter 0" will output to your main monitor, "-adapter 1" outputs to the second one, and so on. A nasty little side effect though, is that it changes the resolution of both monitors to whatever the game has specified. I'm guessing this is a bug?
--tealsuki 17:42, 4 February 2012 (PST)
Forking for TF2
Will TF2 or other source games get support for the -fork option?
Linux and Mac Client Command Line Options
I noticed that the client command line options section is currently Windows specific. Are the Linux and Mac options the same, or different?--RuediiX 07:58, 22 February 2013 (PST)
2020 Updated Command Line Options
These options are outdated, up to date (as of Oct 2020) is here: https://gist.github.com/xPaw/fe7d275d31da14d70481 You will notice a couple new commands relating to the CEF, or SteamWebHelper
Launch options regarding TF2
I looked through the source code leak of TF2, and by using the launch options found in the 2018 source code leak of TF2 as a filter against the strings in the current TF2 binaries, found that the following launch options are missing in the wiki Source engine launch op list:
P.S There's a typo ("Libray" should be "Library) in the -no-browser launch option section.
- Why would you post leaked code here? Darnias (talk) 21:27, 29 May 2021 (PDT)