Skip to content

SunOner/sunone_aimbot_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunone Aimbot C++

C++ License MIT Github stars Discord server

  • 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.

How to Use

  1. Download the Latest Release
    Download the latest release from here.

  2. Download TensorRT
    Get TensorRT from this link.

  3. Unpack TensorRT and Aimbot
    Extract the contents of both TensorRT and the Aimbot.

  4. Copy DLL Files

    • Copy TensorRT-10.3.0.26/lib/nvinfer_10.dll to sunone_aimbot_cpp/.
    • Copy all files from TensorRT-10.3.0.26/lib/ to TensorRT-10.3.0.26/bin/.
  5. Transfer the ONNX Model
    Copy sunone_aimbot_cpp/models/sunxds_0_5_6.onnx to TensorRT-10.3.0.26/bin/.

  6. Generate Engine File
    Open Command Prompt in TensorRT-10.3.0.26/bin/ and execute:

    trtexec.exe --onnx=sunxds_0.5.6.onnx --saveEngine=sunxds_0.5.6.engine --fp16
  7. Finalize Setup
    After the export (~1-5 minutes), copy TensorRT-10.3.0.26/bin/sunxds_0.5.6.engine to sunone_aimbot_cpp/models/.

  8. Run the Application
    Execute ai.exe.

⚠️ WARNING: TensorRT version 10 does not support the Pascal architecture (10 series graphics cards). Use only with GPUs of at least the 20 series.

ℹ️ NOTE: This guide is intended for advanced users. If you encounter errors while building the modules, please report them on the Discord server.

📺 Installation Video

Watch the Installation Tutorial

Click the image above to watch the installation tutorial video.

🛠 Build the Project from Source

  1. Install Visual Studio 2019 Community
    Download and install from the official website.

  2. Install Windows SDK
    Ensure you have Windows SDK version 10.0.26100.0 installed.

  3. Install CUDA and cuDNN

  4. Set Up Project Structure
    Create a folder named modules in the directory sunone_aimbot_cpp\sunone_aimbot_cpp\modules.

  5. Download Required Libraries

  6. Extract Libraries
    Extract the downloaded libraries into the respective directories: - sunone_aimbot_cpp\sunone_aimbot_cpp\modules\boost_1_82_0 - sunone_aimbot_cpp\sunone_aimbot_cpp\modules\opencv (Rename opencv-4.10.0 to opencv) - sunone_aimbot_cpp\sunone_aimbot_cpp\modules\TensorRT-10.3.0.26 - sunone_aimbot_cpp\sunone_aimbot_cpp\modules\imgui-1.91.2

    Additionally, copy all .h and .cpp files from imgui-1.91.2 to sunone_aimbot_cpp\sunone_aimbot_cpp\.

  7. Compile Boost Libraries

    • Navigate to the Boost directory:
    cd sunone_aimbot_cpp/sunone_aimbot_cpp/modules/boost_1_82_0
    • Run the bootstrap script:
    bootstrap.bat vc142
    • After successful bootstrapping, build Boost:
    b2.exe --build-type=complete link=static runtime-link=static threading=multi variant=release
  8. 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.
  9. 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.
  10. Build the Project

    • Switch the build configuration to Release.
    • Build the project by selecting Build > Build Solution.

📋 Config docs

  • The config documentation is available in a separate repository.

📚 References

📄 Licenses

Boost

OpenCV

ImGui