A Python-based RPA script for Azur Lane level 7-2.
- OS: Windows 10
- Screen Size: 1920x1080
- MuMu Android Simulator
- Screen Resolution: width: 1200, height: 1200, DPI: 320, maximized window
- Python Environment
- Python Version: > 3.0.0
- PyAutoGUI
- Clone this repository to your specified directory:
git clone https://github.com/scxs1388/azurlane7-2.git
- Install Python3 or create Anaconda3 environment. (Recommended Python Version: 3.6.12)
- Install PyAutoGUI.
pip install pyautogui
- Set the game interface on campaign Chapter 7.
- Set the option
RECORD_ITEM
toFalse
in the filesettings.py
. - Run the file
main.py
in cmd. (admin rights required)
python main.py
- Input 7-2 pass times and confirm.
- Switch to the game interface.
- Install following modules:
pip install numpy
pip install pandas
pip install opencv-python
pip install tqdm
pip install baidu-aip
pip install PyMySQL
-
Set the option
RECORD_ITEM
toTrue
in the filesettings.py
. -
Record Data
All screenshot images will be saved in the directory
image/commit_image
. -
Commit Data
- run the file
commit_data.py
. (Baidu AI client info required) - check the data file
data/commit_data.csv
and correct the recognition errors. - run the file
commit_data.py
again to check the data validity.
- run the file
-
Submit Data
- run the file
submit_data.py
. (server user info required) - the file
data/commit_data.csv
will be reset, the filedata/submit_data.csv
will be updated, the image file directories inimage/commit_image
will be moved toimage/submit_image
.
- run the file
a website to display the statistics of the dropped items in level 7-2. url: https://www.scxs-studio.com/p/7-2/
Azur Lane (CN) 水星行动 VirtualRiot