Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.
/ hlhax Public archive

Cheat for goldsrc based games on Linux. Dynamic loaded library

License

Notifications You must be signed in to change notification settings

UnkwUsr/hlhax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Status

Fortunetly broken after Half-Life 25th anniversary update (because binaries do not export dynamic symbols now). I'm not going to fix this because:

  1. I hope hl1 will get some activity again, so I don't want to flood servers with cheaters.
  2. I don't see much fun in dealing with byte patterns and offsets.

HlHaxLib

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.

Demo

Screenshot (click to expand) demo image
Video (click to expand)
hlhax_demo_video.mp4

Startup

  1. Clone this repo.

  2. Download SDK:

     mkdir sdk
     git clone https://github.com/ValveSoftware/halflife.git sdk/halflife-master
  3. Prepare build folder:

     mkdir build
     cd build
     cmake ..
  4. Actually build:

     make
  5. Start hl1 (preferably from terminal).

  6. 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.

  7. 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.

Credits

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.