Half-Life mod to faciliate Half-Life physics and NPC AI research.
- Easy and fast set up. No CMake or bespoke toolchains to mess with.
- Ability to hook custom compiled
hl.dll
andclient.dll
using debug information in PDB files and allow Visual Studio debugger to attach. Custom compiled libraries tend to break standard hooking mods due to the reliance on function signatures and symbol names. - Writing features in the higher level and simpler language of Go.
- Ability to write logs to debug output viewable with Microsoft's DebugView. No installation of custom or bespoke viewing tools.
- Only supports Windows
- Speedrunning features
Install a relatively new version of Go. Run this in WSL on Windows.
Relies heavily on CGO. Suggested environmental variables in WSL:
export CC=i686-w64-mingw32-gcc
export CGO_ENABLED=1
export GOOS=windows
export GOARCH=386
Run the following to build:
cd hlinspect
go generate ./...
make