Half-Life

Half-Life

Revaj May 4, 2018 @ 6:13pm
How do I start Half life with commands from console without opening console?
I just want to now how to I start up Half life with command without opening up the console.

This Is pretty much what I want to happen: I start up the, the game will execute the comands as soon as I start the game (In the backround) Please help!!

The command I want to use is "gl_texturemode gl_nearest"
Last edited by Revaj; May 4, 2018 @ 6:14pm
< >
Showing 1-15 of 17 comments
Blyte May 4, 2018 @ 10:00pm 
Use the game launch options.
1 Click Library in Steam
2 Right click the Half-Life game
3 Next select properties
4 Click the box "set launch options"
5 Then enter the command "commands you want to use" no quote marks
EX: Then enter the command "-normal -windowed -w 800" no quote marks
6 Click ok

Good luck and happy gaming.
---
Note:
-w <width> - Forces the engine to start with resolution set to <width>.
-h <height> - Forces the engine to start with resolution set to <height>. This launch option does not need to be set in the presence of -w. The width value will determine the height automatically.

standard height size is determined by the screen mode -norm or -widescreem
----
P.S
Here are more "set launch options" commands that can be used for video.
-fullscreen : no framed window
-windowed : game will be in a framed window
-noboarder : removes frame from around a window
-gl : open_gl graphics rendering
-software : CPU graphic rendering
-normal : monitor size 4:3 ratio
-wide : monitor size 16:9or10 ratio
+gl_vsync 0 : turns off verical Synch in open_gl rendering (can improve FPS)
-nofbo : this turns off some advance rendering in open_gl (can improve FPS)
-nomsaa : turns off AA ;Anti-Aliasing (can improve FPS)
-gl_aniso 0 : Removes anisotrophic filtering (can improve FPS)
-w 800 : width screen resolution size (other sizes can be used)
-h 600 : height screen resolution size (other sizes can be used)
SURVIVOR-DUP May 5, 2018 @ 1:55am 
Add "-gl_texturemode gl_nearest" into the launch options without quotation marks.
Ikagura May 5, 2018 @ 2:22am 
Originally posted by Teabλg Johnson:
Add "-gl_texturemode gl_nearest" into the launch options without quotation marks.
I should try that!
Revaj May 5, 2018 @ 5:13am 
Originally posted by Teabλg Johnson:
Add "-gl_texturemode gl_nearest" into the launch options without quotation marks.
I've already tried that.
Revaj May 5, 2018 @ 5:13am 
Originally posted by -=GOz=-Blyte:
Use the game launch options.
1 Click Library in Steam
2 Right click the Half-Life game
3 Next select properties
4 Click the box "set launch options"
5 Then enter the command "commands you want to use" no quote marks
EX: Then enter the command "-normal -windowed -w 800" no quote marks
6 Click ok

Good luck and happy gaming.
---
Note:
-w <width> - Forces the engine to start with resolution set to <width>.
-h <height> - Forces the engine to start with resolution set to <height>. This launch option does not need to be set in the presence of -w. The width value will determine the height automatically.

standard height size is determined by the screen mode -norm or -widescreem
----
P.S
Here are more "set launch options" commands that can be used for video.
-fullscreen : no framed window
-windowed : game will be in a framed window
-noboarder : removes frame from around a window
-gl : open_gl graphics rendering
-software : CPU graphic rendering
-normal : monitor size 4:3 ratio
-wide : monitor size 16:9or10 ratio
+gl_vsync 0 : turns off verical Synch in open_gl rendering (can improve FPS)
-nofbo : this turns off some advance rendering in open_gl (can improve FPS)
-nomsaa : turns off AA ;Anti-Aliasing (can improve FPS)
-gl_aniso 0 : Removes anisotrophic filtering (can improve FPS)
-w 800 : width screen resolution size (other sizes can be used)
-h 600 : height screen resolution size (other sizes can be used)

I've already tried that.
Revaj May 5, 2018 @ 5:53am 
Originally posted by Ikagura:
Originally posted by Teabλg Johnson:
Add "-gl_texturemode gl_nearest" into the launch options without quotation marks.
I should try that!
Does it work for you?
Ikagura May 5, 2018 @ 6:24am 
Originally posted by starcorn35:
Originally posted by Ikagura:
I should try that!
Does it work for you?
nope.


@Teabλg Johnson are you sure this works? I ctrl+c ctrl+v what you said without the quotes in the launch options
Revaj May 5, 2018 @ 6:37am 
Originally posted by Ikagura:
Originally posted by starcorn35:
Does it work for you?
nope.


@Teabλg Johnson are you sure this works? I ctrl+c ctrl+v what you said without the quotes in the launch options

Then what do I do?
SURVIVOR-DUP May 5, 2018 @ 9:45am 
Originally posted by Ikagura:
Originally posted by starcorn35:
Does it work for you?
nope.


@Teabλg Johnson are you sure this works? I ctrl+c ctrl+v what you said without the quotes in the launch options
It's a guess i took. You should do it on HL's console and it should add it to the config or you manually do it (somehow).
I'm far from my computer so i cannot test it myself.
Blyte May 5, 2018 @ 6:05pm 
in launch option
+gl_texturemode "gl_nearest" +gl_round_down "0"

Small hint to justify this bump post for those who have multiple single player mods installed - you can create an autoexec.cfg file (open Notepad and save as autoexec.cfg in your Half-Life folder, where hl.exe is located) and put all the commands you wish to automatically execute in it without the "+" sign:

in autoexec.cfg file

gl_texturemode "gl_nearest"
gl_round_down 0

Sikobae May 6, 2018 @ 1:50am 
Christ, 2018 and people (supposed pros even) still confusing + and - commands.
Ikagura May 6, 2018 @ 1:54am 
Originally posted by Sikobae:
Christ, 2018 and people (supposed pros even) still confusing + and - commands.
I wasn't even aware what was the difference (the one I knew the first was -dev console)
Ikagura May 6, 2018 @ 1:55am 
Originally posted by -=GOz=-Blyte:
in launch option
+gl_texturemode "gl_nearest" +gl_round_down "0"

Small hint to justify this bump post for those who have multiple single player mods installed - you can create an autoexec.cfg file (open Notepad and save as autoexec.cfg in your Half-Life folder, where hl.exe is located) and put all the commands you wish to automatically execute in it without the "+" sign:

in autoexec.cfg file

gl_texturemode "gl_nearest"
gl_round_down 0
Thanks a lot! It works.

By the way what does round down 0 do?
matrixdll May 6, 2018 @ 2:11am 
Yup, autoexec.cfg is the most painless option (besides, it will execute commands for every goldsrc mod as well, so you don't have to add same command lines in launch options for every entry in your Steam library)

By the way what does round down 0 do?
It disables an OpenGL feature that causes some textures to look blurrier than they actually are.
Here's comparison:
gl_round_down 3 (Default value)
https://steamcommunity.com/sharedfiles/filedetails/?id=1327500659
gl_round_down 0
https://steamcommunity.com/sharedfiles/filedetails/?id=1327500553

P.S.
If you would like to disable bilinear filtering, then I'd highly recommend to use
gl_texturemode GL_NEAREST_MIPMAP_LINEAR
instead of just
gl_texturemode GL_NEAREST

It will help to reduce texture shimmering at a distance, when the resolution of textures exceeds the amount of monitor pixels they're displayed on.
Last edited by matrixdll; May 6, 2018 @ 2:16am
Sikobae May 6, 2018 @ 2:39am 
Originally posted by Ikagura:
I wasn't even aware what was the difference (the one I knew the first was -dev console)

Have you ever dabbled in custom Autoexecs in any Quake/Source game before?
Last edited by Sikobae; May 6, 2018 @ 2:40am
< >
Showing 1-15 of 17 comments
Per page: 1530 50

Date Posted: May 4, 2018 @ 6:13pm
Posts: 17