File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ config/
3434# Generated game data (run: uv run python -m aao.resources.syncer)
3535data /map /
3636data /.battle_data.json
37+ data /level_codes.json
38+ data /operator_mapping.json
39+ data /operator_names.json
3740resource /base /image /avatar /
3841
3942# Reference projects (local clones, not part of this repo)
Original file line number Diff line number Diff line change @@ -49,15 +49,20 @@ uv sync
4949# 当前使用混合档:det=small,rec/keys=tiny
5050uv 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)
5358uv 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
7681resource/ MAA pipeline(farm.json 自循环)/ image 模板 / ocr 模型
82+ data/ 生成物:干员名/映射 + 关卡地图 + 关卡代号(syncer 生成,不入库)
7783config/ calibration(校准)/ timelines(时间轴)/ settings.json
7884debug/ 日志(aao/YYYY-MM-DD.log,按天轮转保留 2 周)
7985```
You can’t perform that action at this time.
0 commit comments