Fortunetly broken after Half-Life 25th anniversary update (because binaries do not export dynamic symbols now). I'm not going to fix this because:
- I hope hl1 will get some activity again, so I don't want to flood servers with cheaters.
- I don't see much fun in dealing with byte patterns and offsets.
HlHaxLib is a linux hack for games based on goldsource engine so this can work for many games like half-life 1, counter-strike 1.6, etc. For features list see src/funcs.
Video (click to expand)
hlhax_demo_video.mp4
-
Clone this repo.
-
Download SDK:
mkdir sdk git clone https://github.com/ValveSoftware/halflife.git sdk/halflife-master
-
Prepare build folder:
mkdir build cd build cmake ..
-
Actually build:
make
-
Start hl1 (preferably from terminal).
-
Inject hax (be sure you are in build folder):
./injector.sh load
P.S. injector runs
make
every time, so don't worry about modifying sources. -
Make sure hax loaded fine.
Check in-game console and find line "hlhax loaded". Also you can try to start typing
hx_
,cv_
or+hx_
and a completion list should appear.
Many thanks to all game hacking communities, this is a really big scene. Mostly it's a site www.unknowncheats.me, but also I've seen some archived forum pages of www.gamedeception.net.
Also thanks to russian forum pvpru.com. A long time ago there was many good persons who write stuff and share code/instructions about counter-strike 1.6 .
Unknown Russian site with a lot of useful information about hacks in cs 1.6: http://troll-homepage.narod.ru/
Special thanks to shelru
for method of injecting library into process using
debugger, which idea I took from extramirror version for linux.
Somewhere in the code I also inserted urls to original sources, but I'm sure that's not all.