The Content Installer is a .NET tool that prepares your Half-Life game content for use with the Unified SDK. It copies campaign, training, and multiplayer maps from all supported games into your mod directory, then applies the same upgrades and bug fixes that MapUpgrader provides. It also installs a defaultDocumentation 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.
config.cfg with correct key bindings if one does not already exist in the mod directory. The tool is included in the hlu/tools directory of every Unified SDK release.
Content Installer is a .NET tool. On Windows you can run it as
ContentInstaller.exe [options] or dotnet ContentInstaller.dll [options]. On Linux use dotnet ContentInstaller.dll [options].Command line usage
Options
--mod-directory should point to your local copy of the mod installation — typically the hlu folder inside your Half-Life game directory (for example C:/Program Files (x86)/Steam/steamapps/common/Half-Life/hlu).
--dry-run performs a complete pass without writing any files to disk. Use this to preview which files would be copied or modified before committing to the operation.
--diagnostics-level controls how much information is printed during the run:
| Value | Description |
|---|---|
Disabled | No diagnostics output (default) |
Common | Print commonly useful diagnostic messages |
All | Print all available diagnostic messages |
Running Content Installer
- Windows
- Linux
Run Content Installer directly on the command line:Preview what would be copied without making any changes:
Using a script
Because the arguments are the same each time, it is recommended to wrap the command in a script so you can re-run the installer without retyping the options.- Windows batch file
- Linux shell script
Place this Double-click the batch file, or run it from the command line, to install content without entering the full command each time.
.bat file in the directory that contains your Half-Life installation (typically the Half-Life folder):Error reporting
If any errors occur, Content Installer logs the details to the console and stops execution immediately. Check that the--mod-directory path exists and that none of the files in it are read-only before retrying.