RN_AI
RN_AI copied to clipboard
Aim-bot based on AI for all FPS and TPS games
π― RN_AI - YOLO Based AI Assistant
Language: Π ΡΡΡΠΊΠΈΠΉ | English
π§ Overview
RN_AI is a high-performance YOLO-based AI assistant with an intuitive DearPyGui interface. Built with Kalman filtering, and optimized for competitive gaming.

-
Entry point:
main.py -
Core logic:
src/andcore/ - Inspired by: RN_AI_cpp
π‘ The RN_AI_cpp 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 | RN_AI_cpp (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
install.bat
Optional: Full GPU/CPU Wizard (installer.py)
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
run.bat
π₯οΈ GUI Preview
Intuitive interface with real-time monitoring and configuration:
| System Panel | Aim System | Class Detection |
|---|---|---|
![]() |
![]() |
![]() |
| Driver Control | Bypass Settings | Strafe Config | Config Manager |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
π 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:
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: RN_AI_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






