CharlinChen / Uma_AutoTrain

Get the phone screen content through ADB, and get the click strategy through image recognition.Then tap in the corresponding position of the mobile phone in order to achieve automatic horse raising.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Umamusume Automatically scripts

ウマ娘/赛马娘自动育成脚本 中文版传送门:https://gitee.com/CharlinChen/Uma_AutoTrain

Introduction

Get the phone screen content through ADB, and get the click strategy through image recognition.Then tap in the corresponding position of the mobile phone in order to achieve automatic horse raising.

Instructions

  1. Make sure PYTHON3 is installed with modules such as subprocess,matplotlib,numpy and random.
  2. Enter the mobile developer mode, open the USB debugging, then connect the phone and computer with the data cable.
  3. Run the script using the following command:python3 start.py
  4. Enter the training round (the initial value is 0) and the target distance, then the phone will pop up the USB debugging application, please allow debugging.
  5. This script works on phones with a 2340x1080 resolution and 76 pixels high bang, such as the Redmi Note 8 Pro.
  6. For other mobile phones, please change the feature identification coordinates and color in the code by yourself.
  7. If you don't know Python syntax and your phone doesn't meet the requirements, you can probably give up.
  8. Video presentation: https://www.bilibili.com/video/BV1qo4y1C7VU/

Responsibility

  1. This code is only for learning and communication, do not use for commercial purposes (such as Taobao);
  2. The use of script violates part of the game treaty, please be responsible for your account.

By: charlin

About

Get the phone screen content through ADB, and get the click strategy through image recognition.Then tap in the corresponding position of the mobile phone in order to achieve automatic horse raising.

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%