Skip to content
キラメイ edited this page Jan 18, 2024 · 4 revisions

Blue Archive Auto Script

Python

baas, a GUI-based Blue Archive script designed for running on screens with a resolution of 1280x720. The ultimate goal is to take over all Blue Archive tasks and achieve full automation.

baas is a free and open-source software, available at: https://github.com/pur1fying/blue_archive_auto_script

GUI support, thanks @キラメイ Kiramei

GUI Framework support, thanks @zhiyiYo

GUI preview: gui

Features

  • Cafeteria: Select specified students for invitation tickets, pat their heads in the cafeteria, and receive cafeteria rewards.
  • Shop: Automatically purchase 16 items from the general goods store and 13 items from the arena shop.
  • Harvest: Daily group stamina, mailbox, daily arena rewards, total power battle cumulative score rewards, and daily mission rewards.
  • Stamina Cleanup: Specify any main story stage (normal or hard) or special commission for sweeping any number of times.
  • Arena: Clean up until there are no more arena challenge tickets.
  • Manufacturing: Select manufacturing item priority and the number of times to manufacture (make sure there are enough acceleration tickets).
  • Momo Talk: Automatically complete all ongoing dialogues, complete the story, and receive Blue Crystals.
  • Total Power Battle: Clear total power battle challenge tickets and receive rewards.

Key Features:

  • Exception Detection: baas has a lot of monitoring mechanisms to reduce the impact of illegal operations, but it cannot completely avoid the impact of human operations. Make sure the options you choose for tasks are valid and do not click on the screen during runtime.
  • No Issues on Low-End Computers: Computers with low processor speeds can manually adjust the screenshot speed to increase the runtime.

Installation

Simply double-click on BlueArchiveAutoScript.exe to install the environment and wait patiently.
After the installation is complete, the BAAS UI interface will automatically launch.

How to Use

Some key parameters:

  • Emulator size must be 1280x720
  • Server: Official Server/B Server (International Server under development)
  • Connect to Android Emulator: Please set the port number (LDPlayer: 5555), (Mumu Emulator: 7555), (For multi-instance emulators, please check the corresponding port number)
  • Screenshot Interval: 0.5s (High CPU Performance) / 1s - 2s (Low CPU Performance) BAAS has high CPU usage during runtime. If you want to reduce CPU usage, a GPU-accelerated version is available.

How to Report Bugs

Take at least 5 minutes to think and prepare before asking a question, as someone else will spend their 5 minutes helping you.

Before submitting a question, please:

  • Check for updates to BAAS and make sure you are using the latest version.
  • Read the FAQ in the QQ group.
  • If it is unexpected behavior, provide the log of the UI interface when the unexpected behavior occurred, emulator screenshots, or videos.
  • If the program crashes or terminates abnormally, provide the error.log file located in the root directory.

Known Issues

  • OCR Chinese character recognition accuracy is acceptable but not particularly high.
  • ioERROR: Decrease the screenshot speed to avoid issues (>=0.5s is recommended).
  • Continuous clicking operations in a short time may be recognized as unclicked when the emulator lags.

Contact Us

  • QQ Group: 658302636 (If you have development intentions, please add the author's email pur1fying at [email protected])

Future Goals

  • Let's open source together for the Blue Archive community.
  • Add automatic farming and automatic storyline progression modules.
  • Improve exception detection mechanisms.
  • Train a high-accuracy OCR model.