# RN_AI **Repository Path**: KFCheems/RN_AI ## Basic Information - **Project Name**: RN_AI - **Description**: Aim-bot based on AI for all FPS and TPS games - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-06-10 - **Last Updated**: 2026-10-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ο»Ώ
# 🎯 RN_AI - YOLO Based AI Assistant **Language:** [Русский](README_RU.md) | [English](README.md) [![Python](https://img.shields.io/badge/Python-3.12%2B-FFD43B?logo=python)](#) [![Windows](https://img.shields.io/badge/Windows-10%20%7C%2011-0078D6?logo=windows)](#) [![GUI](https://img.shields.io/badge/GUI-DearPyGui-2ea44f)](#) [![License](https://img.shields.io/badge/License-MIT-green)](#)
## 🧠 Overview **RN_AI** is a high-performance YOLO-based AI assistant with an intuitive **DearPyGui** interface. Built with **Kalman filtering**, **SunOner algorithms**, and optimized for competitive gaming. ![RN_AI Demo](docs/demo.gif) - **Entry point:** `main.py` - **Core logic:** `src/` and `core/` - **Inspired by:** [SunOner's sunone_aimbot_cpp](https://github.com/SunOner/sunone_aimbot_cpp) > πŸ’‘ *The SunOner project is solid and well-designed, but this Python pipeline delivers even higher FPS than C++.* --- ## πŸ“Š Performance Comparison (RTX 2060) All benchmarks performed on **NVIDIA RTX 2060** - screen capture excluded.
Metric SunOner (C++) RN_AI (Python)
Average FPS 90 – 140 FPS ~240 FPS ⚑
Pipeline Latency ~2 ms ~3.37 ms
Pipeline Overhead Very Low Minimal
### πŸ“ˆ RN_AI Profiling Results ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ [PROFILE] RTX 2060 β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ Capture : 0.09 ms β”‚ β”‚ Preproc : 0.00 ms β”‚ β”‚ Infer : 3.12 ms β”‚ β”‚ Post : 0.16 ms β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ Total : 3.37 ms βœ“ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ``` ### 🎯 Key Benefits While RN_AI has slightly higher end-to-end latency, it delivers: - βœ… **Significantly higher FPS** (~240 vs ~140) - βœ… Smoother tracking and motion - βœ… Higher temporal resolution - βœ… Flexible experimentation in Python - βœ… Rapid iteration capability ### ⚠️ Important Warnings | ⚠️ Warning | ℹ️ Note | |-----------|---------| | **Use at your own risk.** You may be banned by VAC or Vanguard. | Optimized for **RTX 20xx** and newer GPUs | --- ## ⚑ Quick Start ### Installation & Setup
Step 1: Install Dependencies ```batch install.bat ```
Optional: Full GPU/CPU Wizard (installer.py) ```batch python src/installer.py ``` What it does: - **GPU mode**: downloads the CUDA 12.8 installer to the repo folder, then installs PyTorch CUDA (cu128), TensorRT, and onnxruntime-gpu. - **CPU mode**: installs onnxruntime-directml. Notes: - It installs Python packages into **the Python environment you run it with** (system Python or an active venv). - CUDA itself is installed **system-wide** by the NVIDIA installer it launches.
Step 2: Run the Application ```batch run.bat ```
--- ## πŸ–₯️ GUI Preview Intuitive interface with real-time monitoring and configuration: | System Panel | Aim System | Class Detection | | :---: | :---: | :---: | | ![System](docs/gui/system.png) | ![Aim](docs/gui/aim.png) | ![Classes](docs/gui/classes.png) | | Driver Control | Bypass Settings | Strafe Config | Config Manager | | :---: | :---: | :---: | :---: | | ![Driver](docs/gui/driver.png) | ![Bypass](docs/gui/bypass.png) | ![Strafe](docs/gui/strafe.png) | ![Config](docs/gui/config.png) | --- ## πŸ“ Project Structure ``` RN_AI/ β”œβ”€β”€ main.py # Entry point - Start here β”œβ”€β”€ cfg.json # Main configuration file β”œβ”€β”€ requirements.txt # Python dependencies β”œβ”€β”€ *.bat # Helper scripts (build, install, run) β”‚ β”œβ”€β”€ src/ # Inference & Utilities β”‚ β”œβ”€β”€ app.py # Application core β”‚ β”œβ”€β”€ inference_engine.py # YOLO inference pipeline β”‚ β”œβ”€β”€ screenshot_manager.py # Screen capture β”‚ β”œβ”€β”€ pid.py # PID controller β”‚ β”œβ”€β”€ profiler.py # Performance profiling β”‚ └── ... β”‚ β”œβ”€β”€ core/ # GUI & Control Logic β”‚ β”œβ”€β”€ gui.py # DearPyGui interface β”‚ β”œβ”€β”€ aiming.py # Aiming algorithms β”‚ β”œβ”€β”€ recoil.py # Recoil compensation β”‚ β”œβ”€β”€ config.py # Config management β”‚ β”œβ”€β”€ input.py # Input handling β”‚ └── ... β”‚ └── docs/ # Documentation & Assets β”œβ”€β”€ demo.gif # Demo animation β”œβ”€β”€ gui/ # GUI screenshots └── HELP.md # Help documentation ``` --- ## πŸ§ͺ Profiling & Performance Analysis ### CPU Profiling Analyze CPU usage patterns with `py-spy`: ```batch profile.bat ``` This generates detailed CPU profiling data to identify bottlenecks and optimization opportunities. --- ## πŸ€– Model Support RN_AI supports multiple YOLO model formats and versions: | Format | Support | Preference | Notes | |--------|---------|-----------|-------| | **ONNX** | βœ… Full | Standard | Cross-platform compatibility | | **TensorRT** (.engine) | βœ… Full | **Preferred** ⭐ | Best performance on NVIDIA GPUs | ### Supported YOLO Versions - βœ… YOLO v8 through v12 - πŸ“ Example models available in `.weight/` - πŸŽ›οΈ Fully configurable from GUI --- ## πŸ“ License & Credits - **Inspired by:** [SunOner/sunone_aimbot_cpp](https://github.com/SunOner/sunone_aimbot_cpp) - **Framework:** DearPyGui - **AI Model:** YOLO Object Detection ---
**Made with ❀️ for the gaming community** *High-performance, flexible, and Pythonic*
## ✨ Features - Makcu support with optional input masking - Kalman filtering & prediction - Dead-zone logic (no target jumping) - Multiple capture sources: * Screen * OBS * Capture Card - Class filtering: * Enable / disable * Custom class sets * Per-class aim positions ## πŸŽ₯ Capture - Sources: Standard (screen), OBS, Capture Card. - Capture offsets can be set in the GUI. ## 🧷 Config & Classes - Stored in `cfg.json`. Auto-generated if missing. - Class names can be loaded or entered manually in the GUI. - Per-class confidence/IOU is supported. ## Documentation πŸ“˜ [Full GUI and parameter help](docs/HELP_EN.md)