Skip to content

hobokenn/hlinspect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hlinspect

Half-Life mod to faciliate Half-Life physics and NPC AI research.

Features

  • Easy and fast set up. No CMake or bespoke toolchains to mess with.
  • Ability to hook custom compiled hl.dll and client.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.

Missing

  • Only supports Windows
  • Speedrunning features

Building

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

About

Half-Life mod for research use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 81.0%
  • TypeScript 8.7%
  • C 8.2%
  • CSS 1.0%
  • HTML 0.4%
  • Shell 0.3%
  • Other 0.4%