Talk:Command line options

From Valve Developer Community
(Redirected from Talk:Command Line Options)
Jump to navigation Jump to search

hldsupdatetool

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

-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 -dev to 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)


All Switches

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)

-binary

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.

-cafeapplaunch

Forces the Steam client to validate or check the files prior to launching the game

-tcp

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. Unsigned comment added by Cometcom1 (talkcontribs) Always sign your posts with four tildes (~~~~)

-allowdebug

-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)

-heapsize

As of 21st september update this flag should be removed, I think. --Rain93 16:20, 28 September 2010 (UTC)

-adapter

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? Unsigned comment added by TronPaul (talkcontribs) Always sign your posts with four tildes (~~~~)

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)

They seem to be the same on Linux, save for the fact that -dx9 does seemingly nothing. Don't quote me on that though, I only checked ctf_gorge. --UnixTMDev 01:54, 23 February 2024 (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 Unsigned comment added by Jonius7 (talkcontribs) Always sign your posts with four tildes (~~~~)

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:

  • -gamestatsfileoutputonly
  • -menupaintduringinit

I have these launch ops (and some more of them) documented here.

P.S There's a typo ("Libray" should be "Library) in the -no-browser launch option section. --Amicdict (talk) 07:13, 29 May 2021 (PDT)

Why would you post leaked code here? Darnias (talk) 21:27, 29 May 2021 (PDT)
But, the posted GitHub repo has no code and only .MD and .TXT files? Seemingly its contents only document about launch options, unused weapons and internal entities relating to TF2. Not sure what do you mean? -- Orin (talk) 08:03, 30 May 2021 (PDT)

Move back to Command line argument

  1. Most things aren't plural in Category:Steam.
  2. Sections are plural.
  3. Options are unreferenced after 1 day.
  4. Moved by User:Lxm6#User:SirYodaJedi.

Lxm6 (talk) 12:18, 20 July 2023 (PDT)