mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
223 lines
9.0 KiB
JSON
223 lines
9.0 KiB
JSON
{
|
||
"version": "0.6",
|
||
"options": {
|
||
"connectType": 0,
|
||
"connectType_Doc": "连接类型:0-连接电脑上的模拟器,1-连接USB连接的安卓设备,2-连接局域网中的安卓设备。默认0",
|
||
"connectRemoteAddress": "",
|
||
"connectRemoteAddress_Doc": "连接局域网中的安卓设备的地址,仅在connectType为2时生效。格式举例:192.168.1.123:5678",
|
||
"taskDelay": 1000,
|
||
"taskDelay_Doc": "识别的延迟:越快识别频率越快,但会增加CPU消耗。单位毫秒,默认1000",
|
||
"printWindow": true,
|
||
"printWindow_Doc": "截图功能:开启后每次结算界面会截图到screenshot目录下。true-开启,false-关闭,默认true",
|
||
"uploadToPenguin": true,
|
||
"uploadToPenguin_Doc": "上传企鹅物流https://penguin-stats.cn/:每次到结算界面,是否上传企鹅物流数据统计网站。true-开启,false-关闭,默认true",
|
||
"penguinApi": "https://penguin-stats.cn/PenguinStats/api/v2/report",
|
||
"penguinApi_Doc": "企鹅物流汇报接口",
|
||
"controlDelayRange": [
|
||
0,
|
||
0
|
||
],
|
||
"controlDelayRange_Doc": "点击随机延时:每次点击操作会进行随机延时,降低封号风险(好像也没听说过谁被封号的)。格式为 [ 最小延时, 最大延时 ],单位为毫秒。例如想设置3~5秒延时,即修改为[ 3000, 5000 ],默认0~0",
|
||
"ocrThreadNumber": 4,
|
||
"ocrThreadNumber_Doc": "文字识别库OcrLite的线程数量,理论上开的高点识别会快点,但是会更卡。默认4"
|
||
},
|
||
"infrastOptions": {
|
||
"dormThreshold": 0.3,
|
||
"dormThreshold_Doc": "宿舍心情百分比阈值,心情百分比小于该值的干员会被放进宿舍。取值范围(0, 1.0),默认0.3"
|
||
},
|
||
"emulator_Doc": "下面的和模拟器窗口捕获逻辑有关,不需要修改",
|
||
"emulator": {
|
||
"BlueStacks": {
|
||
"handle": {
|
||
"class": "BS2CHINAUI",
|
||
"window": "BlueStacks App Player"
|
||
},
|
||
"adb": {
|
||
"path": "[EmulatorPath]Engine\\ProgramFiles\\HD-Adb.exe",
|
||
"connect": "[Adb] connect 127.0.0.1:5555",
|
||
"click": "[Adb] -s 127.0.0.1:5555 shell input tap [x] [y]",
|
||
"swipe": "[Adb] -s 127.0.0.1:5555 shell input swipe [x1] [y1] [x2] [y2] [duration]",
|
||
"display": "[Adb] -s 127.0.0.1:5555 shell dumpsys window displays | grep init= | awk ' { print $3 } '",
|
||
"displayRegex": "cur=%dx%d",
|
||
"screencap": "[Adb] -s 127.0.0.1:5555 exec-out screencap -p"
|
||
}
|
||
},
|
||
"BlueStacksInternational": {
|
||
"handle": {
|
||
"class": "",
|
||
"window": "BlueStacks"
|
||
},
|
||
"adb": {
|
||
"path": "[EmulatorPath]HD-Adb.exe",
|
||
"connect": "[Adb] connect 127.0.0.1:5555",
|
||
"click": "[Adb] -s 127.0.0.1:5555 shell input tap [x] [y]",
|
||
"swipe": "[Adb] -s 127.0.0.1:5555 shell input swipe [x1] [y1] [x2] [y2] [duration]",
|
||
"display": "[Adb] -s 127.0.0.1:5555 shell dumpsys window displays | grep init= | awk ' { print $3 } '",
|
||
"displayRegex": "cur=%dx%d",
|
||
"screencap": "[Adb] -s 127.0.0.1:5555 exec-out screencap -p"
|
||
}
|
||
},
|
||
"MuMuEmulator": {
|
||
"handle": {
|
||
"class": "Qt5QWindowIcon",
|
||
"window": "明日方舟 - MuMu模拟器"
|
||
},
|
||
"adb": {
|
||
"path": "[EmulatorPath]..\\vmonitor\\bin\\adb_server.exe",
|
||
"connect": "[Adb] connect 127.0.0.1:7555",
|
||
"click": "[Adb] -s 127.0.0.1:7555 shell input tap [x] [y]",
|
||
"swipe": "[Adb] -s 127.0.0.1:7555 shell input swipe [x1] [y1] [x2] [y2] [duration]",
|
||
"display": "[Adb] -s 127.0.0.1:7555 shell dumpsys window displays | grep init= | awk ' { print $3 } '",
|
||
"displayRegex": "cur=%dx%d",
|
||
"screencap": "[Adb] -s 127.0.0.1:7555 exec-out screencap -p"
|
||
}
|
||
},
|
||
"LDPlayer": {
|
||
"handle": {
|
||
"class": "LDPlayerMainFrame",
|
||
"window": "雷电模拟器"
|
||
},
|
||
"adb": {
|
||
"path": "[EmulatorPath]adb.exe",
|
||
"connect": "[Adb] connect emulator-5554",
|
||
"click": "[Adb] -s emulator-5554 shell input tap [x] [y]",
|
||
"swipe": "[Adb] -s emulator-5554 shell input swipe [x1] [y1] [x2] [y2] [duration]",
|
||
"display": "[Adb] -s emulator-5554 shell dumpsys window displays | grep init= | awk ' { print $3 } '",
|
||
"displayRegex": "cur=%dx%d",
|
||
"screencap": "[Adb] -s emulator-5554 shell screencap -p"
|
||
}
|
||
},
|
||
"Nox": {
|
||
"handle": {
|
||
"class": "Qt5QWindowIcon",
|
||
"window": "夜神模拟器"
|
||
},
|
||
"adb": {
|
||
"path": "[EmulatorPath]nox_adb.exe",
|
||
"connect": "[Adb] connect 127.0.0.1:62001",
|
||
"click": "[Adb] -s 127.0.0.1:62001 shell input tap [x] [y]",
|
||
"swipe": "[Adb] -s 127.0.0.1:62001 shell input swipe [x1] [y1] [x2] [y2] [duration]",
|
||
"display": "[Adb] -s 127.0.0.1:62001 shell dumpsys window displays | grep init= | awk ' { print $3 } '",
|
||
"displayRegex": "cur=%dx%d",
|
||
"screencap": "[Adb] -s 127.0.0.1:62001 exec-out screencap -p"
|
||
}
|
||
},
|
||
"XYAZ": {
|
||
"handle": {
|
||
"class": "Qt5QWindowIcon",
|
||
"window": "逍遥模拟器"
|
||
},
|
||
"adb": {
|
||
"path": "[EmulatorPath]adb.exe",
|
||
"connect": "[Adb] connect 127.0.0.1:21503",
|
||
"click": "[Adb] -s 127.0.0.1:21503 shell input tap [x] [y]",
|
||
"swipe": "[Adb] -s 127.0.0.1:21503 shell input swipe [x1] [y1] [x2] [y2] [duration]",
|
||
"display": "[Adb] -s 127.0.0.1:21503 shell dumpsys window displays | grep init=",
|
||
"displayRegex": " init=%dx%d",
|
||
"screencap": "[Adb] -s 127.0.0.1:21503 shell screencap -p"
|
||
}
|
||
},
|
||
"Remote": {
|
||
"handle": {
|
||
"class": "Remote Class",
|
||
"window": "Remote Window",
|
||
"Doc": "这俩不是用来捕获窗口的,是为了兼容现有的捕获模拟器的字段,随手写的,这两个字段实际不会使用到"
|
||
},
|
||
"adb": {
|
||
"path": "[ExecDir]platform-tools\\adb.exe",
|
||
"connect": "[Adb] connect [Address]",
|
||
"click": "[Adb] -s [Address] shell input tap [x] [y]",
|
||
"swipe": "[Adb] -s [Address] shell input swipe [x1] [y1] [x2] [y2] [duration]",
|
||
"display": "[Adb] -s [Address] shell dumpsys window displays | grep init= | awk ' { print $3 } '",
|
||
"displayRegex": "cur=%dx%d",
|
||
"screencap": "[Adb] -s [Address] exec-out screencap -p"
|
||
}
|
||
},
|
||
"USB": {
|
||
"handle": {
|
||
"class": "USB Class",
|
||
"window": "USB Window",
|
||
"Doc": "这俩不是用来捕获窗口的,是为了兼容现有的捕获模拟器的字段,随手写的,这两个字段实际不会使用到"
|
||
},
|
||
"adb": {
|
||
"Doc": "USB连接暂时不兼容多设备的情况",
|
||
"path": "[ExecDir]platform-tools\\adb.exe",
|
||
"connect": "[Adb] devices",
|
||
"click": "[Adb] shell input tap [x] [y]",
|
||
"swipe": "[Adb] shell input swipe [x1] [y1] [x2] [y2] [duration]",
|
||
"display": "[Adb] shell dumpsys window displays | grep init= | awk ' { print $3 } '",
|
||
"displayRegex": "cur=%dx%d",
|
||
"screencap": "[Adb] exec-out screencap -p"
|
||
}
|
||
}
|
||
},
|
||
"ocrReplace_Doc": "下面为常见的文字识别错误纠正,不需要修改",
|
||
"recruitOcrReplace": [
|
||
[
|
||
"沮击",
|
||
"狙击"
|
||
],
|
||
[
|
||
"犯击",
|
||
"狙击"
|
||
],
|
||
[
|
||
"泪击",
|
||
"狙击"
|
||
],
|
||
[
|
||
"都出",
|
||
"输出"
|
||
],
|
||
[
|
||
"都乐",
|
||
"输出"
|
||
],
|
||
[
|
||
"抓出",
|
||
"输出"
|
||
],
|
||
[
|
||
"都任",
|
||
"输出"
|
||
],
|
||
[
|
||
"新于",
|
||
"新手"
|
||
],
|
||
[
|
||
"防拍",
|
||
"防护"
|
||
]
|
||
],
|
||
"infrastOcrReplace": [
|
||
[
|
||
"蛇居箱",
|
||
"蛇屠箱"
|
||
],
|
||
[
|
||
"叫米",
|
||
"古米"
|
||
],
|
||
[
|
||
"节草",
|
||
"苇草"
|
||
],
|
||
[
|
||
"粹兰",
|
||
"梓兰"
|
||
],
|
||
[
|
||
"艾丝菜尔",
|
||
"艾丝黛尔"
|
||
],
|
||
[
|
||
"艾丝莱尔",
|
||
"艾丝黛尔"
|
||
],
|
||
[
|
||
",斑点",
|
||
"斑点"
|
||
]
|
||
]
|
||
} |