Linux cheat for goldsrc games (HL1/CS 1.6/DoD/TFC/DMC)
Go to file
8dcc 56217cc7f3 Add cv_clmove cvar 2023-07-25 22:10:26 +02:00
src Add cv_clmove cvar 2023-07-25 22:10:26 +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 color note 2023-07-25 15:06:12 +02:00
inject.sh Add unload to injector script 2023-07-21 06:29:41 +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/on*

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!