Half-Life: Source

From PCGamingWiki, the wiki about fixing PC games

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

Half-Life: Source
Half-Life: Source cover
Developers
Valve Corporation
Engines
Source
Release dates
Windows June 1, 2004
macOS (OS X) September 12, 2013
Linux September 12, 2013
Taxonomy
Modes Singleplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Shooter
Art styles Realistic
Themes North America, Sci-fi
Series Half-Life
Half-Life: Source on HowLongToBeat
Half-Life: Source on IGDB
Half-Life: Source on MobyGames
Half-Life: Source on Wikipedia
Half-Life 1998
Sven Co-op (unofficial mod) 1999
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
Prospekt (unofficial game) 2016
Transmissions: Element 120 (unofficial mod) 2016
Hunt Down The Freeman (unofficial game) 2018
Half-Life 2: Year Long Alarm (unofficial mod) 2018
Black Mesa (unofficial remake) 2020
Half-Life: Alyx 2020
Half-Life: Restored (unofficial mod) 2020
Half-Life: Absolute Zero (unofficial mod) 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.

Key points

Includes various improvements over the original Half-Life, including minor physics improvements, better support for modern platforms, an FOV slider, Oculus Rift support, improved controller support, extended console commands, and includes the High Definition pack.
The 2013 update introduced several issues not present in the original version, such as graphical glitches and broken scripted sequences.[1][2]
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.

General information

GitHub Issue Tracker for Half-Life: Source and other Source-based games
Unofficial Half-Life Wiki
Steam Community Discussions

Availability[edit]

Source DRM Notes Keys OS
Retail
Icon overlay.png
DRM-free
Included in all copies of Half-Life 2: Collector's Edition.
These copies can bypass Steam if you launch hl2.msi directly.
Windows
macOS (OS X)
Linux
Steam
DRM-free after installation through Steam client (see notes)
DRM-free when launched directly from the executable with -game hl1 command line argument.[citation needed]
Windows
macOS (OS X)
Linux
All versions require Steam DRM.

Essential improvements[edit]

Skip intro videos[edit]

Use -novid command line argument[citation needed]

Higher definition models[edit]

Higher definition models are available by ticking the "Load HD content if available" setting in Video Settings.

Game data[edit]

Configuration file(s) location[edit]

System Location
Steam <Steam-folder>/SteamApps/common/Half-Life 2/hl1/cfg/
This game does not follow the XDG Base Directory Specification on Linux.

Save game data location[edit]

System Location
Steam <Steam-folder>/SteamApps/common/Half-Life 2/hl1/save/

Save game cloud syncing[edit]

System Native Notes
Steam Cloud

Video[edit]

In-game general video settings.
In-game general video settings.
In-game advanced video settings.
In-game advanced video settings.

Graphics feature State WSGF Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
4K Ultra HD
Some of the game UI becomes too small to read.
Field of view (FOV)
Values between 75° and 90° horizontal can be set via ingame slider.[3] For higher values use this guide.
Windowed
Borderless fullscreen windowed
See Borderless fullscreen windowed.
Anisotropic filtering (AF)
Anti-aliasing (AA)
Vertical sync (Vsync)
60 FPS and 120+ FPS
High dynamic range display (HDR)
Rendered image uses SDR color space. In-game HDR option refers only to HDR Rendering.

Borderless fullscreen windowed[edit]

-window -noborder[citation needed]
  1. Find Half-Life: Source in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input -window -noborder
  6. Press OK
  7. Launch the game

Input[edit]

In-game key map settings.
In-game key map settings.
In-game mouse/gamepad settings.
In-game mouse/gamepad settings.

Keyboard and mouse State Notes
Remapping
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Use the console command exec 360controller to automatically setup Xbox controller support (if not already configured at startup).
Full controller support
Some menus do not work well.
Controller remapping
Controller sensitivity
Controller Y-axis inversion
Controller types
XInput-compatible controllers
DualShock 4 controllers
Tracked motion controllers
Generic/other controllers
Additional information
Controller hotplugging
Haptic feedback
Simultaneous controller+KB/M

Disable autorun[edit]

Add script to userconfig.cfg[4]

Add the following to <path-to-game>/valve/userconfig.cfg. Create the file as a plain text file if it does not already exist. Adjust keys as desired.

+speed
bind SHIFT +holdrun
alias +holdrun -speed
alias -holdrun +speed
alias "runon" "-speed;alias togglerun runoff"
alias "runoff" "+speed;alias togglerun runon"
runoff
bind CAPSLOCK togglerun

Audio[edit]

In-game audio settings.
In-game audio settings.

Audio feature State Notes
Separate volume controls
Over-all game volume and separate music slider.
Surround sound
7.1, 5.1 surround sound, 4 speaker surround. 7.1 output may require DirectSound3D restoration software.
Subtitles
Option exists but is non-functional
Closed captions
Option exists but is non-functional
Mute on focus lost
"Silence the audio while the game window is in the background" check box.
EAX support
Set snd_legacy_surround 1 in console, 4 speakers in options, and use DSOAL for binaural HRTF mixing.

Localizations

Language UI Audio Sub Notes
English
Simplified Chinese
Traditional Chinese
French
German
Italian
Japanese
Korean
Spanish
Russian
Thai

VR support[edit]

Headsets Native Notes
HTC Vive
This game might be playable with the Revive Compatibility Layer (compatibility list).
Oculus Rift
Available under Video Settings. See Oculus Rift for more information.
OSVR
Windows Mixed Reality
This game might be playable with the Revive Compatibility Layer (compatibility list).
Devices Native Notes
Tracked motion controllers
Traditional controller
See Input settings for details.
Keyboard/Mouse

Oculus Rift[edit]

By default VR mode will run full screen, to switch back to a borderless windowed set the vr_force_windowed convar.

Issues fixed[edit]

Purple and black broken textures[edit]

A generic fix for this issue can be found on our Source engine page.

Graphical glitches in the Residue Processing chapter[edit]

The glitches seem to have been introduced by a batch of updates in late 2013. An official fix is unlikely at this point, but disabling multicore rendering in the advanced video options seems to work.

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 8, 8.1, 9
OpenGL 2.1 OS X and Linux only.
Shader Model support 1.x, 2, 3
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
[citation needed]
Linux
[citation needed]

Middleware[edit]

Middleware Notes
Physics Havok Heavily modified variant.
Audio Miles Sound System
Cutscenes Bink Video Used for startup videos and in-game movies.

Console commands[edit]

Games running on the Source engine can utilize Source Engine Console Commands for various tasks.
Enabling the console in Source games[citation needed]
  1. Launch the game
  2. From the main menu select Options
  3. Select the Keyboard tab
  4. Click the Advanced button
  5. Check the box next to Enable developer console (~)
  6. Click Apply

Notes

Press ~ to open the console.
Some commands may first require you enabling sv_cheats. You can do so with sv_cheats 1.
Users without a US keyboard may experience some problems.

Launch options[edit]

View this Steam Support Article regarding launch options as well as the relevant Valve Developer wiki page for further information and a list of useful Source engine launch options.
Enabling a launch parameter[citation needed]
  1. Find the game in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input your selected launch options and separate each command with a space
  6. Press OK
  7. Launch the game

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) XP
Processor (CPU) 1.2 GHz
System memory (RAM) 256 MB
Hard disk drive (HDD)
Video card (GPU) DirectX 7 compatible
Must be run without Steam to play on XP and Vista.
macOS (OS X)
Minimum
Operating system (OS) Leopard 10.5.8, Snow Leopard 10.6.3
Processor (CPU) Dual core from Intel at 2.8 GHz
Dual core from AMD at 2.8 GHz
System memory (RAM) 1 GB
Hard disk drive (HDD)
Video card (GPU) Nvidia GeForce 8
ATI Radeon X1600
Intel HD 3000
Linux
Minimum
Operating system (OS) Ubuntu 12.04
Processor (CPU) Dual core from Intel at 2.8 GHz
Dual core from AMD at 2.8 GHz
System memory (RAM) 4 GB
Hard disk drive (HDD) 8 GB
Video card (GPU) Nvidia GeForce 8600/9600GT
ATI/AMD Radeon HD2600/3600
OpenGL 2.1 compatible
Sound (audio device) OpenAL Compatible Sound Card
Other (Graphic Drivers: Nvidia 310, AMD 12.11)

References