All Projects → Meowcolm024 → FGO_Battle

Meowcolm024 / FGO_Battle

Licence: MIT license
An auto-battle script for Fate/Grand Order

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to FGO Battle

FGO-Automata
一个FGO脚本和API フェイトグランドオーダー自動化
Stars: ✭ 92 (+268%)
Mutual labels:  fate, fate-grand-order
Fate
An Industrial Grade Federated Learning Framework
Stars: ✭ 3,775 (+15000%)
Mutual labels:  fate
FairAI
This is a collection of papers and other resources related to fairness.
Stars: ✭ 55 (+120%)
Mutual labels:  fate
fate
Fate is a modern science chinese name create tool.
Stars: ✭ 1,974 (+7796%)
Mutual labels:  fate
chronos
Chronos是用于Fate起名的日历计算工具,计算(公历,农历,八字,万年历,年柱,日柱,月柱,时柱,四柱)等
Stars: ✭ 66 (+164%)
Mutual labels:  fate
fsnrnue
Lutris-based Linux installer for Fate/stay night [Réalta Nua] Ultimate Edition
Stars: ✭ 51 (+104%)
Mutual labels:  fate
fgo-bot
fgo自动刷图脚本
Stars: ✭ 52 (+108%)
Mutual labels:  fate-grand-order
apps
Atlas Academy's FGO data viewer
Stars: ✭ 22 (-12%)
Mutual labels:  fate-grand-order
chaldea
Chaldea - Yet Another Material Planner for Fate/Grand Order
Stars: ✭ 129 (+416%)
Mutual labels:  fate-grand-order

FGO_Battle

⚠️THIS PROJECT WILL NO LONGER BE MAINTAINED

Check out FGO-One for the latest version :)

About the project

In short, this project is a auto battle script for the game Fate/Grand Order.
The script mainly consists three parts:

  • interface recognition
  • card priority calculation
  • conducting

The interface recognition part is mainly related to OpenCV, which is the module "cv2"(or opencv-python)
And the algorithm is mainly from this picture
The last part obviously is the part which combine the parts mentioned above

How to use

  1. use the following command to check whether adb is installed

    adb devices
    

    if not, install it via Homebrew

    brew cask install android-platform-tools
    
  2. clone the repository

    git clone [email protected]:Meowcolm024/FGO_Battle.git
    
  3. connect you Android phone with USB Debugging ON, then run "main.py"

Something else

The templates are from Fate/GO(Chinese version), if you're using other versions, please change them QWQ

The coordinates in the script ares based on screenshots from Huawei Mate 10 Pro with a resolution of 2160x1080, you may need to change some parameters if your phone is not this resolution. QAQ
Just run "test.py" then you could get the coordinates of the cards and compare it with the existed data to check whether a modification is needed

Known issues

Recognition may not be 100% correct. Thus, the action the script has taken may not be the best choice(especially in complicated scenarios)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].