Commit Graph

80 Commits

Author SHA1 Message Date
uye
c4e320526c feat: LD 截图 (#10581)
* feat: EmulatorExtras 子模块更新

* feat: 写了一坨

* feat: 大概是能用了

* feat: ui 支持 ld 截图增强

* chore: 修改 LdSpecialScreenshot 颜色,调整版本要求描述

* chore: 使用 steady_clock

* chore: 移除未使用变量
2024-09-17 22:52:18 +08:00
uye
d2040d3328 fix: adb lite 无法连接 2024-09-16 16:35:28 +08:00
uye
34a2b083d8 perf: 使用 devices 判断是否需要连接 (#10606)
* perf: 使用 devices 判断是否需要连接

* chore: 判断是否存在捕获组
2024-09-14 14:29:01 +08:00
uye
02ff6e0c63 perf: 优化 connect 逻辑 (#10571)
* chore: 优化 connect 对实体设备和已有错误路径下自动检测的支持

* perf: 优化 core 对 connect 成功的判断逻辑

may fix 类似 #10426 的异常情况
2024-09-12 13:07:36 +08:00
Rbqwow
d120a04206 refactor: StopGame (#9658)
* perf: StopGame

* style: rename Intent to packageName

* chore: 不准不选择区服

* fix: 移除其他配置中的抽象 stop 匹配

* style: 统一驼峰

* style: 按照执行顺序重新排序

* feat: 添加回调和文档

* fix: 修复参数传入

* docs: 更新文档

* fix: merge

* chore: 把WSA的配置也改了

* chore: update submodule

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: Loong <wangl.cc@outlook.com>
2024-08-11 01:50:30 +08:00
uye
f89b59e680 fix: 开启 MuMu 截图增强后重启模拟器未重启 MAA 后出现截图失败
fix #10110
2024-08-06 18:34:41 +08:00
uye
bc1c01a1bc fix: fix smoking-test 2024-08-02 14:37:39 +08:00
Horror Proton
837c5bc04a feat: fallback to General config 2024-08-02 13:32:51 +08:00
zzyyyl
1da98683f3 fix: 修复连接前同步参数时日志报错的问题 (#9644)
m_controller is not inited
2024-07-13 10:02:16 +08:00
Horror Proton
fa51662273 refactor: use factory function instead of class 2024-06-19 17:06:43 +08:00
Horror Proton
c0b3ea28ea fix: fix coredump caused by screencap failure 2024-06-08 22:38:14 +08:00
uye
3fa6e72604 chore: Add trace log for scaled coordinates in ControlScaleProxy click & swipe 2024-06-01 00:19:00 +08:00
uye
6c4d5951ae fix: call_command timeout时提前返回 std::nullopt
fix #9218
fix #9102
2024-05-27 18:23:39 +08:00
uye
e27ff5502a perf: auto start optimization + MAC fix (#9083)
I have no way to test for MAC
2024-05-17 09:27:50 +08:00
Horror Proton
94efd15f91 feat: add compile def to disable emulator extras 2024-05-13 18:35:50 +08:00
Constrat
63f3b90f1c revert: PlayToolsController returns 2024-05-12 16:02:29 +02:00
Constrat
32d06df501 chore: Add get_controller_type() to discern Android / PlayTools 2024-05-12 12:07:29 +02:00
Constrat
175c396053 fix: return specific values for auto starting methods 2024-05-12 11:10:43 +02:00
Constrat
d03571fb2a feat: auto retry start on app startup crash (#8966) 2024-05-06 21:04:26 +01:00
MistEO
605dcda98a feat: mumu extras (#8939)
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2024-05-03 22:05:37 +08:00
status102
ebbde85b85 perf(MaaCore): ScreenCost截图失败次数为0时,不返回fault_times字段 2024-02-08 17:04:13 +08:00
status102
b8a30971fe perf(MaaCore): ScreencapCost输出失败次数 2024-02-07 19:54:29 +08:00
Horror Proton
6949ba9d14 fix: fix typo and undefined behavior of minmax 2024-02-07 19:09:56 +08:00
status102
13d8f74704 fix: 启动时连续截图出错10次导致MAA崩溃 2024-02-07 18:09:27 +08:00
status102
b8d7c67495 perf: 截图耗时计算最值、均值排除截图失败的耗时 2024-01-02 15:05:07 +08:00
dantmnf
e759a50d89 fix: subprocess handle leak 2024-01-02 11:04:39 +08:00
Horror Proton
8eee0f7486 perf: update PosixIO::call_command (#7748)
* perf: block busyloop with epoll, do not reuse pipe

* perf: do not call getpid() on each line of log

* perf: epoll -> poll, do not waitpid on EAGAIN

* perf: remove poll
2023-12-25 05:38:31 +00:00
status102
bac1a63114 perf: 截图不成功时,耗时将记录为INT_MAX 2023-12-13 23:40:52 +08:00
status102
813763865b feat: wpf设置-连接设置新增近期截图耗时 2023-12-13 22:41:18 +08:00
status102
f4abb5da32 fix: 修复在截图最快方式检测不成功时,不输出数值 2023-12-11 11:07:45 +08:00
Horror Proton
5b39c8ebcf feat: add nodiscard on minitouch input functions [skip changelog] 2023-12-09 13:04:06 +08:00
Horror Proton
b7b215072d fix: fix coredump when minitouch failed to restart 2023-12-08 13:56:51 +08:00
David
c743681818 perf: reduced screencap timeout (#7476)
refs:
https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/7473#issuecomment-1838440548
https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/7473#issuecomment-1838446255
2023-12-04 19:46:00 +01:00
Horror Proton
658ef97c4b fix: fix crashing after minitouch fails to restart 2023-12-02 16:22:28 +08:00
status102
e02f987471 feat: 新增检测最快截图方式后输出截图方法和截图测试耗时 (#7441)
feat: 新增检测最快截图方式后输出截图方法和截图测试耗时
2023-12-01 15:15:40 +08:00
status102
bdda9b1e8e feat: 新增检测最快截图方式后输出截图方法和耗时 2023-11-30 19:43:24 +08:00
ManicSteiner
38e0a05c5b feat: 返回桌面&模拟器返回桌面 2023-11-03 23:37:43 +08:00
Horror Proton
aecd16c4c5 fix: coredump after failing to restart minitouch 2023-10-27 14:41:38 +08:00
zzyyyl
35d3af099f fix: call_command 外部中断时中止进程 2023-10-24 16:21:53 +08:00
zzyyyl
db4e97e0b5 fix: 尝试修复 RawByNc 截图方式在点击停止后下一次继续时有概率操作延时很高的问题 2023-10-24 16:21:53 +08:00
zzyyyl
642744bfa4 perf: call_command() 在 wait_time < 0 时允许最后一次重试(以便输出调试信息) 2023-10-24 16:21:45 +08:00
MistEO
7588492891 chore: 改改log 2023-10-13 20:50:08 +08:00
MistEO
a2a50c9f48 fix: 当minitouch断开时自动重连 2023-10-13 20:48:42 +08:00
zzyyyl
43c308350d style: format 2023-10-12 13:25:53 +08:00
w568w
0c80162256 fix: subprocess hangs up if not draining the pipe when reading with recv_by_socket 2023-10-07 08:33:47 +08:00
shxyke
a077e58719 feat: Add ThriftController 2023-10-04 09:53:16 +08:00
Horror Proton
74055b2f4b fix: fix size check of android screencap 2023-05-28 14:52:58 +08:00
MistEO
924fc64302 fix: 修复不能部署干员的问题 2023-05-24 00:33:13 +08:00
Horror Proton
f62223d03d feat: log error on mismatched image size
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/4539
2023-05-23 20:57:37 +08:00
MistEO
744d082db8 chore: 添加一些adbSwipeXDistanceMultiplier的注释 2023-05-21 09:48:18 +08:00