Commit Graph

129 Commits

Author SHA1 Message Date
github-actions[bot]
ecd4a33f8d chore: Auto update by pre-commit hooks
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/21118556393
[skip changelog]
2026-01-18 21:04:18 +00:00
MistEO
a11660cbac feat(PC): 支持 PC 端明日方舟 (#15407)
* feat(controller): 集成 MaaWin32ControlUnit 支持 Win32 窗口截图与控制

- 提取公共滑动插值逻辑到 SwipeHelper.hpp,重构 Minitouch/PlayTools 控制器
- 新增 Win32ControlUnitLoader 动态加载 MaaWin32ControlUnit.dll
- 新增 Win32Controller 实现 ControllerAPI,适配 touch_down/move/up 接口
- 添加 AsstAsyncAttachWindow 公开 API 用于绑定 Win32 窗口
- 添加 Win32 截图/输入方式的类型定义和枚举常量

* feat(api): 增加同步版本的 AsstAttachWindow 接口

模仿 AsstConnect 实现同步绑定 Win32 窗口的接口,方便简单场景下直接调用。
该接口标记为 deprecated,建议使用异步版本 AsstAsyncAttachWindow。

* fix: can build MaaCore

* feat: 完成整体适配

* feat(ci): 添加 MaaFramework Win32ControlUnit 下载步骤

使用 robinraju/release-downloader 从 MaaFramework 最新 release 下载
win-x64 版本并提取 MaaWin32ControlUnit 到构建产物中

* docs: 添加 Win32Controller 调试所需 MaaWin32ControlUnit 的说明

在开发文档的环境配置步骤中说明调试 Win32Controller 需要手动下载
MaaWin32ControlUnit.dll,并欢迎社区贡献自动下载脚本

* fix(i18n): 修改 UseAttachWindowWarning 措辞为"仅供尝鲜"

* fix: 小细节修复

* ci: fix maafw filename

* feat: PC 移至连接配置

* feat: 调整描述

* chore: 调整 PC 在连接配置中的顺序

* feat: 设置指引和开始唤醒界面 PC 选项绑定

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2026-01-18 21:17:59 +08:00
MistEO
fa7c823dde perf: use boost::regex instead of std::regex (#15126) 2025-12-19 13:04:28 +08:00
MistEO
26502d1e54 chore: add logs 2025-11-07 09:38:00 +08:00
MistEO
87ddcdf8e6 perf: 更好的随机点分布 (#14652)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-07 09:33:53 +08:00
MistEO
640eed10e2 refactor: use MaaUtils instead of Utils (#14579)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-02 23:19:38 +08:00
uye
625a3f6228 fix: 手动关闭模拟器后未重启 MAA 时 minitouch 可能失效 2025-10-08 16:48:27 +08:00
Rain Yang
30c8fce308 fix: 增强 playtools 关闭连接时的异常处理,确保套接字安全关闭 (#14280)
* fix: 增强playtools关闭连接时的异常处理,确保套接字安全关闭

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-03 14:14:02 +08:00
Constrat
93bbb0ba4b fix: clang 2025-09-26 21:54:06 +02:00
uye
8e8063a066 fix: 怎么还有人在用 adb input 2025-09-27 00:32:11 +08:00
pre-commit-ci[bot]
d734aecbe2 chore: Auto update by pre-commit hooks [skip changelog] 2025-09-15 14:43:19 +00:00
uye
f0e878f291 fix: minitouch 触控 wait ms 2025-09-15 22:38:35 +08:00
MistEO
2db165a158 ci: fix minitouch scale 2025-09-15 16:43:58 +08:00
MistEO
bec0325236 refactor: use std::format instead of sprintf (#14107)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-15 01:07:05 +08:00
MistEO
5c0445d3ab refactor: 依赖大更新 (#13908)
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-08 21:17:47 +08:00
uye
6a58d350c6 chore: mumu 使用 7555 端口时禁用 Index 检测,添加日志警告 2025-08-24 10:49:06 +08:00
uye
f460a03859 chore: 调整 LDExtras 文件位置 2025-08-13 15:35:25 +08:00
uye
c5cb5e744e style: format 2025-08-12 22:23:15 +08:00
uye
cf8257b685 feat: 支持 mumu 5555 端口使用控制台退出与截图增强 2025-08-12 21:53:24 +08:00
uye
7b9e1453ad fix: uuid 与 version 返回错误格式时崩溃
fix #13351
2025-07-25 21:20:29 +08:00
Constrat
2972bbfbe9 style: clang
[skip changelog]
2025-07-12 13:38:47 +02:00
uye
d64f4b3aeb feat: 为截图测试日志添加 Tooltip 展示所有截图方式耗时 2025-07-12 18:56:08 +08:00
SherkeyXD
488c203301 chore: no overflow 2025-07-09 20:33:46 +08:00
uye
66f60a206a ci: ubuntu build 2025-07-09 16:49:56 +08:00
uye
5537684305 feat: 新增雷电专版注册表自动检测,新增雷电端口自动检测 2025-07-09 16:26:49 +08:00
晓丶梦丶仁
cead754a6d fix: Mumu5.0 MumuExtra
mumu5.0 正式版似乎在根目录中留了一个 shell\sdk\xxxx.dll,部分用户反应这个 dll 无法连接模拟器,删除后可用;于是检测路径时优先检测 Mumu5.0 的路径,若不存在再向下兼容
2025-07-03 00:22:21 +08:00
SherkeyXD
13e42a7915 fix: no unsigned subtraction 2025-07-02 19:33:17 +08:00
dantmnf
74182f8479 fix: improper ifstream usage in adblite
https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/12199#issuecomment-2974975943
2025-06-18 16:32:54 +08:00
Constrat
bbc2774115 style: fix clang 2025-06-09 23:17:48 +02:00
uye
c0efe8891a fix: 高分辨率下无法进入特定关卡(虽然修了但还是不建议用 2k 4k 2025-06-09 15:44:42 +08:00
uye
589f7bf99f fix: microseconds -> milliseconds 2025-06-07 16:28:03 +08:00
status102
0ee4bb9ae9 chore: mumu内测路径注释 2025-06-04 18:37:23 +08:00
晓丶梦丶仁
bd25ea50d7 chore: MuMuExtras 5.0+ (#12876) 2025-06-04 00:09:15 +08:00
status102
f44c91ab51 fix: ubuntu unused 2025-05-12 18:59:23 +08:00
status102
a943d0ef5f chore: mark 2025-05-12 17:37:09 +08:00
dantmnf
2016f37757 fix: handle leak
https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/12199#issuecomment-2746840742
2025-03-24 22:42:54 +08:00
teldd1
8948ee96b6 fix: Attempt retry once screencap for MumuExtras (#11550) 2025-01-27 23:59:01 +08:00
status102
9d5bb5c609 fix: 6be4d0aca0 2025-01-15 23:28:21 +08:00
status102
6be4d0aca0 fix: 截图失败时清空image_payload 2025-01-15 20:18:36 +08:00
status102
d54a0c82ae chore: PlayToolsController start_game及input方法增加log输出提示 2025-01-13 18:02:00 +08:00
晓丶梦丶仁
3d5e05414f feat: 点刺、后勤种子存钱 & ProcessTask 添加 Input 方法 (#11521)
* feat: 为 ProcessTask 添加文本输入功能

* feat: 点刺、后勤种子存钱

* docs: 为 Input 方法添加文档

* perf: 添加循环刷钱cd检查

* perf: werror

* perf: 改变 Input 的 int 值

* perf: 减少 AsstProxy 传参,改用 c:Binding

* chore: 界面显示和获取分离

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-01-12 20:03:09 +08:00
uye
3656d36b2c fix: click 泊松分布超出范围 2024-11-05 16:12:10 +08:00
uye
c4da235de7 chore: 移除多余变量 2024-10-29 16:53:48 +08:00
uye
75dba872a5 fix: 修复手动关闭或闪退后,无法截图到新窗口 2024-10-29 16:24:40 +08:00
Weiyou Wang
e4bfd54d94 fix: MuMu bridge connection (#10937)
* fix: MuMu bridge connection

* fix: global adaptation

* chore: 调整布局,优化变量位置

* fix: 网络桥接模式设置不再与自动检测链接相关

* chore: 自动检测时禁用增强模式开关

* chore: 添加开启桥接的提示

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2024-10-27 23:07:16 +08:00
pre-commit-ci[bot]
ce02c80498 chore: Auto update by pre-commit hooks [skip changelog] 2024-10-22 08:40:28 +00:00
MistEO
4823eda6bb fix: mumu display id error if startup ark manually (#10787) 2024-10-12 02:01:03 +08:00
MistEO
9ff3b1e7a7 fix: mumu display id error when ark not startup (#10786) 2024-10-12 01:42:22 +08:00
MistEO
312ac0a277 feat: 支持mumu后台保活,通过包名获取display_id (#10713)
* feat: 支持mumu后台保活,通过包名获取display_id

* perf: 调整mumu extras需要的信息

* perf: 适配UI

* fix: build error

* feat: 每次截图前都获取display id

* feat: 每次启动app重新获取display id

* fix: 修复mumu保活多屏幕时分辨率错误

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-11 20:41:17 +08:00
uye
228e4f03b8 feat: LD 截图 (#10581)
* feat: EmulatorExtras 子模块更新

* feat: 写了一坨

* feat: 大概是能用了

* feat: ui 支持 ld 截图增强

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

* chore: 使用 steady_clock

* chore: 移除未使用变量
2024-09-17 22:52:18 +08:00