-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathslide_time.py
273 lines (269 loc) · 9.08 KB
/
slide_time.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
"""
Author: moying
Date: 2021-08-17 01:37:37
LastEditTime: 2021-08-17 01:59:33
LastEditors: moying
Description: 所有slide经过A区的时间比例数据文件
FilePath: \maimai无理检测\slide_time.py
"""
'''
所有类型的slide, 在启动后经过A区的情况和时间. 但不包括起始位置的A区
如1-5经过A1和A5, 但A1不会被此文件记录.
以下数据均通过MajdataView手动测定, 不代表官方数据
SLIDE_TIME Dict<Dict<List<Dict>>>
= {
"<slide_type>": {
<relative_slide_end> : [
{
"area": <A_area_pass_by>,
"time": <time_ratio>
}
]
}
}
@keys slide_type: str slide的类型 可以是: - v p q s z w pp qq V ^ > <
@keys relative_slide_end: int slide的相对终点 若起点是x 则终点是x + relative_slide_end
例子: slide类型为- 起点为5时 relative_slide_end=4 则星星为5-1
@values A_area_pass_by: int slide经过的A区编号 编号也是基于起点的相对值
@values time_ratio: float slide经过对应A区时的时间 是相对于note.slideLength的时间比例
'''
SLIDE_TIME = {
"-": {
2: [{"area": 2, "time": 0.7678}],
3: [{"area": 3, "time": 0.83415}],
4: [{"area": 4, "time": 0.84112}],
5: [{"area": 5, "time": 0.83415}],
6: [{"area": 6, "time": 0.7678}],
},
"v": {
1: [{"area": 1, "time": 0.84244}],
2: [{"area": 2, "time": 0.84244}],
3: [{"area": 3, "time": 0.84244}],
5: [{"area": 5, "time": 0.84244}],
6: [{"area": 6, "time": 0.84244}],
7: [{"area": 7, "time": 0.84244}],
},
"p": {
0: [{"area": 0, "time": 0.90878}],
1: [{"area": 1, "time": 0.90049}],
2: [{"area": 2, "time": 0.8839}],
3: [{"area": 3, "time": 0.87561}],
4: [{"area": 4, "time": 0.85902}],
5: [{"area": 5, "time": 0.92537}],
6: [{"area": 6, "time": 0.92537}],
7: [{"area": 7, "time": 0.91707}],
},
"q": {
0: [{"area": 0, "time": 0.90878}],
7: [{"area": 7, "time": 0.90049}],
6: [{"area": 6, "time": 0.8839}],
5: [{"area": 5, "time": 0.87561}],
4: [{"area": 4, "time": 0.85902}],
3: [{"area": 3, "time": 0.92537}],
2: [{"area": 2, "time": 0.92537}],
1: [{"area": 1, "time": 0.91707}],
},
"s": {4: [{"area": 4, "time": 0.86732}]},
"z": {4: [{"area": 4, "time": 0.86732}]},
"w": {4: [{"area": 4, "time": 0.85073}]},
"pp": {
0: [
{"area": 2, "time": 0.54836},
{"area": 1, "time": 0.75745},
{"area": 0, "time": 0.94982},
],
1: [{"area": 2, "time": 0.68925}, {"area": 1, "time": 0.93281}],
2: [{"area": 2, "time": 0.86562}],
3: [
{"area": 2, "time": 0.38689},
{"area": 1, "time": 0.53807},
{"area": 3, "time": 0.94121},
],
4: [
{"area": 2, "time": 0.38689},
{"area": 1, "time": 0.53807},
{"area": 4, "time": 0.94121},
],
5: [
{"area": 2, "time": 0.40369},
{"area": 1, "time": 0.53807},
{"area": 5, "time": 0.94121},
],
6: [
{"area": 2, "time": 0.42048},
{"area": 1, "time": 0.56326},
{"area": 6, "time": 0.93281},
],
7: [
{"area": 2, "time": 0.45408},
{"area": 1, "time": 0.63045},
{"area": 7, "time": 0.92441},
],
},
"qq": {
0: [
{"area": 6, "time": 0.54836},
{"area": 7, "time": 0.75745},
{"area": 0, "time": 0.94982},
],
7: [{"area": 6, "time": 0.68925}, {"area": 7, "time": 0.93281}],
6: [{"area": 6, "time": 0.86562}],
5: [
{"area": 6, "time": 0.38689},
{"area": 7, "time": 0.53807},
{"area": 5, "time": 0.94121},
],
4: [
{"area": 6, "time": 0.38689},
{"area": 7, "time": 0.53807},
{"area": 4, "time": 0.94121},
],
3: [
{"area": 6, "time": 0.40369},
{"area": 7, "time": 0.53807},
{"area": 3, "time": 0.94121},
],
2: [
{"area": 6, "time": 0.42048},
{"area": 7, "time": 0.56326},
{"area": 2, "time": 0.93281},
],
1: [
{"area": 6, "time": 0.45408},
{"area": 7, "time": 0.63045},
{"area": 1, "time": 0.92441},
],
},
"V": {
(2, 4): [
{"area": 2, "time": 0.37439},
{"area": 3, "time": 0.64375},
{"area": 4, "time": 0.87835},
],
(2, 5): [{"area": 2, "time": 0.32225}, {"area": 5, "time": 0.90442}],
(2, 6): [{"area": 2, "time": 0.30488}, {"area": 6, "time": 0.89573}],
(2, 7): [{"area": 2, "time": 0.31948}, {"area": 7, "time": 0.89663}],
(6, 4): [
{"area": 6, "time": 0.37439},
{"area": 5, "time": 0.64375},
{"area": 4, "time": 0.87835},
],
(6, 3): [{"area": 6, "time": 0.32225}, {"area": 3, "time": 0.90442}],
(6, 2): [{"area": 6, "time": 0.30488}, {"area": 2, "time": 0.89573}],
(6, 1): [{"area": 6, "time": 0.31948}, {"area": 1, "time": 0.89663}],
},
">": {
0: [
{"area": 1, "time": 0.08142},
{"area": 2, "time": 0.21027},
{"area": 3, "time": 0.33496},
{"area": 4, "time": 0.45966},
{"area": 5, "time": 0.58851},
{"area": 6, "time": 0.71736},
{"area": 7, "time": 0.84205},
{"area": 0, "time": 0.96675},
],
1: [{"area": 1, "time": 0.7132}],
2: [{"area": 1, "time": 0.33496}, {"area": 2, "time": 0.86699}],
3: [
{"area": 1, "time": 0.21858},
{"area": 2, "time": 0.56772},
{"area": 3, "time": 0.91271},
],
4: [
{"area": 1, "time": 0.16523},
{"area": 2, "time": 0.42401},
{"area": 3, "time": 0.67444},
{"area": 4, "time": 0.93322},
],
5: [
{"area": 1, "time": 0.13129},
{"area": 2, "time": 0.33496},
{"area": 3, "time": 0.53863},
{"area": 4, "time": 0.74645},
{"area": 5, "time": 0.95012},
],
6: [
{"area": 1, "time": 0.11051},
{"area": 2, "time": 0.27677},
{"area": 3, "time": 0.44719},
{"area": 4, "time": 0.6176},
{"area": 5, "time": 0.78802},
{"area": 6, "time": 0.95844},
],
7: [
{"area": 1, "time": 0.09388},
{"area": 2, "time": 0.23936},
{"area": 3, "time": 0.38484},
{"area": 4, "time": 0.53032},
{"area": 5, "time": 0.67164},
{"area": 6, "time": 0.81711},
{"area": 7, "time": 0.96259},
],
},
"<": {
0: [
{"area": 7, "time": 0.08142},
{"area": 6, "time": 0.21027},
{"area": 5, "time": 0.33496},
{"area": 4, "time": 0.45966},
{"area": 3, "time": 0.58851},
{"area": 2, "time": 0.71736},
{"area": 1, "time": 0.84205},
{"area": 0, "time": 0.96675},
],
7: [{"area": 7, "time": 0.7132}],
6: [{"area": 7, "time": 0.33496}, {"area": 6, "time": 0.86699}],
5: [
{"area": 7, "time": 0.21858},
{"area": 6, "time": 0.56772},
{"area": 5, "time": 0.91271},
],
4: [
{"area": 7, "time": 0.16523},
{"area": 6, "time": 0.42401},
{"area": 5, "time": 0.67444},
{"area": 4, "time": 0.93322},
],
3: [
{"area": 7, "time": 0.13129},
{"area": 6, "time": 0.33496},
{"area": 5, "time": 0.53863},
{"area": 4, "time": 0.74645},
{"area": 3, "time": 0.95012},
],
2: [
{"area": 7, "time": 0.11051},
{"area": 6, "time": 0.27677},
{"area": 5, "time": 0.44719},
{"area": 4, "time": 0.6176},
{"area": 3, "time": 0.78802},
{"area": 2, "time": 0.95844},
],
1: [
{"area": 7, "time": 0.09388},
{"area": 6, "time": 0.23936},
{"area": 5, "time": 0.38484},
{"area": 4, "time": 0.53032},
{"area": 3, "time": 0.67164},
{"area": 2, "time": 0.81711},
{"area": 1, "time": 0.96259},
],
},
"^": {
1: [{"area": 1, "time": 0.7132}],
2: [{"area": 1, "time": 0.33496}, {"area": 2, "time": 0.86699}],
3: [
{"area": 1, "time": 0.21858},
{"area": 2, "time": 0.56772},
{"area": 3, "time": 0.91271},
],
7: [{"area": 7, "time": 0.7132}],
6: [{"area": 7, "time": 0.33496}, {"area": 6, "time": 0.86699}],
5: [
{"area": 7, "time": 0.21858},
{"area": 6, "time": 0.56772},
{"area": 5, "time": 0.91271},
],
},
}