• Stars
    star
    271
  • Rank 151,717 (Top 3 %)
  • Language
    C++
  • License
    Other
  • Created about 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Half-Life SDK updated to compile under VS2019 and 2022. Check README.md for more information.

About

Half-Life Updated, Opposing Force Updated and Blue Shift Updated are repositories that provide updated versions of the Half-Life SDK, targeted to the 3 Half-Life 1 PC games officially available.

Purpose

Each repository provides project files compatible with Visual Studio 2019 and 2022, as well as bug fixes. The Opposing Force and Blue Shift projects are reference implementations of their respective games. This means they provide the original features, implemented as they are in the original games, including the many cases of code duplication.

The goal of the Updated repositories is to allow modders to make mods based on these games, while providing bug fixes that could be applied to the official games as well. A mod installation is also provided for each repository to allow players to play these games with all bug fixes applied.

This mod installation includes files that are required when making a mod based on these SDKs.

The scope of the Updated projects is limited to bug fixes, feature requests to improve the game's code and fixing game-breaking bugs in the game assets (e.g. soft-locked trigger setups). Changes like graphical upgrades, physics engine changes and other engine changes are out of scope.

If you need help setting up the SDK or developing a mod please ask on the TWHL website or on its Discord server.

The TWHL wiki has tutorials to guide you through making a mod: https://twhl.info/wiki/page/Half-Life_Programming_-_Getting_Started

See the #welcome channel for more information about the Discord server. Please do not use the #unified-sdk channel for general help requests, there are channels for modding help.

See the TWHL thread for status updates about these projects: https://twhl.info/thread/view/20055

Requirements to run mods built with this SDK

Only the latest Steam version of Half-Life is supported. For the Opposing Force and Blue Shift repositories you will need to own the games and have them installed to use their assets.

Building this SDK

See BUILDING.md

Mod installation instructions

See INSTALL.md

What isn't supported

Backwards compatibility with WON and older versions of Steam Half-Life is not supported. Xash isn't supported, but may work. You cannot use Updated clients to play on vanilla servers, you also cannot use vanilla clients to play on Updated servers.

Placing Updated game dlls in vanilla installations is not supported.

These repositories have a limited scope and will not have major changes applied.

Deathmatch Classic and Ricochet

The source code for Deathmatch Classic and Ricochet is in the original Half-Life SDK. The purpose of these updated repositories is to provide updated versions only for Half-Life and its expansion packs, so the source code for these mods has been removed.

Since the vanilla versions don't compile under newer versions of Visual Studio separate repositories have been made that provide the same updates to make them compile:

Unlike the other updated repositories these only provide basic fixes. No further development and support will be provided.

Changelog

See CHANGELOG.md and FULL_UPDATED_CHANGELOG.md

Half Life 1 SDK LICENSE

Half Life 1 SDK Copyright© Valve Corp.

THIS DOCUMENT DESCRIBES A CONTRACT BETWEEN YOU AND VALVE CORPORATION (“Valve”). PLEASE READ IT BEFORE DOWNLOADING OR USING THE HALF LIFE 1 SDK (“SDK”). BY DOWNLOADING AND/OR USING THE SOURCE ENGINE SDK YOU ACCEPT THIS LICENSE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE PLEASE DON’T DOWNLOAD OR USE THE SDK.

You may, free of charge, download and use the SDK to develop a modified Valve game running on the Half-Life engine. You may distribute your modified Valve game in source and object code form, but only for free. Terms of use for Valve games are found in the Steam Subscriber Agreement located here: http://store.steampowered.com/subscriber_agreement/

You may copy, modify, and distribute the SDK and any modifications you make to the SDK in source and object code form, but only for free. Any distribution of this SDK must include this license.txt and third_party_licenses.txt.

Any distribution of the SDK or a substantial portion of the SDK must include the above copyright notice and the following:

DISCLAIMER OF WARRANTIES. THE SOURCE SDK AND ANY OTHER MATERIAL DOWNLOADED BY LICENSEE IS PROVIDED “AS IS”. VALVE AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES WITH RESPECT TO THE SDK, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, TITLE AND FITNESS FOR A PARTICULAR PURPOSE.

LIMITATION OF LIABILITY. IN NO EVENT SHALL VALVE OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE ENGINE AND/OR THE SDK, EVEN IF VALVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

If you would like to use the SDK for a commercial purpose, please contact Valve at [email protected].

Half-Life 1

This is the README for the Half-Life 1 engine and its associated games.

Please use this repository to report bugs and feature requests for Half-Life 1 related products.

Reporting Issues

If you encounter an issue while using Half-Life 1 games, first search the issue list to see if it has already been reported. Include closed issues in your search.

If it has not been reported, create a new issue with at least the following information:

  • a short, descriptive title;
  • a detailed description of the issue, including any output from the command line;
  • steps for reproducing the issue;
  • your system information.*; and
  • the version output from the in‐game console.

Please place logs either in a code block (press M in your browser for a GFM cheat sheet) or a gist.

* The preferred and easiest way to get this information is from Steam's Hardware Information viewer from the menu (Help -> System Information). Once your information appears: right-click within the dialog, choose Select All, right-click again, and then choose Copy. Paste this information into your report, preferably in a code block.

Conduct

There are basic rules of conduct that should be followed at all times by everyone participating in the discussions. While this is generally a relaxed environment, please remember the following:

  • Do not insult, harass, or demean anyone.
  • Do not intentionally multi-post an issue.
  • Do not use ALL CAPS when creating an issue report.
  • Do not repeatedly update an open issue remarking that the issue persists.

Remember: Just because the issue you reported was reported here does not mean that it is an issue with Half-Life. As well, should your issue not be resolved immediately, it does not mean that a resolution is not being researched or tested. Patience is always appreciated.

More Repositories

1

HalfLifeAssetManager

Half-Life Asset Manager, a tool to view and edit Half-Life 1 models
C++
186
star
2

halflife-unified-sdk

Work in progress, not ready for use. Half-Life Updated SDK with Opposing Force and Blue Shift merged in, along with other improvements. Check README.md for more information.
C++
77
star
3

HLEnhanced

Half-Life Enhanced. Vanilla SDK with improvements. No longer maintained, will be replaced by Half-Life Unified SDK.
C++
72
star
4

halflife-op4-updated

Half-Life: Opposing Force SDK based on Half-Life Updated, with bug fixes. Check README.md for more information.
C++
58
star
5

BSPViewer

Unfinished prototype Half-Life Map viewer that uses OpenGL shaders instead of immediate mode. To be replaced with Half-Life Asset Manager.
C++
31
star
6

HalfLife.UnifiedSdk.MapDecompiler

Cross-platform Half-Life 1 map decompiler
C#
22
star
7

halflife-updated-cmake

Half-Life updated to compile under 2019, with project files generated with CMake. Archived, use Half-Life Unified SDK: https://github.com/SamVanheer/halflife-unified-sdk
C++
21
star
8

halflife-bs-updated

Half-Life: Blue Shift SDK based on Half-Life Updated, with bug fixes. Check README.md for more information.
C++
19
star
9

AngelscriptUtils

Angelscript Utility code
C++
14
star
10

Quake

This project is purely an experiment, not intended for actual use. Quake 1 converted to use modern CMake, with some bug fixes to enable it to run properly
C++
13
star
11

czeror-sdk

Condition Zero Deleted Scenes SDK
C++
11
star
12

HalfLife.UnifiedSdk-CSharp

Tools for the Half-Life Unified SDK written in C#.
C#
9
star
13

VHLT-clean

VHLT V34 cleaned up to remove ifdefs. Check the branches for the cleaned versions
C++
9
star
14

HLEnhanced-Game

Half-Life Enhanced game repository
ActionScript
9
star
15

ASSQL

Angelscript SQLite and MySQL APIs. Includes datetime API.
C++
8
star
16

halflife-fog

Half-Life SDK with env_fog implemented
C++
7
star
17

halflife-unified-sdk-assets

Asset sources for the Half-Life Unified SDK. See https://github.com/SamVanheer/halflife-unified-sdk
Batchfile
6
star
18

dmc-updated

Deathmatch Classic projects updated to compile with VS2019. No further development and support will be provided. See this page for more information: https://github.com/Solokiller/halflife-updated/wiki/About
C++
6
star
19

halflife-2_3

Half-Life Singleplayer SDK 2.3, updated to compile with Visual Studio 2019. Provided as-is with no further support. See the README for more information.
C++
6
star
20

NativeDllTester

Small tool to get the error code returned by LoadLibrary when it fails to load a library
C#
6
star
21

half-life-better-weapons

Better weapons code for Half-Life
C++
5
star
22

ricochet-updated

Ricochet projects updated to compile with VS2019. No further development and support will be provided. See this page for more information: https://github.com/Solokiller/halflife-updated/wiki/About
C++
5
star
23

Half-Life-Tools-Backup

This repository is a backup for old Half-Life 1 tools
3
star
24

EnhancedHalfLife

Obsolete, no longer updated. Experimental upgrades to Half-Life Updated.
C++
1
star
25

SharpLife-Engine

Obsolete, no longer updated. SharpLife Engine. Contains the native wrapper and engine code.
C#
1
star
26

HalfLifeModelViewer2

Half-Life Model Viewer 2 is a tool to view and edit Half-Life 1 Studio models. Obsolete, replaced by https://github.com/SamVanheer/HalfLifeAssetManager
C++
1
star