Skip to content

Commit

Permalink
Update references to dotnet to use dotnet 6 version, add information …
Browse files Browse the repository at this point in the history
…about steam_legacy requirements
  • Loading branch information
SamVanheer committed Jan 14, 2024
1 parent b8a2b65 commit 2c74dbe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@

3. Install the Visual Studio 2022 re-distributable. You can find it in the `hlu/redist` directory.

4. Install the [.NET SDK which includes the runtime](docs/dotnet-tools.md#installing-the-net-sdk). Make sure to install the latest version as the runtime is updated regularly.
4. Install the [.NET 6 SDK which includes the runtime](docs/dotnet-tools.md#installing-the-net-sdk). Make sure to install the latest version as the runtime is updated regularly.

5. Run the [ContentInstaller](docs/tools/content-installer.md) tool in a command line window:
5. Switch Half-Life to the `steam_legacy` branch. The Unified SDK has not been updated to the anniversary version and requires the old version. This is only required during installation; after installation you can switch back to the anniversary version.

6. Run the [ContentInstaller](docs/tools/content-installer.md) tool in a command line window:
```bat
cd "path/to/Half-Life/directory"
dotnet "hlu/tools/ContentInstaller.dll" --mod-directory hlu
```

6. Restart Steam so the game is added to the list of games.
7. Restart Steam so the game is added to the list of games.

# Running the game

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ The goal of the Unified SDK is to allow modders to make mods based on these game

A mod installation is also provided to allow players to play these games with all bug fixes applied. It includes files that are required when making a mod based on this SDK.

The Unified SDK works on the `steam_legacy` and anniversary versions of the game but requires the game to be switched to the `steam_legacy` version during installation. See the installation guide for more information.

> <span style="background-color:orange; color: black">Warning
> </br>
> Due to how some SDK features are implemented demos will not work properly. Use an external program like OBS to record the game.</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/dotnet-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Unified SDK uses tools written in .NET. These tools are intended to work on

### Installing the .NET SDK

.NET tools require the .NET SDK.
.NET tools require the .NET 6 SDK.

You can download the SDK here: https://dotnet.microsoft.com/en-us/download

Expand Down

0 comments on commit 2c74dbe

Please sign in to comment.