Compare commits
68 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6eb41d212d | ||
|
|
a197b02fdf | ||
|
|
526c07fcde | ||
|
|
9252f74d81 | ||
|
|
c2b393274a | ||
|
|
a708d72b49 | ||
|
|
4a333ab0b2 | ||
|
|
caa9364e28 | ||
|
|
285e5f9b1b | ||
|
|
9e2668c7fd | ||
|
|
e6fb1926d8 | ||
|
|
e6a8caa696 | ||
|
|
08a970c7ae | ||
|
|
46abcf97a5 | ||
|
|
d42c80b9c2 | ||
|
|
db9910451d | ||
|
|
d31063c2c2 | ||
|
|
9bcf78bb30 | ||
|
|
1fe35c8258 | ||
|
|
cd644fe8c1 | ||
|
|
9dc48de772 | ||
|
|
777c5ca376 | ||
|
|
7998af8dd5 | ||
|
|
1b13fb295d | ||
|
|
c1a383f5bb | ||
|
|
05eb9b03d5 | ||
|
|
416715e28c | ||
|
|
937334be46 | ||
|
|
1ee3c70bc3 | ||
|
|
4616264951 | ||
|
|
17bf9bac77 | ||
|
|
f2757e25c3 | ||
|
|
8c88ccccc9 | ||
|
|
18fdf78b61 | ||
|
|
6f19874810 | ||
|
|
50532cdf34 | ||
|
|
bec33d0b8d | ||
|
|
fa7b623a96 | ||
|
|
dbb262716e | ||
|
|
c61d680fe9 | ||
|
|
89175adca6 | ||
|
|
c1ae9225be | ||
|
|
d5e94caef1 | ||
|
|
c7141c911c | ||
|
|
b6713a792f | ||
|
|
c0976b30c1 | ||
|
|
65fdecb9be | ||
|
|
2a16af252f | ||
|
|
cd967af5c8 | ||
|
|
df9ddff4e4 | ||
|
|
8f26c9e1de | ||
|
|
b88515f4f2 | ||
|
|
46b88f4c6f | ||
|
|
03af82818a | ||
|
|
9f5a6ab58e | ||
|
|
f468dabb89 | ||
|
|
bb570e1b5c | ||
|
|
e57d7d5ad3 | ||
|
|
b3d3f77ba5 | ||
|
|
8abf823182 | ||
|
|
064a8fbe9a | ||
|
|
c43edd8549 | ||
|
|
eca5b79934 | ||
|
|
4e14a0d2c9 | ||
|
|
f38adb904f | ||
|
|
44aab3f525 | ||
|
|
1383f66726 | ||
|
|
715e21a420 |
3
.gitignore
vendored
@@ -1,2 +1,5 @@
|
||||
.vscode/settings.json
|
||||
.vscode/tasks.json
|
||||
rhino.jar
|
||||
update.sh
|
||||
updateSharedSheets.js
|
||||
51
README.md
@@ -14,11 +14,15 @@ A script to play Sheets generated by SkyStudio automatically in game Sky with ac
|
||||
* 自动更新,及时修复BUG,无需担心版本过时问题。
|
||||
* ...
|
||||
|
||||
## 使用
|
||||
## 使用(Usage)
|
||||
<br>①Auto.js`4.1.1 Alpha2 (461)`版本下载: [`Ericwyn/Auto.js/releases@V4.1.1.Alpha2`](https://github.com/Ericwyn/Auto.js/releases/tag/V4.1.1.Alpha2)
|
||||
<br>Download `Auto.js`[`Ericwyn/Auto.js/releases@V4.1.1.Alpha2`](https://github.com/Ericwyn/Auto.js/releases/tag/V4.1.1.Alpha2)
|
||||
<br>手机请下载`autoJs-V4.1.1.Alpha2-common-armeabi-v7a-debug.apk`
|
||||
<br>Please download `autoJs-V4.1.1.Alpha2-common-armeabi-v7a-debug.apk`
|
||||
<br>②为Auto.js开启**无障碍服务**和**悬浮窗权限**。
|
||||
<br>Turn on **Accessibility service** and allow **Display pop-up window** permission for Auto.js
|
||||
<br>③在Auto.js中新建一个脚本并粘贴以下代码并运行:
|
||||
<br>Create a new script file in Auto.js. Copy the code below and run!
|
||||
```javascript
|
||||
"ui";
|
||||
"use strict";
|
||||
@@ -45,8 +49,10 @@ emitter.on('evaluate', function(s){
|
||||
|
||||
在Auto.js版本`4.1.1 Alpha2 (461)`中测试通过,不保证其他版本的兼容性(取决于其他版本相对于此版本的API是否有`breaking changes`)
|
||||
|
||||
## 清除数据
|
||||
SkyAutoPlayer在使用过程中会产生本地数据存储,若想全部删除,请使用Auto.js执行以下代码
|
||||
## 清除数据(Clear data)
|
||||
`SkyAutoPlayerScript`在使用过程中会产生本地数据存储,若想全部删除,请使用Auto.js执行以下代码
|
||||
<br>`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/");
|
||||
@@ -71,6 +77,8 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
|
||||
"bpm" : 320,
|
||||
//暂时没用
|
||||
"suggested_instrument": 1,
|
||||
//乐谱键位数(8键或15键)
|
||||
"keyCount": 15,
|
||||
//乐谱音高
|
||||
"pitchLevel": 0
|
||||
}
|
||||
@@ -79,16 +87,20 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
|
||||
修改完成后,申请`Pull Request`,等待merge即可。
|
||||
> 请注意:在申请`Pull Request`之前请确保你的SkyAutoPlayerScript仓库已同步至最新,以免出现意外问题!
|
||||
|
||||
或通过发送乐谱到邮箱[beamiscool@qq.com](mailto:beamiscool@qq.com)
|
||||
|
||||
<br>
|
||||
|
||||
# 注意
|
||||
### 请仔细阅读以下使用须知!
|
||||
|
||||
1. 未充分测试,若遇到BUG,请酷安私信@StageGuard或新建Issue来反馈BUG!
|
||||
2. **SkyAutoPlayer是完全免费且开源的软件/脚本([https://github.com/StageGuard/SkyAutoPlayerScript](https://github.com/StageGuard/SkyAutoPlayerScript)),禁止使用本脚本作为盈利用途!**
|
||||
2. **SkyAutoPlayer是完全免费且开源的软件/脚本([https://github.com/StageGuard/SkyAutoPlayerScript](https://github.com/StageGuard/SkyAutoPlayerScript)),使用SkyAutoPlayer盈利的同时请标注源项目链接。**
|
||||
3. **共享乐谱不遵守LGPL-2.1协议,如您想在SkyAutoPlayer以外使用这些乐谱,请自行找乐谱作者授权!**
|
||||
3. 本脚本仅可用作娱乐用途,请不要在正规场合使用本脚本(请自行体会\"正规场合\"是什么意思),若因使用本脚本所出现了一些不友好的问题,与脚本作者StageGuard无关。
|
||||
4. 脚本只能给你一时满足感而不能使你进步,请适当使用,只有真正的技术才是王道,才能使你感到快乐。
|
||||
5. 本脚本只是一个"弹奏机",并不内置曲谱,请在GooglePlay下载[SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio)编谱。
|
||||
6. 本脚本不会增加解密乐谱功能,包括但不限于**加密的SkyStudio乐谱**,**加密的JS**等,也不接受加密乐谱的共享。
|
||||
|
||||
# 贡献
|
||||
欢迎任何人贡献本项目,包括但不限于Pull Request,Issue,New feature request
|
||||
@@ -96,7 +108,8 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
|
||||
## 贡献者名单(按照首次贡献时间排序)
|
||||
|
||||
### SkyAutoPlayerScript
|
||||
无
|
||||
[@tiaod](https://github.com/tiaod)<br>
|
||||
<br>
|
||||
|
||||
### 共享乐谱
|
||||
酷安[@Aex技术总监](http://www.coolapk.com/u/1286879)<br>
|
||||
@@ -109,8 +122,12 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
|
||||
酷安[@社区最弱萌新](http://www.coolapk.com/u/3291313)<br>
|
||||
酷安[@九方辰](http://www.coolapk.com/u/634078)<br>
|
||||
酷安[@北极马可罗尼](http://www.coolapk.com/u/463478)<br>
|
||||
酷安[@UTF16](http://www.coolapk.com/u/3751911)<br>
|
||||
酷安[@]()<br>
|
||||
哔哩哔哩[@UTF16](https://space.bilibili.com/623364258)<br>
|
||||
酷安[@Syngenex](http://www.coolapk.com/u/1093421)<br>
|
||||
Twitter[Phoebe@huunhut1217](https://mobile.twitter.com/huunhut1217)<br>
|
||||
酷安[@终究是错付了](http://www.coolapk.com/u/2293899)<br>
|
||||
酷安[@DesperatU](http://www.coolapk.com/u/1075889)<br>
|
||||
酷安[@明明酱](http://www.coolapk.com/u/1706128)<br>
|
||||
<br>
|
||||
|
||||
# 图标来源
|
||||
@@ -126,16 +143,18 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
|
||||
SkyAutoPlayer (Auto.js script)
|
||||
Copyright © 2020 StageGuard
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
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 program is distributed in the hope that it will be useful,
|
||||
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 General Public License for more details.
|
||||
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 General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>
|
||||
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
|
||||
```
|
||||
@@ -1 +1 @@
|
||||
13979f81ae3a4e415446100d56b9499592d89b8d
|
||||
a197b02fdf36e282ff3180caab0d4248eb8f2b40
|
||||
BIN
resources/bilibili.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
resources/clock.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
resources/coolapk.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
resources/douyin.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
resources/github.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
resources/note.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
resources/piano.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
resources/twitter.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
resources/user.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
1759
shared_sheets.json
BIN
shared_sheets/Co_Chac_Yeu_La_Day-MTP.txt
Normal file
BIN
shared_sheets/Dream_It_Possible.txt
Normal file
BIN
shared_sheets/Genshin_Liyue.txt
Normal file
BIN
shared_sheets/Hanava.txt
Normal file
BIN
shared_sheets/Love_5.txt
Normal file
BIN
shared_sheets/Mojito.txt
Normal file
BIN
shared_sheets/See_You_Again_(Stb).txt
Normal file
BIN
shared_sheets/Summertime.txt
Normal file
BIN
shared_sheets/Waiting_for_love.txt
Normal file
BIN
shared_sheets/下雨天.txt
Normal file
BIN
shared_sheets/不知所措.txt
Normal file
BIN
shared_sheets/体面.txt
Normal file
BIN
shared_sheets/凉凉.txt
Normal file
BIN
shared_sheets/微微.txt
Normal file
BIN
shared_sheets/恋爱循环.txt
Normal file
BIN
shared_sheets/未闻花名.txt
Normal file
BIN
shared_sheets/演员.txt
Normal file
BIN
shared_sheets/烟花易冷K.txt
Normal file
BIN
shared_sheets/童话镇.txt
Normal file
BIN
shared_sheets/菊次郎的夏天(夏卡重制版).txt
Normal file
BIN
shared_sheets/走马.txt
Normal file
BIN
shared_sheets/追光者.txt
Normal file
BIN
shared_sheets/那女孩对我说.txt
Normal file
BIN
shared_sheets/陈奕迅_心的距离.txt
Normal file
@@ -1,5 +1,33 @@
|
||||
"ui";
|
||||
"use strict";
|
||||
|
||||
/*
|
||||
SkyAutoPlayer (Auto.js script)
|
||||
Copyright © 2020 StageGuard
|
||||
Contact :
|
||||
(QQ: 1355416608)
|
||||
(Email: beamiscool@qq.com)
|
||||
(BaiduTieba@拐角处_等你)
|
||||
(Weibo@StageGuard)
|
||||
(CoolApk@StageGuard)
|
||||
(Twiter@stageguardcn)
|
||||
|
||||
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
|
||||
*/
|
||||
|
||||
var emitter = events.emitter(threads.currentThread());
|
||||
threads.start(function() {
|
||||
emitter.emit("evaluate", (function(){
|
||||
|
||||
@@ -1,5 +1,43 @@
|
||||
版本: 20
|
||||
更新时间: 2020.12.02 18:40
|
||||
更新内容:
|
||||
* 新增:增加当前乐谱弹奏完成后自动随机弹奏下一首本地乐谱的选项(@tiaod)。
|
||||
|
||||
版本: 19
|
||||
更新时间: 2020.11.19 21:25
|
||||
更新内容:
|
||||
* 修复:自然弹奏完成后再次点击播放按钮不会重新开始
|
||||
* 新增:共享乐谱的详细界面添加作者社交链接跳转
|
||||
|
||||
版本: 18
|
||||
更新时间: 2020.10.04 10:30
|
||||
更新内容:
|
||||
* 修复:修复了版本8遗留的文件编码问题
|
||||
(这个BUG导致SkyStudio打开下载的共享乐谱或者设置键位后的本地乐谱闪退)
|
||||
(如何修复已经会导致闪退的乐谱: )
|
||||
(对于下载的共享乐谱: 删除并重新下载)
|
||||
(对于已设置键位的本地乐谱: ① 使用MT管理器或其他文件管理器打开有问题的乐谱)
|
||||
(② 指定UTF-16LE编码重新加载)
|
||||
(③ 复制内容,新建一个文件并粘贴内容)
|
||||
(④ 指定UTF-16LE编码保存文件)
|
||||
|
||||
版本: 17
|
||||
更新时间: 2020.10.02 14:30
|
||||
更新内容:
|
||||
* 新增:亮暗色主题切换
|
||||
|
||||
版本: 16
|
||||
更新时间: 2020.10.02 12:50
|
||||
更新内容:
|
||||
* 改善:乐谱详情界面
|
||||
|
||||
版本: 15
|
||||
更新时间: 2020.10.01 00:00
|
||||
更新内容:
|
||||
* 新增:8键位乐谱支持
|
||||
|
||||
版本: 14
|
||||
更新时间: 2020.09.03 20:51
|
||||
更新时间: 2020.09.13 20:51
|
||||
更新内容:
|
||||
* 新增:共享乐谱支持搜索功能
|
||||
* 改善:窗口拓展功能
|
||||
|
||||