Linux cheat for goldsrc games (HL1/CS 1.6/DoD/TFC/DMC)
Go to file
8dcc 7147ccc5fa Format globals.c 2023-07-27 13:36:57 +02:00
src Format globals.c 2023-07-27 13:36:57 +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 detour library for hooking 2023-07-25 20:36:00 +02:00
README.org README - Add chams options 2023-07-26 16:35:55 +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*

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!