sunone_aimbot_cpp
sunone_aimbot_cpp copied to clipboard
Aim-bot based on AI for all FPS and TPS games
- This project is actively being developed thanks to the people who support on Boosty and Patreon. By providing active support, you receive enhanced AI models.
â ī¸ WARNING: TensorRT version 10 does not support the Pascal architecture (10 series graphics cards). Use only with GPUs of at least the 20 series.
How to Use
-
Download the Latest Release
- Download the latest release from here (v2.4).
-
Unpack Aimbot
- Extract the contents of the Aimbot.
-
First Launch and Model Export
- Run
ai.exeand wait until the standard.onnxmodel is exported, usually taking no more than two minutes. - To export another model, simply place it in
.onnxformat in themodelsfolder. Then, in the AI tab, select this model, and it will be exported automatically.
- Run
-
Settings
- After successfully exporting the model, you can configure the program.
- All settings are available in the overlay (default key is
Home). - A list of settings can be found in the config documentation.
-
Controls
- Right Mouse Button: Aim at the detected target.
- F2: Exit the program.
- F3: Activate pause for aiming.
- F4: Reload config.
- Home: Show overlay.
đ Build the Project from Source
âšī¸ NOTE: This guide is intended for advanced users. If you encounter errors while building the modules, please report them on the Discord server.
-
Install Visual Studio 2019 Community
Download and install from the official website. -
Install Windows SDK
Ensure you have Windows SDK version 10.0.26100.0 installed. -
Install CUDA and cuDNN
- CUDA 12.4
Download from NVIDIA CUDA Toolkit. - cuDNN 9.1
Available on the NVIDIA cuDNN archive website.
- CUDA 12.4
-
Set Up Project Structure
Create a folder namedmodulesin the directorysunone_aimbot_cpp/sunone_aimbot_cpp/modules. -
Build OpenCV with CUDA Support
- Download and install CMake.
- Download OpenCV.
- Download OpenCV Contrib.
- Create new directories:
sunone_aimbot_cpp/modules/opencv/andsunone_aimbot_cpp/modules/opencv/build. - Extract
opencv-4.10.0tosunone_aimbot_cpp/modules/opencv/opencv-4.10.0andopencv_contrib-4.10.0tosunone_aimbot_cpp/modules/opencv/opencv_contrib-4.10.0. - Extract cuDNN to
sunone_aimbot_cpp/modules/cudnn. - Open CMake and set the source code location to
sunone_aimbot_cpp/modules/opencv/opencv-4.10.0. - Set the build directory to
sunone_aimbot_cpp/modules/opencv/build. - Click
Configure. - Uncheck:
WITH_NVCUVENCWITH_NVCUVID
- Check or configure:
WITH_CUDAWITH_CUBLASENABLE_FAST_MATHCUDA_FAST_MATHWITH_CUDNNCUDNN_LIBRARY=<full path>/sunone_aimbot_cpp/modules/cudnn/lib/x64/cudnn.libCUDNN_INCLUDE_DIR=<full path>/sunone_aimbot_cpp/modules/cudnn/includeCUDA_ARCH_BIN= Visit the CUDA Wiki to find your Nvidia GPU architecture. For example, forRTX 3080ti, enter8.6.OPENCV_DNN_CUDAOPENCV_EXTRA_MODULES_PATH=<full path>/sunone_aimbot_cpp/modules/opencv/opencv_contrib-4.10.0/modulesBUILD_opencv_world
- Click
Configureagain and ensure that the flags forCUDA_FAST_MATHandENABLE_FAST_MATHare not reset. - Click
Generateto build the C++ solution. - Close CMake and open
sunone_aimbot_cpp/modules/opencv/build/OpenCV.sln. - Switch the build configuration to
x64andRelease. - Open the
CMakeTargetsfolder in the solution. - Right-click on
ALL_BUILDand selectBuild. (Building the project can take up to two hours.) - After building, right-click on
INSTALLand selectBuild. - Verify the built files exist in the following folders:
sunone_aimbot_cpp/modules/opencv/build/install/include/opencv2- Contains.hppand.hfiles.sunone_aimbot_cpp/modules/opencv/build/install/x64/vc16/bin- Contains.dllfiles.sunone_aimbot_cpp/modules/opencv/build/install/x64/vc16/lib- Contains.libfiles.
-
Download Required Libraries
- Boost
- TensorRT from Yandex or NVIDIA Developer
-
Extract Libraries
Extract the downloaded libraries into the respective directories:sunone_aimbot_cpp/sunone_aimbot_cpp/modules/boost_1_82_0sunone_aimbot_cpp/sunone_aimbot_cpp/modules/TensorRT-10.6.0.26
-
Compile Boost Libraries
- Navigate to the Boost directory:
cd sunone_aimbot_cpp/sunone_aimbot_cpp/modules/boost_1_82_0 - Run the bootstrap script (from PowerShell):
bootstrap.bat vc142 - After successful bootstrapping, build Boost:
b2.exe --build-type=complete link=static runtime-link=static threading=multi variant=release
- Navigate to the Boost directory:
-
Verify Folder Structure
Ensure your project hierarchy looks like this:sunone_aimbot_cpp/ âââ .gitattributes âââ .gitignore âââ LICENSE âââ README.md âââ sunone_aimbot_cpp.sln âââ include/ âââ models/ âââ modules/ â âââ boost_1_82_0/ â âââ imgui-1.91.2/ â âââ opencv/ â â âââ build/ â â âââ opencv_contrib-4.10.0/ â â âââ opencv-4.10.0/ â âââ stb/ â âââ TensorRT-10.6.0.26/ â âââ tools/ âââ scr/ âââ screenshots/ âââ config.ini âââ ghub_mouse.dll -
Configure Project Settings
- Open the project in Visual Studio.
- Ensure all library paths are correctly set in Project Properties under Library Directories.
- Go to NuGet packages and install
Microsoft.Windows.CppWinRT.
-
Verify CUDA Integration
- Right-click on the project in Visual Studio.
- Navigate to Build Dependencies > Build Customizations.
- Ensure that CUDA 12.4 (.targets, .props) is included.
-
Build the Project
- Switch the build configuration to Release.
- Build the project by selecting Build > Build Solution.
Old releases
- Stored [here](https://disk.yandex.ru/d/m0jbkiLEFvnZKg)
đ Config Documentation
- The config documentation is available in a separate repository.
đ References
đ Licenses
Boost
- License: Boost Software License 1.0
OpenCV
- License: Apache License 2.0
ImGui
- License: MIT License