2023-07-19 14:24:25 -04:00
|
|
|
#+title: Half-Life cheat
|
|
|
|
#+options: toc:nil
|
|
|
|
#+startup: showeverything
|
|
|
|
#+author: 8dcc
|
|
|
|
|
2023-07-20 10:03:57 -04:00
|
|
|
*Linux cheat for Half-Life 1 (and goldsrc).*
|
2023-07-19 14:24:25 -04:00
|
|
|
|
|
|
|
#+TOC: headlines 2
|
|
|
|
|
|
|
|
* Description
|
|
|
|
#+begin_quote
|
2023-07-19 14:26:12 -04:00
|
|
|
*Note:* This project is still work in progress.
|
2023-07-19 14:24:25 -04:00
|
|
|
#+end_quote
|
|
|
|
|
2023-07-20 10:03:57 -04:00
|
|
|
Simple linux cheat for Half-Life 1 (and most /goldsrc/ games) made in C.
|
2023-07-19 14:24:25 -04:00
|
|
|
|
|
|
|
This project was heavily inspired by [[https://github.com/UnkwUsr/hlhax][UnkwUsr/hlhax]], and would not have been
|
|
|
|
possible without his help. Make sure to check out his repo too.
|
|
|
|
|
2023-07-20 10:03:57 -04:00
|
|
|
Also make sure to check out [[https://github.com/deboogerxyz/ahc][deboogerxyz/ahc]].
|
|
|
|
|
2023-07-19 14:24:25 -04:00
|
|
|
* Building
|
|
|
|
#+begin_src console
|
2023-07-20 12:10:45 -04:00
|
|
|
$ git clone --recurse-submodules https://github.com/8dcc/hl-cheat
|
2023-07-19 14:24:25 -04:00
|
|
|
$ cd hl-cheat
|
|
|
|
$ make
|
|
|
|
...
|
|
|
|
#+end_src
|
|
|
|
|
2023-07-20 12:10:45 -04:00
|
|
|
Note that you will need to clone with =--recurse-submodules= for the sdk. If you
|
|
|
|
have already cloned it, you can just:
|
|
|
|
|
|
|
|
#+begin_src console
|
|
|
|
$ cd hl-cheat
|
|
|
|
$ git submodule update --init --recursive
|
|
|
|
#+end_src
|
|
|
|
|
2023-07-19 14:24:25 -04:00
|
|
|
* Injecting
|
2023-07-19 14:26:12 -04:00
|
|
|
Uses the [[https://www.gnu.org/savannah-checkouts/gnu/gdb/index.html][gdb]] debugger for injecting the library.
|
2023-07-19 14:24:25 -04:00
|
|
|
|
|
|
|
#+begin_src console
|
|
|
|
$ ./injector.sh
|
|
|
|
[sudo] password for username:
|
|
|
|
|
|
|
|
...
|
|
|
|
|
|
|
|
hl-cheat loaded!
|
|
|
|
#+end_src
|