Linux cheat for goldsrc games (HL1/CS 1.6/DoD/TFC/DMC)
Go to file
8dcc f924628fd9 Add hook comments 2023-07-28 15:33:18 +02:00
src Add hook comments 2023-07-28 15:33:18 +02:00
.gitignore Initial commit 2023-07-18 22:03:59 +02:00
.gitmodules Remove sdk folder, add as submodule in include 2023-07-20 17:59:26 +02:00
LICENSE Initial commit 2023-07-18 22:03:59 +02:00
Makefile Add features/misc.c to Makefile 2023-07-27 14:23:02 +02:00
README.org README - Add crosshair to features 2023-07-27 14:25:26 +02:00
inject.sh Add error message to injector if no pid 2023-07-26 22:01:33 +02:00

README.org

Half-Life cheat

Linux cheat for Half-Life 1 (and goldsrc).

Description

Simple linux cheat for Half-Life 1 (and most goldsrc games) made in C.

This project was heavily inspired by UnkwUsr/hlhax, and would not have been possible without his help. Make sure to check out his repo too.

Also make sure to check out deboogerxyz/ahc.

Features

Feature Command Values (0..n)
Bhop cv_bhop off/on
ESP cv_esp off/3d-box/name/all
Autostrafe sv_autostrafe off/rage/legit
Chams cv_chams off/players/hands/all*
Crosshair cv_crosshair off/length

Note: Chams color can be changed from the h_glColor4f() function inside src/hooks.c. Since this cheat is not hard to compile, I rather have less console variables than more customization at runtime.

Building

$ git clone --recurse-submodules https://github.com/8dcc/hl-cheat
$ cd hl-cheat
$ make
...

Note that you will need to clone with --recurse-submodules for the sdk. If you have already cloned it, you can just:

$ cd hl-cheat
$ git submodule update --init --recursive

Injecting

Uses the gdb debugger for injecting the library.

$ ./injector.sh
[sudo] password for username:

...

hl-cheat loaded!