GithubHelp home page GithubHelp logo

yuhangtom / maaassistantskland Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maaxyz/maaassistantskland

0.0 0.0 0.0 11.34 MB

License: GNU Affero General Public License v3.0

C++ 91.20% Python 3.59% CMake 5.19% Batchfile 0.02%

maaassistantskland's Introduction

LOGO

MaaAssistantSkland

MAS 是指 Maa Assistant Skland

基于MAA全新架构的 森空岛 小助手

图像技术 + 模拟控制,解放双手!

MaaFramework 强力驱动!

适配情况

目前仅适配了 1280x720 320dpi1920x1080 480dpi 分辨率,其他分辨率尚待测试

How to use

  1. 下载 对应平台的压缩包
  2. 将压缩包解压到没有中文的目录下

基本说明

  1. 请根据 模拟器支持情况,进行对应的操作。
  2. 按照 适配情况 修改模拟器分辨率,一般在模拟器设置-显示中进行修改。

直接使用

以 Windows 用户为主,其他系统请照葫芦画瓢。

  1. 首次使用,双击打开 MAS_CLI.exe 或 通过 CMD 执行 MAS_CLI.exe

  2. 等待扫描设备(设备越多等待时间越长)

  3. 选择需要连接的设备

  4. 开始使用吧!

    • 后续使用除非需要连接的设备不存在,否则无需再次选择设备

作为MAA结束后脚本使用

以 Windows 用户为主,其他系统请照葫芦画瓢。

  1. 先按照 直接使用 进行操作

  2. 在MAA目录下新建一个文本文件,在其中填入以下内容

    @echo off
    cd D:/Software/MAS
    MAS_CLI.exe
    • 注意:D:/Software/MAS 请替换成你自己的 MAS 目录

    如果一天只希望执行一次,可以修改成

    @echo off
    cd D:/Software/MAS
    set "date_file=last_run_date.txt"
    if not exist "%date_file%" (
      MAS_CLI.exe
      echo %date% > "%date_file%"
      exit
    )
    
    set /p last_run_date=<"%date_file%"
    set "last_run_date=%last_run_date: =%"
    
    set current_date=%date%
    
    if %current_date% neq %last_run_date% (
      MAS_CLI.exe
      echo %current_date% > "%date_file%"
    )
    exit
    • 注意:D:/Software/MAS 请替换成你自己的 MAS 目录
  3. 将文本文件重命名为 finish.bat

    • 如果重命名后没有弹出修改扩展名的二次确认对话框,且文件图标没有变化,请自行搜索“Windows如何显示文件扩展名”。
  4. 在MAA 设置-游戏设置-结束后脚本 中填入 finish.bat

  5. 开始使用吧!

How to build

如果你要编译源码才看这节,否则直接 下载 即可

欢迎大佬们来带带~

  1. 下载 MaaFramework 的 Release 包,解压到 deps 文件夹中

  2. 配置 cmake

    • Windows
    cmake --preset "MSVC 2022"
    • Linux / macOS
    cmake --preset "NinjaMulti"
  3. 使用 cmake 构建工程

    cmake --build build --config Release
    cmake --install build --prefix install

    生成的二进制及相关资源文件在 install 目录下

开发相关

Join us

用户交流 QQ 群:MAA 使用 & 粥游交流 QQ 群
技术(舟无关):内卷地狱!(QQ 群)

maaassistantskland's People

Contributors

aba2396 avatar dongwlin avatar misteo avatar neko-para avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.