## Summary by Sourcery 基于 macOS ScreenCaptureKit 新增截图支持,并优化资源加载、配置变更追踪和 Web API 缓存行为。 新功能: - 引入基于 macOS ScreenCaptureKit 的 MacSCK 截图方法及专用辅助工具,用于捕获模拟器窗口。 - 新增构建时选项,在 Apple 平台上启用 MacSCK 并链接所需的 macOS 框架。 - 在 Maa API 服务中暴露 API 响应是否来自缓存的信息,并调整调用方以区分处理缓存数据与新鲜数据。 缺陷修复: - 确保仅在远程任务数据为新下载(而非完全来自缓存)时才合并并重新加载关卡资源。 - 在变更通知和日志中传播新旧配置值,以实现更精确的配置变更追踪。 - 修正干员 Pallas 的特殊处理与排序逻辑,包括通过公共标志使其稀有度颜色资源可配置,并在同稀有度干员中将其排序靠前。 - 改进 Maa API 错误与缓存回退处理,避免在响应无效或缺失时静默返回不带缓存状态信息的 null。 增强: - 当仍在使用已弃用的单一 `tasks.json` 资源文件时,记录额外提示日志,并引导用户迁移到新的 tasks 目录格式。 - 优化 MuMu 截图增强模式文档,在所有支持的语言中明确不同版本的要求。 构建: - 在启用 ScreenCaptureKit 支持时,在 MaaCore 构建中有条件地包含 MacSCK 辅助源文件,定义编译期标志,并链接所需的 macOS 框架。 文档: - 更新多语言连接手册,明确截图增强模式所需支持的 MuMu 最低版本。 <details> <summary>Original summary in English</summary> ## Summary by Sourcery Add macOS ScreenCaptureKit-based screenshot support and refine resource loading, configuration change tracking, and web API caching behavior. New Features: - Introduce a MacSCK screenshot method with a dedicated helper to capture emulator windows via macOS ScreenCaptureKit. - Add a build-time option to enable MacSCK on Apple platforms and link the necessary macOS frameworks. - Expose whether API responses come from cache in the Maa API service and adjust callers to handle cached vs fresh data. Bug Fixes: - Ensure stage resources are only merged and reloaded when remote task data is freshly downloaded rather than served entirely from cache. - Propagate old and new configuration values through change notifications and logs for more accurate configuration tracking. - Correct the special handling and sorting of the operator Pallas, including making its rarity color resource configurable via a public flag and sorting it ahead of others with the same rarity. - Improve Maa API error and cache fallback handling so invalid or missing responses do not silently return null without cache status information. Enhancements: - Log additional guidance when the deprecated single tasks.json resource file is used and point users to the new tasks directory format. - Refine MuMu screenshot enhanced mode documentation with clearer version requirements across all supported languages. Build: - Include the MacSCK helper source conditionally in MaaCore builds, define a compile-time flag, and link required macOS frameworks when ScreenCaptureKit support is enabled. Documentation: - Update connection manuals in multiple languages to clarify the minimum supported MuMu versions for screenshot enhanced mode. </details> <details> <summary>Original summary in English</summary> ## Summary by Sourcery 基于 macOS ScreenCaptureKit 新增截图支持,并优化资源加载、配置变更追踪和 Web API 缓存行为。 新功能: - 引入基于 macOS ScreenCaptureKit 的 MacSCK 截图方法及专用辅助工具,用于捕获模拟器窗口。 - 新增构建时选项,在 Apple 平台上启用 MacSCK 并链接所需的 macOS 框架。 - 在 Maa API 服务中暴露 API 响应是否来自缓存的信息,并调整调用方以区分处理缓存数据与新鲜数据。 缺陷修复: - 确保仅在远程任务数据为新下载(而非完全来自缓存)时才合并并重新加载关卡资源。 - 在变更通知和日志中传播新旧配置值,以实现更精确的配置变更追踪。 - 修正干员 Pallas 的特殊处理与排序逻辑,包括通过公共标志使其稀有度颜色资源可配置,并在同稀有度干员中将其排序靠前。 - 改进 Maa API 错误与缓存回退处理,避免在响应无效或缺失时静默返回不带缓存状态信息的 null。 增强: - 当仍在使用已弃用的单一 `tasks.json` 资源文件时,记录额外提示日志,并引导用户迁移到新的 tasks 目录格式。 - 优化 MuMu 截图增强模式文档,在所有支持的语言中明确不同版本的要求。 构建: - 在启用 ScreenCaptureKit 支持时,在 MaaCore 构建中有条件地包含 MacSCK 辅助源文件,定义编译期标志,并链接所需的 macOS 框架。 文档: - 更新多语言连接手册,明确截图增强模式所需支持的 MuMu 最低版本。 <details> <summary>Original summary in English</summary> ## Summary by Sourcery Add macOS ScreenCaptureKit-based screenshot support and refine resource loading, configuration change tracking, and web API caching behavior. New Features: - Introduce a MacSCK screenshot method with a dedicated helper to capture emulator windows via macOS ScreenCaptureKit. - Add a build-time option to enable MacSCK on Apple platforms and link the necessary macOS frameworks. - Expose whether API responses come from cache in the Maa API service and adjust callers to handle cached vs fresh data. Bug Fixes: - Ensure stage resources are only merged and reloaded when remote task data is freshly downloaded rather than served entirely from cache. - Propagate old and new configuration values through change notifications and logs for more accurate configuration tracking. - Correct the special handling and sorting of the operator Pallas, including making its rarity color resource configurable via a public flag and sorting it ahead of others with the same rarity. - Improve Maa API error and cache fallback handling so invalid or missing responses do not silently return null without cache status information. Enhancements: - Log additional guidance when the deprecated single tasks.json resource file is used and point users to the new tasks directory format. - Refine MuMu screenshot enhanced mode documentation with clearer version requirements across all supported languages. Build: - Include the MacSCK helper source conditionally in MaaCore builds, define a compile-time flag, and link required macOS frameworks when ScreenCaptureKit support is enabled. Documentation: - Update connection manuals in multiple languages to clarify the minimum supported MuMu versions for screenshot enhanced mode. </details> </details> <details> <summary>Original summary in English</summary> ## Summary by Sourcery 基于 macOS ScreenCaptureKit 新增截图支持,并优化资源加载、配置变更追踪和 Web API 缓存行为。 新功能: - 引入基于 macOS ScreenCaptureKit 的 MacSCK 截图方法及专用辅助工具,用于捕获模拟器窗口。 - 新增构建时选项,在 Apple 平台上启用 MacSCK 并链接所需的 macOS 框架。 - 在 Maa API 服务中暴露 API 响应是否来自缓存的信息,并调整调用方以区分处理缓存数据与新鲜数据。 缺陷修复: - 确保仅在远程任务数据为新下载(而非完全来自缓存)时才合并并重新加载关卡资源。 - 在变更通知和日志中传播新旧配置值,以实现更精确的配置变更追踪。 - 修正干员 Pallas 的特殊处理与排序逻辑,包括通过公共标志使其稀有度颜色资源可配置,并在同稀有度干员中将其排序靠前。 - 改进 Maa API 错误与缓存回退处理,避免在响应无效或缺失时静默返回不带缓存状态信息的 null。 增强: - 当仍在使用已弃用的单一 `tasks.json` 资源文件时,记录额外提示日志,并引导用户迁移到新的 tasks 目录格式。 - 优化 MuMu 截图增强模式文档,在所有支持的语言中明确不同版本的要求。 构建: - 在启用 ScreenCaptureKit 支持时,在 MaaCore 构建中有条件地包含 MacSCK 辅助源文件,定义编译期标志,并链接所需的 macOS 框架。 文档: - 更新多语言连接手册,明确截图增强模式所需支持的 MuMu 最低版本。 <details> <summary>Original summary in English</summary> ## Summary by Sourcery Add macOS ScreenCaptureKit-based screenshot support and refine resource loading, configuration change tracking, and web API caching behavior. New Features: - Introduce a MacSCK screenshot method with a dedicated helper to capture emulator windows via macOS ScreenCaptureKit. - Add a build-time option to enable MacSCK on Apple platforms and link the necessary macOS frameworks. - Expose whether API responses come from cache in the Maa API service and adjust callers to handle cached vs fresh data. Bug Fixes: - Ensure stage resources are only merged and reloaded when remote task data is freshly downloaded rather than served entirely from cache. - Propagate old and new configuration values through change notifications and logs for more accurate configuration tracking. - Correct the special handling and sorting of the operator Pallas, including making its rarity color resource configurable via a public flag and sorting it ahead of others with the same rarity. - Improve Maa API error and cache fallback handling so invalid or missing responses do not silently return null without cache status information. Enhancements: - Log additional guidance when the deprecated single tasks.json resource file is used and point users to the new tasks directory format. - Refine MuMu screenshot enhanced mode documentation with clearer version requirements across all supported languages. Build: - Include the MacSCK helper source conditionally in MaaCore builds, define a compile-time flag, and link required macOS frameworks when ScreenCaptureKit support is enabled. Documentation: - Update connection manuals in multiple languages to clarify the minimum supported MuMu versions for screenshot enhanced mode. </details> <details> <summary>Original summary in English</summary> ## Summary by Sourcery 基于 macOS ScreenCaptureKit 新增截图支持,并优化资源加载、配置变更追踪和 Web API 缓存行为。 新功能: - 引入基于 macOS ScreenCaptureKit 的 MacSCK 截图方法及专用辅助工具,用于捕获模拟器窗口。 - 新增构建时选项,在 Apple 平台上启用 MacSCK 并链接所需的 macOS 框架。 - 在 Maa API 服务中暴露 API 响应是否来自缓存的信息,并调整调用方以区分处理缓存数据与新鲜数据。 缺陷修复: - 确保仅在远程任务数据为新下载(而非完全来自缓存)时才合并并重新加载关卡资源。 - 在变更通知和日志中传播新旧配置值,以实现更精确的配置变更追踪。 - 修正干员 Pallas 的特殊处理与排序逻辑,包括通过公共标志使其稀有度颜色资源可配置,并在同稀有度干员中将其排序靠前。 - 改进 Maa API 错误与缓存回退处理,避免在响应无效或缺失时静默返回不带缓存状态信息的 null。 增强: - 当仍在使用已弃用的单一 `tasks.json` 资源文件时,记录额外提示日志,并引导用户迁移到新的 tasks 目录格式。 - 优化 MuMu 截图增强模式文档,在所有支持的语言中明确不同版本的要求。 构建: - 在启用 ScreenCaptureKit 支持时,在 MaaCore 构建中有条件地包含 MacSCK 辅助源文件,定义编译期标志,并链接所需的 macOS 框架。 文档: - 更新多语言连接手册,明确截图增强模式所需支持的 MuMu 最低版本。 <details> <summary>Original summary in English</summary> ## Summary by Sourcery Add macOS ScreenCaptureKit-based screenshot support and refine resource loading, configuration change tracking, and web API caching behavior. New Features: - Introduce a MacSCK screenshot method with a dedicated helper to capture emulator windows via macOS ScreenCaptureKit. - Add a build-time option to enable MacSCK on Apple platforms and link the necessary macOS frameworks. - Expose whether API responses come from cache in the Maa API service and adjust callers to handle cached vs fresh data. Bug Fixes: - Ensure stage resources are only merged and reloaded when remote task data is freshly downloaded rather than served entirely from cache. - Propagate old and new configuration values through change notifications and logs for more accurate configuration tracking. - Correct the special handling and sorting of the operator Pallas, including making its rarity color resource configurable via a public flag and sorting it ahead of others with the same rarity. - Improve Maa API error and cache fallback handling so invalid or missing responses do not silently return null without cache status information. Enhancements: - Log additional guidance when the deprecated single tasks.json resource file is used and point users to the new tasks directory format. - Refine MuMu screenshot enhanced mode documentation with clearer version requirements across all supported languages. Build: - Include the MacSCK helper source conditionally in MaaCore builds, define a compile-time flag, and link required macOS frameworks when ScreenCaptureKit support is enabled. Documentation: - Update connection manuals in multiple languages to clarify the minimum supported MuMu versions for screenshot enhanced mode. </details> </details> </details>
MAA
简体中文 | 繁體中文 | English | 日本語 | 한국어
MAA 的意思是 MAA Assistant Arknights
一款明日方舟游戏小助手
基于图像识别技术,一键完成全部日常任务!
绝赞更新中 ✿✿ヽ(°▽°)ノ✿
下载与安装
请阅读 文档 后前往 官网 或 Releases 下载,并参考 新手上路 进行安装。
亮点功能
- 理智作战,掉落识别及上传 企鹅物流,一图流
- 智能基建换班,自动计算干员效率,单设施内最优解;同时也支持 自定义排班
- 自动公招,可选使用加急许可,一次全部刷完!公招数据自动上传 企鹅物流,一图流
- 支持手动识别公招界面,方便对高星公招做出选择
(你的这个高资回费出的是推王呢还是推王呢) - 支持识别干员列表,统计已有和未有干员及潜能,并在公招识别显示
- 支持识别养成材料,并导出至 企鹅物流刷图规划、明日方舟工具箱、ARK-NIGHTS 干员培养表
- 访问好友、收取信用及购物、领取日常奖励等,一键全日常自动长草
- 肉鸽全自动刷源石锭和等级,自动烧水和凹直升,智能识别干员及练度
- 选择作业 JSON 文件,自动抄作业, 视频演示
- 支持 C, Python, Java, Rust, Golang, Java HTTP, Rust HTTP 等多种接口,方便集成调用,自定义你的 MAA!
使用说明
功能介绍
请参阅 用户手册。
外服支持
目前国际服(美服)、日服、韩服、繁中服的绝大部分功能均已支持。但由于外服用户较少及项目人手不足,很多功能并没有进行全面的测试,所以请自行体验。
若您遇到了 Bug,或对某个功能有强需求,欢迎在 Issues 和 讨论区 催更;或加入我们一起建设 MAA!请参阅 外服适配教程
CLI 支持
MAA 支持命令行界面(CLI)操作,支持 Linux,macOS 和 Windows,可用于自动化脚本或在无图形界面的服务器上使用。请参阅 CLI 使用指南
加入我们
主要关联项目
- 全新框架:MaaFramework
- 作业站 前端:zoot-plus-frontend
- 作业站 后端:ZootPlusBackend
- 官网:前端
- 深度学习:MaaAI
多语言 (i18n)
MAA 以中文(简体)为第一语言,翻译词条均以中文(简体)为准。
参与开发
请参阅 开发指南。
API
- C 接口:集成示例
- Python 接口:集成示例
- Golang 接口:集成示例
- Dart 接口
- Java 接口:集成示例
- Java HTTP 接口
- Rust 接口:HTTP 接口
- TypeScript 接口
- Woolang 接口:集成示例
- 集成文档
- 回调消息协议
- 任务流程协议
- 自动抄作业协议
外服适配
请参阅 外服适配教程,对于国服已支持的功能,绝大部分的外服适配工作仅需要截图 + 简单的 JSON 修改即可。
Issue bot
请参阅 Issue Bot 使用方法
致谢
开源库
- 图像识别库:opencv
文字识别库:chineseocr_lite- 文字识别库:PaddleOCR
- 深度学习部署库:FastDeploy
- 机器学习加速器:onnxruntime
关卡掉落识别:企鹅物流识别- 地图格子识别:Arknights-Tile-Pos
- C++ JSON 库:meojson
- C++ 运算符解析器:calculator
C++ base64 编解码:cpp-base64- C++ 解压压缩库:zlib
- C++ Gzip 封装:gzip-hpp
- 安卓触控事件器:Minitouch
- 安卓触控事件器:MaaTouch
- WPF MVVM 框架:Stylet
- WPF 控件库:HandyControl -> HandyControls
- C# 日志:Serilog
- C# JSON 库:Newtonsoft.Json & System.Text.Json
下载器:aria2
数据源
公开招募数据:明日方舟工具箱干员及基建数据:PRTS Wiki- 关卡数据:企鹅物流数据统计
- 游戏数据及资源:明日方舟客户端素材
- 游戏数据:《明日方舟》Yostar游戏数据
贡献/参与者
感谢所有参与到开发/测试中的朋友们,是大家的帮助让 MAA 越来越好! (*´▽`)ノノ
声明
- 本软件使用 GNU Affero General Public License v3.0 only 开源,并附带额外 用户协议。
- 本软件 logo 并非使用 AGPL 3.0 协议开源,耗毛、vie 两位画师及软件全体开发者保留所有权利。不得以 AGPL 3.0 协议已授权为由在未经授权的情况下使用本软件 logo,不得在未经授权的情况下将本软件 logo 用于任何商业用途。
- 本软件开源、免费,仅供学习交流使用。若您遇到商家使用本软件进行代练并收费,可能是设备与时间等费用,产生的问题及后果与本软件无关。
DirectML 支持说明
本软件支持 GPU 加速功能,其在 Windows 平台上依赖于 Microsoft 提供的独立组件 DirectML。DirectML 并非本项目的开源部分,也不受 AGPL 3.0 的约束。为方便用户,我们随安装包附带了一个未经修改的 DirectML.dll 文件。如果您无需 GPU 加速功能,可安全删除该 DLL 文件,软件的核心功能仍可正常运行。
广告
用户交流 QQ 群:MAA 使用 & 粥游交流 QQ 群
Discord 服务器: 邀请链接
用户交流 TG 群:Telegram 群
自动战斗 JSON 作业分享:prts.plus
Bilibili 直播间:MrEO 直播间 直播敲代码 & MAA-Official 直播间 游戏/杂谈
技术群(舟无关、禁水):内卷地狱!(QQ 群)
开发者群:QQ 群
如果觉得软件对你有帮助,帮忙点个 Star 吧!~(网页最上方右上角的小星星),这就是对我们最大的支持了!



