Author Topic: Using command line parameters  (Read 4266 times)

0 Members and 1 Guest are viewing this topic.

Offline hiTrec

  • *
  • Posts: 14
    • http://
Using command line parameters
« on: November 06, 2003, 09:44:13 AM »
I want to ask how does command line work!
I write path to my hl.exe like c:\games\hl\hl.exe -console -game cstrike (for cs1.5)
I write path to my hl.exe like c:\games\hl\hl.exe -game cstrike (for cs1.6)


what the finite string of line when i push start button?
Is it so?: c:\games\hl\hl.exe - console -game cstrike +connet ip?
« Last Edit: February 24, 2004, 05:52:21 PM by piramida »

► SLF - Server List Forum

Using command line parameters
« on: November 06, 2003, 09:44:13 AM »

Offline piramida

  • Administrator
  • *****
  • Posts: 1070
    • aGSM.Net
Using command line parameters
« Reply #1 on: February 24, 2004, 05:50:15 PM »
Not quite - path to hl.exe should be c:\games\hl\hl.exe, since that's what is being launched, then you would have two command-line configs - CS 1.5 and CS 1.6, which would have -game cstrike and other params you want.

Then the final string would be <game exe path> + <command line params config you selected (or default)> + <connect string for that gametype>.