sunone_aimbot

sunone_aimbot

基于深度学习的FPS游戏智能瞄准工具

Sunone Aimbot是一个开源的FPS游戏智能瞄准系统,基于YOLOv8和YOLOv10目标检测模型。该系统通过PyTorch和TensorRT优化,使用超过30,000张游戏图像进行训练,实现了高精度的目标识别和自动瞄准功能。项目提供灵活的配置选项,包括多种屏幕捕获方法和可定制的瞄准射击行为。Sunone Aimbot为研究人员和开发者提供了探索AI在游戏辅助领域应用的平台。

Sunone AimbotAI辅助瞄准FPS游戏YOLO模型自动瞄准Github开源项目
<div align="center">

Sunone Aimbot

Python Version License MIT Github stars Discord server

<p> <a href="https://github.com/SunOner/sunone_aimbot/releases" target="_blank"> <img width="75%" src="https://raw.githubusercontent.com/SunOner/sunone_aimbot/main/media/one.gif"></a> </p> </div>

Overview

Sunone Aimbot is an AI-powered aim bot for first-person shooter games. It leverages the YOLOv8 and YOLOv10 models, PyTorch, and various other tools to automatically target and aim at enemies within the game. The AI model in repository has been trained on more than 30,000 images from popular first-person shooter games like Warface, Destiny 2, Battlefield (all series), Fortnite, The Finals, CS2 and more.

[!WARNING] Use it at your own risk, we do not guarantee that you may be blocked!

[!NOTE] This application only works on Nvidia graphics cards. AMD support is testing. See AI_enable_AMD option. The recommended graphics card for starting and more productive and stable operation starts with the rtx 20 series.

Requirements

Before you get started, make sure you have the following prerequisites installed and pay attention to the versions in Tested Environment block, this may cause errors in launching the aimbot.

Tested Environment

The Sunone Aimbot has been tested on the following environment:

<table> <thead><tr><th>Windows</th><td>10 and 11(priority)</td></thead> <thead><tr><th>Python:</th><td>3.11.6</td></tr></thead> <thead><tr><th>CUDA:</th><td>12.4</td></tr></thead> <thead><tr><th>TensorRT:</th><td>10.2.0</td></tr></thead> <thead><tr><th>Ultralytics:</th><td>8.2.79</td></tr></thead> <thead><tr><th>GitHub AI Model:</th><td>0.5.6</td></tr></thead> <thead><tr><th>Boosty AI Model:</th><td>0.6.2</td></tr></thead> </table>

Options

The behavior of the aimbot can be configured via the config.ini file. Here are the available options:

Object Search window resolution:

  • detection_window_width int: Horizontal resolution of the object search window.
  • detection_window_height int: Vertical resolution of the object search window.

Bettercam capture method:

  • Bettercam_capture bool: Use Bettercam to capture images from the screen.
  • bettercam_capture_fps int: Specific fps value for screen capture.
  • bettercam_monitor_id int: Id of the monitor from which the images will be captured.
  • bettercam_gpu_id int: Id of the GPU to be used for image capture

Obs capture method:

  • Obs_capture bool: Use Obs to capture images from the screen.
  • Obs_camera_id str or int: auto or number of Virtual Camera ID.
  • Obs_capture_fps int: Specific fps value for screen capture.

Aim:

  • body_y_offset float: Allows correction of y coordinates inside the body detected box if head is not detected.
  • hideout_targets bool: Allows shooting at targets on the range (for example in warface on the polygon or in aimlabs).
  • disable_headshot bool: Disable head targerting.
  • disable_prediction bool: Disable target position prediction.
  • prediction_interval float: The time frame used to estimate an object's future position based on its current motion.
  • third_person bool: Turn on the third-person game mode. (sunxds_0.5.7+)

Hot keys:

  • The names of all the keys are here. Type None is empty button.
  • hotkey_targeting str: Aiming at the target. Supports multi keys, for example hotkey_targeting = RightMouseButton,X2MouseButton
  • hotkey_exit str: Exit.
  • hotkey_pause str: Pause AIM.
  • hotkey_reload_config str: Reload config.

Mouse:

  • mouse_dpi int: Mouse DPI.
  • mouse_sensitivity float: Aim sensitivity.
  • mouse_fov_width int: The current horizontal value of the viewing angle in the game.
  • mouse_fov_height int: The current vertical value of the viewing angle in the game.
  • mouse_min_speed_multiplier float: Minimum mouse movement speed multiplier.
  • mouse_max_speed_multiplier float: Maximum mouse movement speed multiplier.
  • mouse_lock_target bool: True: Press once to permanently aim at the target, press again to turn off the aiming. False: Hold down the button to constantly aim at the target.
  • mouse_auto_aim bool: Automatic targeting.
  • mouse_ghub bool: Uses Logitech GHUB exploit for mouse input. Install this version.
  • mouse_rzr bool: For Razer mouses. Install synapse 3.

Shooting:

  • auto_shoot bool: Automatic shooting. (For some games need arduino).
  • triggerbot bool: Automatic shooting at a target if it is in the scope, requires the mouse_auto_shoot option enabled, and aiming will also be automatically turned off.
  • force_click bool: Shooting will be performed even if the sight is not located within the object.
  • bScope_multiplier float: The multiplier of the target trigger size.

Arduino:

  • arduino_move bool: Sends a command to the arduino to move the mouse.
  • arduino_shoot bool: Sends a command to the arduino to fire with the mouse.
  • arduino_port str: Arduino COM port. Use COM1 or COM2 ... or auto.
  • arduino_baudrate int: Custom Arduino baudrate.
  • arduino_16_bit_mouse bool: Send 16 bit data to the arduino port to move the mouse.

AI:

  • AI_model_name str: AI model name.
  • AI_model_image_size int: AI model image size.
  • AI_conf float: How many percent is AI sure that this is the right goal.
  • AI_device int or str: Device to run on, 0, 1... or cpu.
  • AI_enable_AMD bool: Enable support Amd GPUs. Install ROCm, Zluda and PyTorch. See AMD docs.
  • AI_mouse_net bool: Use a neural network to calculate mouse movements. See this repository.

Overlay:

  • show_overlay bool: Enables the overlay. It is not recommended for gameplay, only for debugging.
  • overlay_show_borders bool: Displaying the borders of the overlay.
  • overlay_show_boxes bool: Display of boxes.
  • overlay_show_target_line bool: Displaying the line to the target.
  • overlay_show_target_prediction_line bool: Displaying the predictive line to the target.
  • overlay_show_labels bool: Displaying label names.
  • overlay_show_conf bool: Displaying the label names as well as the confidence level.

Debug window:

  • show_window bool: Shows the OpenCV2 window for visual feedback.
  • show_detection_speed bool: Displays speed information inside the debug window.
  • show_window_fps bool: Displays FPS in the corner.
  • show_boxes bool: Displays detectable objects.
  • show_labels bool: Displays the name of the detected object.
  • show_conf bool: Displays object confidence threshold for detection.
  • show_target_line bool: Shows the mouse finishing line.
  • show_target_prediction_line bool: Show mouse prediction line.
  • show_bScope_box bool: Show the trigger box for auto shooting.
  • show_history_points bool: Show history points.
  • debug_window_always_on_top bool: The debug window will always be on top of other windows.
  • spawn_window_pos_x int: When the debugging window starts, it takes the x position.
  • spawn_window_pos_y int: When the debugging window starts, it takes the y position.
  • debug_window_scale_percent int: Adjusts the size of the debug window.
  • The names of the debugging window can be written in the file window_names.txt they will be randomly selected.

AI Models

  • *.pt: Default AI model.
  • *.onnx: The model is optimized to run on processors.
  • *.engine: Final exported model, which is faster than the previous two.

Export .pt model to .engine

  1. All commands are executed in the console window:
  2. First, go to the aimbot directory using the command:
cd C:\Users\your_username\downloads\sunone_aimbot-main
  1. Then export the model from the .pt format in .engine format.
yolo export model="models/sunxds_0.5.6.pt" format=engine device=0 imgsz=640 half=True
  • model="model_path/model_name.pt": Path to model.
  • format=engine: TensorRT model format.
  • half=true: Use Half-precision floating-point format.
  • device=0: GPU id.
  • workspace=8: GPU max video memory.
  • verbose=False: Debug stuff. Convenient function, can show errors when exporting.
  1. Each model has its own image size with which it was trained, export only with the image size with which it was published.

Notes / Recommendations

  • Limit the maximum value of frames per second in the game in which you will use it. And also do not set the screen resolution to high. Do not overload the graphics card.
  • Do not set high graphics settings in games.
  • Limit the browser (try not to watch YouTube while playing and working AI at the same time, for example (of course if you don't have a super duper graphics card)) and so on, which loads the video card.
  • Try to use TensorRT for acceleration. .pt model is good, but does not have as much speed as .engine.
  • Turn off the cv2 debug window, this saves system resources.
  • Do not increase the object search window resolution, this may affect your search speed.
  • If you have started the application and nothing happens, it may be working, close it with the F2 key and change the show_window option to True in the file config.ini to make sure that the application is working.

Support the project

I will post new models here.

License

This project is licensed under the MIT License. See LICENSE for

编辑推荐精选

Refly.AI

Refly.AI

最适合小白的AI自动化工作流平台

无需编码,轻松生成可复用、可变现的AI自动化工作流

酷表ChatExcel

酷表ChatExcel

大模型驱动的Excel数据处理工具

基于大模型交互的表格处理系统,允许用户通过对话方式完成数据整理和可视化分析。系统采用机器学习算法解析用户指令,自动执行排序、公式计算和数据透视等操作,支持多种文件格式导入导出。数据处理响应速度保持在0.8秒以内,支持超过100万行数据的即时分析。

AI工具酷表ChatExcelAI智能客服AI营销产品使用教程
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
AIWritePaper论文写作

AIWritePaper论文写作

AI论文写作指导平台

AIWritePaper论文写作是一站式AI论文写作辅助工具,简化了选题、文献检索至论文撰写的整个过程。通过简单设定,平台可快速生成高质量论文大纲和全文,配合图表、参考文献等一应俱全,同时提供开题报告和答辩PPT等增值服务,保障数据安全,有效提升写作效率和论文质量。

AI辅助写作AI工具AI论文工具论文写作智能生成大纲数据安全AI助手热门
博思AIPPT

博思AIPPT

AI一键生成PPT,就用博思AIPPT!

博思AIPPT,新一代的AI生成PPT平台,支持智能生成PPT、AI美化PPT、文本&链接生成PPT、导入Word/PDF/Markdown文档生成PPT等,内置海量精美PPT模板,涵盖商务、教育、科技等不同风格,同时针对每个页面提供多种版式,一键自适应切换,完美适配各种办公场景。

AI办公办公工具AI工具博思AIPPTAI生成PPT智能排版海量精品模板AI创作热门
潮际好麦

潮际好麦

AI赋能电商视觉革命,一站式智能商拍平台

潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。

iTerms

iTerms

企业专属的AI法律顾问

iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。

SimilarWeb流量提升

SimilarWeb流量提升

稳定高效的流量提升解决方案,助力品牌曝光

稳定高效的流量提升解决方案,助力品牌曝光

Sora2视频免费生成

Sora2视频免费生成

最新版Sora2模型免费使用,一键生成无水印视频

最新版Sora2模型免费使用,一键生成无水印视频

Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

下拉加载更多