Installing the Half-Life Unified SDK mod places a ready-to-runDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/twhl-community/halflife-unified-sdk/llms.txt
Use this file to discover all available pages before exploring further.
hlu directory inside your Half-Life game folder and copies, converts, and upgrades all required campaign maps from Half-Life, Opposing Force, and Blue Shift. The process takes about ten minutes and requires a working Steam installation of Half-Life (plus Opposing Force and Blue Shift if you want their campaign content).
Installation Steps
Download the latest release
Download the latest mod archive from the Releases page on GitHub.
Extract to your Half-Life directory
Extract the archive into your Half-Life game directory (e.g.
C:\Program Files (x86)\Steam\steamapps\common\Half-Life). The archive will create an hlu subdirectory inside the Half-Life folder automatically.Install the Visual Studio 2022 redistributable
Run the Visual Studio 2022 C++ redistributable installer found in the
hlu/redist directory. This provides the runtime libraries required by the mod’s game DLLs.Install the .NET 6 SDK
Install the .NET 6 SDK. Make sure to install the latest version, as the runtime receives regular updates. The .NET SDK is required to run the ContentInstaller tool in the next step.
Switch Half-Life to the steam_legacy branch
The Unified SDK requires the
steam_legacy version of Half-Life and has not yet been updated for the anniversary edition. In Steam, right-click Half-Life → Properties → Betas and select steam_legacy from the dropdown.You only need to remain on
steam_legacy during the installation step. Once the ContentInstaller has finished you can switch Half-Life back to the default (anniversary) branch.Run the ContentInstaller
Open a command prompt, change to your Half-Life directory, and run the ContentInstaller tool:The tool will copy, convert, and upgrade maps from Half-Life, Opposing Force, and Blue Shift into the mod directory. This may take several minutes on the first run.
Running the Game
Once installed you can launch the mod in either of two ways:- Via Steam — find Half-Life Unified SDK in your Steam library and click Play.
- Via launch parameter — launch Half-Life with the command-line argument
-game hlu.
While playing you may see a project info overlay displayed on-screen. This overlay is used for in-game diagnostics and shows the current build’s release type and version. See the Hud Project Info documentation for more details.
Pre-Alpha Builds
In addition to tagged releases, automated pre-alpha builds are produced for every successful CI run.Pre-alpha builds can be downloaded from the Artifacts section of each run on the GitHub Actions page. Artifacts are retained for up to 90 days after the run finishes. After that window the artifact is no longer available.