93 Commits
v12 ... v20

Author SHA1 Message Date
StageGuard
6eb41d212d fix 2020-12-02 23:40:48 +08:00
StageGuard
a197b02fdf fix 2020-12-02 23:39:13 +08:00
StageGuard
526c07fcde Update README.md 2020-12-02 18:39:56 +08:00
StageGuard
9252f74d81 Update version 20 2020-12-02 18:38:22 +08:00
StageGuard
c2b393274a Merge pull request #3 from tiaod/master
添加连续随机播放功能
2020-12-02 04:33:34 -06:00
hackerMei
a708d72b49 set default keyCount. 2020-12-02 11:27:13 +08:00
tiaod
4a333ab0b2 Add auto play randomly. 2020-12-01 18:22:39 +08:00
StageGuard
caa9364e28 Correct outdated notice 2020-11-22 10:08:08 +08:00
StageGuard
285e5f9b1b fix: stop when pause 2020-11-19 23:37:14 +08:00
StageGuard
9e2668c7fd fix: stop when pause 2020-11-19 23:36:02 +08:00
StageGuard
e6fb1926d8 Update version 19 2020-11-19 21:36:36 +08:00
StageGuard
e6a8caa696 Update version 19 2020-11-19 21:35:50 +08:00
StageGuard
08a970c7ae Update version 19 2020-11-19 21:27:59 +08:00
StageGuard
46abcf97a5 Update version 19 2020-11-19 21:27:27 +08:00
StageGuard
d42c80b9c2 fix incorrect information. 2020-11-19 21:17:18 +08:00
StageGuard
db9910451d Add resources 2020-11-19 21:13:42 +08:00
StageGuard
d31063c2c2 Change social list format and fix incorrect information. 2020-11-19 20:16:30 +08:00
StageGuard
9bcf78bb30 Update shared sheet list. 2020-11-19 18:54:36 +08:00
StageGuard
1fe35c8258 Add social link icons 2020-11-19 18:52:43 +08:00
StageGuard
cd644fe8c1 Upload user shared sheets. 2020-11-19 16:38:03 +08:00
StageGuard
9dc48de772 Upload user shared sheets. 2020-11-19 16:34:50 +08:00
StageGuard
777c5ca376 improve parsing note process 2020-11-17 09:39:12 +08:00
StageGuard
7998af8dd5 improve parsing note process 2020-11-17 09:33:00 +08:00
StageGuard
1b13fb295d Upload user shared sheets 2020-11-17 09:32:27 +08:00
StageGuard
c1a383f5bb Update uesr shared sheets 2020-10-05 22:37:37 +08:00
StageGuard
05eb9b03d5 Upload user shared sheets 2020-10-05 13:29:17 +08:00
StageGuard
416715e28c Upload user shared sheets 2020-10-04 21:00:09 +08:00
StageGuard
937334be46 Change LICENSE to LGPL 2020-10-04 12:24:43 +08:00
StageGuard
1ee3c70bc3 Update version 18 2020-10-04 10:36:50 +08:00
StageGuard
4616264951 Update version 18 2020-10-04 10:35:33 +08:00
StageGuard
17bf9bac77 Update version 18 2020-10-04 10:29:16 +08:00
StageGuard
f2757e25c3 Update version 18 2020-10-04 10:28:46 +08:00
StageGuard
8c88ccccc9 Fix file encoding bug left in version 8 2020-10-04 10:22:50 +08:00
StageGuard
18fdf78b61 Update version 17 2020-10-02 14:49:33 +08:00
StageGuard
6f19874810 Update version 17 2020-10-02 14:49:12 +08:00
StageGuard
50532cdf34 Update version 17 2020-10-02 14:33:06 +08:00
StageGuard
bec33d0b8d Update version 17 2020-10-02 14:32:44 +08:00
StageGuard
fa7b623a96 Update version 16 2020-10-02 12:55:41 +08:00
StageGuard
dbb262716e Update version 16 2020-10-02 12:51:44 +08:00
StageGuard
c61d680fe9 Add resources 2020-10-02 11:32:41 +08:00
StageGuard
89175adca6 Update .gitignore 2020-10-02 09:52:35 +08:00
StageGuard
c1ae9225be Add resources 2020-10-02 09:51:47 +08:00
StageGuard
d5e94caef1 Fix 2020-10-02 09:45:33 +08:00
StageGuard
c7141c911c Update shared sheet list info 2020-10-02 09:37:12 +08:00
StageGuard
b6713a792f Upload user shared sheet 2020-10-01 21:00:34 +08:00
StageGuard
c0976b30c1 Update version 15 2020-10-01 00:09:46 +08:00
StageGuard
65fdecb9be Update version 15 2020-10-01 00:09:10 +08:00
StageGuard
2a16af252f Add sheet attribute. 2020-09-28 21:56:15 +08:00
StageGuard
cd967af5c8 Upload user shared sheets 2020-09-28 21:18:36 +08:00
StageGuard
df9ddff4e4 Upload user shared sheets 2020-09-27 12:06:45 +08:00
StageGuard
8f26c9e1de Upload user shared sheets 2020-09-25 10:10:02 +08:00
StageGuard
b88515f4f2 Upload user shared sheets 2020-09-24 21:34:27 +08:00
StageGuard
46b88f4c6f Upload user shared sheets 2020-09-24 21:32:56 +08:00
StageGuard
03af82818a Upgrade user agreements 2020-09-23 16:25:01 +08:00
StageGuard
9f5a6ab58e Upgrade user agreements 2020-09-23 16:24:35 +08:00
StageGuard
f468dabb89 Update README.md 2020-09-23 16:20:06 +08:00
StageGuard
bb570e1b5c Upload user shared sheets 2020-09-22 08:01:30 +08:00
StageGuard
e57d7d5ad3 Add English instruction for usage 2020-09-21 21:27:41 +08:00
StageGuard
b3d3f77ba5 Update README.md 2020-09-21 07:03:06 +08:00
StageGuard
8abf823182 Upload user shared sheets 2020-09-18 19:49:58 +08:00
StageGuard
064a8fbe9a fix stupid bug 2020-09-14 20:48:11 +08:00
StageGuard
c43edd8549 fix stupid bug 2020-09-14 20:47:27 +08:00
StageGuard
eca5b79934 fix stupid bug 2020-09-14 20:42:40 +08:00
StageGuard
4e14a0d2c9 fix user infomation 2020-09-13 22:22:30 +08:00
StageGuard
f38adb904f Upload user shared sheets 2020-09-13 22:13:52 +08:00
StageGuard
44aab3f525 Upload user shared sheets 2020-09-13 22:12:16 +08:00
StageGuard
1383f66726 Upload user shared sheets 2020-09-13 22:09:46 +08:00
StageGuard
715e21a420 Fix contributor list 2020-09-13 21:56:15 +08:00
StageGuard
a9cbc2348f Update version 14 2020-09-13 20:55:41 +08:00
StageGuard
13979f81ae Update version 14 2020-09-13 20:54:26 +08:00
StageGuard
8ff1de8e21 Upload user shared sheets 2020-09-13 17:30:27 +08:00
StageGuard
383d79f95b Upload user shared sheets 2020-09-13 17:28:49 +08:00
StageGuard
93918c8a8a Upload resource 2020-09-13 15:30:09 +08:00
StageGuard
8f737fa07b Add resources 2020-09-12 23:40:16 +08:00
StageGuard
32d83d3b3d small change 2020-09-10 20:48:42 +08:00
StageGuard
ae090a2141 small change 2020-09-10 20:47:33 +08:00
StageGuard
e9dc16cf9d Upload user shared sheets 2020-09-06 08:53:12 +08:00
StageGuard
d88424e659 ? 2020-09-05 10:54:55 +08:00
StageGuard
07e17626a3 Update version 13 2020-09-05 10:49:29 +08:00
StageGuard
adca548b63 Update version 13 2020-09-05 10:48:52 +08:00
StageGuard
e5d024e2d2 Fix: Show speed in idle state 2020-09-02 23:26:32 +08:00
StageGuard
2d44ba080b Fix: Show speed in idle state 2020-09-02 23:24:27 +08:00
StageGuard
aeae50875b Add contributor list 2020-09-02 23:21:16 +08:00
StageGuard
e9a4662001 Fix info error 2020-09-02 00:15:51 +08:00
StageGuard
3b83a9b113 Fix info error 2020-09-02 00:15:05 +08:00
StageGuard
8aa4db993f Upload user shared sheets 2020-09-01 23:40:07 +08:00
StageGuard
a01cf1ab08 Update version 12 2020-09-01 23:34:34 +08:00
StageGuard
c45c75bad3 Update version 12 2020-09-01 23:33:57 +08:00
StageGuard
d12e9f24ff Update version 12 2020-09-01 23:15:29 +08:00
StageGuard
dc719756ad Update .gitignore 2020-08-28 10:54:41 +08:00
StageGuard
56d33ac0af Upload user shared sheets 2020-08-28 10:53:39 +08:00
StageGuard
5689142309 Upload user shared sheets 2020-08-26 19:54:19 +08:00
StageGuard
401f221b04 Update README.md 2020-08-18 14:42:35 +08:00
67 changed files with 3866 additions and 1909 deletions

5
.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
.vscode/settings.json
.vscode/tasks.json
rhino.jar
update.sh
updateSharedSheets.js

1017
LICENSE

File diff suppressed because it is too large Load Diff

102
README.md
View File

@@ -1,3 +1,5 @@
# 关于脚本倒卖的问题: [#1](https://github.com/StageGuard/SkyAutoPlayerScript/issues/1)
# SkyAutoPlayerScript
A script to play Sheets generated by SkyStudio automatically in game Sky with accessibility services using Auto.js
</br>使用Auto.js提供的无障碍权限实现在Sky光遇中自动弹奏[SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio)导出的曲谱
@@ -12,9 +14,15 @@ A script to play Sheets generated by SkyStudio automatically in game Sky with ac
* 自动更新及时修复BUG无需担心版本过时问题。
* ...
## 使用
Auto.js开启**无障碍服务**和**悬浮窗权限**。
</br>②在Auto.js中新建一个脚本并粘贴以下代码并运行
## 使用(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";
@@ -40,17 +48,19 @@ emitter.on('evaluate', function(s){
```
在Auto.js版本`4.1.1 Alpha2 (461)`中测试通过,不保证其他版本的兼容性(取决于其他版本相对于此版本的API是否有`breaking changes`)
</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>手机请下载`autoJs-V4.1.1.Alpha2-common-armeabi-v7a-debug.apk`
### 清除数据
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/");
```
## 上传乐谱
<br>
# 上传乐谱
你可以fork本仓库将你要上传的乐谱添加至`shared_sheets`文件夹,并按照以下要求在`shared_sheets.json`添加项目
```javascript
@@ -67,6 +77,8 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
"bpm" : 320,
//暂时没用
"suggested_instrument": 1,
//乐谱键位数(8键或15键)
"keyCount": 15,
//乐谱音高
"pitchLevel": 0
}
@@ -75,40 +87,74 @@ 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 RequestIssueNew feature request
## 图标来源
## 贡献者名单(按照首次贡献时间排序)
### SkyAutoPlayerScript
[@tiaod](https://github.com/tiaod)<br>
<br>
### 共享乐谱
酷安[@Aex技术总监](http://www.coolapk.com/u/1286879)<br>
酷安[@夏卡卡卡](http://www.coolapk.com/u/2313452)<br>
酷安[@深空失忆か](http://www.coolapk.com/u/3005974)<br>
抖音@子哲啊🌈(zizhe1880689503)<br>
酷安[@你们很有趣呢](http://www.coolapk.com/u/2416229)<br>
酷安[@情如风雪无常](http://www.coolapk.com/u/643670)<br>
酷安[@慕疵](http://www.coolapk.com/u/3286967)<br>
酷安[@社区最弱萌新](http://www.coolapk.com/u/3291313)<br>
酷安[@九方辰](http://www.coolapk.com/u/634078)<br>
酷安[@北极马可罗尼](http://www.coolapk.com/u/463478)<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>
# 图标来源
[Iconfont-阿里巴巴矢量图标库](https://www.iconfont.cn/)
<br>
## 鸣谢
# 鸣谢
[projectXero](https://gitee.com/projectXero) (提供适用于Rhino的`ListAdapter`)
<br>
## 许可证协议
# 许可证协议
```
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.
SkyAutoPlayer (Auto.js script)
Copyright © 2020 StageGuard
This program 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.
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.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
```
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
```

View File

@@ -1 +1 @@
51b2da7101aebf7427b4f4a0ab4814f7f6dc60b5
a197b02fdf36e282ff3180caab0d4248eb8f2b40

BIN
resources/bilibili.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
resources/clock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
resources/coolapk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
resources/douyin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
resources/filter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
resources/github.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
resources/note.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
resources/piano.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
resources/search.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
resources/twitter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
resources/user.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/Hanava.txt Normal file

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/Love_5.txt Normal file

Binary file not shown.

BIN
shared_sheets/Mojito.txt Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/下雨天.txt Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/体面.txt Normal file

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/凉凉.txt Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/微微.txt Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/演员.txt Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/童话镇.txt Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/走马.txt Normal file

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/追光者.txt Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View 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(){

View File

@@ -1,3 +1,61 @@
版本: 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.13 20:51
更新内容:
* 新增:共享乐谱支持搜索功能
* 改善:窗口拓展功能
版本: 13
更新时间: 2020.09.05 10:46
更新内容:
* 改善使用ThreadPool实现线程循环而不是持续创建新的线程
* 改善在Idle和Paused状态时也能显示当前倍速
版本: 12
更新时间: 2020.09.01 23:12
更新内容:
* 修复:某个乐谱加载失败导致之后的乐谱不能加载的问题
* 新增:加载失败的乐谱会在列表显示,以及显示加载失败原因和建议(可以在设置中禁止显示)
* 修复Android R无法加载乐谱的问题
* 新增Android R启动提示(可在设置关闭提示)
版本: 11
更新时间: 2020.08.03 21:13
更新内容: