ofeksadlo / CSGO-Aimbot-CNN

CS:GO Aimbot based on convolutional neural networks.
96 stars 26 forks source link

CSGO-Aimbot-CNN

CS:GO Aimbot based on convolutional neural networks.
Showcase

How it works

The program will capture 96x96 from the screen then it will
detect whether an opponent in the cropped frame. If there is it will
aim to his head.
The entire process will be displayed at your screen.
At the top left you will see how many frames the model process in a second (The higher the better).

GPU Support

22/10/2020 Update:
Download weights and extract in CSGO-Aimbot-CNN folder/assets.
GPU aimbot still under development but you can test it out now.
Support and tested on AMD RX480 and on GeForce GTX1050.
25/10/2020 Update:
After some testing although the efficence is way better using GPU.
The yolov3 converted to tensorflow is way less accurate than pure darknet weights.
So bad that with terrorist it barley works.
I suspect the accuracy get lost in the conversion. Currently I am looking
for a better conversion method to improve results.

How to make it work

1) You need to play on fullscreen windowed. For the overlays to show and for the frame capturing. 2) Mouse raw input needs to be disabled for the aimbot to work properly. 3) Resolution has to be 1920x1080. Otherwise you'll need to change screenWidth and screenHeight values.
Notice that fullscreen windowed mode just use native resolution. 4) Install all dependencies from reqiurements.txt file. 5) Open main.py and go to the game. Place an opponent in your FOV and your crosshair will be locked to his head.
For playing I would pick the aimbotOnly.py because the drawing slows the aimbot a little.
Tip:
Playing with raw input off may feel like mouse acceleration is on. You'll need to
disable in windows mouse setting the Enhance pointer precision option.
textDemo

Keyboard Control

Key Action Default
F5 Toggle Headshot only (Target heads only) On
F6 Toggle Drawing on screen On
F7 Toggle Sniper aimbot (Target body only if trigger on it will right click before firing) Off
F8 Toggle Triggerbot Off
F9 Change target (ct / t) ct

Compatibility issues

Future plans