mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Doc: Add notice to out-dated contents
- [CN] Update readme, and installation_cn
This commit is contained in:
@@ -110,8 +110,11 @@
|
||||
> 傻瓜式安装包里有什么?
|
||||
>
|
||||
> [WinPython](https://winpython.github.io/) Winpython64-3.7.6.0dot
|
||||
> 预安装的 requirements
|
||||
>
|
||||
> 预安装的依赖
|
||||
>
|
||||
> [PortableGit](https://git-scm.com/download/win)
|
||||
>
|
||||
> Easy_Install-V2.bat, 用来执行 git pull
|
||||
|
||||
- Clone 本项目
|
||||
@@ -188,6 +191,8 @@ python -m uiautomator2 init
|
||||
|
||||
一些模拟器的默认 serial:
|
||||
|
||||
如果你有多个模拟器, 需要执行 `adb devices` 查看对应的 serial
|
||||
|
||||
| 设备 | Emulator | serial |
|
||||
| ---------- | ---------- | --------------- |
|
||||
| 蓝叠模拟器 | BlueStacks | 127.0.0.1:5555 |
|
||||
|
||||
@@ -125,6 +125,10 @@ BATTLE_PREPARATION = Button(area=(1043, 607, 1241, 667), color=(234, 179, 97), b
|
||||
|
||||
## 如何适配一张新的地图 How to adapt to a new map
|
||||
|
||||
> 以下内容已过时, 但你仍然可以依照这些内容创建新的地图
|
||||
>
|
||||
> 现在可以使用 `./dev_tools/map_extractor.py` 自动生成地图文件, 详细说明在该文件的末尾.
|
||||
|
||||
下面举例适配 7-2 的简单版, 完整逻辑在 campaign.campaign_main.campaign_7_2
|
||||
|
||||
### 定义地图
|
||||
|
||||
@@ -131,6 +131,10 @@ Paste the image under `dev_tools/relative_crop.py` , filename should start with
|
||||
|
||||
## How to adapt to a new map
|
||||
|
||||
> The following content is out-dated, but you can still create a map file according to this.
|
||||
>
|
||||
> Now you can auto-generate map files using `./dev_tools/map_extractor.py`, docs are at the end of the file.
|
||||
|
||||
The following example is adapted to the simple version of 7-2. The complete logic is in `campaign/campaign_main/7_2.py`
|
||||
|
||||
### Define the map
|
||||
|
||||
Reference in New Issue
Block a user