Compare commits
61 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
678a97bb44 | ||
|
|
944420d9b6 | ||
|
|
2429897df5 | ||
|
|
a985d657c2 | ||
|
|
d56b56e2f4 | ||
|
|
82e271415a | ||
|
|
7127d86bea | ||
|
|
baad1d727c | ||
|
|
f08324aff2 | ||
|
|
33f7f9c700 | ||
|
|
d16ad650a8 | ||
|
|
559498aa19 | ||
|
|
3749e978c1 | ||
|
|
82737b36c8 | ||
|
|
08a02dff18 | ||
|
|
b1ce8fa019 | ||
|
|
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 |
3
.gitignore
vendored
@@ -1,2 +1,5 @@
|
||||
.vscode/settings.json
|
||||
.vscode/tasks.json
|
||||
rhino.jar
|
||||
update.sh
|
||||
updateSharedSheets.js
|
||||
101
README.md
@@ -1,10 +1,40 @@
|
||||
# 关于脚本倒卖的问题: [#1](https://github.com/StageGuard/SkyAutoPlayerScript/issues/1)
|
||||
|
||||
# 耻辱柱
|
||||
|
||||
Gitee 用户[嗨游圈(@vipssp)](https://gitee.com/vipssp)在未经乐谱上传者的同意下私自盗用 SkyAutoplayerScript 与 Gitee 的[同步镜像](https://gitee.com/stageguard/SkyAutoPlayerScript)。
|
||||
|
||||
在经过[通知](https://gitee.com/vipssp/SkyAutoPlayerScript/commit/197925a71ff9cc6248be682a55406fc5814b12d7#note_3637784)后仍未及时删除盗用的乐谱,在于一些乐谱原作者沟通后,决定将其挂在此 README.md 首部,以告示。
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center" height="200">
|
||||
<img src="https://gitee.com/stageguard/SkyAutoPlayerScript/raw/master/resources/static/2020-12-19_0-8-40.PNG" />
|
||||
</td>
|
||||
<td align="center" height="200">
|
||||
<img src="https://gitee.com/stageguard/SkyAutoPlayerScript/raw/master/resources/static/2020-12-19_0-9-57.PNG" />
|
||||
</td>
|
||||
<td align="center" height="200">
|
||||
<img src="https://gitee.com/stageguard/SkyAutoPlayerScript/raw/master/resources/static/2020-12-19_0-44-4.PNG" />
|
||||
</td>
|
||||
<td align="center" height="200">
|
||||
<img src="https://gitee.com/stageguard/SkyAutoPlayerScript/raw/master/resources/static/Screenshot_2020-12-19-00-10-12-499_com.coolapk.market.jpg" />
|
||||
</td>
|
||||
<td align="center" height="200">
|
||||
<img src="https://gitee.com/stageguard/SkyAutoPlayerScript/raw/master/resources/static/Screenshot_2020-12-19-00-11-23-671_com.coolapk.market.jpg" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
# 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)导出的曲谱
|
||||
|
||||
## 特性
|
||||
|
||||
相比于其他脚本,SkyAutoPlayerScript拥有以下优势
|
||||
|
||||
* 全GUI操作,无需编辑任何代码,流畅的UI动画。
|
||||
@@ -15,6 +45,7 @@ A script to play Sheets generated by SkyStudio automatically in game Sky with ac
|
||||
* ...
|
||||
|
||||
## 使用(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`
|
||||
@@ -23,6 +54,7 @@ A script to play Sheets generated by SkyStudio automatically in game Sky with ac
|
||||
<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";
|
||||
@@ -50,6 +82,7 @@ emitter.on('evaluate', function(s){
|
||||
在Auto.js版本`4.1.1 Alpha2 (461)`中测试通过,不保证其他版本的兼容性(取决于其他版本相对于此版本的API是否有`breaking changes`)
|
||||
|
||||
## 清除数据(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
|
||||
|
||||
@@ -63,6 +96,7 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
|
||||
# 上传乐谱
|
||||
|
||||
你可以fork本仓库,将你要上传的乐谱添加至`shared_sheets`文件夹,并按照以下要求在`shared_sheets.json`添加项目
|
||||
|
||||
```javascript
|
||||
{
|
||||
//乐谱名称
|
||||
@@ -85,6 +119,7 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
|
||||
```
|
||||
|
||||
修改完成后,申请`Pull Request`,等待merge即可。
|
||||
|
||||
> 请注意:在申请`Pull Request`之前请确保你的SkyAutoPlayerScript仓库已同步至最新,以免出现意外问题!
|
||||
|
||||
或通过发送乐谱到邮箱[beamiscool@qq.com](mailto:beamiscool@qq.com)
|
||||
@@ -92,24 +127,32 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
|
||||
<br>
|
||||
|
||||
# 注意
|
||||
|
||||
### 请仔细阅读以下使用须知!
|
||||
|
||||
1. 未充分测试,若遇到BUG,请酷安私信@StageGuard或新建Issue来反馈BUG!
|
||||
2. **SkyAutoPlayer是完全免费且开源的软件/脚本([https://github.com/StageGuard/SkyAutoPlayerScript](https://github.com/StageGuard/SkyAutoPlayerScript)),禁止使用本脚本作为盈利用途!**
|
||||
3. 本脚本仅可用作娱乐用途,请不要在正规场合使用本脚本(请自行体会\"正规场合\"是什么意思),若因使用本脚本所出现了一些不友好的问题,与脚本作者StageGuard无关。
|
||||
4. 脚本只能给你一时满足感而不能使你进步,请适当使用,只有真正的技术才是王道,才能使你感到快乐。
|
||||
5. 本脚本只是一个"弹奏机",并不内置曲谱,请在GooglePlay下载[SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio)编谱。
|
||||
6. 本脚本不会增加解密乐谱功能,包括但不限于**加密的SkyStudio乐谱**,**加密的JS**等,也不接受加密乐谱的共享。
|
||||
2. **SkyAutoPlayer是完全免费且开源的软件/脚本([https://github.com/StageGuard/SkyAutoPlayerScript](https://github.com/StageGuard/SkyAutoPlayerScript)),使用SkyAutoPlayer盈利的同时请标注源项目链接。**
|
||||
3. **共享乐谱不遵守LGPL-2.1协议,如您想在SkyAutoPlayer以外使用这些乐谱,请自行找乐谱作者授权!**
|
||||
4. 本脚本仅可用作娱乐用途,请不要在正规场合使用本脚本(请自行体会\"正规场合\"是什么意思),若因使用本脚本所出现了一些不友好的问题,与脚本作者StageGuard无关。
|
||||
5. 脚本只能给你一时满足感而不能使你进步,请适当使用,只有真正的技术才是王道,才能使你感到快乐。
|
||||
6. 本脚本只是一个"弹奏机",并不内置曲谱,请在GooglePlay下载[SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio)编谱。
|
||||
7. 本脚本不会增加解密乐谱功能,包括但不限于**加密的SkyStudio乐谱**,**加密的JS**等,也不接受加密乐谱的共享。
|
||||
|
||||
# 贡献
|
||||
欢迎任何人贡献本项目,包括但不限于Pull Request,Issue,New feature request
|
||||
|
||||
欢迎任何人贡献本项目,包括但不限于Pull Request,Issue,New 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>
|
||||
@@ -123,31 +166,51 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
|
||||
哔哩哔哩[@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>
|
||||
酷安[@cxk的篮球](http://www.coolapk.com/u/1090769)<br>
|
||||
酷安[@头条乀](http://www.coolapk.com/u/1192320)<br>
|
||||
<br>
|
||||
|
||||
## 翻译
|
||||
|
||||
SkyAutoplayerScript 在版本 21 已支持多语言并可以在线获取语言列表,你可以查看 [contribute-translation.md](contribute-translation.md) (English) 来了解如何贡献翻译。
|
||||
|
||||
SkyAutoplayerScript version 21 has supported multi-language and can also fetch online language list, follow [contribute-translation.md](contribute-translation.md) (English) guide to contribute translation.
|
||||
|
||||
### 贡献者:
|
||||
|
||||
无
|
||||
|
||||
# 图标来源
|
||||
|
||||
[Iconfont-阿里巴巴矢量图标库](https://www.iconfont.cn/)
|
||||
<br>
|
||||
|
||||
# 鸣谢
|
||||
|
||||
[projectXero](https://gitee.com/projectXero) (提供适用于Rhino的`ListAdapter`)
|
||||
<br>
|
||||
|
||||
# 许可证协议
|
||||
|
||||
```
|
||||
SkyAutoPlayer (Auto.js script)
|
||||
Copyright © 2020 StageGuard
|
||||
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,
|
||||
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 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 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
|
||||
```
|
||||
30
contribute-translation.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# Help to translate SkyAutoplayerScript
|
||||
|
||||
Follow [Issue#4](https://github.com/StageGuard/SkyAutoPlayerScript/issues/4) request, SkyAutoplayerScript has updated version 21, which supported multi-language.
|
||||
|
||||
It can also fetch online language list [source/language_list.json](https://github.com/StageGuard/SkyAutoPlayerScript/blob/master/source/language_list.json). So if you want to translate SkyAutoplayerScript into another language, please follow the steps below.
|
||||
|
||||
- Clone this repository.
|
||||
- Create a new file in **resources/language_pack/xx_XX.json**, the file name must be standard language code (e.g. zh_CN or en_US).
|
||||
- You can refer to **resources/language_pack/en_US.json** to translate.
|
||||
- Modify **source/language_list.json**:
|
||||
|
||||
```js
|
||||
{
|
||||
"list": [{
|
||||
"code": "", //your language code
|
||||
"name": "" //language name
|
||||
}, {
|
||||
"code": "zh_CN",
|
||||
"name": "简体中文"
|
||||
}, {
|
||||
//...
|
||||
}]
|
||||
}
|
||||
```
|
||||
|
||||
- Create a new pull request.
|
||||
|
||||
After merging, your language will be shown in Setting-Language list.
|
||||
|
||||
I would appreciate it if you could contribute translation!
|
||||
@@ -1 +1 @@
|
||||
65fdecb9be4821eaa1ef42a71598c250e64a3de5
|
||||
2429897df58cc98ee3e9803ecc021fb1d43a02ac
|
||||
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 |
108
resources/language_pack/en_US.json
Normal file
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"name": "English (US)",
|
||||
"code": "en_US",
|
||||
"content": {
|
||||
"launch_tip_in_content": "If you can't see a diamond popup dialog,<br>make sure that Auto.js is allowed to <u><b>display pop-up window</u></b><br><br><br>Version <b>4.1.1 Alpha2</b> is recommended.<br><b>4.1.1 Alpha2</b> Download: <a href=https://github.com/Ericwyn/Auto.js/releases/tag/V4.1.1.Alpha2>https://github.com/Ericwyn/Auto.js/releases/tag/V4.1.1.Alpha2</a>",
|
||||
"launch_tip_force_exit": "FORCE EXIT",
|
||||
"launch_tip_storage_on_android11": "In Android R, access private data folder of other apps is forbidden, sheet folder has set to {0}",
|
||||
|
||||
"op_loading_resources": "Loading resources...",
|
||||
"op_user_agreement_title": "User Agreement",
|
||||
|
||||
"button_confirm": "Confirm",
|
||||
"button_cancel": "Cancel",
|
||||
|
||||
"sheet_detail_dialog_suggestion_locale": "Recommended Place:",
|
||||
"sheet_detail_dialog_view_author_social_link": "View sheet translator:",
|
||||
|
||||
"page_lc_title": "Local sheet",
|
||||
"page_lc_navigation_title": "LOCAL",
|
||||
"page_lc_sheet_item_info": "Key Count: {0} - BPM: {1}",
|
||||
"page_lc_kc_title": "Key count for this sheet",
|
||||
"page_lc_kc_desc": "This is a local sheet, please set the key type of sheet.",
|
||||
"page_lc_kc_8k": "8 keys",
|
||||
"page_lc_kc_15k": "15 keys",
|
||||
"page_lc_kc_set": "Local sheet {0} has been recognized as {1} keys sheet.\nPress PLAY button to autoplay.\nLong press this item to reset key count.",
|
||||
"page_lc_no_8k_set": "The 8 key position coordinates are not set or the coordinate data is wrong. Please go to the setting page to set.",
|
||||
"page_lc_no_15k_set": "The 8 key position coordinates are not set or the coordinate data is wrong. Please go to the setting page to set.",
|
||||
"page_lc_del_title": "Delete sheet",
|
||||
"page_lc_del_desc": "Are you sure to delete {0} ?\nThe operation cannot undo.",
|
||||
"page_lc_import_title": "How to import local sheet",
|
||||
"page_lc_import_desc": "The local sheet folder is located to {0}.\n<u><b>{1}</u></b>\nJust copy your sheet files into this folder.\n\nWarning:\nSkyStudio uses <u><b>{2}</u></b> charset to read and write file.\nPlease make sure the charset of external sheet is the same as SkyStudio uses.\n",
|
||||
"page_lc_import_stand_document_folder": "Android Standard Document Folder",
|
||||
"page_lc_import_sky_pri_storage_folder": "Private data folder of SkyStudio",
|
||||
"page_lc_kctip_title": "Change key counts for sheet",
|
||||
"page_lc_kctip_desc": "Version 15 adds support for scores of instruments with different key positions (8 and 15), which use different coordinate data. \n Currently stored in local music (externally imported or downloaded from shared music before version 15), they have no key position information, and skyautoplayerscript cannot confirm whether it is an 8-key score or a 15 key score. \nThe shared music score information has been updated. Now the downloaded shared music score already contains the music score key position information, so there is no need to set it again. \nWhen you click the start playing button, if there is no key position information, a dialog box will pop up to select the music score key position, and skyautoplayerscript will save the key position information to the score. \nIf the wrong key position information is set for some reason, you can long press the score to reset it. \n\nP. S.: it is necessary to reset the coordinates of key 15.",
|
||||
"page_lc_load_failed_title": "Failed to load {0}",
|
||||
"page_lc_load_failed_desc": "Failed to load {0}.\n\nReason: \n{1}\n\nPlease check the following items:\n{2}",
|
||||
"page_lc_load_failed_r1": "Is the charset of this sheet is UTF16-LE.",
|
||||
"page_lc_load_failed_r2": "Is this sheet not encrypted.",
|
||||
"page_lc_load_failed_r3": "Are any syntax error in this sheet.",
|
||||
"page_lc_loading_sheet": "Loading: {0} total({1} failed)",
|
||||
|
||||
"page_sc_title": "Shared heet",
|
||||
"page_sc_navigation_title": "SHARED",
|
||||
"page_sc_downloading": "Downloading...",
|
||||
"page_sc_analyzing": "Parsing...",
|
||||
"page_sc_download_success": "Download successful: {0}\nPlease press refresh button in local sheet page.",
|
||||
"page_sc_download_failed": "Failed to download {0}: {1}",
|
||||
"page_sc_upload_title": "How to upload your local sheet",
|
||||
"page_sc_upload_desc": "There are two ways:\n\n①Mail to beamiscool@qq.com with attachment file.\n(Sheet description is optional.)\n\n②Pull request to StageGuard/SkyAutoplayerScript\n\n③PM to @StageGuard in CoolApk with sheet link.\nPut your sheet file to shared_sheets folder and modify shared_sheets.json\n\nWarning: If the sheet is not translated or composed by yourself, you must gain the permission of original composer or translator.\n\nWelcome to expand the shared sheet list!",
|
||||
"page_sc_upload_open_coolapk": "Open CoolApk",
|
||||
"page_sc_upload_open_github": "Open GitHub",
|
||||
"page_sc_upload_ca_not_exist": "Application CookApk is not installed on your device",
|
||||
"page_sc_announcement_title": "Online sheet Annnouncement",
|
||||
"page_sc_announcement_desc": "All online sheet can be found in GitHub \n<a href=https://github.com/StageGuard/SkyAutoPlayerScript>github.com/StageGuard/SkyAutoPlayerScript</a>\n\nAll sheet in this list is <b><u>only be played in SkyAutoplayerScript</u></b>\nIf you want to upload to other websites, please <b>gain the permission of original composer or translator</b> or <b>following their announcement</b>!",
|
||||
"page_sc_announcement_confirm": "I Understand!",
|
||||
"page_sc_search_hint": "Press ENTER to search",
|
||||
"page_sc_fetching_list": "Fetching list...",
|
||||
|
||||
"page_setting_title": "Setting",
|
||||
"page_setting_navigation_title": "SETTING",
|
||||
"page_setting_basic": "Basic setting",
|
||||
"page_setting_set_8key_coordinate": "Set 8-key-sheet coordinates",
|
||||
"page_setting_set_15key_coordinate": "Set 15-key-sheet coordinates",
|
||||
"page_setting_key_coordinate_saved": "Coordinates have been saved.",
|
||||
"page_setting_random_and_continuate_play": "Random and continuate play",
|
||||
"page_setting_show_broken_sheet": "Show sheets that failed to load",
|
||||
"page_setting_show_storage_tip_on_android11": "Show storage tip when startup",
|
||||
"page_setting_set_theme": "Set theme color",
|
||||
"page_setting_theme_light": "Light",
|
||||
"page_setting_theme_dark": "Dark",
|
||||
"page_setting_about": "About",
|
||||
"page_setting_user_agreement": "Show user agreement",
|
||||
"page_setting_user_agreement_title": "User Agreement",
|
||||
"page_setting_show_license": "Show LICENSE",
|
||||
"page_setting_show_changelog": "Show changelog",
|
||||
"page_setting_changelog_title": "Changelog",
|
||||
"page_setting_exit_script": "Exit",
|
||||
"page_setting_language": "Language",
|
||||
|
||||
"gui_player_panel_tip": "Drag the title text of the title bar to move the suspension window of the performance control panel.",
|
||||
"gui_player_penel_analyzing": "Parsing...",
|
||||
"gui_move_diamond_tip": "Move \"\u26d2\" to traget place to set key {0} coordinate",
|
||||
"gui_key_coordinate_is_set": "Key {0} coordinate is set: [{1}, {2}]",
|
||||
"gui_move_window_tip": "Drag the title text of the title bar to move the position of the suspended window.",
|
||||
"gui_dialog_do_not_show_again": "Don't show again",
|
||||
|
||||
"res_updated": "SkyAutoPlayer has updated.",
|
||||
"res_updated_detail": "Version: {0} ← {1}\n\nChangelog: \n{2}",
|
||||
"res_check_update_error": "Failed to check updates.",
|
||||
"res_loading_general": "Loading resources...",
|
||||
"res_loading_detail": "Loading: {0}",
|
||||
"res_loading_error": "Load failed: {0}",
|
||||
"res_put_into_download_queue": "No local cache, put to download queue: {0}",
|
||||
"res_load_successful": "Resource loading completed.",
|
||||
"res_try_download": "Try {0}, {1} resources to download",
|
||||
"res_downloading": "Downloading: {0}",
|
||||
"res_download_or_load_failed": "Failed to load or download resource {0}: {1}",
|
||||
"res_download_failed": "The following resources cannot be downloaded: {0}",
|
||||
"res_download_successful": "Resource download complete",
|
||||
"res_error_while_downloading": "Error occurred when downloading: {0}",
|
||||
"res_use_language": "Use language: {0}",
|
||||
"res_language_dialog_title": "Choose language",
|
||||
"res_language_download_failed": "Failed to download language pack: {0}",
|
||||
"res_language_dialog_tip": "Your language is not on the list?<br>Welcome to translate the script:<br><a href=>https://github.com/StageGuard/SkyAutoPlayerScript</a>",
|
||||
"res_language_failed_fetch_online_list": "Failed to fetch online language list"
|
||||
}
|
||||
}
|
||||
108
resources/language_pack/zh_CN.json
Normal file
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"name": "简体中文",
|
||||
"code": "zh_CN",
|
||||
"content": {
|
||||
"launch_tip_in_content": "当你发现什么事情都没有发生时<br>也许你应该看看是否授予了Auto.js<u><b>悬浮窗权限</u></b><br><br><br>建议使用 <b>4.1.1 Alpha2</b> 版本!<br><b>4.1.1 Alpha2</b> 版本下载: <a href=https://github.com/Ericwyn/Auto.js/releases/tag/V4.1.1.Alpha2>https://github.com/Ericwyn/Auto.js/releases/tag/V4.1.1.Alpha2</a>",
|
||||
"launch_tip_force_exit": "强制退出",
|
||||
"launch_tip_storage_on_android11": "安卓11不允许外部应用读取应用私有文件夹,乐谱文件夹移至 {0}",
|
||||
|
||||
"op_loading_resources": "加载资源中...",
|
||||
"op_user_agreement_title": "使用须知",
|
||||
|
||||
"button_confirm": "确认",
|
||||
"button_cancel": "取消",
|
||||
|
||||
"sheet_detail_dialog_suggestion_locale": "建议弹奏地点:",
|
||||
"sheet_detail_dialog_view_author_social_link": "查看作者:",
|
||||
|
||||
"page_lc_title": "本地乐谱",
|
||||
"page_lc_navigation_title": "本地乐谱",
|
||||
"page_lc_sheet_item_info": "键数: {0} - BPM: {1}",
|
||||
"page_lc_kc_title": "设置键位数",
|
||||
"page_lc_kc_desc": "这是一个本地乐谱,请设置这个乐谱的键位数",
|
||||
"page_lc_kc_8k": "8键位",
|
||||
"page_lc_kc_15k": "15键位",
|
||||
"page_lc_kc_set": "已将 {0} 设置为 {1} 键乐谱\n请再次点击弹奏按钮。\n长按乐谱以重新设置键位数。",
|
||||
"page_lc_no_8k_set": "未设置 8 键键位坐标或坐标数据错误,请前往设置页设置键位坐标",
|
||||
"page_lc_no_15k_set": "未设置 15 键键位坐标或坐标数据错误,请前往设置页设置键位坐标",
|
||||
"page_lc_del_title": "删除文件",
|
||||
"page_lc_del_desc": "确认要删除 {0} 吗?\n该操作不可恢复!",
|
||||
"page_lc_import_title": "如何导入本地乐谱",
|
||||
"page_lc_import_desc": "本地乐谱文件夹在{0}\n<u><b>{1}</u></b>\n将外部乐谱复制进这个文件夹即可\n\n注意:\nSkyStudio对乐谱的存储/读取使用<u><b>{2}</u></b>编码\n请确保外部乐谱的编码与SkyStudio使用的编码一致\n",
|
||||
"page_lc_import_stand_document_folder": "Android标准文档文件夹",
|
||||
"page_lc_import_sky_pri_storage_folder": "SkyStudio的乐谱存储位置",
|
||||
"page_lc_kctip_title": "修改乐谱键位数",
|
||||
"page_lc_kctip_desc": "版本15增加了对不同键位乐器(8键位和15键位)乐谱的支持,它们使用不同的坐标数据。\n当前已存储在本地的乐谱(外部导入的乐谱或在版本15之前从共享乐谱下载的乐谱),它们没有键位信息,SkyAutoPlayerScript无法确认它是8键位乐谱还是15键位乐谱。\n共享乐谱信息已更新,现在下载的共享乐谱它已经包含了乐谱键位信息,不需要再设置。\n点击开始弹奏按钮时,若无键位信息,则会弹出对话框以选择乐谱键位,SkyAutoPlayerScript会保存键位信息到乐谱。\n如果因为一些原因设置了错误的键位信息,可以长按乐谱来重新设置。\n\np.s.: 需要重新设置15键键位坐标。",
|
||||
"page_lc_load_failed_title": "加载 {0} 失败",
|
||||
"page_lc_load_failed_desc": "加载乐谱 {0} 失败\n\n原因:\n{1}\n\n请检查以下内容:\n{2}",
|
||||
"page_lc_load_failed_r1": "谱子编码是否为UTF16-LE",
|
||||
"page_lc_load_failed_r2": "谱子是否为未加密的JSON格式",
|
||||
"page_lc_load_failed_r3": "谱子是否有JSON语法错误",
|
||||
"page_lc_loading_sheet": "加载中: 共 {0} 首乐谱({1} 失败)",
|
||||
|
||||
"page_sc_title": "共享乐谱",
|
||||
"page_sc_navigation_title": "共享乐谱",
|
||||
"page_sc_downloading": "下载乐谱中...",
|
||||
"page_sc_analyzing": "解析乐谱中...",
|
||||
"page_sc_download_success": "下载完成: {0}\n请在本地曲谱页面刷新",
|
||||
"page_sc_download_failed": "下载 {0} 失败: {1}",
|
||||
"page_sc_upload_title": "如何上传乐谱",
|
||||
"page_sc_upload_desc": "共有两种方式可以上传乐谱:\n\n①酷安私信@StageGuard,发送时请附带简介,曲谱链接(百度云或其他云盘都可)\n②在github fork StageGuard/SkyAutoplayerScript\n在shared_sheets文件夹添加你的曲谱,并按照格式修改shared_sheets.json\n并提出 Pull Request 合并申请\n\n注:若是转载转载请注明原作者同意\n\n如果所有人都白嫖,那么这个列表将永远也不会扩充",
|
||||
"page_sc_upload_open_coolapk": "打开酷安",
|
||||
"page_sc_upload_open_github": "打开 Github",
|
||||
"page_sc_upload_ca_not_exist": "无法打开酷安,应用不存在!",
|
||||
"page_sc_announcement_title": "乐谱共享声明",
|
||||
"page_sc_announcement_desc": "此列表共享的乐谱在\n<a href=https://github.com/StageGuard/SkyAutoPlayerScript>github.com/StageGuard/SkyAutoPlayerScript</a>\n均可以找到\n\n用户原创乐谱<b><u>仅在SkyAutoplayerScript共享并使用</u></b>,\n转载至其他平台请<b>取得作者授权</b>!\n\n转载在此共享列表的乐谱均会标明\n转载请</b>注明原作者授权</b>或<b>遵循原作者意愿</b>\n\n此声明没有强制执行性,这是个人素质的体现\n<b><u>非法利益不可取</b></u>",
|
||||
"page_sc_announcement_confirm": "我已了解",
|
||||
"page_sc_search_hint": "按回车开始搜索",
|
||||
"page_sc_fetching_list": "获取列表中...",
|
||||
|
||||
"page_setting_title": "设置",
|
||||
"page_setting_navigation_title": "设置",
|
||||
"page_setting_basic": "基础设置",
|
||||
"page_setting_set_8key_coordinate": "设置8键盘键位坐标",
|
||||
"page_setting_set_15key_coordinate": "设置15键盘键位坐标",
|
||||
"page_setting_key_coordinate_saved": "坐标设置已保存至存储!",
|
||||
"page_setting_random_and_continuate_play": "连续随机播放",
|
||||
"page_setting_show_broken_sheet": "显示加载失败的乐谱",
|
||||
"page_setting_show_storage_tip_on_android11": "启动脚本时显示存储提示",
|
||||
"page_setting_set_theme": "设置主题色",
|
||||
"page_setting_theme_light": "亮色",
|
||||
"page_setting_theme_dark": "暗色",
|
||||
"page_setting_about": "关于",
|
||||
"page_setting_user_agreement": "查看使用须知",
|
||||
"page_setting_user_agreement_title": "使用须知",
|
||||
"page_setting_show_license": "查看 LICENSE",
|
||||
"page_setting_show_changelog": "查看更新日志",
|
||||
"page_setting_changelog_title": "更新日志",
|
||||
"page_setting_exit_script": "结束脚本运行",
|
||||
"page_setting_language": "语言",
|
||||
|
||||
"gui_player_panel_tip": "拖动标题栏的标题文字来移动弹奏控制面板悬浮窗。",
|
||||
"gui_player_penel_analyzing": "解析中...",
|
||||
"gui_move_diamond_tip": "移动\"\u26d2\"至目标位置来设置第 {0} 个键坐标",
|
||||
"gui_key_coordinate_is_set": "键 {0} 坐标已设置: [{1}, {2}]",
|
||||
"gui_move_window_tip": "拖动标题栏的标题文字来移动悬浮窗位置。",
|
||||
"gui_dialog_do_not_show_again": "不再显示",
|
||||
|
||||
"res_updated": "SkyAutoPlayer已更新",
|
||||
"res_updated_detail": "当前版本: {0} ← {1}\n\n更新日志: \n{2}",
|
||||
"res_check_update_error": "版本检查失败,无法获取更新信息",
|
||||
"res_loading_general": "加载资源中...",
|
||||
"res_loading_detail": "加载资源中: {0}",
|
||||
"res_loading_error": "加载失败: {0}",
|
||||
"res_put_into_download_queue": "无本地资源,进入下载队列: {0}",
|
||||
"res_load_successful": "资源加载完成",
|
||||
"res_try_download": "第 {0} 次尝试下载资源,共需下载 {1} 项资源",
|
||||
"res_downloading": "下载资源中: {0}",
|
||||
"res_download_or_load_failed": "资源 {0} 下载/加载失败: {1}",
|
||||
"res_download_failed": "以下资源下载失败:{0}",
|
||||
"res_download_successful": "资源下载完成",
|
||||
"res_error_while_downloading": "资源下载时发生了问题: {0}",
|
||||
"res_use_language": "使用语言: {0}",
|
||||
"res_language_dialog_title": "选择语言",
|
||||
"res_language_download_failed": "语言下载失败:{0}",
|
||||
"res_language_dialog_tip": "找不到你的语言?欢迎贡献翻译:<br><a href=>https://github.com/StageGuard/SkyAutoPlayerScript</a>",
|
||||
"res_language_failed_fetch_online_list": "无法获取在线语言列表"
|
||||
}
|
||||
}
|
||||
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/static/2020-12-19_0-44-4.PNG
Normal file
|
After Width: | Height: | Size: 373 KiB |
BIN
resources/static/2020-12-19_0-8-40.PNG
Normal file
|
After Width: | Height: | Size: 274 KiB |
BIN
resources/static/2020-12-19_0-9-57.PNG
Normal file
|
After Width: | Height: | Size: 270 KiB |
|
After Width: | Height: | Size: 379 KiB |
|
After Width: | Height: | Size: 354 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 |
2696
shared_sheets.json
BIN
shared_sheets/Genshin_Liyue.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/烟花易冷K.txt
Normal file
BIN
shared_sheets/菊次郎的夏天(夏卡重制版).txt
Normal file
BIN
shared_sheets/铃儿响叮当.txt
Normal file
BIN
shared_sheets/陈奕迅_心的距离.txt
Normal file
9
source/language_list.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"list": [{
|
||||
"code": "zh_CN",
|
||||
"name": "简体中文"
|
||||
}, {
|
||||
"code": "en_US",
|
||||
"name": "English (US)"
|
||||
}]
|
||||
}
|
||||
@@ -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,3 +1,42 @@
|
||||
版本: 20
|
||||
更新时间: 2020.12.22 18:31
|
||||
更新内容:
|
||||
* 新增:多语言设置。
|
||||
目前只有默认的 简体中文 和一半手翻一半机翻的 English(US)。
|
||||
|
||||
版本: 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
|
||||
更新内容:
|
||||
|
||||