229 Commits
v20 ... master

Author SHA1 Message Date
github-actions[bot]
8fbb7f9ae7 Update git tree hash 2024-03-04 08:48:16 +00:00
StageGuard
6067ff139b remove self-hosted repo list 2024-03-04 16:48:04 +08:00
github-actions[bot]
dd70db5c17 Update git tree hash 2024-03-04 08:44:32 +00:00
StageGuard
b2e8799320 remove self-hosted source 2024-03-04 16:44:16 +08:00
github-actions[bot]
09a0cb8214 Update git tree hash 2023-02-25 07:04:42 +00:00
StageGuard
36f5dea846 Merge branch 'master' of github.com:StageGuard/SkyAutoPlayerScript 2023-02-25 15:04:28 +08:00
StageGuard
f20dfc266c update usage 2023-02-25 15:04:21 +08:00
github-actions[bot]
ecdcdf57ff Update git tree hash 2023-02-25 02:41:01 +00:00
StageGuard
e8334effc2 migrate to AutoX 2023-02-25 10:39:56 +08:00
github-actions[bot]
2ea865cb52 Update git tree hash 2022-11-08 00:59:46 +00:00
StageGuard
50db95a03d upload user shared sheet. 2022-11-08 08:59:14 +08:00
github-actions[bot]
75eee66c8b Update git tree hash 2022-08-09 00:10:00 +00:00
StageGuard
3bdde71eb7 upload user shared sheet. 2022-08-09 08:09:31 +08:00
github-actions[bot]
6f9f2dcef0 Update git tree hash 2022-06-28 11:07:18 +00:00
StageGuard
98c2f0511f upload user shared sheet. 2022-06-28 19:06:47 +08:00
github-actions[bot]
be19447c07 Update git tree hash 2022-05-23 02:18:36 +00:00
StageGuard
eb0bb38e5a update startup script 2022-05-23 10:18:21 +08:00
github-actions[bot]
f083c11b4c Update git tree hash 2022-05-06 07:35:36 +00:00
Hxina
bf2371854a Upload user shared sheet 2022-05-06 15:35:21 +08:00
github-actions[bot]
e983639961 Update git tree hash 2022-03-29 10:21:46 +00:00
Hxina
60ea0b7922 Upload user shared sheet 2022-03-29 18:21:30 +08:00
github-actions[bot]
abc1e97155 Update git tree hash 2022-03-06 03:29:23 +00:00
StageGuard
eab7c61cc0 search local sheet & version 24 2022-03-06 11:28:56 +08:00
github-actions[bot]
0d1aee52c0 Update git tree hash 2022-03-02 05:51:23 +00:00
Hxina
ce50de5550 Upload user shared sheet 2022-03-02 13:51:07 +08:00
github-actions[bot]
2798186da2 Update git tree hash 2022-03-01 00:15:39 +00:00
StageGuard
e1126b3594 Update README.md 2022-03-01 08:14:58 +08:00
github-actions[bot]
1717631307 Update git tree hash 2022-02-24 07:11:48 +00:00
StageGuard
5a06edc5bd upload user shared sheet 2022-02-24 15:11:24 +08:00
github-actions[bot]
c1a0e50ffd Update git tree hash 2022-02-08 13:43:03 +00:00
StageGuard
4eedd121c0 upload user shared sheet 2022-02-08 21:42:40 +08:00
StageGuard
a9f4f67f9e remove sheets which are not indexed 2022-02-08 21:39:52 +08:00
github-actions[bot]
5619043a9e Update git tree hash 2022-01-28 02:55:00 +00:00
StageGuard
bf831fcf05 remove index 2022-01-28 10:54:30 +08:00
github-actions[bot]
ba77488792 Update git tree hash 2022-01-27 15:22:32 +00:00
StageGuard
f2162796d9 upload user shared sheets 2022-01-27 23:22:02 +08:00
github-actions[bot]
fc81b89e86 Update git tree hash 2022-01-11 14:25:36 +00:00
StageGuard
a7b633502a upload user shared sheet 2022-01-11 22:25:08 +08:00
github-actions[bot]
5c43ae2909 Update git tree hash 2022-01-10 09:24:10 +00:00
StageGuard
bcd3b9d6ba upload user shared sheets 2022-01-10 17:23:35 +08:00
github-actions[bot]
d6e94c0274 Update git tree hash 2022-01-06 09:57:23 +00:00
StageGuard
e7dfbb856b upload user shared sheet. 2022-01-06 17:56:54 +08:00
StageGuard
0a235eead5 channge from domain name to ip 2022-01-06 17:56:22 +08:00
github-actions[bot]
49c9158cf1 Update git tree hash 2021-12-29 15:19:40 +00:00
StageGuard
1f972b38a9 update README.md 2021-12-29 23:19:13 +08:00
github-actions[bot]
93f896debf Update git tree hash 2021-12-21 00:12:04 +00:00
StageGuard
bacba3c6e3 doc formatting 2021-12-21 08:11:45 +08:00
github-actions[bot]
54211d15a0 Update git tree hash 2021-12-04 04:25:23 +00:00
StageGuard
830d0b55b5 update user shared sheet 2021-12-04 12:24:59 +08:00
github-actions[bot]
efcd7868d5 Update git tree hash 2021-12-04 03:40:26 +00:00
StageGuard
5319dbce67 optimize action flow 2021-12-04 11:40:01 +08:00
github-actions[bot]
c19a62b761 Update git tree hash 2021-12-04 03:34:09 +00:00
StageGuard
19346b1aca split sync process 2021-12-04 11:33:42 +08:00
github-actions[bot]
d3785c3629 Update git tree hash 2021-12-04 03:25:06 +00:00
StageGuard
59455fb43d Update sync.yml 2021-12-04 11:24:41 +08:00
github-actions[bot]
e5fb1bc197 Update git tree hash 2021-12-04 03:18:46 +00:00
StageGuard
ef207792c6 update source 2021-12-04 11:18:22 +08:00
github-actions[bot]
c5157b867c Update git tree hash 2021-11-08 03:03:33 +00:00
StageGuard
0278803293 Upload user shared sheets. 2021-11-08 11:02:56 +08:00
github-actions[bot]
e50b674ed9 Update git tree hash 2021-10-18 14:36:37 +00:00
bowen99
e44b3a5ed4 upload user shared sheets. (#16) 2021-10-18 22:36:15 +08:00
github-actions[bot]
006de48de6 Update git tree hash 2021-10-17 17:41:13 +00:00
StageGuard
0cf1417ca6 space between English word and Chinese character. 2021-10-18 01:40:56 +08:00
github-actions[bot]
95e4ee8546 Update git tree hash 2021-10-15 04:16:26 +00:00
StageGuard
381578cc72 Upload user shared sheets 2021-10-15 12:14:15 +08:00
github-actions[bot]
86b3442837 Update git tree hash 2021-10-09 08:14:05 +00:00
StageGuard
1c73833d30 upload user shared sheets 2021-10-09 16:13:39 +08:00
github-actions[bot]
aeaed550b7 Update git tree hash 2021-10-08 18:20:02 +00:00
bowen99
4f495c5cc6 sheet music (#14)
upload user shared sheets
2021-10-09 02:19:36 +08:00
github-actions[bot]
b724721e61 Update git tree hash 2021-10-06 04:53:05 +00:00
bowen99
13f239ce44 乐谱共享 (#12)
upload user shared sheet.
2021-10-06 12:52:42 +08:00
github-actions[bot]
239364ad6f Update git tree hash 2021-09-23 11:40:10 +00:00
StageGuard
9fab1fe3db conflict changes 2021-09-23 19:39:43 +08:00
StageGuard
8f60d2a3e5 conflict 2021-09-23 19:38:51 +08:00
github-actions[bot]
678118ec16 Update git tree hash 2021-09-23 11:34:34 +00:00
StageGuard
2f7ae3f8be upload user shared sheets. 2021-09-23 19:32:15 +08:00
github-actions[bot]
0d44ed5273 Update git tree hash 2021-09-05 04:05:57 +00:00
github-actions[bot]
90b0962d94 Update git tree hash 2021-09-05 03:52:34 +00:00
github-actions[bot]
839d3fa947 Update git tree hash 2021-09-05 03:11:25 +00:00
StageGuard
244306ef0d upload user shared sheet. 2021-09-05 11:10:58 +08:00
github-actions[bot]
76b6b85b37 Update git tree hash 2021-07-13 04:03:21 +00:00
StageGuard
13abdb34ad Merge branch 'master' of github.com:StageGuard/SkyAutoPlayerScript into master 2021-07-13 12:02:48 +08:00
StageGuard
af9de48b53 player panel initial location 2021-07-13 12:02:34 +08:00
github-actions[bot]
bb8458b948 Update git tree hash 2021-07-06 08:22:22 +00:00
StageGuard
18d1c8e670 update workflow and readme 2021-07-06 16:21:45 +08:00
github-actions[bot]
0bafed9c23 Update git tree hash 2021-07-06 08:15:45 +00:00
github-actions[bot]
644368f30a Update git tree hash 2021-07-06 08:07:08 +00:00
StageGuard
90156ce0af rewrite wrapper 2021-07-06 16:06:20 +08:00
StageGuard
04bed642f9 remove gitee mirror dependence 2021-07-06 16:06:07 +08:00
github-actions[bot]
13173f34a0 Update git tree hash 2021-07-06 06:35:00 +00:00
StageGuard
7db85f24b0 update workflow 2021-07-06 14:34:31 +08:00
StageGuard
402e34ea2b update workflow 2021-07-06 14:33:36 +08:00
github-actions[bot]
dd7da09fb9 Update git tree hash 2021-07-06 06:32:23 +00:00
github-actions[bot]
1443e6ddc5 Update git tree hash 2021-07-01 16:20:44 +00:00
StageGuard
14c137cce2 remove redundant comment 2021-07-02 00:20:10 +08:00
github-actions[bot]
fc36fd5792 Update git tree hash 2021-07-01 08:42:06 +00:00
StageGuard
186e08fdbe Merge branch 'master' of github.com:StageGuard/SkyAutoPlayerScript into master 2021-07-01 16:41:28 +08:00
github-actions[bot]
766bf4cfb0 Update git tree hash 2021-07-01 08:36:05 +00:00
StageGuard
83ec7bd803 optimize play thread. 2021-07-01 16:33:36 +08:00
StageGuard
ee925ccc72 new feature & version 23 2021-06-29 13:27:06 +08:00
github-actions[bot]
fe4263fc0d Update git tree hash 2021-06-05 16:02:01 +00:00
StageGuard
7a658a9291 upload user shared sheet. 2021-06-06 00:01:12 +08:00
github-actions[bot]
e91a30536e Update git tree hash 2021-05-25 05:56:21 +00:00
StageGuard
ef0b92b7a3 Upload user shared sheet. 2021-05-25 13:55:48 +08:00
github-actions[bot]
c9c957efae Update git tree hash 2021-05-09 11:59:10 +00:00
StageGuard
9619a912a7 Upload user shared sheets. 2021-05-09 19:58:36 +08:00
github-actions[bot]
5db393be2e Update git tree hash 2021-05-09 11:19:01 +00:00
StageGuard
6e5d34c4ec Merge branch 'master' of github.com:StageGuard/SkyAutoPlayerScript into master 2021-05-09 19:18:24 +08:00
StageGuard
0af7dfef95 Upload user shared sheets. 2021-05-09 19:18:16 +08:00
github-actions[bot]
3a3d46539b Update git tree hash 2021-05-02 04:15:02 +00:00
StageGuard
7b5f6fbbf2 Upload user shared sheet. 2021-05-02 12:14:23 +08:00
StageGuard
d3f46df074 update workflow 2021-05-02 12:03:57 +08:00
github-actions[bot]
81cde4b7a2 Update git tree hash 2021-04-26 23:03:37 +00:00
StageGuard
c3b1eb0101 Merge branch 'master' of github.com:StageGuard/SkyAutoPlayerScript into master 2021-04-27 07:03:08 +08:00
StageGuard
bb878c5581 test workflow 2021-04-27 07:03:03 +08:00
github-actions[bot]
05cd1e8692 Update git tree hash 2021-04-26 12:22:59 +00:00
StageGuard
2a1e8a6fac test workflow 2021-04-26 20:22:19 +08:00
github-actions[bot]
43e18fbe60 Update git tree hash 2021-04-26 12:15:06 +00:00
StageGuard
38e59830f0 Test workflow 2021-04-26 20:14:23 +08:00
github-actions[bot]
3e8a31f9a2 Update git tree hash 2021-04-26 12:05:43 +00:00
StageGuard
7f7aeab1ea Update workflow 2021-04-26 20:05:06 +08:00
StageGuard
bd8a7d0429 I forget to git pull(X 2021-04-26 20:04:55 +08:00
StageGuard
9f443c01d7 Upload user shared sheet 2021-04-26 15:47:47 +08:00
github-actions[bot]
2fb30a51bb Update git tree hash 2021-04-24 02:35:21 +00:00
StageGuard
64508c41fb remove redundant line break in gitVersion 2021-04-24 10:34:48 +08:00
github-actions[bot]
3405e8d01b Update git tree hash 2021-04-24 01:50:57 +00:00
StageGuard
d8e8af591d *** 2021-04-24 09:49:50 +08:00
StageGuard
5feb691108 fk u @sand4rt 2021-04-24 09:47:56 +08:00
StageGuard
4caa1e08cc i dont know why i should commit it 2021-04-24 09:34:13 +08:00
StageGuard
5270d46b39 ??? 2021-04-24 09:31:12 +08:00
StageGuard
5f793165d2 Update workflow 2021-04-20 14:53:28 +08:00
github-actions[bot]
276f73887c Update git tree hash 2021-04-20 06:45:04 +00:00
StageGuard
8d22952980 Update workflow 2021-04-20 14:44:10 +08:00
StageGuard
ba200fcc3b Add action that auto sync repo to gitee 2021-04-19 13:49:40 +08:00
StageGuard
6145094332 Upload user shared sheets. & Reformat encoding. 2021-04-19 13:08:37 +08:00
StageGuard
1fe47af144 Upload user shared sheets. & Reformat encoding. 2021-04-19 13:06:58 +08:00
StageGuard
9fc9aa9383 Update gitVersion 2021-03-30 17:53:08 +08:00
StageGuard
662b1b5b8f wo shi ge san bing 2021-03-30 17:52:33 +08:00
StageGuard
90764f9ddd Update gitVersion 2021-03-30 17:42:20 +08:00
StageGuard
aecc5683d1 override name in sheet file. 2021-03-30 17:41:47 +08:00
StageGuard
4116a387b8 Upload user shared sheets 2021-03-30 17:41:02 +08:00
StageGuard
e7270bac2a Update README.md 2021-03-28 18:28:05 +08:00
StageGuard
6202bfe046 fix social link desc 2021-03-18 16:52:03 +08:00
StageGuard
70bdb18519 fix social link desc 2021-03-18 16:51:48 +08:00
StageGuard
94f04bf4be update user shared sheets. 2021-03-18 16:48:35 +08:00
StageGuard
ba919201ac update user shared sheets. 2021-03-18 16:48:16 +08:00
StageGuard
f7a995a6fc update gitVersion 2021-03-07 10:09:05 +08:00
StageGuard
6c7abdeec3 update user shared sheets 2021-03-07 10:07:20 +08:00
StageGuard
3c6fbf998f typo 2021-02-28 11:30:54 +08:00
StageGuard
6d4f694535 improve translation 2021-02-25 11:40:13 +08:00
StageGuard
dba53ba8aa improve translation 2021-02-25 11:39:50 +08:00
StageGuard
5972f6afef beautiful badge 2021-02-25 11:22:42 +08:00
StageGuard
6eb6c89cba upload user shared sheet. 2021-02-24 16:52:49 +08:00
StageGuard
9fa6f03a36 upload user shared sheet. 2021-02-24 16:52:32 +08:00
StageGuard
605ab7ba1b update user_agreement 2021-02-24 16:43:54 +08:00
StageGuard
14015d32d1 remove gitee source 2021-02-24 16:24:45 +08:00
StageGuard
c3e337d8b3 remove gitee source 2021-02-24 16:24:25 +08:00
StageGuard
0bf2a612c2 update gitVersion 2021-02-24 15:43:50 +08:00
StageGuard
b6a259b6ce update .gitignore 2021-02-24 14:51:41 +08:00
StageGuard
1699065b50 update .gitignore 2021-02-24 14:25:28 +08:00
StageGuard
52df50f618 Add codefactor badage and contribution tip. 2021-02-22 20:23:15 +08:00
StageGuard
fc0d773cfe Correct info 2021-02-08 21:29:57 +08:00
StageGuard
adb40120b2 Upload user shared sheets. 2021-02-08 21:28:40 +08:00
StageGuard
e031e7206a Separate English and Chinese in README.md 2021-01-29 14:02:05 +08:00
StageGuard
1dedb59383 Upload user shared sheet. 2021-01-19 23:05:08 +08:00
StageGuard
745c7f4553 upload user shared sheets. 2021-01-18 20:44:35 +08:00
StageGuard
fa45e5b380 Upload user shared sheets. 2021-01-10 00:07:40 +08:00
StageGuard
231726a627 nothing to say 2021-01-08 13:35:13 +08:00
StageGuard
2dc3dc776e Upload user shared sheet 2021-01-03 15:38:49 +08:00
StageGuard
f01999b861 Upload user shared sheets. 2021-01-02 18:00:28 +08:00
StageGuard
05a36fc5f6 Fix error while prasing songnotes 2021-01-02 17:43:03 +08:00
StageGuard
ded30f266e Fix error while prasing songnotes 2021-01-02 17:42:37 +08:00
StageGuard
4aa6bc9e5d close window when click social link 2021-01-02 17:31:13 +08:00
StageGuard
bf9bb40868 close window when click social link 2021-01-02 17:30:37 +08:00
StageGuard
f70f3ac9eb fix mail link 2021-01-02 17:28:18 +08:00
StageGuard
8524a2835a Add mail link support 2021-01-02 17:24:10 +08:00
StageGuard
b6a0865731 Add mail link support 2021-01-02 17:23:46 +08:00
StageGuard
051695afe6 Upload resource 2021-01-02 17:19:15 +08:00
StageGuard
26ee689227 Upload user shared sheet && Add mail link support 2021-01-02 17:04:38 +08:00
StageGuard
91192550d9 Add resources 2021-01-02 16:30:48 +08:00
StageGuard
f311028dfe Update copyright time 2021-01-01 00:12:27 +08:00
StageGuard
d609f8d93a Update copyright time 2021-01-01 00:10:19 +08:00
StageGuard
64cc564759 Upload user shared sheet. 2020-12-31 16:55:29 +08:00
StageGuard
7396e87a28 Merge branch 'master' of github.com:StageGuard/SkyAutoPlayerScript into master 2020-12-31 11:54:08 +08:00
StageGuard
edd6ff08a5 Upload user shared sheet. 2020-12-31 11:53:54 +08:00
StageGuard
191c860c20 Update README.md 2020-12-28 11:00:05 +08:00
StageGuard
858710ba2a Fix linebreak 2020-12-27 23:38:27 +08:00
StageGuard
1ceaa898df rewrite README.md 2020-12-27 23:35:09 +08:00
StageGuard
91efbd8f33 rewrite README.md 2020-12-27 23:32:51 +08:00
StageGuard
9d5fc4655b rewrite README.md 2020-12-27 23:26:13 +08:00
StageGuard
480a6e90ab Upload user shared sheet. 2020-12-27 21:35:21 +08:00
StageGuard
c407471e09 Change diamond suspension color 2020-12-23 20:04:37 +08:00
StageGuard
a08a46eccc Change diamond suspension color 2020-12-23 20:04:05 +08:00
StageGuard
60c9eae07d Change diamond suspension style 2020-12-23 19:57:51 +08:00
StageGuard
c987172e63 Change 2020-12-23 19:57:10 +08:00
StageGuard
c5a1ac2040 Change 2020-12-23 19:57:04 +08:00
StageGuard
a1b910112c change range 2020-12-23 12:24:11 +08:00
StageGuard
214fdcc051 change range 2020-12-23 12:23:49 +08:00
StageGuard
d591f00b2d change range 2020-12-23 12:22:22 +08:00
StageGuard
6e1d3dbca5 change range 2020-12-23 12:21:56 +08:00
StageGuard
38b1070cd4 change range 2020-12-23 12:18:54 +08:00
StageGuard
a9a82dfeb4 change range 2020-12-23 12:18:24 +08:00
StageGuard
52883882b9 Update version 22 2020-12-22 23:50:57 +08:00
StageGuard
6688fddbff Update version 22 2020-12-22 23:50:30 +08:00
StageGuard
9132a29653 Test upgrade language 2020-12-22 20:08:51 +08:00
StageGuard
ea984627b6 Update note 2020-12-22 20:05:21 +08:00
StageGuard
754ff3ec65 Script can update language version 2020-12-22 19:59:47 +08:00
StageGuard
6a364f8f4d Script can update language version 2020-12-22 19:59:20 +08:00
StageGuard
b35e13f52e Update lang 2020-12-22 19:57:43 +08:00
StageGuard
fba6f91a69 Add version property for language 2020-12-22 19:46:18 +08:00
StageGuard
d2c2fd0cf6 Merge branch 'master' of github.com:StageGuard/SkyAutoPlayerScript into master 2020-12-22 19:27:46 +08:00
StageGuard
7345ea7afd Add version property for language 2020-12-22 19:26:37 +08:00
StageGuard
c3f28c7f2a Update contribute-translation.md 2020-12-22 19:17:09 +08:00
StageGuard
678a97bb44 Add contribute-translation.md 2020-12-22 19:07:54 +08:00
StageGuard
944420d9b6 Update version 21 2020-12-22 18:39:28 +08:00
StageGuard
2429897df5 Update version 21 2020-12-22 18:38:51 +08:00
StageGuard
a985d657c2 Upload en_US (translated by GoogleTranslate) 2020-12-22 18:02:28 +08:00
StageGuard
d56b56e2f4 test language 2020-12-22 17:16:05 +08:00
StageGuard
82e271415a Update zh_CN language 2020-12-22 17:15:53 +08:00
StageGuard
7127d86bea Create language_list.json 2020-12-22 12:50:52 +08:00
StageGuard
baad1d727c Test abstract language 2020-12-22 00:55:18 +08:00
StageGuard
f08324aff2 Add another conversation screenshot 2020-12-19 00:46:35 +08:00
StageGuard
33f7f9c700 Add announcement picture 2020-12-19 00:42:23 +08:00
StageGuard
d16ad650a8 Add announcement in README.md 2020-12-19 00:37:34 +08:00
StageGuard
559498aa19 Add announcement picture 2020-12-19 00:36:44 +08:00
StageGuard
3749e978c1 Add announcement picture 2020-12-19 00:33:58 +08:00
StageGuard
82737b36c8 Add announcement picture 2020-12-19 00:25:30 +08:00
StageGuard
08a02dff18 Upload user shared sheet. 2020-12-18 23:29:27 +08:00
StageGuard
b1ce8fa019 Upload user shared sheet. 2020-12-13 21:34:21 +08:00
98 changed files with 3685 additions and 941 deletions

60
.github/workflows/sync.yml vendored Normal file
View File

@@ -0,0 +1,60 @@
name: Sync
on: [ push ]
jobs:
update-commit-hash:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
if: github.actor != 'github-actions[bot]'
with:
persist-credentials: true
- name: Update commit hash to gitVersion
if: github.actor != 'github-actions[bot]'
run: |
git show -s --format=%H | awk 'NR == 1 {p = $0} NR > 1 {print p; p = $0} END{printf p}' > gitVersion
- name: Push commit
uses: EndBug/add-and-commit@v7.1.2
if: github.actor != 'github-actions[bot]'
with:
add: gitVersion
author_name: github-actions[bot]
author_email: 41898282+github-actions[bot]@users.noreply.github.com
message: Update git tree hash
push: true
sync-to-gitea:
runs-on: ubuntu-latest
needs: update-commit-hash
steps:
- name: Checkout
uses: actions/checkout@v2
if: github.actor != 'github-actions[bot]'
with:
persist-credentials: true
- name: Sync to Private Git Service
uses: wearerequired/git-mirror-action@master
if: github.actor != 'github-actions[bot]'
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
with:
source-repo: git@github.com:StageGuard/SkyAutoPlayerScript.git
destination-repo: ubuntu@81.70.194.140:StageGuard/SkyAutoPlayerScript.git
sync-to-gitee:
runs-on: ubuntu-latest
needs: update-commit-hash
steps:
- name: Checkout
uses: actions/checkout@v2
if: github.actor != 'github-actions[bot]'
with:
persist-credentials: true
- name: Sync to Gitee
uses: wearerequired/git-mirror-action@master
if: github.actor != 'github-actions[bot]'
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
with:
source-repo: git@github.com:StageGuard/SkyAutoPlayerScript.git
destination-repo: git@gitee.com:stageguard/SkyAutoPlayerScript.git

13
.gitignore vendored
View File

@@ -1,5 +1,8 @@
.vscode/settings.json
.vscode/tasks.json
rhino.jar
update.sh
updateSharedSheets.js
.vscode/settings.json
.vscode/tasks.json
rhino.jar
update.sh
updateSharedSheets.js
stageguard
encSheetAndPush.sh
encSheetList.js

914
LICENSE
View File

@@ -1,458 +1,458 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS

282
README-en.md Normal file
View File

@@ -0,0 +1,282 @@
# SkyAutoPlayerScript
A script to play Sheets generated by [SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio) automatically in game Sky with accessibility services using AutoX
[![shared sheet](https://badgen.net/badge/shared%20sheets/175%20in%20total/green)](shared_sheets/) [![sheet contributors](https://badgen.net/badge/sheet%20contributors/36/pink)](#shared-sheets) [![Hosted in](https://badgen.net/badge/CDN/jsDelivr?icon=jsdelivr)](https://www.jsdelivr.com/)
## [Temporary solution for error `Syntax error script.js#44(eval)#100`](https://github.com/StageGuard/SkyAutoPlayerScript/issues/17#issuecomment-1002640892)
## Feature
There are many features in SkyAutoPlayerScript compared to other auto player scripts.
* Friendly GUI, no code edit, fluent UI animation.
* Multi-functional player control panel with **pause**, **progress control** and **speed control**.
* Set key coordinates by yourself with guidance, avoiding key offset when playing.
* There are many excellent online [shared sheets](https://github.com/StageGuard/SkyAutoPlayerScript/tree/master/shared_sheets).
* Automatically update script.
* [Multi-language support](#translation).
* ...
## Usage
1. Download AutoX at [Releases · kkevsekk1/AutoX](https://github.com/kkevsekk1/AutoX/releases)。
> Warning: Please notice that you should check your device arch in advance, or select `universal`。
2. Turn on **Accessibility service** and allow **Display pop-up window** permission for AutoX
3. Create a new script file in AutoX. Copy the code below and run!
```javascript
"ui";
"use strict";
/*
SkyAutoPlayer (AutoX script)
Copyright © 2020-2021 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
*/
(function(emitter) {
threads.start(function () {
emitter.emit("evaluate", (function () {
//Many sources
let sources = [
"http://cdn.stagex.top:8090/StageGuard/SkyAutoPlayerScript/raw/master/source/SkyAutoplayer.js",
"https://cdn.jsdelivr.net/gh/StageGuard/SkyAutoPlayerScript/source/SkyAutoplayer.js",
"https://dl.skyautoplayerscript.stageguard.top/source/SkyAutoplayer.js",
"https://raw.githubusercontent.com/StageGuard/SkyAutoPlayerScript/master/source/SkyAutoplayer.js"
];
for (let i in sources) {
let resp = http.get(sources[i]);
if (resp.statusCode >= 200 && resp.statusCode < 300) {
return resp.body.string();
}
}
return "console.show();console.log(\"Failed to load script\")";
}()));
});
emitter.on('evaluate', function (s) {
eval(s);
});
}(events.emitter(threads.currentThread())));
```
## Clear data
`SkyAutoPlayerScript` will store data while running, if you want to delete all data, please run the code below in AutoX
```
storages.remove("StageGuard:SkyAutoPlayer:Config");
files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
```
# Upload sheets
SkyAutoplayerScript will load online shared sheets from the file `shared_sheets.json` in this repository and it is convenient to download and play.
If you want to let sheets that transcribed by yourself or permitted to reprint shown on the list, you can do one of the following ways:
### 1. Pull Request
You can clone this repository, put your sheet file into `shared_sheets` folder and add a new item in `shared_sheets.json` :
```javascript
{
//sheet name
"name": "Vicetone - Nevada",
//sheet file name in shared_sheets folder
"file": "Nevada.txt",
//transcriber
"author": "StageGuard",
//short description about this sheet
"desc": "Nevada SkyStudio钢琴版。\n内包含<u>比较复杂的和弦</u>,不适合手弹(笑\n你可以在SkyStudio的练习模式试试[狗头]",
//BPM in sheet file
"bpm": 497,
//key count(a 15 key sheet or 8 key sheet)
"keyCount": 15,
//pitch level in sheet file
"pitchLevel": 3,
//note count
//length of array songNotes in sheet file
"noteCount": 1308,
//your social link
//you can add many links if you want
"social": [
{
//platform code name, currently support github, twitter, douyin(tiktok) and coolapk
"platform": "github",
//social platform name
"name": "GitHub",
//social link
"link": "https://github.com/StageGuard/"
}
]
},
```
After finishing, you need to create a new `pull request` and wait it to be merged.
> Attention: Before creating a new `pull request` , make sure your local repository is up-to-date!
### 2. If you are not familiar with Github...
Just mail your sheet file to [beamiscool@qq.com](mailto:beamiscool@qq.com) and don't forget the sheet description !
# Attention!
### Before using this script, you must read the following notes!
1. SkyAutoplayerScript is not fully tested, if you meet a bug, please PM CoolApk@StageGuard or create a new issue.
2. **SkyAutoplayerScript is a free and open source project. If you want to use it for commercial purposes, please add the link refers to this repository.**
3. **Shared sheets is not under the protection of LGPL-2.1, if you want to reprint shared sheets to other platforms, please contact sheet transcriber by yourself!**
4. The script is just for entertainment and it is not suitable to use it in formal occasion.
5. Script just gives you a short-time sense of satisfaction and do not make you progress.
6. This script is just a "player" and no built-in sheets, you must download [SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio) to make sheets.
7. The script will not support decrypt sheet, including **SkyStudio encrypted sheet** or **encrypted js** etc.....<br>And the repository will also not accept encrypted sheet.
<details> <summary>Issues </summary>
# Use it to make profits: [#1](https://github.com/StageGuard/SkyAutoPlayerScript/issues/1)
# Embezzle shared sheets:
Gitee user [嗨游圈(@vipssp)](https://gitee.com/vipssp) upload all shared sheets in [/shared_sheets](https://github.com/StageGuard/SkyAutoPlayerScript/tree/master/shared_sheets) **without permission** to his [Gitee repository](https://gitee.com/vipssp/SkyAutoPlayerScript/)
He also doesn't delete these sheets from his repository after [notification](https://gitee.com/vipssp/SkyAutoPlayerScript/commit/197925a71ff9cc6248be682a55406fc5814b12d7#note_3637784).
I decide to pin him in README.md after communicating with some sheet sharer.
<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>
</details>
# Contribution
Welcome everyone to contribute this project, including pull request, issue, new feature request or translation.
### ⚠WARNING
CodeFactor Evaluation: [![CodeFactor](https://www.codefactor.io/repository/github/stageguard/skyautoplayerscript/badge)](https://www.codefactor.io/repository/github/stageguard/skyautoplayerscript)
This program is a single-file project which means all modules are in a single file. Also, my coding skill is poor, so it is `a little hard` to understand source code.
## Contributor
### SkyAutoPlayerScript
[@tiaod](https://github.com/tiaod)
### Shared sheets
CoolApk [@Aex技术总监](http://www.coolapk.com/u/1286879)<br>
CoolApk [@夏卡卡卡](http://www.coolapk.com/u/2313452)<br>
CoolApk [@深空失忆か](http://www.coolapk.com/u/3005974)<br>
Douyin [@子哲啊🌈(zizhe1880689503)](https://v.douyin.com/J9gUaVE/)<br>
CoolApk [@你们很有趣呢](http://www.coolapk.com/u/2416229)<br>
CoolApk [@情如风雪无常](http://www.coolapk.com/u/643670)<br>
CoolApk [@慕疵](http://www.coolapk.com/u/3286967)<br>
CoolApk [@社区最弱萌新](http://www.coolapk.com/u/3291313)<br>
CoolApk [@九方辰](http://www.coolapk.com/u/634078)<br>
CoolApk [@北极马可罗尼](http://www.coolapk.com/u/463478)<br>
Bilibili [@UTF16](https://space.bilibili.com/623364258)<br>
CoolApk [@Syngenex](http://www.coolapk.com/u/1093421)<br>
Twitter [Phoebe@huunhut1217](https://mobile.twitter.com/huunhut1217)<br>
CoolApk [@终究是错付了](http://www.coolapk.com/u/2293899)<br>
CoolApk [@DesperatU](http://www.coolapk.com/u/1075889)<br>
CoolApk [@明明酱](http://www.coolapk.com/u/1706128)<br>
CoolApk [@cxk的篮球](http://www.coolapk.com/u/1090769)<br>
CoolApk [@头条乀](http://www.coolapk.com/u/1192320)<br>
CoolApk [@Alusias](http://www.coolapk.com/u/808787)<br>
[chikin](mailto:2869826936@qq.com)<br>
CoolApk [@温茶予君](http://www.coolapk.com/u/1212499)<br>
CoolApk [@落红难相聚](http://www.coolapk.com/u/2082465)<br>
CoolApk [@bugjump233](http://www.coolapk.com/u/3294062)<br>
CoolApk [@阿基米德的船](http://www.coolapk.com/u/3283016)<br>
[2087131113@qq.com](mailto:2087131113@qq.com)<br>
CoolApk [@皮皮小猪猪](http://www.coolapk.com/u/5352224)<br>
CoolApk [@DoubleGGe](http://www.coolapk.com/u/7728656)<br>
[恋上猫的鱼~](mailto:shi1177121232@foxmail.com)<br>
[依稀(濒死动物)](mailto:3423451308@qq.com)<br>
[zhangjinteng](mailto:zhangjinteng@foxmail.com)<br>
Bilibili [@次卡安](https://space.bilibili.com/68420360)<br>
CoolApk [@ZyaIreZ](http://www.coolapk.com/u/1376183)<br>
CoolApk [@星释槐](http://www.coolapk.com/u/2168596)<br>
[KingXKK](mailto:fjjiangdonghan@outlook.com)<br>
CoolApk [@Leotoast](http://www.coolapk.com/u/2260385)<br>
[小柒不会玩红石](mailto:2126859202@qq.com)<br>
[我睡着的时候不困0v0](mailto:31610766@qq.com)<br>
[心酸的邂逅](mailto:3200546245@qq.com)<br>
## Translation
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.
### Contributor
None
# Icon from:
[Iconfont-阿里巴巴矢量图标库](https://www.iconfont.cn/)
# Thanks to:
[projectXero](https://gitee.com/projectXero) (Provide `ListAdapter` used in Rhino)
# LICENSE
```
SkyAutoPlayer (AutoX script)
Copyright © 2020-2021 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
```

304
README.md
View File

@@ -1,121 +1,227 @@
# 关于脚本倒卖的问题: [#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)导出的曲谱
English: [README-en.md](README-en.md)
使用 [AutoX](https://github.com/kkevsekk1/AutoX) 提供的无障碍权限实现在 Sky光遇 中自动弹奏 [SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio) 导出的曲谱
[![shared sheet](https://badgen.net/badge/shared%20sheets/175%20in%20total/green)](shared_sheets/) [![sheet contributors](https://badgen.net/badge/sheet%20contributors/36/pink)](#共享乐谱) [![Hosted in](https://badgen.net/badge/CDN/jsDelivr?icon=jsdelivr)](https://www.jsdelivr.com/)
~~不会进一步支持原神的21键琴和上传21键位的共享乐谱反正15键又不是不能弹。~~
## [暂时解决 `Syntax error script.js#44(eval)#100` 的方法](https://github.com/StageGuard/SkyAutoPlayerScript/issues/17#issuecomment-1002640892)
## 特性
相比于其他脚本SkyAutoPlayerScript拥有以下优势
* 全GUI操作无需编辑任何代码流畅的UI动画。
* 完整的弹奏控制面板,支持**暂停** **进度控制** **倍速控制**等
* 自设定键位坐标,避免按压琴键的偏移问题
* 在线[共享乐谱](https://github.com/StageGuard/SkyAutoPlayerScript/tree/master/shared_sheets),有许多优质乐谱。</br>~~(甚至有的乐谱复杂到根本无法手弹)~~
* 自动更新及时修复BUG无需担心版本过时问题。
相比于其他脚本SkyAutoPlayerScript 拥有以下优势
* 全 GUI 操作无需编辑任何代码流畅的UI动画。
* 多功能的弹奏控制面板,支持**暂停** **进度控制** **倍速控制**等。
* 通过引导自设定键位坐标,避免按压琴键的偏移问题。
* 在线[共享乐谱](https://github.com/StageGuard/SkyAutoPlayerScript/tree/master/shared_sheets),有许多优质乐谱。
* 自动更新,及时修复 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!
## 使用
以下两种方式仅需选择一种
<details> <summary>拷贝脚本(推荐)</summary>
1. 在 [Releases · kkevsekk1/AutoX](https://github.com/kkevsekk1/AutoX/releases) 中下载 AutoX。
> 注意:请提前悉知设备架构选择 `arm64-v8a` 或 `armeabi-v7a`,否则选择 `universal`。
2. 为 AutoX 开启**无障碍服务**和**悬浮窗权限**和**存储权限**。
3. 在 AutoX 中新建一个脚本并粘贴以下代码并运行:
```javascript
"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\")";
const okhttp3 = Packages["okhttp3"];
(function(emitter) {
const client = (new okhttp3.OkHttpClient.Builder())
.connectTimeout(3, java.util.concurrent.TimeUnit.SECONDS)
.writeTimeout(3, java.util.concurrent.TimeUnit.SECONDS)
.readTimeout(3, java.util.concurrent.TimeUnit.SECONDS)
.build();
threads.start(function () {
emitter.emit("evaluate", (function () {
//Many sources
let sources = [
"https://cdn.jsdelivr.net/gh/StageGuard/SkyAutoPlayerScript/source/SkyAutoplayer.js",
"http://cdn.stagex.top:8090/StageGuard/SkyAutoPlayerScript/raw/master/source/SkyAutoplayer.js",
"https://dl.skyautoplayerscript.stageguard.top/source/SkyAutoplayer.js",
"https://raw.githubusercontent.com/StageGuard/SkyAutoPlayerScript/master/source/SkyAutoplayer.js"
];
for (let i in sources) {
try {
let resp = client.newCall(
(new okhttp3.Request.Builder()).url(sources[i]).build()
).execute();
if (resp.code() == 200) return resp.body().string();
} catch(e) {
let err = "Failed on source " + sources[i] + " : " + e;
console.log(err); toast(err);
}
}
}
}()));
});
emitter.on('evaluate', function(s){
eval(s);
});
console.show();
return null;
}()));
});
emitter.on('evaluate', s => { if(s != null) eval(s); });
}(events.emitter(threads.currentThread())));
```
在Auto.js版本`4.1.1 Alpha2 (461)`中测试通过,不保证其他版本的兼容性(取决于其他版本相对于此版本的API是否有`breaking changes`)
</details>
## 清除数据(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
<details> <summary>安装独立程序(仅 <code>arm64-v8a</code> 可用)</summary>
在 [Releases · StageGuard/SkyAutoPlayerScript](https://github.com/StageGuard/SkyAutoPlayerScript/releases) 中下载脚本独立打包程序,安装后即可使用。
首次启动时请同意程序申请的权限:**无障碍服务**和**悬浮窗权限**和**存储权限**。
> 注意:本程序申请的权限为 AutoX 打包程序自动控制,且仅申请使脚本运行的必要权限。
</details>
## 兼容性
在 AutoX 版本 `6.3.6` 中测试通过。
## 清除数据
`SkyAutoPlayerScript` 在使用过程中会产生本地数据存储,若想全部删除,请使用 AutoX 执行以下代码
```
storages.remove("StageGuard:SkyAutoPlayer:Config");
files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
```
<br>
# 上传乐谱
你可以fork本仓库将你要上传的乐谱添加至`shared_sheets`文件夹,并按照以下要求在`shared_sheets.json`添加项目
SkyAutoplayerScript 可以从这个仓库中的 `shared_sheets.json` 读取在线共享乐谱列表并可以方便地下载和弹奏。
你可以通过以下两种方式的任意一种方式来让你自制或经过原作者授权转载的乐谱在这个列表显示:
### 1. Pull Request
你可以克隆这个仓库,将你的乐谱添加到 `shared_sheets` 文件夹中,并按照以下要求在 `shared_sheets.json` 中添加新的项目:
```javascript
{
//乐谱名称
"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
}
//乐谱名称
"name": "Vicetone - Nevada",
//文件名
"file": "Nevada.txt",
//乐谱作者
"author": "StageGuard",
//乐谱简介
"desc": "Nevada SkyStudio钢琴版。\n内包含<u>比较复杂的和弦</u>,不适合手弹(笑\n你可以在SkyStudio的练习模式试试[狗头]",
//乐谱文件中的BPM
"bpm": 497,
//乐谱的键位数目(它是一个 15 键位乐谱还是 8 键位乐谱)
"keyCount": 15,
//乐谱文件中的音高
"pitchLevel": 3,
//键的数目
//乐谱文件中数组 songNotes 的长度
"noteCount": 1308,
//你的社交链接
//你可以添加多个
"social": [
{
//社交平台名称代号,现在支持 github, twitter, douyin(tiktok) and coolapk
"platform": "github",
//社交平台名称
"name": "GitHub",
//社交连接
"link": "https://github.com/StageGuard/"
}
]
},
```
修改完成后,申请`Pull Request`等待merge即可。
> 请注意:在申请`Pull Request`之前请确保你的SkyAutoPlayerScript仓库已同步至最新以免出现意外问题
修改完成后,申请 `Pull Request` ,等待 merge 即可。
或通过发送乐谱到邮箱[beamiscool@qq.com](mailto:beamiscool@qq.com)
> 请注意:在申请`Pull Request`之前请确保你本地的 仓库已同步至最新,以免出现意外问题!
<br>
### 2. 如果你不是很懂 Github...
只需要把乐谱发送到邮箱 [beamiscool@qq.com](mailto:beamiscool@qq.com) 来交给我就行啦!别忘了附带乐谱简介!
# 注意!
# 注意
### 请仔细阅读以下使用须知!
1. 未充分测试若遇到BUG请酷安私信@StageGuard或新建Issue来反馈BUG
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**等,也不接受加密乐谱的共享
1. 未充分测试,若遇到 BUG ,请酷安私信 [@StageGuard](http://www.coolapk.com/u/1790774) 或新建 Issue 来反馈 BUG
2. **SkyAutoplayerScript 是完全免费且开源的软件/脚本([https://github.com/StageGuard/SkyAutoPlayerScript](https://github.com/StageGuard/SkyAutoPlayerScript)),使用 SkyAutoplayerScript 盈利的同时请标注源项目链接。**
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** 等,也不接受加密乐谱的共享。
<details> <summary>针对上述第2, 3条出现的问题</summary>
# 关于脚本倒卖的问题: [#1](https://github.com/StageGuard/SkyAutoPlayerScript/issues/1)
# 耻辱柱
Gitee 用户[嗨游圈(@vipssp)](https://gitee.com/vipssp)在**未经乐谱上传者的同意下私自盗用** SkyAutoplayerScript 于 Gitee 的[同步镜像](https://gitee.com/stageguard/SkyAutoPlayerScript)到它的 [Gitee 仓库](https://gitee.com/vipssp/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>
</details>
# 贡献
欢迎任何人贡献本项目包括但不限于Pull RequestIssueNew feature request
## 贡献者名单(按照首次贡献时间排序)
欢迎任何人贡献本项目,包括但不限于 Pull RequestIssueNew feature request 或者贡献翻译。
### ⚠️警告
CodeFactor 代码评估: [![CodeFactor](https://www.codefactor.io/repository/github/stageguard/skyautoplayerscript/badge)](https://www.codefactor.io/repository/github/stageguard/skyautoplayerscript)
由于项目为单脚本文件,未将不同模块分离至文件,即所有功能均在一个文件实现;再加上我糟糕的代码技能,源码会非常难读。
## 贡献者
### SkyAutoPlayerScript
[@tiaod](https://github.com/tiaod)<br>
<br>
[@tiaod](https://github.com/tiaod)
### 共享乐谱
酷安[@Aex技术总监](http://www.coolapk.com/u/1286879)<br>
酷安[@夏卡卡卡](http://www.coolapk.com/u/2313452)<br>
酷安[@深空失忆か](http://www.coolapk.com/u/3005974)<br>
抖音@子哲啊🌈(zizhe1880689503)<br>
抖音[@子哲啊🌈(zizhe1880689503)](https://v.douyin.com/J9gUaVE/)<br>
酷安[@你们很有趣呢](http://www.coolapk.com/u/2416229)<br>
酷安[@情如风雪无常](http://www.coolapk.com/u/643670)<br>
酷安[@慕疵](http://www.coolapk.com/u/3286967)<br>
@@ -124,24 +230,54 @@ files.removeDir("/storage/emulated/0/Documents/SkyAutoPlayer/");
酷安[@北极马可罗尼](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>
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>
酷安[@cxk的篮球](http://www.coolapk.com/u/1090769)<br>
酷安[@头条乀](http://www.coolapk.com/u/1192320)<br>
酷安[@Alusias](http://www.coolapk.com/u/808787)<br>
[chikin](mailto:2869826936@qq.com)<br>
酷安[@温茶予君](http://www.coolapk.com/u/1212499)<br>
酷安[@落红难相聚](http://www.coolapk.com/u/2082465)<br>
酷安[@bugjump233](http://www.coolapk.com/u/3294062)<br>
酷安[@阿基米德的船](http://www.coolapk.com/u/3283016)<br>
[2087131113@qq.com](mailto:2087131113@qq.com)<br>
酷安[@皮皮小猪猪](http://www.coolapk.com/u/5352224)<br>
酷安[@DoubleGGe](http://www.coolapk.com/u/7728656)<br>
[恋上猫的鱼~](mailto:shi1177121232@foxmail.com)<br>
[依稀(濒死动物)](mailto:3423451308@qq.com)<br>
[zhangjinteng](mailto:zhangjinteng@foxmail.com)<br>
哔哩哔哩[@次卡安](https://space.bilibili.com/68420360)<br>
酷安[@ZyaIreZ](http://www.coolapk.com/u/1376183)<br>
酷安[@星释槐](http://www.coolapk.com/u/2168596)<br>
[KingXKK](mailto:fjjiangdonghan@outlook.com)<br>
酷安[@Leotoast](http://www.coolapk.com/u/2260385)<br>
[小柒不会玩红石](mailto:2126859202@qq.com)<br>
[我睡着的时候不困0v0](mailto:31610766@qq.com)<br>
[心酸的邂逅](mailto:3200546245@qq.com)<br>
## 翻译
SkyAutoplayerScript 在版本 21 已支持多语言并可以在线获取语言列表,你可以查看 [contribute-translation.md](contribute-translation.md) (English) 来了解如何贡献翻译。
### 贡献者
# 图标来源
[Iconfont-阿里巴巴矢量图标库](https://www.iconfont.cn/)
<br>
# 鸣谢
[projectXero](https://gitee.com/projectXero) (提供适用于Rhino的`ListAdapter`)
<br>
# 许可证协议
```
SkyAutoPlayer (Auto.js script)
Copyright © 2020 StageGuard
SkyAutoPlayer (AutoX script)
Copyright © 2020-2021 StageGuard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public

41
contribute-translation.md Normal file
View File

@@ -0,0 +1,41 @@
# 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.
## Translate to a new language
- 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](https://github.com/StageGuard/SkyAutoPlayerScript/blob/master/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.
## Fix a wrong translation
- Clone this repository.
- Correct wrong translations.
- Update `version` number(+1) of target language in language file and [source/language_list.json](https://github.com/StageGuard/SkyAutoPlayerScript/blob/master/source/language_list.json).
- Create a new pull request.
After merging, SkyAutoplayerScript will notify users who uses this language to update.
I would appreciate it if you could contribute translation!

View File

@@ -1 +1 @@
a197b02fdf36e282ff3180caab0d4248eb8f2b40
6067ff139bc0bd3c7542535ecacc83e4d1831b1a

View File

@@ -0,0 +1,117 @@
{
"name": "English (US)",
"code": "en_US",
"version": 5,
"content": {
"launch_tip_in_content": "If you can't see a diamond popup dialog,<br>make sure that AutoX is allowed to <u><b>display pop-up window</u></b>",
"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 sheet",
"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 three ways\n\n1. Mail to beamiscool@qq.com with attachment file.\n(Sheet description is optional.)\n\n2. Create a pull request to StageGuard/SkyAutoplayerScript\n\n3. 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",
"page_setting_chord_delay": "Delay of each chord key",
"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/blob/master/contribute-translation.md</a>",
"res_language_failed_fetch_online_list": "Failed to fetch online language list",
"res_language_update_needed": "Language pack need to be updated, please go to setting->language and click current language again to upgrade.",
"page_setting_no_popup_play": "Close panel in playing",
"page_setting_no_popup_play_interval": "Interval to play when close panel",
"no_popup_play_warning_title": "WARNING",
"no_popup_play_warning": "You have enabled \"Close panel in playing\" opinion!\nPlay without control panel is <b>extremely dangerous</b>.\n\nWhen popup notification or bubble chat appears, script may touch these popup window by mistake. At this time, script is still running(or playing) and is <b>uninterrupted</b>. You have no way to stop playing but wait.\n<b>Script touch in other pages may causes irreparable harm.</b>\n\nBesides, record play process is uesless and doesn't give you sense of satisfaction.\n\nI have already warned you that if there is any loss or dispute caused by using this function, it has nothing to do with the SkyAutoplayer script and the script author StageGuard.\nIf continue, please click the confirm button, or otherwise click the Cancel button.\n\nps. \"Random and continuate play\" will not work.",
"no_popup_play_tip": "Script will start playing in {0} seconds."
}
}

View File

@@ -0,0 +1,117 @@
{
"name": "简体中文",
"code": "zh_CN",
"version": 5,
"content": {
"launch_tip_in_content": "当你发现什么事情都没有发生时<br>也许你应该看看是否授予了 AutoX<u><b>悬浮窗权限</u></b>",
"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\n1. 酷安私信@StageGuard发送时请附带简介曲谱链接(百度云或其他云盘都可)\n2. 在github fork StageGuard/SkyAutoplayerScript\n在shared_sheets文件夹添加你的曲谱并按照格式修改shared_sheets.json\n并提出 Pull Request 合并申请。\n\n3. 发送乐谱文件到 beamiscool@qq.com\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": "语言",
"page_setting_chord_delay": "和弦按压延迟",
"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/blob/master/contribute-translation.md</a>",
"res_language_failed_fetch_online_list": "无法获取在线语言列表",
"res_language_update_needed": "语言需要更新,请前往设置界面重新点击当前语言来更新",
"page_setting_no_popup_play": "弹奏不显示悬浮窗",
"page_setting_no_popup_play_interval": "无悬浮窗弹奏开始间隔",
"no_popup_play_warning_title": "警告",
"no_popup_play_warning": "您已经开启\"弹奏不显示悬浮窗\"选项!\n弹奏不受弹奏面板控制是<b>非常危险的</b>。\n\n当出现顶部悬浮通知(例如QQ消息)或气泡对话时,脚本可能会误触消息并开启其他软件,此时脚本依旧在运行中(弹奏中)且<b>无法被打断</b>。也就是说除了等待弹奏完成以外,没有任何办法终止弹奏。\n<b>脚本在其他界面的误触可能会对您造成不可挽回的损失!</b>\n\n另外使用此功能且录屏不会使你获得任何成就感。\n\n我已经警告过你了若因使用此功能造成了损失或纠纷与 SkyAutoPlayer 脚本和脚本作者 StageGuard 无关,请悉知。\n若继续使用请点击确认按钮否则请点击取消按钮。\n\n注意使用此功能时\"连续随机播放\"功能将不会生效。",
"no_popup_play_tip": "将在 {0} 秒后开始弹奏。"
}
}

BIN
resources/mail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

BIN
shared_sheets/Bad_Apple.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.

Binary file not shown.

BIN
shared_sheets/rush e.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.

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.

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.

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.

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.

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.

BIN
shared_sheets/琴师.txt Normal file

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.

BIN
shared_sheets/粉刷匠.txt Normal file

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.

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.

BIN
shared_sheets/青花瓷.txt Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

11
source/language_list.json Normal file
View File

@@ -0,0 +1,11 @@
{
"list": [{
"code": "zh_CN",
"name": "简体中文",
"version": 6
}, {
"code": "en_US",
"name": "English (US)",
"version": 6
}]
}

View File

@@ -1,16 +1,8 @@
"ui";
"use strict";
/*
SkyAutoPlayer (Auto.js script)
Copyright © 2020 StageGuard
Contact :
(QQ: 1355416608)
(Email: beamiscool@qq.com)
(BaiduTieba@拐角处_等你)
(Weibo@StageGuard)
(CoolApk@StageGuard)
(Twiter@stageguardcn)
Copyright © 2020-2021 StageGuard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -27,23 +19,26 @@
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(){
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\")";
(function(emitter) {
threads.start(function () {
emitter.emit("evaluate", (function () {
//Many sources
let sources = [
"http://cdn.stagex.top:8090/StageGuard/SkyAutoPlayerScript/raw/master/source/SkyAutoplayer.js",
"https://cdn.jsdelivr.net/gh/StageGuard/SkyAutoPlayerScript/source/SkyAutoplayer.js",
"https://dl.skyautoplayerscript.stageguard.top/source/SkyAutoplayer.js",
"https://raw.githubusercontent.com/StageGuard/SkyAutoPlayerScript/master/source/SkyAutoplayer.js"
];
for (let i in sources) {
let resp = http.get(sources[i]);
if (resp.statusCode >= 200 && resp.statusCode < 300) {
return resp.body.string();
}
}
}
}()));
});
emitter.on('evaluate', function(s){
eval(s);
});
return "console.show();console.log(\"Failed to load script\")";
}()));
});
emitter.on('evaluate', function (s) {
eval(s);
});
}(events.emitter(threads.currentThread())));

View File

@@ -1,3 +1,25 @@
版本: 24
更新时间: 2022.03.06 11:30
更新内容:
* 新增:本地乐谱搜索。
版本: 23
更新时间: 2021.6.29 13:10
更新内容:
* 新增:"弹奏不显示弹奏界面"选项(Issue #6)。
版本: 22
更新时间: 2020.12.22 23:48
更新内容:
* 新增:和弦按键按压延迟,可在设置中调整。
这个功能就是在按压和弦的时候可以按照设定的时间依次从低音到高音依次按压。
版本: 21
更新时间: 2020.12.22 18:31
更新内容:
* 新增:多语言设置。
目前只有默认的 简体中文 和一半手翻一半机翻的 English(US)。
版本: 20
更新时间: 2020.12.02 18:40
更新内容: