Skip to content

Commit 8a778ad

Browse files
committed
chore: 不再追踪 syncer 生成的 data JSON,README 开发流程跟进
1 parent 1641b6e commit 8a778ad

5 files changed

Lines changed: 12 additions & 11098 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ config/
3434
# Generated game data (run: uv run python -m aao.resources.syncer)
3535
data/map/
3636
data/.battle_data.json
37+
data/level_codes.json
38+
data/operator_mapping.json
39+
data/operator_names.json
3740
resource/base/image/avatar/
3841

3942
# Reference projects (local clones, not part of this repo)

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,20 @@ uv sync
4949
# 当前使用混合档:det=small,rec/keys=tiny
5050
uv run python tools/configure.py
5151

52+
# 同步游戏数据:生成 data/ 下的干员名/映射 + 关卡地图 + 关卡代号
53+
# 干员数据来自远程 battle_data.json,关卡代号扫盘 data/map 生成
54+
# (这些 data/ 文件均为生成物,不入库,clone 后需手动跑一次)
55+
uv run python -m aao.resources.syncer
56+
5257
# 启动主控台(可选 --profile xxx.json)
5358
uv run python -m aao.app
54-
55-
# 可选:同步干员名 + 地图数据
56-
uv run python -m aao.resources.syncer
5759
```
5860

5961
前置:管理员终端(PostMessage 输入需 UIPI 权限)+ AFA(arknights-frame-assistant)常驻 + 游戏窗口前台。
6062

63+
> [!NOTE]
64+
> `data/` 下的 JSON(`operator_mapping`/`operator_names`/`level_codes`/`map/` 等)全部由 syncer 生成,不进 git。未同步时应用仍可启动,但关卡代号、干员名补全、avatar 匹配不可用;也可在设置页点「🔄 同步资源」按需更新。
65+
6166
## 项目结构
6267

6368
```txt
@@ -74,6 +79,7 @@ custom/ MAA custom 实现(pipeline 调用)
7479
reco/ ClickStage(关卡 OCR + 凹图计数)
7580
registry.py / outcome.py
7681
resource/ MAA pipeline(farm.json 自循环)/ image 模板 / ocr 模型
82+
data/ 生成物:干员名/映射 + 关卡地图 + 关卡代号(syncer 生成,不入库)
7783
config/ calibration(校准)/ timelines(时间轴)/ settings.json
7884
debug/ 日志(aao/YYYY-MM-DD.log,按天轮转保留 2 周)
7985
```

0 commit comments

Comments
 (0)