Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

8dcc/tf2-cheat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enoch

Linux cheat for Team Fortress 2 made in C.

Deprecated. Note about x86_64.

I decided to continue the development of the 64-bit version of the cheat privately. I don’t want to spend time upgrading and fixing the whole project so people can use it for making bots or selling a cheat.

I made this project because I enjoyed reversing the game in a platform with not much reference, and I enjoy the low level aspect of programming the cheat. The “cheating” part is not my main goal, and I publish this projects for people who might find the code itself useful. I believe the current state of the project serves that purpose.

If you just want to cheat on TF2, search somewhere else.

rip.png

Features

You can see the full list of features in FEATURES.org.

Dependencies

We need the 32 bit SDL2 and GLEW libraries for linking the final shared object.

Arch-based distros:

# Enable the [multilib] repository in /etc/pacman.conf, then pacman should pull
# the 32-bit gcc libraries.
$ sudo pacman -S lib32-glibc lib32-sdl lib32-glew

Debian-based distros:

$ sudo apt install libglew-dev:i386 libsdl2-dev:i386 gcc-multilib

The cheat uses the Cozette Vector font for rendering using ISurface. You can install it with with the following command.

Arch-based (With AUR helper):

$ yay -S cozette-ttf  # Has to be ttf

Arch-based (Without AUR helper):

$ git clone https://aur.archlinux.org/cozette-ttf.git
$ cd cozette-ttf
$ makepkg -si

Manually (other distros):

$ wget https://github.com/slavfox/Cozette/releases/download/v.1.22.2/CozetteFonts-v-1-22-2.zip
$ unzip CozetteFonts-v-1-22-2.zip
$ cp -R CozetteFonts /usr/share/fonts/truetype
$ fc-cache

Building

Simply clone the repository and build the project using make.

$ git clone https://github.com/8dcc/tf2-cheat
$ cd tf2-cheat
$ make -j$(nproc)
...

Injecting

Uses the gdb debugger for injecting the library.

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

...

Done. Unload cheat using:
./inject.sh unload ...

Screenshots

Note: Some screenshots might be a bit outdated.

https://user-images.githubusercontent.com/29655971/292682114-6b8ab549-335e-4c36-b98a-da484b1a5c48.png https://user-images.githubusercontent.com/29655971/292682112-e3bd95d0-b5e8-4217-9856-e62b59f143e9.png https://user-images.githubusercontent.com/29655971/292682103-bd9c2b6b-8165-4aec-b4e7-f54c39965a94.png https://user-images.githubusercontent.com/29655971/292682095-72796611-6302-468a-afa5-7e765ddced4d.png https://user-images.githubusercontent.com/29655971/292682139-789eca45-6c34-4a90-8816-c2c22f35e0f3.png https://user-images.githubusercontent.com/29655971/292682091-100c76ec-f95f-4ddf-82bf-ea6187fd3066.png