Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Half-Life"

From PCGamingWiki, the wiki about fixing PC games
(Undo revision 1262489 by Gorilli09 (talk))
Tag: Undo
Line 1: Line 1:
{{stub}}
+
{{Disambig|the original game|the Source engine port|[[Half-Life: Source]]|the unofficial remake|[[Black Mesa]]}}
 
{{Infobox game
 
{{Infobox game
|cover        = GAME TITLE cover.jpg
+
|cover        = Half-Life cover.jpg
 
|developers  =  
 
|developers  =  
{{Infobox game/row/developer|Developer}}
+
{{Infobox game/row/developer|Valve Corporation}}
 
|publishers  =  
 
|publishers  =  
{{Infobox game/row/publisher|Publisher}}
+
{{Infobox game/row/publisher|Sierra On-Line|1998-2005}}
 +
{{Infobox game/row/publisher|Valve Corporation|2005-present}}
 
|engines      =  
 
|engines      =  
 +
{{Infobox game/row/engine|GoldSrc}}
 
|release dates=  
 
|release dates=  
{{Infobox game/row/date|Windows|TBA}}
+
{{Infobox game/row/date|Windows|November 19, 1998}}
 +
{{Infobox game/row/date|OS X|January 25, 2013}}
 +
{{Infobox game/row/date|Linux|January 25, 2013}}
 
|reception    =  
 
|reception    =  
{{Infobox game/row/reception|Metacritic|link|rating}}
+
{{Infobox game/row/reception|Metacritic|half-life|96}}
{{Infobox game/row/reception|OpenCritic|link|rating}}
+
|taxonomy    =  
{{Infobox game/row/reception|IGDB|link|rating}}
+
{{Infobox game/row/taxonomy/monetization      | }}
|taxonomy    =
+
{{Infobox game/row/taxonomy/microtransactions | None }}
{{Infobox game/row/taxonomy/monetization      | One-time game purchase }}
+
{{Infobox game/row/taxonomy/modes            | Singleplayer, Multiplayer }}
{{Infobox game/row/taxonomy/microtransactions | }}
+
{{Infobox game/row/taxonomy/pacing            | Real-time }}
{{Infobox game/row/taxonomy/modes            | }}
+
{{Infobox game/row/taxonomy/perspectives      | First-person }}
{{Infobox game/row/taxonomy/pacing            | }}
+
{{Infobox game/row/taxonomy/controls          | Direct control }}
{{Infobox game/row/taxonomy/perspectives      | }}
+
{{Infobox game/row/taxonomy/genres            | FPS }}
{{Infobox game/row/taxonomy/controls          | }}
 
{{Infobox game/row/taxonomy/genres            | }}
 
 
{{Infobox game/row/taxonomy/sports            | }}
 
{{Infobox game/row/taxonomy/sports            | }}
 
{{Infobox game/row/taxonomy/vehicles          | }}
 
{{Infobox game/row/taxonomy/vehicles          | }}
{{Infobox game/row/taxonomy/art styles        | }}
+
{{Infobox game/row/taxonomy/art styles        | Realistic }}
{{Infobox game/row/taxonomy/themes            | }}
+
{{Infobox game/row/taxonomy/themes            | Sci-fi, North America }}
{{Infobox game/row/taxonomy/series            | }}
+
{{Infobox game/row/taxonomy/series            | Half-Life }}
|steam appid  =  
+
|steam appid  = 70
|steam appid side =  
+
|steam appid side = 323130
 
|gogcom id    =  
 
|gogcom id    =  
|gogcom id side =
+
|official site= https://www.half-life.com/en/halflife
|official site=  
+
|hltb        = 4247
|hltb        =  
+
|igdb        = half-life
|igdb        = <!-- Only needs to be set if there is no IGDB reception row -->
+
|lutris      = half-life
|lutris      =  
+
|mobygames    = half-life
|mobygames    =  
+
|strategywiki = Half-Life
|strategywiki =  
+
|wikipedia    = Half-Life (video game)
|wikipedia    =  
+
|winehq      = 8
|winehq      =  
+
|license      = commercial
|license      =  
 
 
}}
 
}}
  
Line 46: Line 47:
 
|release history  =  
 
|release history  =  
  
|current state    =
+
|current state    =  
 
}}
 
}}
 +
 +
'''General information'''
 +
{{mm}} [https://github.com/ValveSoftware/halflife/issues GitHub Issue Tracker for Half-Life] and other GoldSrc-based games
 +
{{mm}} [https://steamcommunity.com/app/70/discussions/ Steam Community Discussions]
  
 
==Availability==
 
==Availability==
 
{{Availability|
 
{{Availability|
{{Availability/row| store | id | drm | notes | keys | Windows }}
+
{{Availability/row| Retail |  | disc, key | Disc only needed to play CD music, and in previous versions; authenticate. | Steam | Windows }}
 +
{{Availability/row| Retail | | Steam | Half-Life 1 Anthology, and 2005 Jewel-case.  |  | Windows }}
 +
{{Availability/row| Steam | 70 | Steam | | | Windows, OS X, Linux }}
 
}}
 
}}
 +
{{ii}} All non-Steam releases can be redeemed on Steam.
 +
{{++}} Soundtrack is available for free {{store link|Steam|323130|here}}. FLAC files are also available if "Download high-quality audio files" is checked in Steam's music settings.
 +
{{++}} Steam Edition has been updated to have full OpenGL support with texture filtering and smooth dynamic lighting.
 +
 +
===Demos===
 +
====[http://www.halflifeuplink.com/ Half-Life: Uplink]====
 +
{{ii}} The official public demo that includes an exclusive chapter (and a training level) with content not found in the full release. It can be downloaded [https://community.pcgamingwiki.com/files/file/286-half-life-uplink-demo/ here].
 +
{{ii}} The demo uses an older version of GoldSrc, which may have compatibility issues with modern systems. For full compatibility with the Steam version, the [https://www.halflifeuplink.com/hlulsl/ HL!UL!SL] mod reworks the demo as a Half-Life mod.
 +
 +
====Half-Life: Day One====
 +
{{ii}} A pre-release demo exclusive to OEMs. It contains the chapters from the full release up to and including "We've Got Hostiles" (5 chapters and a training level). It can be downloaded [https://community.pcgamingwiki.com/files/file/287-half-life-day-one-demo/ here].
 +
{{ii}} Note that the demo uses an older version of GoldSrc, which may have compatibility issues with modern systems.
 +
 +
===Version differences===
 +
{{ii}} '''Half-Life: Game of the Year Edition''' comes with both the base game and [[Team Fortress Classic]].
 +
{{ii}} '''Half-Life: Dreamcast''' is an unreleased port of Half-Life to the Sega Dreamcast. It includes various differences from the PC release (ex. modified levels, new models, adjusted difficulty, etc.). A mod that ports the Dreamcast version as a Half-Life mod is available on [https://www.moddb.com/mods/half-life-dreamcast Mod DB].
  
==Monetization==
+
==Essential improvements==
{{Monetization
+
===Official retail patches===
|ad-supported          =  
+
{{ii}} These are not needed for the Steam version as that already contains the latest version.
|dlc                    =  
+
An archive of all official patches for Half-Life and its expansions can be found [https://www.moddb.com/games/counter-strike/downloads/half-life-updates-pre-post-1100 here]
|expansion pack        =  
 
|freeware              =  
 
|free-to-play          =  
 
|one-time game purchase = The game requires an upfront purchase to access.
 
|sponsored              =
 
|subscription          =  
 
}}
 
  
===Microtransactions===
+
===Peixoto's patch===
{{Microtransactions
+
[https://www.patreon.com/user?u=44312848 Peixoto's patch] forced resolution allows high resolution without shrinking the HUD\menus. Super sampling anti aliasing is also possible
|boost              =
 
|cosmetic            =
 
|currency            =
 
|finite spend        =
 
|infinite spend      =
 
|free-to-grind      =
 
|loot box            =
 
|none                = None
 
|player trading      =
 
|time-limited        =
 
|unlock              =
 
}}
 
  
{{DLC|
+
===Disable texture resizing===
<!-- DLC rows goes below: -->
+
{{ii}} By default, the game resizes textures to the nearest [[Wikipedia:Power of two|power of 2]]. This behavior can be disabled on hardware that supports non-power-of-two textures (most modern GPUs released within the past 15 years support them) by setting {{code|gl_round_down}} to {{code|0}} in the [[#Configuration file(s) location|configuration files]].
  
 +
===Skip intro videos for the Retail version===
 +
{{ii}} Steam release has no videos.
 +
{{Fixbox|description=Use the [[Glossary:Command line arguments|{{code|-console}}]] command-line argument.|ref=<ref>{{Refcheck|user=Tecc|date=2021-04-10|comment=Intro files will be skipped by using this command-line argument. (only for the retail version)}}</ref>|fix=
 
}}
 
}}
  
Line 89: Line 96:
 
===Configuration file(s) location===
 
===Configuration file(s) location===
 
{{Game data|
 
{{Game data|
{{Game data/config|Windows|}}
+
{{Game data/config|Windows|{{P|hkcu}}\Software\Valve\Half-Life\}}
 +
{{Game data/config|Steam|{{P|game}}/valve/}}
 
}}
 
}}
 +
{{ii}} {{File|*.cfg}} files store the configuration.
 +
{{XDG|false}}
  
 
===Save game data location===
 
===Save game data location===
 
{{Game data|
 
{{Game data|
{{Game data/saves|Windows|}}
+
{{Game data/saves|Windows|{{P|game}}\valve\SAVE\}}
 +
{{Game data/saves|OS X|{{P|game}}/valve/SAVE}}
 +
{{Game data/saves|Linux|{{P|game}}/valve/SAVE/}}
 
}}
 
}}
 +
 +
The file names follow the pattern:
 +
* autosave.sav
 +
* half-life-000.sav
 +
* half-life-001.sav
 +
* ...
 +
 +
The [[Wikipedia: Magic number (programming)|magic number]] (the file signature at the beginning of the file, consisting of two or more hexadecimal values) is <code>JSAV</code> in ISO 8859-1 encoding (<code>4A53 4156</code> in hexadecimal).
  
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
Line 107: Line 127:
 
|origin                    =  
 
|origin                    =  
 
|origin notes              =  
 
|origin notes              =  
|steam cloud              =  
+
|steam cloud              = true
 
|steam cloud notes        =  
 
|steam cloud notes        =  
 
|ubisoft connect          =  
 
|ubisoft connect          =  
Line 116: Line 136:
  
 
==Video==
 
==Video==
 +
{{Image|Half Life Video.png|In-game video settings (Steam version)}}
 
{{Video
 
{{Video
|wsgf link                  =  
+
|wsgf link                  = https://www.wsgf.org/dr/half-life-steam
|widescreen wsgf award      =  
+
|widescreen wsgf award      = silver
|multimonitor wsgf award    =  
+
|multimonitor wsgf award    = unsupported
|ultrawidescreen wsgf award =  
+
|ultrawidescreen wsgf award = incomplete
|4k ultra hd wsgf award    =  
+
|4k ultra hd wsgf award    = incomplete
|widescreen resolution      = unknown
+
|widescreen resolution      = true
|widescreen resolution notes=  
+
|widescreen resolution notes= Game is {{term|Vert-}}; see [[#Field of view (FOV)|Field of view (FOV)]] for a workaround.<br>Use [https://community.pcgamingwiki.com/files/file/1228-half-life-won-resolution-fov-mp3-patch/ Half-Life WON Resolution FOV MP3 Patch] for non-Steam versions
|multimonitor              = unknown
+
|multimonitor              = false
 
|multimonitor notes        =  
 
|multimonitor notes        =  
|ultrawidescreen            = unknown
+
|ultrawidescreen            = limited
|ultrawidescreen notes      =  
+
|ultrawidescreen notes      = {{term|Vert-}}. Increase FOV to compensate. See [[#Field of view (FOV)|Field of view (FOV)]].
|4k ultra hd                = unknown
+
|4k ultra hd                = true
|4k ultra hd notes          =  
+
|4k ultra hd notes          = Both in-game and menu UI may become too small on displays with a high pixel density, see [[#4K Ultra HD|4K Ultra HD]] for various fixes.
|fov                        = unknown
+
|fov                        = hackable
|fov notes                  =  
+
|fov notes                  = 90 by default. See [[#Field of view (FOV)|Field of view (FOV)]].
|windowed                  = unknown
+
|windowed                  = true
 
|windowed notes            =  
 
|windowed notes            =  
|borderless windowed        = unknown
+
|borderless windowed        = hackable
|borderless windowed notes  =  
+
|borderless windowed notes  = Use [[Glossary:Command line arguments|{{code|-window -noborder}}]].
|anisotropic                = unknown
+
|anisotropic                = limited
|anisotropic notes          =  
+
|anisotropic notes          = 16 samples by default in Steam version. Use {{code|gl_ansio X}}[sic] in the console, with X as number of samples. <br/> See [[#OpenGL texture filtering|OpenGL texture filtering]] to disable texture filtering altogether.
|antialiasing              = unknown
+
|antialiasing              = limited
|antialiasing notes        =  
+
|antialiasing notes        = 4x MSAA by default in Steam version. Use [[Glossary:Command line arguments|{{code|-nomsaa}}]] to force off. Enhanceable to [[HSAA]] on Nvidia systems.{{note|SGSSAA is also technically possible, but a GPU driver bug results in affine textures becoming extremely blurry in OpenGL games such as this title, especially noticable when texture filtering is disabled.}}
|vsync                      = unknown
+
|vsync                      = true
|vsync notes                =  
+
|vsync notes                = Always on for the retail version.
|60 fps                    = unknown
+
|60 fps                    = true
 
|60 fps notes              =  
 
|60 fps notes              =  
|120 fps                    = unknown
+
|120 fps                    = hackable
|120 fps notes              =  
+
|120 fps notes              = Capped at 100 FPS (72 FPS in retail version) by default. See [[#High frame rate|High frame rate]].
|hdr                        = unknown
+
|hdr                        = false
|hdr notes                  =  
+
|hdr notes                  = See [[#OpenGL overbright lighting|OpenGL overbright lighting]] to increase the rendering dynamic range.
|ray tracing                = unknown
+
|color blind                = false
|ray tracing notes          =
 
|color blind                = unknown
 
 
|color blind notes          =  
 
|color blind notes          =  
 +
}}
 +
{{ii}} For a list of console commands, see [http://gamegate2k.com/half-life/guides/basic-console-commands here].
 +
 +
===[[Glossary:4K Ultra HD|4K Ultra HD]]===
 +
{{cleanup|section|[[Topic:Vhyan479k8jy5e2x|Provide a vanilla resized HUD and crosshairs]]. Figure out how to increase other font sizes}}
 +
{{ii}} Assets are designed for 640x480, and UI may be too small at higher resolutions.
 +
{{Fixbox|description=Increase font sizes|ref=<ref>[https://www.moddb.com/games/half-life/addons/increased-fonts-for-hl1 Increased Fonts For HL1 addon - Half-Life - Mod DB]</ref><ref>{{Refcheck|user=SirYodaJedi|date=2020-03-04|comment=Figured out more vanilla-esque settings}}</ref>|fix=
 +
<ol>
 +
<li>Open {{file|{{p|game}}\platform\resource\TrackerScheme.res}} in a text editor.
 +
<li>Under {{code|"Legacy_CreditsFont"}}, change {{code|"tall"}} as desired to change the size of the in-game credits font, used for the opening credits, level titles, and tutorial prompts.<br/>Recommended settings for a similar font size to that used in 640x480 are:
 +
<ul>
 +
<li>{{code|"30"}} for 720p or 768p
 +
<li>{{code|"40"}} for 960p, 1024p, or 1080p
 +
<li>{{code|"50"}} for 1200p
 +
<li>{{code|"60"}} for 1440p
 +
<li>{{code|"70"}} for 1600p
 +
<li>{{code|"80"}} for 2160p ("4K")
 +
<!--Additional resolutions for early adopters and iMac owners-->
 +
<li>{{code|"120"}} for 2880p ("5K")
 +
<li>{{code|"135"}} for 3240p ("6K")
 +
<li>{{code|"180"}} for 4320p ("8K")
 +
</ul>
 +
</ol>
 +
}}
 +
 +
===[[Glossary:Field of view (FOV)|Field of view (FOV)]]===
 +
{{ii}} FOV adjustment may be necessary at widescreen resolutions.
 +
 +
{{Fixbox|description=Field of view|ref=<ref>https://steamcommunity.com/app/70/discussions/0/620713633859376599/ Is there anyway to change the default F.O.V.? :: Half Life General Discussions</ref>|fix=
 +
# In the game's launch options, add {{code|+default_fov ###}}, replacing {{code|###}} with the desired FOV.
 +
# While in game, open the console ({{key|~}}).
 +
# Type {{code|default_fov}} and press {{key|Enter}} to confirm the changes have taken place in-game.
 +
 +
''Notes''
 +
{{--}} Weapon models are affected by changes in FOV.
 +
{{ii}} To maintain identical vertical FOV to the 4:3 FOV at 16:9 resolutions, use {{code|106}}. At 21:9 resolutions, use {{code|121}}.
 +
}}
 +
 +
===[[Glossary:Frame rate (FPS)|High frame rate]]===
 +
{{Fixbox|description=Use [[Glossary:Command line arguments|{{code|+developer 1 +fps_override 1 +fps_max ###}}]]|ref=<ref name="highfps">[https://steamcommunity.com/app/70/discussions/0/864973577972636754/#c412449508277202160 How to get 144hz/fps?]</ref>|fix=
 +
{{ii}} Disabling the cap may reduce the speed at which you move objects.<ref name="highfps"/> NPC turn rate bug was fixed.<ref>[https://steamcommunity.com/games/70/announcements/detail/1586880891220596672 Steam Community :: Half-Life :: Events]</ref>
 +
}}
 +
 +
===OpenGL texture filtering===
 +
{{ii}} By default the filtering is enabled (not in Software rendering mode).
 +
{{Fixbox|description=Disable OpenGL texture filtering<ref>[https://steamcommunity.com/sharedfiles/filedetails/?id=244861148 How to remove texture filtering in OpenGL]</ref>|fix=
 +
# Go to {{code|{{P|game}}}}.
 +
# Create a file called {{file|autoexec.cfg}}.
 +
# Add new line {{code|gl_texturemode gl_nearest}}.
 +
# Save the file.
 +
 +
'''Notes'''
 +
{{ii}} Using the line {{code|gl_texturemode gl_nearest_mipmap_linear}} instead will enable mipmapping to prevent some textures from flickering at a distance, but will be blurry if not combined with anisotropic filtering.
 +
}}
 +
 +
===OpenGL overbright lighting===
 +
{{ii}} Overbright lighting increases the rendering [[Glossary:High dynamic range (HDR)|dynamic range]], resulting brighter and more colorful visuals.
 +
{{--}} Overbright lighting normally only works on the Direct3D and software renderers.<ref>[https://www.vogons.org/viewtopic.php?f=5&t=47313 VOGONS • View topic - Half-Life overbright compatibility]</ref><ref>[https://github.com/ValveSoftware/halflife/issues/230 gl_overbright & OpenGL · Issue #230 · ValveSoftware/halflife]</ref>
 +
 +
<!-- NOTE FOR EDITORS: The profile name doesn't have any hyphen; don't change that! -->
 +
{{Fixbox|description=Nvidia cards: Enable the GL extension limiter|ref=<ref>[https://www.reddit.com/r/HalfLife/comments/8uitxw/halflife_with_openal_efx_surround_sound_and_hrtf/ Half-Life with OpenAL (EFX, Surround Sound, and HRTF!) : HalfLife]</ref>|fix=
 +
# Download and run [[Nvidia Profile Inspector]].
 +
# On the '''Half Life''' profile, set {{code|Extension limit}} to {{code|On}}. Apply changes.
 +
# Go to {{code|{{P|game}}}}.
 +
# Create a file called {{file|autoexec.cfg}}.
 +
# Add new line {{code|gl_overbright "1"}}.
 +
# Save the file.
 +
 +
'''Notes'''
 +
{{--}} Doing this will disable multi-texturing, which has the side-effect of disabling detail textures, which may effect the appearance of other games and mods that share {{code|hl1.exe}}, including [[Counter-Strike: Condition Zero]] and [[Day of Defeat]].
 +
{{ii}} Doing this disables the Steam version's built-in [[MSAA]]. On the '''Half Life''' profile, change {{code|Antialiasing - Mode}} to {{code|Override any application setting}} and {{code|Antialiasing - Setting}} to the desired level of antialiasing (such as {{code|4x [4x Multisampling]}} for a vanilla look, or {{code|32xS [Combined: 2x2 SS + 8x MS]}} for maximum antialiasing).
 
}}
 
}}
  
 
==Input==
 
==Input==
 +
{{Image|Half Life Remapping.png|In-game key map settings (Steam version)}}
 +
{{Image|Half Life Mouse Joystick.png|In-game mouse/joystick settings (Steam version)}}
 
{{Input
 
{{Input
|key remap                = unknown
+
|key remap                = true
 
|key remap notes          =  
 
|key remap notes          =  
|acceleration option      = unknown
+
|acceleration option      = false
 
|acceleration option notes =  
 
|acceleration option notes =  
|mouse sensitivity        = unknown
+
|mouse sensitivity        = true
 
|mouse sensitivity notes  =  
 
|mouse sensitivity notes  =  
|mouse menu                = unknown
+
|mouse menu                = true
 
|mouse menu notes          =  
 
|mouse menu notes          =  
|invert mouse y-axis      = unknown
+
|invert mouse y-axis      = true
 
|invert mouse y-axis notes =  
 
|invert mouse y-axis notes =  
 
|touchscreen              = unknown
 
|touchscreen              = unknown
 
|touchscreen notes        =  
 
|touchscreen notes        =  
|controller support        = unknown
+
|controller support        = true
|controller support notes  =  
+
|controller support notes  = Intended for single sticks like a flight stick; controllers like an Xbox 360 Controller will only use the left stick.
|full controller          = unknown
+
|full controller          = false
 
|full controller notes    =  
 
|full controller notes    =  
|controller remap          = unknown
+
|controller remap          = true
 
|controller remap notes    =  
 
|controller remap notes    =  
|controller sensitivity    = unknown
+
|controller sensitivity    = false
 
|controller sensitivity notes=  
 
|controller sensitivity notes=  
|invert controller y-axis  = unknown
+
|invert controller y-axis  = false
 
|invert controller y-axis notes=  
 
|invert controller y-axis notes=  
 
|xinput controllers        = unknown
 
|xinput controllers        = unknown
Line 188: Line 280:
 
|dualshock prompts        = unknown
 
|dualshock prompts        = unknown
 
|dualshock prompts notes  =  
 
|dualshock prompts notes  =  
|light bar support        = unknown
+
|light bar support        = false
 
|light bar support notes  =  
 
|light bar support notes  =  
 
|dualshock 4 modes        = unknown
 
|dualshock 4 modes        = unknown
 
|dualshock 4 modes notes  =  
 
|dualshock 4 modes notes  =  
|tracked motion controllers= unknown
+
|tracked motion controllers= true
|tracked motion controllers notes =  
+
|tracked motion controllers notes = Supports [[Controller:Razer Hydra|Razer Hydra]].
 
|tracked motion prompts    = unknown
 
|tracked motion prompts    = unknown
 
|tracked motion prompts notes =  
 
|tracked motion prompts notes =  
|other controllers        = unknown
+
|other controllers        = true
 
|other controllers notes  =  
 
|other controllers notes  =  
 
|other button prompts      = unknown
 
|other button prompts      = unknown
 
|other button prompts notes=  
 
|other button prompts notes=  
|controller hotplug        = unknown
+
|button prompts            = false
 +
|button prompts notes      =
 +
|controller hotplug        = false
 
|controller hotplug notes  =  
 
|controller hotplug notes  =  
|haptic feedback          = unknown
+
|haptic feedback          = false
 
|haptic feedback notes    =  
 
|haptic feedback notes    =  
|simultaneous input        = unknown
+
|simultaneous input        = true
 
|simultaneous input notes  =  
 
|simultaneous input notes  =  
 
|steam input api          = unknown
 
|steam input api          = unknown
Line 219: Line 313:
  
 
==Audio==
 
==Audio==
 +
{{Image|Half Life Audio.png|In-game audio settings (Steam version)}}
 
{{Audio
 
{{Audio
|separate volume           = unknown
+
|separate volume         = true
|separate volume notes     =  
+
|separate volume notes   =  
|surround sound           = unknown
+
|surround sound           = false
|surround sound notes     =  
+
|surround sound notes     = Lost with Linux update.<ref name="steamcommunity.com">[https://steamcommunity.com/app/70/discussions/0/828934913113943429 Steam HL1 5.1 sound - Steam discussions forums].</ref> Can be restored in retail version with [[Glossary:Sound card#DirectSound hardware path|DirectSound 3D restoration software]] (Creative Alchemy or dsoal).
|subtitles                 = unknown
+
|subtitles               = hackable
|subtitles notes           =  
+
|subtitles notes         = Use [https://www.gamepressure.com/download.asp?ID=51023 Half-Life: Subtitles mod]
|closed captions           = unknown
+
|closed captions         = false
|closed captions notes     =  
+
|closed captions notes   =  
|mute on focus lost       = unknown
+
|mute on focus lost       = true
|mute on focus lost notes =  
+
|mute on focus lost notes =  
|eax support               =  
+
|eax support             = limited
|eax support notes         =  
+
|eax support notes       = A3D 2.0<ref>[https://web.archive.org/web/20000129224243/http://www.vortexofsound.com/techhelp/gm_hl.htm Tech help: Half-Life - Vortex of Sound] (retrieved)</ref><ref>[http://members.optusnet.com.au/kirben/halflife.html Half Life Aureal A3D Fix - Aureal A3D Central]</ref> and EAX were supported. <br />Both have been removed during the transition to SteamPipe.<ref>[https://steamcommunity.com/games/70/announcements/detail/1028213937978037958 Half-Life 1 updated].</ref><br/>See [[#MetaAudio|MetaAudio]] for Steam version.
|red book cd audio         =  
+
|red book cd audio       = limited
|red book cd audio notes  =
+
|red book cd audio notes  = Deprecated with MP3 playback since 1.1.0.9. Current release still supports reading from CD when available.
|general midi audio        =
 
|general midi audio notes  =  
 
 
}}
 
}}
  
Line 242: Line 335:
 
  |language  = English
 
  |language  = English
 
  |interface = true
 
  |interface = true
  |audio    = unknown
+
  |audio    = true
  |subtitles = unknown
+
  |subtitles = hackable
 +
|notes    = [https://www.gamepressure.com/download.asp?ID=51023 subtitles mod]
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Simplified Chinese
 +
|interface = true
 +
|audio    = true
 +
|subtitles = n/a
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
  |ref      =  
+
}}
 +
{{L10n/switch
 +
  |language  = Traditional Chinese
 +
|interface = true
 +
|audio    = true
 +
|subtitles = n/a
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = French
 +
|interface = true
 +
|audio    = true
 +
|subtitles = n/a
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = German
 +
|interface = true
 +
|audio    = true
 +
|subtitles = n/a
 +
|notes    = Censored (enemy soldiers replaced with robots, gore removed). An uncut DLC was released after
 +
BPjM cleared the game, but it has since gone. Players can still play in English, [https://web.archive.org/web/20150422183521/https://support.steampowered.com/kb_article.php?ref=4917-GLXC-1280 edit their registry], or ask the Steam Support to remove all Low-Violence tags from their GoldSource games.
 +
|fan      =
 +
|ref      = <ref>[https://www.polygon.com/2017/5/4/15543420/half-life-german-version-uncensored Half-Life goes uncensored in Germany, two decades after original release - Polygon]</ref><ref>[https://steamcommunity.com/app/70/discussions/0/2592234299554540913/ German version uncensored now? :: Steam Community Discussions]</ref>
 +
}}
 +
{{L10n/switch
 +
|language  = Italian
 +
|interface = true
 +
|audio    = true
 +
|subtitles = n/a
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Korean
 +
|interface = true
 +
|audio    = true
 +
|subtitles = n/a
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Spanish
 +
|interface = true
 +
|audio    = true
 +
|subtitles = n/a
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Polish
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = hackable
 +
|fan      = true
 +
|notes    = Fan translation from [https://www.gamepressure.com/download.asp?ID=51023 subtitles mod]
 +
}}
 +
{{L10n/switch
 +
|language  = Brazilian Portuguese
 +
|interface = hackable
 +
|audio    = hackable
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation, [https://www.moddb.com/mods/half-life-1-dublado-pt-br?ID=51023 download].
 +
}}
 +
{{L10n/switch
 +
|language  = Russian
 +
|interface = true
 +
|audio    = hackable
 +
|subtitles = hackable
 +
|fan      = true
 +
|notes    = Fan translation from [https://www.gamepressure.com/download.asp?ID=51023 subtitles mod], also available an [https://forum.csmania.ru/viewtopic.php?t=279 Audio Translation] created from various unofficial voice-overs
 +
}}
 +
{{L10n/switch
 +
|language  = Turkish
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = hackable
 +
|fan      = true
 +
|notes    = Fan translation from [https://www.gamepressure.com/download.asp?ID=51023 subtitles mod]
 +
}}
 +
{{L10n/switch
 +
|language  = Ukrainian
 +
|interface = hackable
 +
|audio    = hackable
 +
|subtitles = n/a
 +
|notes    = Fan translation by [https://tsfukraine.wixsite.com/main/half-life?lang=en TSF], [https://drive.google.com/file/d/1YAVHOmzpy2yoLQbdc2nRMO_ewIlRahat/view?usp=sharing download].
 +
|fan       = true
 
}}
 
}}
 
}}
 
}}
  
 
==Network==
 
==Network==
 +
{{Image|Half Life Multiplayer.png|In-game multiplayer settings (Steam version)}}
 +
{{ii}} For more information, see the [[Engine:GoldSrc#Half-Life Dedicated Server|"Half-Life Dedicated Server" section of our GoldSrc article]].
 +
{{++}} Steam Edition actively supported via Steamworks with a small but dedicated community.
 
{{Network/Multiplayer
 
{{Network/Multiplayer
|local play          = unknown
+
|local play          = hackable
 
|local play players  =  
 
|local play players  =  
|local play modes    =  
+
|local play modes    = Versus, Co-op
|local play notes    =  
+
|local play notes    = Use [https://universalsplitscreen.github.io/docs/guides/halflife/ Universal Split Screen]
|lan play            = unknown
+
|lan play            = true
|lan play players    =  
+
|lan play players    = 32
|lan play modes      =  
+
|lan play modes      = Versus, Co-op
|lan play notes      =  
+
|lan play notes      = Use [[Sven Co-op]] for co-op (see the [https://www.svencoop.com/faq.php FAQ]).
|online play          = unknown
+
|online play          = true
|online play players  =  
+
|online play players  = 32
|online play modes    =  
+
|online play modes    = Versus, Co-op
|online play notes    =  
+
|online play notes    = Use [[Sven Co-op]] for co-op (see the [https://www.svencoop.com/faq.php FAQ]).
 
|asynchronous        =  
 
|asynchronous        =  
 
|asynchronous notes  =  
 
|asynchronous notes  =  
}}{{Network/Connections
+
}}
|matchmaking        =  
+
 
 +
{{Network/Connections
 +
|matchmaking        = false
 
|matchmaking notes  =  
 
|matchmaking notes  =  
|p2p                =  
+
|p2p                = true
 
|p2p notes          =  
 
|p2p notes          =  
|dedicated          =  
+
|dedicated          = true
|dedicated notes    =  
+
|dedicated notes    = Servers are hosted using a separate "hlds.exe," which can be downloaded with SteamCMD.
|self-hosting      =  
+
|self-hosting      = true
|self-hosting notes =  
+
|self-hosting notes = Only LAN, by default. Use {{code|sv_lan 0}} in the main menu and, if you have port forwarding set up, others can connect with the {{code|connect "ip address"}} command.
|direct ip          =  
+
|direct ip          = hackable
|direct ip notes    =  
+
|direct ip notes    = Open the console ({{key|~}}) and use {{code|connect}} followed by the IP and port.
}}{{Network/Ports
+
}}
 +
 
 +
{{Network/Ports
 
|tcp  =  
 
|tcp  =  
|udp  =  
+
|udp  = 6003, 7002, 27010, 27015, 27025
|upnp =  
+
|upnp = unknown
 
}}
 
}}
  
 
==VR support==
 
==VR support==
 
{{VR support
 
{{VR support
|native 3d                  =
+
|vorpx                      = hackable
|native 3d notes            =
+
|vorpx modes                = G3D
|nvidia 3d vision            =
+
|vorpx notes                = User created game profile, (openGL) see [https://www.vorpx.com/forums/topic/half-life-1/ vorpx forum] profile introduction.<br><code>Note</code> The profile also works with Half Life Opposing Force, Half Life Blueshift, Half Life Counterstrike (taken from Half Life - Generations).
|nvidia 3d vision notes      =
+
|vr only                    = false
|vorpx                      =  
+
|htc vive                    = hackable
|vorpx modes                =  
+
|htc vive notes              = See [https://www.halflifevr.de/ Half-Life: VR]
|vorpx notes                =  
+
|oculus rift                = hackable
|vr only                    =  
+
|oculus rift notes          = See [https://www.halflifevr.de/ Half-Life: VR].
|htc vive                    =  
+
|osvr                        = false
|htc vive notes              =  
 
|oculus rift                =  
 
|oculus rift notes          =  
 
|osvr                        =  
 
 
|osvr notes                  =  
 
|osvr notes                  =  
|windows mixed reality      =  
+
|windows mixed reality      = hackable
|windows mixed reality notes =  
+
|windows mixed reality notes = See [https://www.halflifevr.de/ Half-Life: VR].
|keyboard-mouse              =  
+
|keyboard-mouse              = true
 
|keyboard-mouse notes        =  
 
|keyboard-mouse notes        =  
 
|3rd space gaming vest      =  
 
|3rd space gaming vest      =  
 
|3rd space gaming vest notes =  
 
|3rd space gaming vest notes =  
|novint falcon              =  
+
|novint falcon              = hackable
|novint falcon notes        =  
+
|novint falcon notes        = The official game-specific [http://www.novint.com/index.php/store/novint-falcon-games/half-life---f-gen-silver-drivers/4-71 3D Touch Add On] is required.
 
|trackir                    =  
 
|trackir                    =  
 
|trackir notes              =  
 
|trackir notes              =  
 
|tobii eye tracking          =  
 
|tobii eye tracking          =  
 
|tobii eye tracking notes    =  
 
|tobii eye tracking notes    =  
|play area seated            =  
+
|play area seated            = true
 
|play area seated notes      =  
 
|play area seated notes      =  
|play area standing          =  
+
|play area standing          = true
 
|play area standing notes    =  
 
|play area standing notes    =  
|play area room-scale        =  
+
|play area room-scale        = true
 
|play area room-scale notes  =  
 
|play area room-scale notes  =  
 +
}}
 +
 +
==Issues fixed==
 +
===Run the game at screen refresh rate (Retail version)===
 +
{{--}} The Direct3D version of the game defaults to 60&nbsp;Hz in fullscreen mode.
 +
 +
{{Fixbox|description=Use the <code>-freq <rate></code> [[Glossary:Command line arguments|command line argument]]|ref=<ref>[https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Games Command Line Options - Valve Developer Community]</ref>|fix=
 +
{{ii}} Example: <code>-freq 120</code> forces a 120 Hz refresh rate.
 +
}}
 +
 +
===Missing Blood & Gore on Steam version===
 +
{{ii}} There is an issue with the current Steam release of Half-Life, put short you can end up downloading a few of the censored content from the German version regardless of your location.
 +
{{Fixbox|description=[https://www.moddb.com/games/half-life/downloads/hl-steam-gore-fix Download this file to restore the lost gore]|ref={{cn|date=November 2018}}}}
 +
 +
===Input Lag in Direct3D===
 +
{{ii}} On certain graphics cards, using the D3D renderer can result in severe input lag, even with disabled VSync.
 +
{{Fixbox|description=Set {{code|gl_d3dflip 1}} in the console|ref=<ref>[http://valvearchive.com/web_archive/sierrastudios.com/games/half-life/issues.html]</ref>|fix=
 +
}}
 +
 +
===Missing Decals in Direct3D===
 +
{{Fixbox|description=Use {{code|gl_polyoffset -0.01}} in the console|ref={{cn|date=April 2018}}|fix=
 +
}}
 +
 +
===Color depth in the retail version===
 +
{{ii}} The retail version defaults to 16-bit color depth.
 +
{{Fixbox|description=Run game with {{code|-32bpp}} argument|ref={{cn|date=April 2018}}|fix=
 +
}}
 +
 +
===Fatal Error - Available memory less than 15MB===
 +
{{Fixbox|description=Run the game in compatibility mode for <code>Windows XP</code>|ref={{cn|date=October 2016}}}}
 +
 +
===Windows 7/Vista Performance Fix===
 +
{{ii}} In Windows 7 or Vista, some users may experience extremely low frame rates during gameplay, even if their PC can run modern games perfectly.
 +
 +
{{Fixbox|description=Set HL.exe to high priority|ref={{cn|date=August 2015}}|fix=
 +
# Open Half-Life.
 +
# Press {{key|Ctrl|Shift|Esc}} in order to open the Task Manager.
 +
# Under the {{code|Processes}} tab, find {{file|HL.exe}} and right click it.
 +
# Set its priority to high.
 +
}}
 +
 +
===Missing Voice and Multiplayer Tabs under Options===
 +
{{Fixbox|description=Replace the liblist.gam file|ref=<ref>[https://web.archive.org/web/20141205151038/http://forums.steampowered.com/forums/showthread.php?t=74037 "IF you are Missing Voice and Multiplayer Tabs under Options" Steam Users' Forum Thread] (retrieved)</ref>|fix=
 +
# Make sure Half-Life is not currently running.
 +
# Download the replacement {{file|liblist.gam}} file from [http://qsextreme.com/SteamyThings/valve/liblist.gam here] (download starts immediately).
 +
# Extract into the {{code|valve}} folder in the installation folder, replacing the existing file when prompted.
 +
}}
 +
 +
===No music playback in the retail version===
 +
{{Fixbox|description=Switch from CD playback to MP3|ref=<ref>https://steamcommunity.com/app/70/discussions/0/527274088387899010/ Half-Life WON (CD) does not have music :: Half-Life General Discussions</ref>|fix=
 +
# Make sure you have updated Half-Life to v1.1.1.0 (see [https://www.moddb.com/games/half-life/downloads/half-life-1-won-1110-patch patch]), adding MP3 playback support.
 +
# (This action requires a Steam account and Steam platform installed to access the content)
 +
Put the MP3 soundtrack of Half-Life Steam version (see [https://store.steampowered.com/app/323130/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki here]) into <code>{{P|game}}/valve/media</code>.
 +
 +
# Add ID3v1 tags to the MP3 files (see instruction [https://steamcommunity.com/linkfilter/?url=https://community.mp3tag.de/t/convert-id3v2-to-id3v1/6871 here])
 +
}}
 +
 +
===Black screen on startup (Steam version)===
 +
{{Fixbox|description=Disable FBO rendering|ref=<ref>https://steamcommunity.com/app/70/discussions/0/864959809942784569/</ref>|fix=
 +
# Add <code>-nofbo</code> in the game's launch options.
 +
}}
 +
 +
===Performance issues with dynamic lights on Intel graphics (OpenGL)===
 +
{{ii}} Dynamic light sources being present, such as the flashlight or flickering lights, causes significant frame rate drops and lag spikes on Intel graphics.
 +
{{Fixbox|description=Use [https://www.vogons.org/viewtopic.php?t=63930 this GLIntercept config]|ref=<ref>{{cn}}</ref>|fix=
 +
'''Note'''
 +
{{--}} As this method uses a custom {{code|OpenGL32.dll}}, it should not be used in VAC-protected servers.
 +
{{++}} Doing this also fixes [[#OpenGL overbright lighting|overbright lighting]].
 
}}
 
}}
  
Line 322: Line 583:
 
===API===
 
===API===
 
{{API
 
{{API
|direct3d versions      =  
+
|direct3d versions      = 7
|direct3d notes        =  
+
|direct3d notes        = Lost with Linux update.<ref name="steamcommunity.com">[https://steamcommunity.com/app/70/discussions/0/828934913113943429 Steam HL1 5.1 sound - Steam discussions forums].</ref>
 
|directdraw versions    =  
 
|directdraw versions    =  
 
|directdraw notes      =  
 
|directdraw notes      =  
|wing                  =
+
|opengl versions        = 2.1
|wing notes            =
+
|opengl notes          = 3DFX MiniGL included in retail version.
|opengl versions        =  
 
|opengl notes          =  
 
 
|glide versions        =  
 
|glide versions        =  
 
|glide notes            =  
 
|glide notes            =  
|software mode          =  
+
|software mode          = true
 
|software mode notes    =  
 
|software mode notes    =  
 
|mantle support        =  
 
|mantle support        =  
 
|mantle support notes  =  
 
|mantle support notes  =  
|metal support          =
 
|metal support notes    =
 
 
|vulkan versions        =  
 
|vulkan versions        =  
 
|vulkan notes          =  
 
|vulkan notes          =  
Line 344: Line 601:
 
|shader model versions  =  
 
|shader model versions  =  
 
|shader model notes    =  
 
|shader model notes    =  
|windows 32-bit exe    = unknown
+
|windows 32-bit exe    = true
|windows 64-bit exe    = unknown
+
|windows 64-bit exe    = false
|windows arm app        = unknown
+
|windows exe notes      = <ref>{{Refcheck|user=Vetle|date=2016-10-22|comment=}}</ref>
|windows exe notes      =  
+
|macos intel 32-bit app = true
|mac os x powerpc app  =  
+
|macos intel 64-bit app = false
|macos intel 32-bit app = unknown
+
|macos arm app          =  
|macos intel 64-bit app = unknown
+
|macos app notes        = <ref name="Refcheck Faalagorn">{{Refcheck|user=Faalagorn|date=2019-11-09|comment=}}</ref>
|macos arm app          = unknown
+
|linux 32-bit executable= true
|macos app notes        =  
+
|linux 64-bit executable= false
|linux powerpc app      =  
+
|linux executable notes = <ref name="Refcheck Faalagorn">{{Refcheck|user=Faalagorn|date=2019-11-09|comment=}}</ref>
|linux 32-bit executable= unknown
 
|linux 64-bit executable= unknown
 
|linux arm app          = unknown
 
|linux executable notes =  
 
 
}}
 
}}
  
Line 364: Line 617:
 
|physics          =  
 
|physics          =  
 
|physics notes    =  
 
|physics notes    =  
|audio            =  
+
|audio            = Miles Sound System
 
|audio notes      =  
 
|audio notes      =  
 
|interface        =  
 
|interface        =  
 
|interface notes  =  
 
|interface notes  =  
|input            =  
+
|input            = SDL
 
|input notes      =  
 
|input notes      =  
 
|cutscenes        =  
 
|cutscenes        =  
 
|cutscenes notes  =  
 
|cutscenes notes  =  
|multiplayer      =  
+
|multiplayer      = WON, Steamworks
|multiplayer notes=  
+
|multiplayer notes= WON for retail, Steamworks for Steam. WON has been shut down on July 31, 2004; fans have since recreated the network as WON2.<ref>[https://won2.net/ WON2 Server Network]</ref>
|anticheat        =
 
|anticheat notes  =
 
 
}}
 
}}
 +
 +
===Mods===
 +
====[https://github.com/FWGS/xash3d-fwgs Xash3D]====
 +
{{ii}} Xash3D FWGS is a custom open-source Half-Life-compatible engine, made to overcome the limit of the GoldSrc engine, fixing compatibility issues for the original non-Steam versions too<ref>https://twitter.com/JikissGamer/status/1210634519637876738</ref>
 +
{{++}} It also includes quality of life options fit for modern systems, including HUD scaling.
 +
 +
====[https://github.com/LAGonauta/MetaAudio/releases MetaAudio]====
 +
{{ii}} Alternative audio pipeline for GoldSrc. Re-implements 3D audio without replacing entire rendering pipeline. Combines A3D’s HRTF and Occlusion with EAX’s reverb.<ref>[https://www.youtube.com/watch?v=RgNndtga3zY Half-Life w/ EAX and 3D spatial sound in MetaAudio (OpenAL Soft HRTF) - YouTube]</ref>
 +
{{--}} Not compatible with software renderer.<ref>[https://www.youtube.com/watch?v=puSijPco_bw Half-Life - 3D spatial sound comparison: Stereo, CMSS-3D, DSOAL, MetaAudio HRTF - YouTube]</ref>
 +
{{--}} Do not use on VAC secured server.
 +
 +
====Higher definition models====
 +
{{ii}} Included in the Steam release.
 +
{{ii}} [https://support.steampowered.com/kb_article.php?ref=3157-QDVN-1426 The High Definition Pack] replaces most weapon and player/enemy models with higher polygon versions that resemble the PS2 models. For other options follow [https://web.archive.org/web/20141205151023/http://forums.steampowered.com/forums/showthread.php?t=1445333 this guide].
 +
{{ii}} The option to enable the pack in-game is in the options menu, and the game must be restarted for it to take effect.
 +
{{ii}} The effect changes the art style dramatically, and whether or not it's desirable is up to personal preference.
 +
 +
====Restoring Original Menu====
 +
{{ii}} Half-Life's main menu was changed with the game's transition from the WON (World Opponent Network) system to Steam. [https://www.reddit.com/r/HalfLife/comments/3oeou5/i_kinda_remade_the_old_won_menu_on_the_steam/ This mod] restores the look of the original menus and adds the PlayStation 2 version of the menu music. [https://gamebanana.com/guis/31061 An alternate GameBanana download link can be found here].
 +
{{--}} Menus are 4:3 by default and cannot be stretched to fullscreen. In-game is untouched.
 +
 +
====Crosshair====
 +
{{ii}} See [https://github.com/aarongeorge/Half-Life-Crosshair-Changer Half-Life Crosshair Changer] to customize the crosshairs.
 +
 +
=====[https://www.moddb.com/addons/hd-half-life-crosshairs HD Half-Life Crosshairs]=====
 +
{{ii}} Upscales crosshairs to make them more visible when using Full HD or 4K resolutions.
 +
{{++}} Optionally changes color of the crosshairs for Blue Shift to better match add-on aesthetics.
 +
 +
===Enabling developer mode===
 +
{{ii}} Enabling developer mode will allow use of in-game cheats and various console commands.
 +
 +
{{Fixbox|description=Use the {{code|developer 1}} in console|ref={{cn|date=October 2016}}|fix=
 +
 +
'''Notes'''
 +
{{ii}} The developer console can be opened by pressing {{key|~}}. You may have to turn it on in the in-game settings first.
 +
{{ii}} You can use the console command {{code|sv_cheats 1}} to allow the usage of console commands such as {{code|god}} and {{code|noclip}}.
 +
{{ii}} You might have to reload a save-game after enabling cheat-mode for certain commands to work.
 +
}}
 +
 +
===Console commands===
 +
{{ii}} Games running on the GoldSrc engine can utilize [https://developer.valvesoftware.com/wiki/Command_Line_Options#Goldsource_Games GoldSrc Engine Console Commands] for various tasks.
 +
{{ii}} The console is enabled by default in GoldSrc games, press {{key|~}} to open it.
  
 
==System requirements==
 
==System requirements==
Line 382: Line 675:
 
|OSfamily = Windows
 
|OSfamily = Windows
  
|minOS    =  
+
|minOS    = 95
|minCPU  =  
+
|minCPU  = Intel Pentium 133 MHz
|minRAM  =  
+
|minRAM  = 24 MB
|minHD    =  
+
|minHD    = 400 MB
|minGPU  =  
+
|minGPU  = SVGA, high color (16-bit) compatible display
 +
|minaudio = Windows compatible
 +
 
 +
|recOS    = 98, NT
 +
|recCPU  = Intel Pentium 166 MHz
 +
|recRAM  = 32 MB
 +
|recHD    =
 +
|recGPU  = OpenGL or Direct3D compatible 3D accelerator
 +
|recVRAM  = 32 MB
 +
}}
 +
 
 +
{{System requirements
 +
|OSfamily = OS X
 +
 
 +
|minOS    = 10.6.3
 +
|minCPU  = Intel Core 2 Duo
 +
|minRAM  = 1 GB
 +
|minHD    = 4 GB
 +
|minGPU  = Nvidia GeForce 8xxx series
 +
|minGPU2  = ATI Radeon X1600
 +
|minGPU3  = Intel HD Graphics 3000
 +
 
 +
|recOS    =
 +
|recCPU  =
 +
|recRAM  =
 +
|recHD    =
 +
|recGPU  =
 +
}}
 +
 
 +
{{System requirements
 +
|OSfamily = Linux
 +
 
 +
|minOS    = Ubuntu 12.04
 +
|minCPU  = 2.8 GHz Dual Core
 +
|minRAM  = 1 GB
 +
|minHD    = 4 GB
 +
|minGPU  = Nvidia GeForce 8600/9600 GT
 +
|minGPU3  = ATI/AMD Radeon HD 2600/3600
 +
|minOGL  = 2.1
 +
|minother = Graphic Drivers: Nvidia 310, AMD 12.11
 +
|minaudio = OpenAL compatible
  
 
|recOS    =  
 
|recOS    =  
Line 393: Line 726:
 
|recHD    =  
 
|recHD    =  
 
|recGPU  =  
 
|recGPU  =  
|notes    =
 
 
}}
 
}}
  
 
{{References}}
 
{{References}}

Revision as of 18:03, 5 July 2022

This page is for the original game. For the Source engine port, see Half-Life: Source. For the unofficial remake, see Black Mesa.

Half-Life
Half-Life cover
Developers
Valve Corporation
Publishers
1998-2005 Sierra On-Line
2005-present Valve Corporation
Engines
GoldSrc
Release dates
Windows November 19, 1998
macOS (OS X) January 25, 2013
Linux January 25, 2013
Reception
Metacritic 96
Taxonomy
Microtransactions None
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres FPS
Art styles Realistic
Themes Sci-fi, North America
Series Half-Life
Half-Life on HowLongToBeat
Half-Life on IGDB
Half-Life guide on StrategyWiki
Half-Life on MobyGames
Half-Life on Wikipedia
Half-Life mods and fangames (series)
Half-Life 1998
Half-Life: Opposing Force 1999
Half-Life: Blue Shift 2001
Codename: Gordon 2004
Half-Life: Source 2004
Half-Life 2 2004
Half-Life 2: Deathmatch 2004
Half-Life 2: Lost Coast 2005
Half-Life Deathmatch: Source 2006
Half-Life 2: Episode One 2006
Half-Life 2: Episode Two 2007
Portal (series)
Half-Life: Decay (unofficial port) 2008
Half-Life: Alyx 2020

Warnings

The macOS (OS X) version of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.

Half-Life is a singleplayer and multiplayer first-person FPS game in the Half-Life series.

General information

GitHub Issue Tracker for Half-Life and other GoldSrc-based games
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
CD key
Disc only needed to play CD music, and in previous versions; authenticate.
Icon overlay.png
Windows
Retail
Icon overlay.png
Half-Life 1 Anthology, and 2005 Jewel-case.
Windows
Steam
Icon overlay.png
Windows
macOS (OS X)
Linux
All non-Steam releases can be redeemed on Steam.
Soundtrack is available for free here. FLAC files are also available if "Download high-quality audio files" is checked in Steam's music settings.
Steam Edition has been updated to have full OpenGL support with texture filtering and smooth dynamic lighting.

Demos

Half-Life: Uplink

The official public demo that includes an exclusive chapter (and a training level) with content not found in the full release. It can be downloaded here.
The demo uses an older version of GoldSrc, which may have compatibility issues with modern systems. For full compatibility with the Steam version, the HL!UL!SL mod reworks the demo as a Half-Life mod.

Half-Life: Day One

A pre-release demo exclusive to OEMs. It contains the chapters from the full release up to and including "We've Got Hostiles" (5 chapters and a training level). It can be downloaded here.
Note that the demo uses an older version of GoldSrc, which may have compatibility issues with modern systems.

Version differences

Half-Life: Game of the Year Edition comes with both the base game and Team Fortress Classic.
Half-Life: Dreamcast is an unreleased port of Half-Life to the Sega Dreamcast. It includes various differences from the PC release (ex. modified levels, new models, adjusted difficulty, etc.). A mod that ports the Dreamcast version as a Half-Life mod is available on Mod DB.

Essential improvements

Official retail patches

These are not needed for the Steam version as that already contains the latest version.

An archive of all official patches for Half-Life and its expansions can be found here

Peixoto's patch

Peixoto's patch forced resolution allows high resolution without shrinking the HUD\menus. Super sampling anti aliasing is also possible

Disable texture resizing

By default, the game resizes textures to the nearest power of 2. This behavior can be disabled on hardware that supports non-power-of-two textures (most modern GPUs released within the past 15 years support them) by setting gl_round_down to 0 in the configuration files.

Skip intro videos for the Retail version

Steam release has no videos.
Use the -console command-line argument.[1]

Game data

Configuration file(s) location

System Location
Windows HKEY_CURRENT_USER\Software\Valve\Half-Life\
Steam <path-to-game>/valve/
*.cfg files store the configuration.
This game does not follow the XDG Base Directory Specification on Linux.

Save game data location

System Location
Windows <path-to-game>\valve\SAVE\[Note 1]
macOS (OS X) <path-to-game>/valve/SAVE
Linux <path-to-game>/valve/SAVE/

The file names follow the pattern:

  • autosave.sav
  • half-life-000.sav
  • half-life-001.sav
  • ...

The magic number (the file signature at the beginning of the file, consisting of two or more hexadecimal values) is JSAV in ISO 8859-1 encoding (4A53 4156 in hexadecimal).

Save game cloud syncing

System Native Notes
Steam Cloud

Video

In-game video settings (Steam version)
In-game video settings (Steam version)

Graphics feature State WSGF Notes
Widescreen resolution
Game is Vert-; see Field of view (FOV) for a workaround.
Use Half-Life WON Resolution FOV MP3 Patch for non-Steam versions
Multi-monitor
Ultra-widescreen
Vert-. Increase FOV to compensate. See Field of view (FOV).
4K Ultra HD
Both in-game and menu UI may become too small on displays with a high pixel density, see 4K Ultra HD for various fixes.
Field of view (FOV)
90 by default. See Field of view (FOV).
Windowed
Borderless fullscreen windowed
Use -window -noborder.
Anisotropic filtering (AF)
16 samples by default in Steam version. Use gl_ansio X[sic] in the console, with X as number of samples.
See OpenGL texture filtering to disable texture filtering altogether.
Anti-aliasing (AA)
4x MSAA by default in Steam version. Use -nomsaa to force off. Enhanceable to HSAA on Nvidia systems.[Note 2]
Vertical sync (Vsync)
Always on for the retail version.
60 FPS
120+ FPS
Capped at 100 FPS (72 FPS in retail version) by default. See High frame rate.
High dynamic range display (HDR)
See OpenGL overbright lighting to increase the rendering dynamic range.
For a list of console commands, see here.

4K Ultra HD

This section may require cleanup to meet basic quality standards. The specific problem is: Provide a vanilla resized HUD and crosshairs. Figure out how to increase other font sizes. You can help by modifying the article. The discussion page may contain useful suggestions.
Assets are designed for 640x480, and UI may be too small at higher resolutions.
Increase font sizes[2][3]
  1. Open <path-to-game>\platform\resource\TrackerScheme.res in a text editor.
  2. Under "Legacy_CreditsFont", change "tall" as desired to change the size of the in-game credits font, used for the opening credits, level titles, and tutorial prompts.
    Recommended settings for a similar font size to that used in 640x480 are:
    • "30" for 720p or 768p
    • "40" for 960p, 1024p, or 1080p
    • "50" for 1200p
    • "60" for 1440p
    • "70" for 1600p
    • "80" for 2160p ("4K")
    • "120" for 2880p ("5K")
    • "135" for 3240p ("6K")
    • "180" for 4320p ("8K")

Field of view (FOV)

FOV adjustment may be necessary at widescreen resolutions.
Field of view[4]
  1. In the game's launch options, add +default_fov ###, replacing ### with the desired FOV.
  2. While in game, open the console (~).
  3. Type default_fov and press Enter to confirm the changes have taken place in-game.

Notes

Weapon models are affected by changes in FOV.
To maintain identical vertical FOV to the 4:3 FOV at 16:9 resolutions, use 106. At 21:9 resolutions, use 121.

High frame rate

Use +developer 1 +fps_override 1 +fps_max ###[5]
Disabling the cap may reduce the speed at which you move objects.[5] NPC turn rate bug was fixed.[6]

OpenGL texture filtering

By default the filtering is enabled (not in Software rendering mode).
Disable OpenGL texture filtering[7]
  1. Go to <path-to-game>.
  2. Create a file called autoexec.cfg.
  3. Add new line gl_texturemode gl_nearest.
  4. Save the file.

Notes

Using the line gl_texturemode gl_nearest_mipmap_linear instead will enable mipmapping to prevent some textures from flickering at a distance, but will be blurry if not combined with anisotropic filtering.

OpenGL overbright lighting

Overbright lighting increases the rendering dynamic range, resulting brighter and more colorful visuals.
Overbright lighting normally only works on the Direct3D and software renderers.[8][9]
Nvidia cards: Enable the GL extension limiter[10]
  1. Download and run Nvidia Profile Inspector.
  2. On the Half Life profile, set Extension limit to On. Apply changes.
  3. Go to <path-to-game>.
  4. Create a file called autoexec.cfg.
  5. Add new line gl_overbright "1".
  6. Save the file.

Notes

Doing this will disable multi-texturing, which has the side-effect of disabling detail textures, which may effect the appearance of other games and mods that share hl1.exe, including Counter-Strike: Condition Zero and Day of Defeat.
Doing this disables the Steam version's built-in MSAA. On the Half Life profile, change Antialiasing - Mode to Override any application setting and Antialiasing - Setting to the desired level of antialiasing (such as 4x [4x Multisampling] for a vanilla look, or 32xS [Combined: 2x2 SS + 8x MS] for maximum antialiasing).

Input

In-game key map settings (Steam version)
In-game key map settings (Steam version)
In-game mouse/joystick settings (Steam version)
In-game mouse/joystick settings (Steam version)

Audio

In-game audio settings (Steam version)
In-game audio settings (Steam version)

Audio feature State Notes
Separate volume controls
Surround sound
Lost with Linux update.[11] Can be restored in retail version with DirectSound 3D restoration software (Creative Alchemy or dsoal).
Subtitles
Use Half-Life: Subtitles mod
Closed captions
Mute on focus lost
EAX support
A3D 2.0[12][13] and EAX were supported.
Both have been removed during the transition to SteamPipe.[14]
See MetaAudio for Steam version.
Red Book CD audio
Deprecated with MP3 playback since 1.1.0.9. Current release still supports reading from CD when available.

Localizations

Language UI Audio Sub Notes
English
subtitles mod
Simplified Chinese
Traditional Chinese
French
German
Censored (enemy soldiers replaced with robots, gore removed). An uncut DLC was released after BPjM cleared the game, but it has since gone. Players can still play in English, edit their registry, or ask the Steam Support to remove all Low-Violence tags from their GoldSource games.[15][16]
Italian
Korean
Spanish
Polish
Fan translation from subtitles mod
Brazilian Portuguese
Fan translation, download.
Russian
Fan translation from subtitles mod, also available an Audio Translation created from various unofficial voice-overs
Turkish
Fan translation from subtitles mod
Ukrainian
Fan translation by TSF, download.

Network

In-game multiplayer settings (Steam version)
In-game multiplayer settings (Steam version)
For more information, see the "Half-Life Dedicated Server" section of our GoldSrc article.
Steam Edition actively supported via Steamworks with a small but dedicated community.

Multiplayer types

Type Native Players Notes
Local play
Versus, Co-op
Use Universal Split Screen
LAN play
32 Versus, Co-op
Use Sven Co-op for co-op (see the FAQ).
Online play
32 Versus, Co-op
Use Sven Co-op for co-op (see the FAQ).

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Servers are hosted using a separate "hlds.exe," which can be downloaded with SteamCMD.
Self-hosting
Only LAN, by default. Use sv_lan 0 in the main menu and, if you have port forwarding set up, others can connect with the connect "ip address" command.
Direct IP
Open the console (~) and use connect followed by the IP and port.

Ports

Protocol Port(s) and/or port range(s)
UDP 6003, 7002, 27010, 27015, 27025
Universal Plug and Play (UPnP) support status is unknown.

VR support

3D modes State Notes
vorpX
G3D
User created game profile, (openGL) see vorpx forum profile introduction.
Note The profile also works with Half Life Opposing Force, Half Life Blueshift, Half Life Counterstrike (taken from Half Life - Generations).
Headsets
SteamVR
See Half-Life: VR
Oculus VR (LibOVR)
See Half-Life: VR.
Windows Mixed Reality
See Half-Life: VR.
OSVR
Devices
Tracked motion controllers
Supports Razer Hydra.
See Input for details.
Traditional controller
See Input for details.
Keyboard/Mouse
Novint Falcon
The official game-specific 3D Touch Add On is required.
Play area
Seated
Standing
Room-scale

Issues fixed

Run the game at screen refresh rate (Retail version)

The Direct3D version of the game defaults to 60 Hz in fullscreen mode.
Use the -freq <rate> command line argument[17]
Example: -freq 120 forces a 120 Hz refresh rate.

Missing Blood & Gore on Steam version

There is an issue with the current Steam release of Half-Life, put short you can end up downloading a few of the censored content from the German version regardless of your location.
Download this file to restore the lost gore[citation needed]

Input Lag in Direct3D

On certain graphics cards, using the D3D renderer can result in severe input lag, even with disabled VSync.
Set gl_d3dflip 1 in the console[18]

Missing Decals in Direct3D

Use gl_polyoffset -0.01 in the console[citation needed]

Color depth in the retail version

The retail version defaults to 16-bit color depth.
Run game with -32bpp argument[citation needed]

Fatal Error - Available memory less than 15MB

Run the game in compatibility mode for Windows XP[citation needed]

Windows 7/Vista Performance Fix

In Windows 7 or Vista, some users may experience extremely low frame rates during gameplay, even if their PC can run modern games perfectly.
Set HL.exe to high priority[citation needed]
  1. Open Half-Life.
  2. Press Ctrl+ Shift+Esc in order to open the Task Manager.
  3. Under the Processes tab, find HL.exe and right click it.
  4. Set its priority to high.

Missing Voice and Multiplayer Tabs under Options

Replace the liblist.gam file[19]
  1. Make sure Half-Life is not currently running.
  2. Download the replacement liblist.gam file from here (download starts immediately).
  3. Extract into the valve folder in the installation folder, replacing the existing file when prompted.

No music playback in the retail version

Switch from CD playback to MP3[20]
  1. Make sure you have updated Half-Life to v1.1.1.0 (see patch), adding MP3 playback support.
  2. (This action requires a Steam account and Steam platform installed to access the content)

Put the MP3 soundtrack of Half-Life Steam version (see here) into <path-to-game>/valve/media.

  1. Add ID3v1 tags to the MP3 files (see instruction here)

Black screen on startup (Steam version)

Disable FBO rendering[21]
  1. Add -nofbo in the game's launch options.

Performance issues with dynamic lights on Intel graphics (OpenGL)

Dynamic light sources being present, such as the flashlight or flickering lights, causes significant frame rate drops and lag spikes on Intel graphics.
Use this GLIntercept config[22]

Note

As this method uses a custom OpenGL32.dll, it should not be used in VAC-protected servers.
Doing this also fixes overbright lighting.

Other information

API

Technical specs Supported Notes
Direct3D 7 Lost with Linux update.[11]
OpenGL 2.1 3DFX MiniGL included in retail version.
Software renderer
Executable 32-bit 64-bit Notes
Windows
[23]
macOS (OS X)
[24]
Linux
[24]

Middleware

Middleware Notes
Audio Miles Sound System
Input SDL
Multiplayer World Opponent Network, Steamworks WON for retail, Steamworks for Steam. WON has been shut down on July 31, 2004; fans have since recreated the network as WON2.[25]

Mods

Xash3D

Xash3D FWGS is a custom open-source Half-Life-compatible engine, made to overcome the limit of the GoldSrc engine, fixing compatibility issues for the original non-Steam versions too[26]
It also includes quality of life options fit for modern systems, including HUD scaling.

MetaAudio

Alternative audio pipeline for GoldSrc. Re-implements 3D audio without replacing entire rendering pipeline. Combines A3D’s HRTF and Occlusion with EAX’s reverb.[27]
Not compatible with software renderer.[28]
Do not use on VAC secured server.

Higher definition models

Included in the Steam release.
The High Definition Pack replaces most weapon and player/enemy models with higher polygon versions that resemble the PS2 models. For other options follow this guide.
The option to enable the pack in-game is in the options menu, and the game must be restarted for it to take effect.
The effect changes the art style dramatically, and whether or not it's desirable is up to personal preference.

Restoring Original Menu

Half-Life's main menu was changed with the game's transition from the WON (World Opponent Network) system to Steam. This mod restores the look of the original menus and adds the PlayStation 2 version of the menu music. An alternate GameBanana download link can be found here.
Menus are 4:3 by default and cannot be stretched to fullscreen. In-game is untouched.

Crosshair

See Half-Life Crosshair Changer to customize the crosshairs.
HD Half-Life Crosshairs
Upscales crosshairs to make them more visible when using Full HD or 4K resolutions.
Optionally changes color of the crosshairs for Blue Shift to better match add-on aesthetics.

Enabling developer mode

Enabling developer mode will allow use of in-game cheats and various console commands.
Use the developer 1 in console[citation needed]

Notes

The developer console can be opened by pressing ~. You may have to turn it on in the in-game settings first.
You can use the console command sv_cheats 1 to allow the usage of console commands such as god and noclip.
You might have to reload a save-game after enabling cheat-mode for certain commands to work.

Console commands

Games running on the GoldSrc engine can utilize GoldSrc Engine Console Commands for various tasks.
The console is enabled by default in GoldSrc games, press ~ to open it.

System requirements

Windows
Minimum Recommended
Operating system (OS) 95
Processor (CPU) Intel Pentium 133 MHz
System memory (RAM) 24 MB
Hard disk drive (HDD) 400 MB
Video card (GPU) SVGA, high color (16-bit) compatible display
Sound (audio device) Windows compatible
macOS (OS X)
Minimum
Operating system (OS) 10.6.3
Processor (CPU) Intel Core 2 Duo
System memory (RAM) 1 GB
Hard disk drive (HDD) 4 GB
Video card (GPU) Nvidia GeForce 8xxx series
ATI Radeon X1600
Intel HD Graphics 3000
Linux
Minimum
Operating system (OS) Ubuntu 12.04
Processor (CPU) 2.8 GHz Dual Core
System memory (RAM) 1 GB
Hard disk drive (HDD) 4 GB
Video card (GPU) Nvidia GeForce 8600/9600 GT
ATI/AMD Radeon HD 2600/3600
OpenGL 2.1 compatible
Sound (audio device) OpenAL compatible
Other Graphic Drivers: Nvidia 310, AMD 12.11


Notes

  1. When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).
  2. SGSSAA is also technically possible, but a GPU driver bug results in affine textures becoming extremely blurry in OpenGL games such as this title, especially noticable when texture filtering is disabled.

References

  1. Verified by User:Tecc on 2021-04-10
    Intro files will be skipped by using this command-line argument. (only for the retail version)
  2. Increased Fonts For HL1 addon - Half-Life - Mod DB
  3. Verified by User:SirYodaJedi on 2020-03-04
    Figured out more vanilla-esque settings
  4. https://steamcommunity.com/app/70/discussions/0/620713633859376599/ Is there anyway to change the default F.O.V.? :: Half Life General Discussions
  5. 5.0 5.1 How to get 144hz/fps?
  6. Steam Community :: Half-Life :: Events
  7. How to remove texture filtering in OpenGL
  8. VOGONS • View topic - Half-Life overbright compatibility
  9. gl_overbright & OpenGL · Issue #230 · ValveSoftware/halflife
  10. Half-Life with OpenAL (EFX, Surround Sound, and HRTF!) : HalfLife
  11. 11.0 11.1 Steam HL1 5.1 sound - Steam discussions forums.
  12. Tech help: Half-Life - Vortex of Sound (retrieved)
  13. Half Life Aureal A3D Fix - Aureal A3D Central
  14. Half-Life 1 updated.
  15. Half-Life goes uncensored in Germany, two decades after original release - Polygon
  16. German version uncensored now? :: Steam Community Discussions
  17. Command Line Options - Valve Developer Community
  18. [1]
  19. "IF you are Missing Voice and Multiplayer Tabs under Options" Steam Users' Forum Thread (retrieved)
  20. https://steamcommunity.com/app/70/discussions/0/527274088387899010/ Half-Life WON (CD) does not have music :: Half-Life General Discussions
  21. https://steamcommunity.com/app/70/discussions/0/864959809942784569/
  22. [citation needed]
  23. Verified by User:Vetle on 2016-10-22
  24. 24.0 24.1 Verified by User:Faalagorn on 2019-11-09
  25. WON2 Server Network
  26. https://twitter.com/JikissGamer/status/1210634519637876738
  27. Half-Life w/ EAX and 3D spatial sound in MetaAudio (OpenAL Soft HRTF) - YouTube
  28. Half-Life - 3D spatial sound comparison: Stereo, CMSS-3D, DSOAL, MetaAudio HRTF - YouTube