2020-11-19 21:27:27 +08:00
2020-11-19 21:13:42 +08:00
2020-11-19 16:38:03 +08:00
2020-11-19 21:27:27 +08:00
2020-10-02 09:52:35 +08:00
2020-11-17 09:39:12 +08:00
2020-10-04 12:24:43 +08:00
2020-11-19 16:34:50 +08:00
2020-11-19 21:17:18 +08:00
2020-11-19 21:27:27 +08:00

关于脚本倒卖的问题: #1

SkyAutoPlayerScript

A script to play Sheets generated by SkyStudio automatically in game Sky with accessibility services using Auto.js
使用Auto.js提供的无障碍权限实现在Sky光遇中自动弹奏SkyStudio导出的曲谱

特性

相比于其他脚本SkyAutoPlayerScript拥有以下优势

  • 全GUI操作无需编辑任何代码流畅的UI动画。
  • 完整的弹奏控制面板,支持暂停 进度控制 倍速控制
  • 自设定键位坐标,避免按压琴键的偏移问题
  • 在线共享乐谱,有许多优质乐谱。
    (甚至有的乐谱复杂到根本无法手弹)
  • 自动更新及时修复BUG无需担心版本过时问题。
  • ...

使用(Usage)


①Auto.js4.1.1 Alpha2 (461)版本下载: Ericwyn/Auto.js/releases@V4.1.1.Alpha2
Download Auto.jsEricwyn/Auto.js/releases@V4.1.1.Alpha2
手机请下载autoJs-V4.1.1.Alpha2-common-armeabi-v7a-debug.apk
Please download autoJs-V4.1.1.Alpha2-common-armeabi-v7a-debug.apk
②为Auto.js开启无障碍服务悬浮窗权限
Turn on Accessibility service and allow Display pop-up window permission for Auto.js
③在Auto.js中新建一个脚本并粘贴以下代码并运行
Create a new script file in Auto.js. Copy the code below and run!

"ui";
"use strict";
var emitter = events.emitter(threads.currentThread());
threads.start(function() {
  emitter.emit("evaluate", (function(){
    var resp = http.get("https://gitee.com/stageguard/SkyAutoPlayerScript/raw/master/source/SkyAutoplayer.js");
    if(resp.statusCode >= 200 && resp.statusCode < 300) {
      return resp.body.string();
    } else {
      resp = http.get("https://cdn.jsdelivr.net/gh/StageGuard/SkyAutoPlayerScript@" + http.get("https://gitee.com/stageguard/SkyAutoPlayerScript/raw/master/gitVersion").body.string() + "/source/SkyAutoplayer.js");
      if(resp.statusCode >= 200 && resp.statusCode < 300) {
        return resp.body.string();
      } else {
        return "console.show();console.log(\"Failed to load script\")";
      }
	}
  }()));
});
emitter.on('evaluate', function(s){
  eval(s);
});

在Auto.js版本4.1.1 Alpha2 (461)中测试通过,不保证其他版本的兼容性(取决于其他版本相对于此版本的API是否有breaking changes)

清除数据(Clear data)

SkyAutoPlayerScript在使用过程中会产生本地数据存储若想全部删除请使用Auto.js执行以下代码
SkyAutoPlayerScript will store some data while using, if you want to delete all data, please run the code below in Auto.js

storages.remove("StageGuard:SkyAutoPlayer:Config");
files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");

上传乐谱

你可以fork本仓库将你要上传的乐谱添加至shared_sheets文件夹,并按照以下要求在shared_sheets.json添加项目

{
    //乐谱名称
    "name": "SheetName",
    //乐谱文件名(于shared_sheets文件夹中)
    "file": "SheetName.txt",
    //你的id
    "author": "Author",
    //乐谱简介
    "desc": "This is a description about my sheet",
    //乐谱BPM
    "bpm" : 320,
    //暂时没用
    "suggested_instrument": 1,
    //乐谱键位数(8键或15键)
    "keyCount": 15,
    //乐谱音高
    "pitchLevel": 0
  }

修改完成后,申请Pull Request等待merge即可。

请注意:在申请Pull Request之前请确保你的SkyAutoPlayerScript仓库已同步至最新以免出现意外问题

或通过发送乐谱到邮箱beamiscool@qq.com


注意

请仔细阅读以下使用须知!

  1. 未充分测试若遇到BUG请酷安私信@StageGuard或新建Issue来反馈BUG
  2. SkyAutoPlayer是完全免费且开源的软件/脚本(https://github.com/StageGuard/SkyAutoPlayerScript),禁止使用本脚本作为盈利用途!
  3. 本脚本仅可用作娱乐用途,请不要在正规场合使用本脚本(请自行体会"正规场合"是什么意思)若因使用本脚本所出现了一些不友好的问题与脚本作者StageGuard无关。
  4. 脚本只能给你一时满足感而不能使你进步,请适当使用,只有真正的技术才是王道,才能使你感到快乐。
  5. 本脚本只是一个"弹奏机"并不内置曲谱请在GooglePlay下载SkyStudio编谱。
  6. 本脚本不会增加解密乐谱功能,包括但不限于加密的SkyStudio乐谱加密的JS等,也不接受加密乐谱的共享。

贡献

欢迎任何人贡献本项目包括但不限于Pull RequestIssueNew feature request

贡献者名单(按照首次贡献时间排序)

SkyAutoPlayerScript

共享乐谱

酷安@Aex技术总监
酷安@夏卡卡卡
酷安@深空失忆か
抖音@子哲啊🌈(zizhe1880689503)
酷安@你们很有趣呢
酷安@情如风雪无常
酷安@慕疵
酷安@社区最弱萌新
酷安@九方辰
酷安@北极马可罗尼
哔哩哔哩@UTF16
酷安@Syngenex
TwitterPhoebe@huunhut1217
酷安@终究是错付了
酷安@DesperatU
酷安@明明酱

图标来源

Iconfont-阿里巴巴矢量图标库

鸣谢

projectXero (提供适用于Rhino的ListAdapter)

许可证协议

    SkyAutoPlayer (Auto.js script)
	  Copyright © 2020 StageGuard

  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.

  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with this library; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
  USA
Description
A script to play Sheets generated by SkyStudio automatically in game Sky with accessibility services using AutoX.
sky
Readme 5.8 MiB
Languages
JavaScript 100%