This is a program intended to automate tasks such as movement, and display information to us that wasn't originally intended to be shown. In a nutshell, this is a video game hack/cheat.
It externally (as a seperate program from the video game) reads and writes memory using system calls that the Linux kernel graciously gives us. Those system calls include functions like processes_vm_readv()
and process_vm_writev()
.
To display a window and draw information inside of it, the program uses the X11 protocol. If you are using Wayland, then there is a chance Xwayland will not handle it correctly. There may also be other issues your window manager or desktop environment can cause, such as overriding placement of windows, or preventing programs from having transparent backgrounds.
Most likely. Any problems you will have are primarily going to be the desktop environment's fault, or your distro will not package the required dependencies.
Here is a list of desktops and distributions that have been tested.
Distributions:
Desktops:
Clone the repo using git
, and change your directory into the root of the project.
$ git clone https://github.com/yoshisaac/CounterStrikeSource-Linux-Trainer.git
$ cd CounterStrikeSource-Linux-Trainer/
Install the necessary packages.
Debian/Ubuntu/LinuxMint:
$ sudo ./scripts/debian.sh
This script will automagically add the 32bit architecture and install the packages.
It is magic, because I don't understand how it works!
ArchLinux:
$ sudo pacman -S base-devel xorg-fonts-misc lib32-gtk3
If you some how haven't already, you will need to enable the multilib
repository for pacman
.
On Arch, once you install xorg-fonts-misc
you need to restart your computer.
Build the program from source.
$ make
...
After compilation, there will be a program created in the root directory of the project called cs-source-hack
.
To run the hack, go to the root directory of the project and type sudo ./cs-source-hack
in your terminal. What this does is it runs the software as root
, which is required for reading and writing memory on an external level.
Perhaps you could say it is. It does everything a cheat would do.
Only minor improvements and bug fixes exist for what the hack currently has, but more advanced features like silent-aimbot or auto-strafing would be neat.
Ordered by importance