├── .gitignore
├── LICENSE
├── README.md
├── constants.py
├── osu
└── ctb
│ └── difficulty.py
├── osu_parser
├── beatmap.py
├── curves.py
├── hitobject.py
└── mathhelper.py
├── ppCalc.py
├── reanimate.osu
├── sample.py
├── test.osu
└── test_draw.py
/.gitignore:
--------------------------------------------------------------------------------
1 | # Byte-compiled / optimized / DLL files
2 | __pycache__/
3 | *.py[cod]
4 | *$py.class
5 |
6 | # C extensions
7 | *.so
8 |
9 | # Distribution / packaging
10 | .Python
11 | env/
12 | build/
13 | develop-eggs/
14 | dist/
15 | downloads/
16 | eggs/
17 | .eggs/
18 | lib/
19 | lib64/
20 | parts/
21 | sdist/
22 | var/
23 | wheels/
24 | *.egg-info/
25 | .installed.cfg
26 | *.egg
27 |
28 | # PyInstaller
29 | # Usually these files are written by a python script from a template
30 | # before PyInstaller builds the exe, so as to inject date/other infos into it.
31 | *.manifest
32 | *.spec
33 |
34 | # Installer logs
35 | pip-log.txt
36 | pip-delete-this-directory.txt
37 |
38 | # Unit test / coverage reports
39 | htmlcov/
40 | .tox/
41 | .coverage
42 | .coverage.*
43 | .cache
44 | nosetests.xml
45 | coverage.xml
46 | *.cover
47 | .hypothesis/
48 |
49 | # Translations
50 | *.mo
51 | *.pot
52 |
53 | # Django stuff:
54 | *.log
55 | local_settings.py
56 |
57 | # Flask stuff:
58 | instance/
59 | .webassets-cache
60 |
61 | # Scrapy stuff:
62 | .scrapy
63 |
64 | # Sphinx documentation
65 | docs/_build/
66 |
67 | # PyBuilder
68 | target/
69 |
70 | # Jupyter Notebook
71 | .ipynb_checkpoints
72 |
73 | # pyenv
74 | .python-version
75 |
76 | # celery beat schedule file
77 | celerybeat-schedule
78 |
79 | # SageMath parsed files
80 | *.sage.py
81 |
82 | # dotenv
83 | .env
84 |
85 | # virtualenv
86 | .venv
87 | venv/
88 | ENV/
89 |
90 | # Spyder project settings
91 | .spyderproject
92 | .spyproject
93 |
94 | # Rope project settings
95 | .ropeproject
96 |
97 | # mkdocs documentation
98 | /site
99 |
100 | # mypy
101 | .mypy_cache/
102 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # catch-the-pp
2 | An osu ctb gamemode star/pp calculator made in python
3 |
4 | A seperate branch will be available for single file script when project is complete.
5 |
6 | (Standalone branch has been created)
7 |
--------------------------------------------------------------------------------
/constants.py:
--------------------------------------------------------------------------------
1 | STAR_SCALING_FACTOR = 0.145
2 | STRAIN_STEP = 750
3 | DECAY_WEIGHT = 0.94
4 | DECAY_BASE = 0.2
5 | ABSOLUTE_PLAYER_POSITIONING_ERROR = 16
6 | NORMALIZED_HITOBJECT_RADIUS = 41
7 | DIRECTION_CHANGE_BONUS = 12.5
8 |
9 | SLIDER_QUALITY = 50
--------------------------------------------------------------------------------
/osu/ctb/difficulty.py:
--------------------------------------------------------------------------------
1 | import constants
2 | from osu_parser.mathhelper import clamp, sign
3 |
4 | class DifficultyObject(object):
5 | """
6 | Object that holds strain value etc.
7 |
8 | Handled in Difficulty.calculate_strainValues & Difficulty.update_hyperdash_distance.
9 | Used in Difficulty.calculate_difficulty
10 | """
11 | def __init__(self, hitobject, player_width):
12 | """
13 | Hitobject wrapper to do calculation with.
14 |
15 | hitobject -- Hitobject to wrap around (basic)
16 | player_width -- Catcher width (after determined by active mods)
17 | """
18 | self.strain = 1
19 | self.offset = 0
20 | self.last_movement = 0
21 | self.hitobject = hitobject
22 | self.error_margin = constants.ABSOLUTE_PLAYER_POSITIONING_ERROR
23 | self.player_width = player_width
24 | self.scaled_position = self.hitobject.x * (constants.NORMALIZED_HITOBJECT_RADIUS / self.player_width)
25 | self.hyperdash_distance = 0
26 | self.hyperdash = False
27 |
28 | def calculate_strain(self, last, time_rate):
29 | """
30 | Calculate strain value by refering last object.
31 | (and sets offset & last_movement info)
32 |
33 | last -- Previous hitobject
34 | time_rate -- Timescale from enabled mods
35 | """
36 | time = (self.hitobject.time - last.hitobject.time) / time_rate
37 | decay = pow(constants.DECAY_BASE, time / 1000)
38 |
39 | self.offset = clamp(last.scaled_position + last.offset,
40 | self.scaled_position - (constants.NORMALIZED_HITOBJECT_RADIUS - self.error_margin),
41 | self.scaled_position + (constants.NORMALIZED_HITOBJECT_RADIUS - self.error_margin)
42 | ) - self.scaled_position
43 |
44 | self.last_movement = abs(self.scaled_position - last.scaled_position + self.offset - last.offset)
45 |
46 | addition = pow(self.last_movement, 1.3) / 500
47 |
48 | if self.scaled_position < last.scaled_position:
49 | self.last_movement *= -1
50 |
51 | addition_bonus = 0
52 | sqrt_time = pow(max(time, 25), 0.5)
53 |
54 | if abs(self.last_movement) > 0.1:
55 | if abs(last.last_movement) > 0.1 and sign(self.last_movement) != sign(last.last_movement):
56 | bonus = constants.DIRECTION_CHANGE_BONUS / sqrt_time
57 | bonus_factor = min(self.error_margin, abs(self.last_movement)) / self.error_margin
58 |
59 | addition += bonus * bonus_factor
60 |
61 | if last.hyperdash_distance <= 10:
62 | addition_bonus += 0.3 * bonus_factor
63 |
64 | addition += 7.5 * min(abs(self.last_movement), constants.NORMALIZED_HITOBJECT_RADIUS * 2) / (constants.NORMALIZED_HITOBJECT_RADIUS * 6) / sqrt_time
65 |
66 | if last.hyperdash_distance <= 10:
67 | if not last.hyperdash:
68 | addition_bonus += 1
69 | else:
70 | self.offset = 0
71 |
72 | addition *= 1 + addition_bonus * ((10 - last.hyperdash_distance) / 10)
73 |
74 | addition *= 850 / max(time, 25)
75 | self.strain = last.strain * decay + addition
76 |
77 | class Difficulty(object):
78 | """
79 | Difficulty object for calculating star rating.
80 |
81 | Stars: self.star_rating
82 | """
83 |
84 | def __init__(self, beatmap, mods):
85 | """
86 | CTB difficulty calculator params.
87 | Calculates the star rating for the given beatmap.
88 |
89 | beatmap -- Beatmap object of parsed beatmap
90 | mods -- Int representation of mods selected / bitmask
91 | """
92 | self.beatmap = beatmap
93 | self.mods = mods
94 |
95 | #Difficulty modifier by mod
96 | for diff in self.beatmap.difficulty.keys():
97 | if diff == "CircleSize":
98 | scala = 1.3
99 | else:
100 | scala = 1.4
101 |
102 | self.beatmap.difficulty[diff] = self.adjust_difficulty(self.beatmap.difficulty[diff], self.mods, scala)
103 |
104 | self.hitobjects_with_ticks = []
105 | for hitobject in self.beatmap.hitobjects:
106 | self.hitobjects_with_ticks.append(hitobject)
107 | if 2 & hitobject.type:
108 | for tick in hitobject.ticks:
109 | self.hitobjects_with_ticks.append(tick)
110 | for end_tick in hitobject.end_ticks:
111 | self.hitobjects_with_ticks.append(end_tick)
112 |
113 | self.difficulty_objects = []
114 |
115 | #Do the calculation
116 | self.time_rate = self.get_time_rate()
117 | self.player_width = 305 / 1.6 * ((102.4 * (1 - 0.7 * (self.beatmap.difficulty["CircleSize"] - 5) / 5)) / 128) * 0.7
118 |
119 | for hitobject in self.hitobjects_with_ticks:
120 | self.difficulty_objects.append(DifficultyObject(hitobject, self.player_width * 0.4))
121 |
122 | self.update_hyperdash_distance()
123 |
124 | #Sort the list so its sorted by time (Incase it somehow isnt)
125 | self.difficulty_objects.sort(key=lambda o: o.hitobject.time)
126 |
127 | self.calculate_strain_values()
128 |
129 | self.star_rating = pow(self.calculate_difficulty(), 0.5) * constants.STAR_SCALING_FACTOR
130 |
131 |
132 | def adjust_difficulty(self, diff, mods, scala):
133 | """
134 | Scale difficulty from selected mods.
135 |
136 | diff -- CircleSize
137 | mods -- Int representation of mods selected / bitmask
138 | return -- Scaled difficulty
139 | """
140 | if mods & 1 << 1 > 0: #EZ
141 | diff = max(0, diff / 2)
142 | if mods & 1 << 4 > 0: #HR
143 | diff = min(10, diff * scala)
144 |
145 | return diff
146 |
147 | def get_time_rate(self):
148 | """
149 | Get scaled time_rate from mods. (DT / HT)
150 |
151 | return -- time_rate
152 | """
153 | rate = 1
154 |
155 | if self.mods & 1 << 6 > 0: #DT
156 | rate += 0.5
157 | elif self.mods & 1 << 8 > 0: #HT
158 | rate -= 0.25
159 |
160 | return rate
161 |
162 | def update_hyperdash_distance(self):
163 | """
164 | Update hyperdash_distance value for every hitobject in the beatmap.
165 | """
166 | last_direction = 0
167 | player_width_half = self.player_width / 2
168 | player_width_half *= 0.8
169 | print("player_width_half: {}".format(player_width_half))
170 | last = player_width_half
171 |
172 | for i in range(len(self.difficulty_objects) - 1):
173 | current_object = self.difficulty_objects[i]
174 | next_object = self.difficulty_objects[i + 1]
175 |
176 | if next_object.hitobject.x > current_object.hitobject.x:
177 | direction = 1
178 | else:
179 | direction = -1
180 |
181 | time_to_next = next_object.hitobject.time - current_object.hitobject.time - 4.166667 #ms for 60fps divided by 4
182 | distance_to_next = abs(next_object.hitobject.x - current_object.hitobject.x)
183 | if last_direction == direction:
184 | distance_to_next -= last
185 | else:
186 | distance_to_next -= player_width_half
187 |
188 | if time_to_next < distance_to_next:
189 | current_object.hyperdash = True
190 | last = player_width_half
191 | else:
192 | current_object.hyperdash_distance = time_to_next - distance_to_next
193 | last = clamp(current_object.hyperdash_distance, 0, player_width_half)
194 |
195 | last_direction = direction
196 |
197 | def calculate_strain_values(self):
198 | """
199 | Calculate strain values for every hitobject.
200 |
201 | It does this by using distance, decay & previous hitobject strain value.
202 | Time_rate also effects this.
203 | """
204 | current_object = self.difficulty_objects[0]
205 |
206 | index = 1
207 | while index < len(self.difficulty_objects):
208 | next_object = self.difficulty_objects[index]
209 | next_object.calculate_strain(current_object, self.time_rate)
210 | current_object = next_object
211 | index += 1
212 |
213 | def calculate_difficulty(self):
214 | """
215 | Calculates the difficulty for this beatmap.
216 | This is used in the final function to calculate star rating.
217 | DISCLAIMER: This is not the final star rating value.
218 |
219 | return -- difficulty
220 | """
221 | strain_step = constants.STRAIN_STEP * self.time_rate
222 | highest_strains = []
223 | interval = strain_step
224 | max_strain = 0
225 |
226 | last = None
227 |
228 | for difficulty_object in self.difficulty_objects:
229 | while difficulty_object.hitobject.time > interval:
230 | highest_strains.append(max_strain)
231 |
232 | if last == None:
233 | max_strain = 0
234 | else:
235 | decay = pow(constants.DECAY_BASE, (interval - last.hitobject.time) / 1000)
236 | max_strain = last.strain * decay
237 |
238 | interval += strain_step
239 |
240 | if difficulty_object.strain > max_strain:
241 | max_strain = difficulty_object.strain
242 |
243 | last = difficulty_object
244 |
245 | difficulty = 0
246 | weight = 1
247 |
248 | #Sort from high to low strain
249 | highest_strains.sort(key=int, reverse=True)
250 |
251 | for strain in highest_strains:
252 | difficulty += weight * strain
253 | weight *= constants.DECAY_WEIGHT
254 |
255 | return difficulty
256 |
--------------------------------------------------------------------------------
/osu_parser/beatmap.py:
--------------------------------------------------------------------------------
1 | from osu_parser import mathhelper
2 | from osu_parser.hitobject import HitObject
3 |
4 | class Beatmap(object):
5 | """
6 | Beatmap object for beatmap parsing and handling
7 | """
8 |
9 | def __init__(self, file_name):
10 | """
11 | file_name -- Directory for beatmap file (.osu)
12 | """
13 | self.file_name = file_name
14 | self.version = -1 #Unknown by default
15 | self.header = -1
16 | self.difficulty = {}
17 | self.timing_points = {
18 | "raw_bpm": {}, #Raw bpm modifier code
19 | "raw_spm": {}, #Raw speed modifier code
20 | "bpm": {}, #Beats pr minute
21 | "spm": {} #Speed modifier
22 | }
23 | self.slider_point_distance = 1 #Changes after [Difficulty] is fully parsed
24 | self.hitobjects = []
25 | self.max_combo = 0
26 | self.parse_beatmap()
27 |
28 | if "ApproachRate" not in self.difficulty.keys(): #Fix old osu version
29 | self.difficulty["ApproachRate"] = self.difficulty["OverallDifficulty"]
30 |
31 | print("Beatmap parsed!")
32 |
33 | def parse_beatmap(self):
34 | """
35 | Parses beatmap file line by line by passing each line into parse_line.
36 | """
37 | with open(self.file_name, encoding="utf8") as file_stream:
38 | ver_line = ""
39 | while len(ver_line) < 2: #Find the line where beatmap version is spesified (normaly first line)
40 | ver_line = file_stream.readline()
41 | self.version = int(''.join(list(filter(str.isdigit, ver_line)))) #Set version
42 | for line in file_stream:
43 | self.parse_line(line.replace("\n", ""))
44 |
45 | def parse_line(self, line):
46 | """
47 | Parse a beatmapfile line.
48 |
49 | Handles lines that are required for our use case (Difficulty, TimingPoints & hitobjects),
50 | everything else is skipped.
51 | """
52 | if len(line) < 1:
53 | return
54 |
55 | if line.startswith("["):
56 | if line == "[Difficulty]":
57 | self.header = 0
58 | elif line == "[TimingPoints]":
59 | self.header = 1
60 | elif line == "[HitObjects]":
61 | self.header = 2
62 | self.slider_point_distance = (100 * self.difficulty["SliderMultiplier"]) / self.difficulty["SliderTickRate"]
63 | else:
64 | self.header = -1
65 | return
66 |
67 | if self.header == -1: #We return if we are reading under a header we dont care about
68 | return
69 |
70 | if self.header == 0:
71 | self.handle_difficulty_propperty(line)
72 | elif self.header == 1:
73 | self.handle_timing_point(line)
74 | elif self.header == 2:
75 | self.handle_hitobject(line)
76 |
77 | def handle_difficulty_propperty(self, propperty):
78 | """
79 | Puts the [Difficulty] propperty into the difficulty dict.
80 | """
81 | prop = propperty.split(":")
82 | self.difficulty[prop[0]] = float(prop[1])
83 |
84 | def handle_timing_point(self, timing_point):
85 | """
86 | Formats timing points used for slider velocity changes,
87 | and store them into self.timing_points dict.
88 | """
89 | timing_point_split = timing_point.split(",")
90 | timing_point_time = int(float(timing_point_split[0])) #Fixes some special mappers special needs
91 | timing_point_focus = timing_point_split[1]
92 |
93 | timing_point_type = 1
94 | if len(timing_point_split) >= 7: #Fix for old beatmaps that only stores bpm change and timestamp (only BPM change) [v3?]
95 | timing_point_type = int(timing_point_split[6])
96 |
97 | if timing_point_type == 0 and not timing_point_focus.startswith("-"):
98 | timing_point_focus = "-100"
99 |
100 | if timing_point_focus.startswith("-"): #If not then its not a slider velocity modifier
101 | self.timing_points["spm"][timing_point_time] = -100 / float(timing_point_focus) #Convert to normalized value and store
102 | self.timing_points["raw_spm"][timing_point_time] = float(timing_point_focus)
103 | else:
104 | if len(self.timing_points["bpm"]) == 0: #Fixes if hitobjects shows up before bpm is set
105 | timing_point_time = 0
106 |
107 | self.timing_points["bpm"][timing_point_time] = 60000 / float(timing_point_focus)#^
108 | self.timing_points["raw_bpm"][timing_point_time] = float(timing_point_focus)
109 | #This trash of a game resets the spm when bpm change >.>
110 | self.timing_points["spm"][timing_point_time] = 1
111 | self.timing_points["raw_spm"][timing_point_time] = -100
112 |
113 |
114 | def handle_hitobject(self, line):
115 | """
116 | Puts every hitobject into the hitobjects array.
117 |
118 | Creates hitobjects, hitobject_sliders or skip depending on the given data.
119 | We skip everything that is not important for us for our use case (Spinners)
120 | """
121 | split_object = line.split(",")
122 | time = int(split_object[2])
123 | object_type = int(split_object[3])
124 |
125 | if not (1 & object_type > 0 or 2 & object_type > 0): #We only want sliders and circles as spinners are random bannanas etc.
126 | return
127 |
128 | if 2 & object_type: #Slider
129 | repeat = int(split_object[6])
130 | pixel_length = float(split_object[7])
131 |
132 | time_point = self.get_timing_point_all(time)
133 |
134 | tick_distance = (100 * self.difficulty["SliderMultiplier"]) / self.difficulty["SliderTickRate"]
135 | if self.version >= 8:
136 | tick_distance /= (mathhelper.clamp(-time_point["raw_spm"], 10, 1000) / 100)
137 |
138 | curve_split = split_object[5].split("|")
139 | curve_points = []
140 | for i in range(1, len(curve_split)):
141 | vector_split = curve_split[i].split(":")
142 | vector = mathhelper.Vec2(int(vector_split[0]), int(vector_split[1]))
143 | curve_points.append(vector)
144 |
145 | slider_type = curve_split[0]
146 | if self.version <= 6 and len(curve_points) >= 2:
147 | if slider_type == "L":
148 | slider_type = "B"
149 |
150 | if len(curve_points) == 2:
151 | if (int(split_object[0]) == curve_points[0].x and int(split_object[1]) == curve_points[0].y) or (curve_points[0].x == curve_points[1].x and curve_points[0].y == curve_points[1].y):
152 | del curve_points[0]
153 | slider_type = "L"
154 |
155 | if len(curve_points) == 0: #Incase of ExGon meme (Sliders that acts like hitcircles)
156 | hitobject = HitObject(int(split_object[0]), int(split_object[1]), time, 1)
157 | else:
158 | hitobject = HitObject(int(split_object[0]), int(split_object[1]), time, object_type, slider_type, curve_points, repeat, pixel_length, time_point, self.difficulty, tick_distance)
159 | else:
160 | hitobject = HitObject(int(split_object[0]), int(split_object[1]), time, object_type)
161 |
162 | self.hitobjects.append(hitobject)
163 | self.max_combo += hitobject.get_combo()
164 |
165 | def get_timing_point_all(self, time):
166 | """
167 | Returns a object of all current timing types
168 |
169 | time -- timestamp
170 | return -- {"raw_bpm": Float, "raw_spm": Float, "bpm": Float, "spm": Float}
171 | """
172 | types = {
173 | "raw_bpm": 600,
174 | "raw_spm": -100,
175 | "bpm": 100,
176 | "spm": 1
177 | } #Will return the default value if timing point were not found
178 | for t in types.keys():
179 | r = self.get_timing_point(time, t)
180 | if r != None:
181 | types[t] = r
182 | #else:
183 | #print("{} were not found for timestamp {}, using {} instead.".format(t, time, types[t]))
184 |
185 | return types
186 |
187 | def get_timing_point(self, time, timing_type):
188 | """
189 | Returns latest timing point by timestamp (Current)
190 |
191 | time -- timestamp
192 | timing_type -- mpb, bmp or spm
193 | return -- self.timing_points object
194 | """
195 | r = None
196 | try:
197 | for key in sorted(self.timing_points[timing_type].keys(), key=lambda k: k):
198 | if key <= time:
199 | r = self.timing_points[timing_type][key]
200 | else:
201 | break
202 | except Exception as e:
203 | print(e)
204 | return r
205 |
206 | def get_object_count(self):
207 | """
208 | Get the total hitobject count for the parsed beatmap (Normal hitobjects, sliders & sliderticks)
209 |
210 | return -- total hitobjects for parsed beatmap
211 | """
212 | count = 0
213 | for hitobject in self.hitobjects:
214 | count += hitobject.get_points()
215 | return count
216 |
--------------------------------------------------------------------------------
/osu_parser/curves.py:
--------------------------------------------------------------------------------
1 | import math
2 | import constants
3 | from osu_parser import mathhelper
4 |
5 | class Linear(object): #Because it made sense at the time...
6 | def __init__(self, points):
7 | self.pos = points
8 |
9 | class Bezier(object):
10 | def __init__(self, points):
11 | self.points = points
12 | self.order = len(self.points)
13 | self.pos = []
14 | self.calc_points()
15 |
16 | def calc_points(self):
17 | if len(self.pos) != 0: #This should never happen but since im working on this I want to warn myself if I fuck up
18 | raise Exception("Bezier was calculated twice!")
19 |
20 | sub_points = []
21 | for i in range(len(self.points)):
22 | if i == len(self.points) - 1:
23 | sub_points.append(self.points[i])
24 | self.bezier(sub_points)
25 | sub_points.clear()
26 | elif len(sub_points) > 1 and self.points[i] == sub_points[-1]:
27 | self.bezier(sub_points)
28 | sub_points.clear()
29 |
30 | sub_points.append(self.points[i])
31 |
32 | def bezier(self, points):
33 | order = len(points)
34 | step = 0.25 / constants.SLIDER_QUALITY / order #Normaly 0.0025
35 | i = 0
36 | n = order - 1
37 | while i < 1 + step:
38 | x = 0
39 | y = 0
40 |
41 | for p in range(n + 1):
42 | a = mathhelper.cpn(p, n) * pow((1 - i), (n - p)) * pow(i, p)
43 | x += a * points[p].x
44 | y += a * points[p].y
45 |
46 | point = mathhelper.Vec2(x, y)
47 | self.pos.append(point)
48 | i += step
49 |
50 | def point_at_distance(self, length):
51 | return {
52 | 0: False,
53 | 1: self.points[0],
54 | }.get(self.order, self.rec(length))
55 |
56 | def rec(self, length):
57 | return mathhelper.point_at_distance(self.pos, length)
58 |
59 | class Catmull(object): #Yes... I cry deep down on the inside aswell
60 | def __init__(self, points):
61 | self.points = points
62 | self.order = len(points)
63 | self.step = 2.5 / constants.SLIDER_QUALITY #Normaly 0.025
64 | self.pos = []
65 | self.calc_points()
66 |
67 | def calc_points(self):
68 | if len(self.pos) != 0: #This should never happen but since im working on this I want to warn myself if I fuck up
69 | raise Exception("Catmull was calculated twice!")
70 |
71 | for x in range(self.order - 1):
72 | t = 0
73 | while t < self.step + 1:
74 | if x >= 1:
75 | v1 = self.points[x - 1]
76 | else:
77 | v1 = self.points[x]
78 |
79 | v2 = self.points[x]
80 |
81 | if x + 1 < self.order:
82 | v3 = self.points[x + 1]
83 | else:
84 | v3 = v2.calc(1, v2.calc(-1, v1))
85 |
86 | if x + 2 < self.order:
87 | v4 = self.points[x + 2]
88 | else:
89 | v4 = v3.calc(1, v3.calc(-1, v2))
90 |
91 | point = get_point([v1, v2, v3, v4], t)
92 | self.pos.append(point)
93 | t += self.step
94 |
95 | def point_at_distance(self, length):
96 | return {
97 | 0: False,
98 | 1: self.points[0],
99 | }.get(self.order, self.rec(length))
100 |
101 | def rec(self, length):
102 | return mathhelper.point_at_distance(self.pos, length)
103 |
104 | class Perfect(object):
105 | def __init__(self, points):
106 | self.points = points
107 | self.setup_path()
108 |
109 | def setup_path(self):
110 | self.cx, self.cy, self.radius = get_circum_circle(self.points)
111 | if is_left(self.points):
112 | self.radius *= -1
113 |
114 | def point_at_distance(self, length):
115 | radians = length / self.radius
116 | return rotate(self.cx, self.cy, self.points[0], radians)
117 |
118 | def get_point(p, length):
119 | x = mathhelper.catmull([o.x for o in p], length)
120 | y = mathhelper.catmull([o.y for o in p], length)
121 | return mathhelper.Vec2(x, y)
122 |
123 | def get_circum_circle(p):
124 | d = 2 * (p[0].x * (p[1].y - p[2].y) + p[1].x * (p[2].y - p[0].y) + p[2].x * (p[0].y - p[1].y))
125 |
126 | if d == 0:
127 | raise Exception("Invalid circle! Unable to chose angle.")
128 |
129 | ux = ((pow(p[0].x, 2) + pow(p[0].y, 2)) * (p[1].y - p[2].y) + (pow(p[1].x, 2) + pow(p[1].y, 2)) * (p[2].y - p[0].y) + (pow(p[2].x, 2) + pow(p[2].y, 2)) * (p[0].y - p[1].y)) / d
130 | uy = ((pow(p[0].x, 2) + pow(p[0].y, 2)) * (p[2].x - p[1].x) + (pow(p[1].x, 2) + pow(p[1].y, 2)) * (p[0].x - p[2].x) + (pow(p[2].x, 2) + pow(p[2].y, 2)) * (p[1].x - p[0].x)) / d
131 |
132 | px = ux - p[0].x
133 | py = uy - p[0].y
134 | r = pow(pow(px, 2) + pow(py, 2), 0.5)
135 |
136 | return ux, uy, r
137 |
138 | def is_left(p):
139 | return ((p[1].x - p[0].x) * (p[2].y - p[0].y) - (p[1].y - p[0].y) * (p[2].x - p[0].x)) < 0
140 |
141 | def rotate(cx, cy, p, radians):
142 | cos = math.cos(radians)
143 | sin = math.sin(radians)
144 |
145 | return mathhelper.Vec2((cos * (p.x - cx)) - (sin * (p.y - cy)) + cx, (sin * (p.x - cx)) + (cos * (p.y - cy)) + cy)
--------------------------------------------------------------------------------
/osu_parser/hitobject.py:
--------------------------------------------------------------------------------
1 | import math
2 | import copy
3 | from osu_parser import mathhelper, curves
4 |
5 | class SliderTick(object):
6 | def __init__(self, x, y, time):
7 | self.x = x
8 | self.y = y
9 | self.time = time
10 |
11 | class HitObject(object):
12 | def __init__(self, x, y, time, object_type, slider_type = None, curve_points = None, repeat = 1, pixel_length = 0, timing_point = None, difficulty = None, tick_distance = 1):
13 | """
14 | HitObject params for normal hitobject and sliders
15 |
16 | x -- x position
17 | y -- y position
18 | time -- timestamp
19 | object_type -- type of object (bitmask)
20 |
21 | [+] IF SLIDER
22 | slider_type -- type of slider (L, P, B, C)
23 | curve_points -- points in the curve path
24 | repeat -- amount of repeats for the slider (+1)
25 | pixel_length -- length of the slider
26 | timing_point -- ref of current timing point for the timestamp
27 | difficulty -- ref of beatmap difficulty
28 | tick_distance -- distance betwin each slidertick
29 | """
30 | self.x = x
31 | self.y = y
32 | self.time = time
33 | self.type = object_type
34 |
35 | #isSlider?
36 | if 2 & self.type:
37 | self.slider_type = slider_type
38 | self.curve_points = [mathhelper.Vec2(self.x, self.y)] + curve_points
39 | self.repeat = repeat
40 | self.pixel_length = pixel_length
41 |
42 | #For slider tick calculations
43 | self.timing_point = timing_point
44 | self.difficulty = difficulty
45 | self.tick_distance = tick_distance
46 | self.duration = (int(self.timing_point["raw_bpm"]) * (pixel_length / (self.difficulty["SliderMultiplier"] * self.timing_point["spm"])) / 100) * self.repeat
47 |
48 | self.ticks = []
49 | self.end_ticks = []
50 |
51 | self.calc_slider()
52 |
53 | def calc_slider(self, calc_path = False):
54 | #Fix broken objects
55 | if self.slider_type == "P" and len(self.curve_points) > 3:
56 | self.slider_type = "B"
57 | elif len(self.curve_points) == 2:
58 | self.slider_type = "L"
59 |
60 | #Make curve
61 | if self.slider_type == "P": #Perfect
62 | try:
63 | curve = curves.Perfect(self.curve_points)
64 | except:
65 | curve = curves.Bezier(self.curve_points)
66 | self.slider_type = "B"
67 | elif self.slider_type == "B": #Bezier
68 | curve = curves.Bezier(self.curve_points)
69 | elif self.slider_type == "C": #Catmull
70 | curve = curves.Catmull(self.curve_points)
71 |
72 | #Quickest to skip this
73 | if calc_path: #Make path if requested (For drawing visual for testing)
74 | if self.slider_type == "L": #Linear
75 | self.path = curves.Linear(self.curve_points).pos
76 | elif self.slider_type == "P": #Perfect
77 | self.path = []
78 | l = 0
79 | step = 5
80 | while l <= self.pixel_length:
81 | self.path.append(curve.point_at_distance(l))
82 | l += step
83 | elif self.slider_type == "B": #Bezier
84 | self.path = curve.pos
85 | elif self.slider_type == "C": #Catmull
86 | self.path = curve.pos
87 | else:
88 | raise Exception("Slidertype not supported! ({})".format(self.slider_type))
89 |
90 | #Set slider ticks
91 | current_distance = self.tick_distance
92 | time_add = self.duration * (self.tick_distance / (self.pixel_length * self.repeat))
93 |
94 | while current_distance < self.pixel_length - self.tick_distance / 8:
95 | if self.slider_type == "L": #Linear
96 | point = mathhelper.point_on_line(self.curve_points[0], self.curve_points[1], current_distance)
97 | else: #Perfect, Bezier & Catmull uses the same function
98 | point = curve.point_at_distance(current_distance)
99 |
100 | self.ticks.append(SliderTick(point.x, point.y, self.time + time_add * (len(self.ticks) + 1)))
101 | current_distance += self.tick_distance
102 |
103 | #Adds slider_ends / repeat_points
104 | repeat_id = 1
105 | repeat_bonus_ticks = []
106 | while repeat_id < self.repeat:
107 | dist = (1 & repeat_id) * self.pixel_length
108 | time_offset = (self.duration / self.repeat) * repeat_id
109 |
110 | if self.slider_type == "L": #Linear
111 | point = mathhelper.point_on_line(self.curve_points[0], self.curve_points[1], dist)
112 | else: #Perfect, Bezier & Catmull uses the same function
113 | point = curve.point_at_distance(dist)
114 |
115 | self.end_ticks.append(SliderTick(point.x, point.y, self.time + time_offset))
116 |
117 | #Adds the ticks that already exists on the slider back (but reversed)
118 | repeat_ticks = copy.deepcopy(self.ticks)
119 |
120 | if 1 & repeat_id: #We have to reverse the timing normalizer
121 | repeat_ticks = list(reversed(repeat_ticks))
122 | normalize_time_value = self.time + (self.duration / self.repeat)
123 | else:
124 | normalize_time_value = self.time
125 |
126 | #Correct timing
127 | for tick in repeat_ticks:
128 | tick.time = self.time + time_offset + abs(tick.time - normalize_time_value)
129 |
130 | repeat_bonus_ticks += repeat_ticks
131 |
132 | repeat_id += 1
133 |
134 | self.ticks += repeat_bonus_ticks
135 |
136 | #Add endpoint for slider
137 | dist_end = (1 & self.repeat) * self.pixel_length
138 | if self.slider_type == "L": #Linear
139 | point = mathhelper.point_on_line(self.curve_points[0], self.curve_points[1], dist_end)
140 | else: #Perfect, Bezier & Catmull uses the same function
141 | point = curve.point_at_distance(dist_end)
142 |
143 | self.end_ticks.append(SliderTick(point.x, point.y, self.time + self.duration))
144 |
145 | def get_combo(self):
146 | """
147 | Returns the combo given by this object
148 | 1 if normal hitobject, 2+ if slider (adds sliderticks)
149 | """
150 | if 2 & self.type: #Slider
151 | val = 1 #Start of the slider
152 | val += len(self.ticks) #The amount of sliderticks
153 | val += self.repeat #Reverse slider
154 | else: #Normal
155 | val = 1 #Itself...
156 |
157 | return val
158 |
--------------------------------------------------------------------------------
/osu_parser/mathhelper.py:
--------------------------------------------------------------------------------
1 | import math
2 |
3 | def clamp(value, mn, mx):
4 | return min(max(mn, value), mx)
5 |
6 | def sign(value):
7 | if value == 0:
8 | return 0
9 | elif value > 0:
10 | return 1
11 | else:
12 | return -1
13 |
14 | def cpn(p, n):
15 | if p < 0 or p > n:
16 | return 0
17 | p = min(p, n - p)
18 | out = 1
19 | for i in range(1, p + 1):
20 | out = out * (n - p + i) / i
21 |
22 | return out
23 |
24 | def catmull(p, t): # WARNING: Worst math formula incomming
25 | return 0.5 * (
26 | (2 * p[1]) +
27 | (-p[0] + p[2]) * t +
28 | (2 * p[0] - 5 * p[1] + 4 * p[2] - p[3]) * pow(t, 2) +
29 | (-p[0] + 3 * p[1] - 3 * p[2] + p[3]) * pow(t, 3))
30 |
31 | def point_on_line(p0, p1, length):
32 | full_length = pow(pow(p1.x - p0.x, 2) + pow(p1.y - p0.y, 2), 0.5)
33 | n = full_length - length
34 |
35 | if full_length == 0: #Fix for something that seems unknown... (We warn if this happens)
36 | print("full_length was forced to 1!")
37 | full_length = 1
38 |
39 | x = (n * p0.x + length * p1.x) / full_length
40 | y = (n * p0.y + length * p1.y) / full_length
41 | return Vec2(x, y)
42 |
43 | def angle_from_points(p0, p1):
44 | return math.atan2(p1.y - p0.y, p1.x - p0.x)
45 |
46 | def distance_from_points(array):
47 | distance = 0
48 |
49 | for i in range(1, len(array)):
50 | distance += array[i].distance(array[i - 1])
51 |
52 | return distance
53 |
54 | def cart_from_pol(r, t):
55 | x = (r * math.cos(t))
56 | y = (r * math.sin(t))
57 |
58 | return Vec2(x, y)
59 |
60 | def point_at_distance(array, distance): #TODO: Optimize...
61 | i = 0
62 | current_distance = 0
63 | new_distance = 0
64 |
65 | if len(array) < 2:
66 | return Vec2(0, 0)
67 |
68 | if distance == 0:
69 | return array[0]
70 |
71 | if distance_from_points(array) <= distance:
72 | return array[len(array) - 1]
73 |
74 | for i in range(len(array) - 2):
75 | x = (array[i].x - array[i + 1].x)
76 | y = (array[i].y - array[i + 1].y)
77 |
78 | new_distance = math.sqrt(x * x + y * y)
79 | current_distance += new_distance
80 |
81 | if distance <= current_distance:
82 | break
83 |
84 | current_distance -= new_distance
85 |
86 | if distance == current_distance:
87 | return array[i]
88 | else:
89 | angle = angle_from_points(array[i], array[i + 1])
90 | cart = cart_from_pol((distance - current_distance), angle)
91 |
92 | if array[i].x > array[i + 1].x:
93 | coord = Vec2((array[i].x - cart.x), (array[i].y - cart.y))
94 | else:
95 | coord = Vec2((array[i].x + cart.y), (array[i].y + cart.y))
96 |
97 | return coord
98 |
99 | class Vec2(object):
100 | def __init__(self, x, y):
101 | self.x = x
102 | self.y = y
103 |
104 | def __eq__(self, other):
105 | return self.x == other.x and self.y == other.y
106 |
107 | def distance(self, other):
108 | x = self.x - other.x
109 | y = self.y - other.y
110 | return pow(x*x + y*y, 0.5) #sqrt, lol
111 |
112 | def calc(self, value, other): #I dont know what to call this function yet
113 | x = self.x + value * other.x
114 | y = self.y + value * other.y
115 | return Vec2(x, y)
116 |
--------------------------------------------------------------------------------
/ppCalc.py:
--------------------------------------------------------------------------------
1 | import math
2 |
3 | def calculate_pp(diff, accuracy, combo, miss):
4 | """
5 | Calculate pp for gameplay
6 |
7 | diff -- Difficulty object
8 | accuracy -- Accuracy of the play (Float 0-1)
9 | combo -- MaxCombo achived during the play (Int)
10 | miss -- Amount of misses during the play (Int)
11 | return -- Total pp for gameplay
12 | """
13 | pp = pow(((5 * diff.star_rating / 0.0049) - 4), 2) / 100000
14 | length_bonus = 0.95 + 0.4 * min(1, combo / 3000)
15 | if combo > 3000:
16 | length_bonus += math.log10(combo / 3000) * 0.5
17 |
18 | pp *= length_bonus
19 | pp *= pow(0.97, miss)
20 | pp *= min(pow(combo, 0.8) / pow(diff.beatmap.max_combo, 0.8), 1)
21 |
22 | if diff.beatmap.difficulty["ApproachRate"] > 9:
23 | pp *= 1 + 0.1 * (diff.beatmap.difficulty["ApproachRate"] - 9)
24 | if diff.beatmap.difficulty["ApproachRate"] < 8:
25 | pp *= 1 + 0.025 * (8 - diff.beatmap.difficulty["ApproachRate"])
26 |
27 | if diff.mods & 1 << 3 > 0: #HD
28 | pp *= 1.05 + 0.075 * (10 - min(10, diff.beatmap.difficulty["ApproachRate"]))
29 |
30 | if diff.mods & 1 << 10 > 0: #FL
31 | pp *= 1.35 * length_bonus
32 |
33 | pp *= pow(accuracy, 5.5)
34 |
35 | if diff.mods & 1 << 0 > 0: #NF
36 | pp *= 0.9
37 |
38 | if diff.mods & 1 << 12 > 0: #SO
39 | pp *= 0.95
40 |
41 | return pp
42 |
--------------------------------------------------------------------------------
/reanimate.osu:
--------------------------------------------------------------------------------
1 | osu file format v14
2 |
3 | [General]
4 | AudioFilename: REANIMATE.mp3
5 | AudioLeadIn: 0
6 | PreviewTime: 57263
7 | Countdown: 0
8 | SampleSet: Soft
9 | StackLeniency: 0.5
10 | Mode: 2
11 | LetterboxInBreaks: 0
12 | WidescreenStoryboard: 0
13 |
14 | [Editor]
15 | Bookmarks: 13470,24504,35539,41056,46573,50711,57608,68642,79677,90711,101746,112780,118298,119677,129246,140367,145884
16 | DistanceSpacing: 0.6
17 | BeatDivisor: 8
18 | GridSize: 8
19 | TimelineZoom: 2.372001
20 |
21 | [Metadata]
22 | Title:REANIMATE
23 | TitleUnicode:REANIMATE
24 | Artist:Warak
25 | ArtistUnicode:Warak
26 | Creator:- Magic Bomb -
27 | Version:Imagination
28 | Source:节奏大师
29 | Tags:MBomb rhythm master symphonic drumstep JBHyperion Zirox JBH
30 | BeatmapID:1042702
31 | BeatmapSetID:489190
32 |
33 | [Difficulty]
34 | HPDrainRate:6
35 | CircleSize:4
36 | OverallDifficulty:9.4
37 | ApproachRate:9.4
38 | SliderMultiplier:2.1
39 | SliderTickRate:2
40 |
41 | [Events]
42 | //Background and Video events
43 | 0,0,"REVIVE.png",0,0
44 | //Break Periods
45 | //Storyboard Layer 0 (Background)
46 | //Storyboard Layer 1 (Fail)
47 | //Storyboard Layer 2 (Pass)
48 | //Storyboard Layer 3 (Foreground)
49 | //Storyboard Sound Samples
50 |
51 | [TimingPoints]
52 | 2436,344.827586206897,4,2,77,100,1,0
53 | 13470,-100,4,2,80,100,0,0
54 | 13556,-100,4,2,78,85,0,0
55 | 24160,-100,4,2,77,80,0,0
56 | 24504,-100,4,2,78,80,0,0
57 | 24677,-100,4,2,77,80,0,0
58 | 27263,-100,4,2,78,80,0,0
59 | 27436,-100,4,2,77,80,0,0
60 | 30022,-100,4,2,78,80,0,0
61 | 30194,-100,4,2,77,80,0,0
62 | 32780,-100,4,2,78,80,0,0
63 | 32953,-100,4,2,77,80,0,0
64 | 35539,-100,4,2,78,90,0,0
65 | 35711,-100,4,2,77,90,0,0
66 | 38298,-100,4,2,78,90,0,0
67 | 38470,-100,4,2,77,90,0,0
68 | 41056,-100,4,2,78,90,0,0
69 | 41229,-100,4,2,77,90,0,0
70 | 43815,-100,4,2,78,90,0,0
71 | 45194,-100,4,2,77,90,0,0
72 | 46573,-100,4,2,78,90,0,1
73 | 46746,-100,4,2,78,90,0,1
74 | 48642,-66.6666666666667,4,2,78,90,0,1
75 | 48987,-100,4,2,78,90,0,1
76 | 49677,-66.6666666666667,4,2,78,90,0,1
77 | 49849,-100,4,2,78,90,0,1
78 | 56229,-66.6666666666667,4,2,78,90,0,1
79 | 57263,-66.6666666666667,4,2,78,80,0,0
80 | 57608,-100,4,2,78,90,0,1
81 | 57780,-100,4,2,78,90,0,1
82 | 63125,-100,4,2,78,90,0,1
83 | 63470,-66.6666666666667,4,2,78,90,0,1
84 | 63815,-100,4,2,78,90,0,1
85 | 64332,-66.6666666666667,4,2,78,90,0,1
86 | 64504,-100,4,2,78,90,0,1
87 | 65539,-66.6666666666667,4,2,78,90,0,1
88 | 65711,-100,4,2,78,90,0,1
89 | 65884,-66.6666666666667,4,2,78,90,0,1
90 | 66573,-100,4,2,78,90,0,1
91 | 66918,-83.3333333333333,4,2,78,90,0,1
92 | 67263,-100,4,2,77,80,0,1
93 | 68642,-100,4,2,78,80,0,0
94 | 78298,-100,4,2,77,80,0,0
95 | 79677,-100,4,2,79,70,0,0
96 | 90711,-100,4,2,78,70,0,0
97 | 99073,-100,4,2,77,90,0,0
98 | 100367,-100,4,2,77,80,0,0
99 | 101056,-100,4,2,77,70,0,0
100 | 101746,-100,4,2,77,80,0,0
101 | 111573,-100,4,2,77,50,0,0
102 | 113125,-100,4,2,77,80,0,0
103 | 118298,-66.6666666666667,4,2,78,90,0,1
104 | 118642,-100,4,2,78,90,0,1
105 | 120711,-83.3333333333333,4,2,78,90,0,1
106 | 121056,-100,4,2,78,90,0,1
107 | 124849,-66.6666666666667,4,2,78,90,0,1
108 | 125022,-100,4,2,78,90,0,1
109 | 125539,-66.6666666666667,4,2,78,90,0,1
110 | 125711,-100,4,2,78,90,0,1
111 | 125884,-66.6666666666667,4,2,78,90,0,1
112 | 126056,-100,4,2,78,90,0,1
113 | 126229,-66.6666666666667,4,2,78,90,0,1
114 | 126401,-100,4,2,78,90,0,1
115 | 128987,-100,4,2,78,90,0,0
116 | 129332,-100,4,2,78,90,0,1
117 | 130194,-66.6666666666667,4,2,78,90,0,1
118 | 130367,-100,4,2,78,90,0,1
119 | 130884,-66.6666666666667,4,2,78,90,0,1
120 | 131056,-100,4,2,78,90,0,1
121 | 133470,-66.6666666666667,4,2,78,90,0,1
122 | 133815,-100,4,2,78,90,0,1
123 | 134158,-66.6666666666667,4,2,78,90,0,1
124 | 134418,-100,4,2,78,90,0,1
125 | 138987,-66.6666666666667,4,2,77,100,0,1
126 | 139677,-83.3333333333333,4,2,77,100,0,1
127 | 140022,-100,4,2,77,100,0,1
128 | 140367,-100,4,2,79,80,0,0
129 | 144504,-100,4,2,77,80,0,0
130 | 145194,-100,4,2,77,100,0,1
131 | 145280,-100,4,2,77,40,0,0
132 |
133 |
134 | [Colours]
135 | Combo1 : 183,47,49
136 | Combo2 : 223,170,70
137 | Combo3 : 84,114,98
138 | Combo4 : 92,107,131
139 |
140 | [HitObjects]
141 | 192,192,2436,5,4,0:0:0:0:
142 | 141,200,2522,1,0,0:0:0:0:
143 | 102,168,2608,1,0,0:0:0:0:
144 | 101,117,2694,1,0,0:0:0:0:
145 | 256,192,2780,1,0,0:0:0:0:
146 | 144,192,2953,1,0,0:0:0:0:
147 | 392,192,3125,2,0,P|504:112|488:64,1,210,2|0,0:0|0:0,0:0:0:0:
148 | 432,48,3556,1,0,0:0:0:0:
149 | 376,56,3642,1,0,0:0:0:0:
150 | 344,95,3728,1,0,0:0:0:0:
151 | 496,192,3815,6,0,L|400:152,2,105,2|0|0,0:0|0:0|0:0,0:0:0:0:
152 | 16,192,4504,2,0,L|112:152,2,105,2|0|0,0:0|0:0|0:0,0:0:0:0:
153 | 448,192,5194,5,4,0:0:0:0:
154 | 422,146,5280,1,0,0:0:0:0:
155 | 379,117,5366,1,0,0:0:0:0:
156 | 327,110,5452,1,0,0:0:0:0:
157 | 224,192,5539,1,0,0:0:0:0:
158 | 496,192,5711,1,0,0:0:0:0:
159 | 160,192,5884,2,0,P|88:80|120:56,1,210,2|0,0:0|0:0,0:0:0:0:
160 | 392,192,6401,1,0,0:0:0:0:
161 | 96,192,6573,5,2,0:0:0:0:
162 | 96,192,6832,1,0,0:0:0:0:
163 | 256,192,6918,2,0,B|184:120|184:120|128:120,1,157.5,2|0,0:0|0:0,0:0:0:0:
164 | 416,192,7263,1,2,0:0:0:0:
165 | 416,192,7522,1,0,0:0:0:0:
166 | 256,192,7608,2,0,B|328:120|328:120|384:120,1,157.5,2|0,0:0|0:0,0:0:0:0:
167 | 176,192,7953,5,4,0:0:0:0:
168 | 112,192,8039,1,0,0:0:0:0:
169 | 112,192,8125,1,0,0:0:0:0:
170 | 176,192,8211,1,0,0:0:0:0:
171 | 272,192,8298,1,0,0:0:0:0:
172 | 16,192,8470,1,0,0:0:0:0:
173 | 272,192,8642,2,0,L|496:192,1,210,2|0,0:0|0:0,0:0:0:0:
174 | 320,192,9160,1,0,0:0:0:0:
175 | 482,192,9332,5,2,0:0:0:0:
176 | 308,192,9504,2,0,L|244:192,1,52.5
177 | 164,192,9677,2,0,L|220:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
178 | 372,192,9849,2,0,L|308:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
179 | 116,192,10022,2,0,P|52:88|108:56,1,210,2|0,0:0|0:0,0:0:0:0:
180 | 448,192,10539,1,2,0:0:0:0:
181 | 256,192,10625,1,0,0:0:0:0:
182 | 64,192,10711,5,4,0:0:0:0:
183 | 256,192,10970,1,0,0:0:0:0:
184 | 448,192,11056,1,2,0:0:0:0:
185 | 256,192,11315,1,0,0:0:0:0:
186 | 96,192,11401,1,2,0:0:0:0:
187 | 256,192,11660,1,0,0:0:0:0:
188 | 400,192,11746,1,2,0:0:0:0:
189 | 224,192,12004,1,2,0:0:0:0:
190 | 224,192,12091,5,0,0:0:0:0:
191 | 464,192,12263,2,0,L|411:192,1,52.5
192 | 176,192,12436,2,0,P|96:120|160:88,1,210,2|2,0:0|0:0,0:0:0:0:
193 | 208,192,12867,2,0,L|272:192,2,52.5
194 | 144,192,13125,2,0,P|40:128|40:112,1,157.5,2|0,0:0|0:0,0:0:0:0:
195 | 288,192,13470,5,4,0:0:0:0:
196 | 235,192,13556,1,0,0:0:0:0:
197 | 182,192,13642,1,0,0:0:0:0:
198 | 130,192,13728,1,0,0:0:0:0:
199 | 288,192,13815,2,0,L|392:192,1,105,2|0,0:0|0:0,0:0:0:0:
200 | 120,192,14160,2,0,P|47:144|96:80,1,157.5,8|0,0:0|0:0,0:0:0:0:
201 | 256,192,14504,2,0,L|320:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
202 | 256,192,14677,2,0,L|192:192,1,52.5
203 | 32,192,14849,5,2,0:0:0:0:
204 | 176,192,15022,1,2,0:0:0:0:
205 | 32,192,15194,2,0,L|192:192,1,157.5,2|0,0:0|0:0,0:0:0:0:
206 | 480,192,15539,1,8,0:0:0:0:
207 | 368,192,15712,1,0,0:0:0:0:
208 | 480,192,15884,2,0,L|320:192,1,157.5,2|0,0:0|0:0,0:0:0:0:
209 | 136,192,16229,5,2,0:0:0:0:
210 | 186,185,16315,1,0,0:0:0:0:
211 | 215,143,16401,1,0,0:0:0:0:
212 | 204,93,16487,1,0,0:0:0:0:
213 | 128,192,16573,1,2,0:0:0:0:
214 | 384,192,16746,1,0,0:0:0:0:
215 | 64,192,16918,2,0,P|120:96|216:80,1,210,8|2,0:0|0:0,0:0:0:0:
216 | 488,192,17436,1,0,0:0:0:0:
217 | 199,192,17608,6,0,L|272:112,1,105,2|2,0:0|0:0,0:0:0:0:
218 | 184,192,17867,1,0,0:0:0:0:
219 | 16,192,17953,2,0,L|184:192,1,157.5,2|0,0:0|0:0,0:0:0:0:
220 | 320,192,18298,1,8,0:0:0:0:
221 | 224,192,18557,1,0,0:0:0:0:
222 | 392,192,18642,2,0,L|224:192,1,157.5,2|0,0:0|0:0,0:0:0:0:
223 | 88,192,18987,5,2,0:0:0:0:
224 | 16,192,19073,1,0,0:0:0:0:
225 | 16,192,19160,1,0,0:0:0:0:
226 | 64,192,19246,1,0,0:0:0:0:
227 | 136,192,19332,1,2,0:0:0:0:
228 | 408,192,19504,1,0,0:0:0:0:
229 | 136,192,19677,2,0,P|224:136|272:184,1,157.5,8|0,0:0|0:0,0:0:0:0:
230 | 64,192,20022,2,0,P|32:128|56:120,1,105,2|0,0:0|0:0,0:0:0:0:
231 | 320,192,20367,5,2,0:0:0:0:
232 | 448,192,20539,2,0,L|392:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
233 | 240,192,20711,2,0,L|184:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
234 | 344,192,20884,2,0,L|280:192,1,52.5
235 | 128,192,21056,2,0,P|48:112|104:64,1,210,8|2,0:0|0:0,0:0:0:0:
236 | 416,192,21573,2,0,L|456:152,1,52.5
237 | 256,192,21746,6,0,L|144:192,1,105,2|0,0:0|0:0,0:0:0:0:
238 | 216,192,22004,1,0,0:0:0:0:
239 | 368,192,22091,1,0,0:0:0:0:
240 | 417,179,22177,1,0,0:0:0:0:
241 | 441,134,22263,1,0,0:0:0:0:
242 | 425,86,22349,1,0,0:0:0:0:
243 | 160,192,22436,2,0,P|72:112|208:48,1,315,8|0,0:0|0:0,0:0:0:0:
244 | 352,192,23039,1,0,0:0:0:0:
245 | 496,192,23125,5,2,0:0:0:0:
246 | 400,192,23298,2,0,L|512:192,1,105,2|2,0:0|0:0,0:0:0:0:
247 | 48,192,23814,1,8,0:0:0:0:
248 | 176,192,24160,2,0,L|88:136,1,105,2|0,0:0|0:0,0:0:0:0:
249 | 352,192,24504,5,2,0:0:0:0:
250 | 192,192,24849,2,0,L|416:192,1,210,0|2,0:0|0:0,0:0:0:0:
251 | 64,192,25539,2,0,L|288:192,1,210,0|2,0:0|0:0,0:0:0:0:
252 | 496,192,26229,2,0,L|272:192,2,210,2|0|2,0:0|0:0|0:0,0:0:0:0:
253 | 32,192,27263,6,0,L|120:136,1,105,2|0,0:0|0:0,0:0:0:0:
254 | 304,192,27608,2,0,P|384:120|360:88,1,157.5,2|0,0:0|0:0,0:0:0:0:
255 | 176,192,27953,2,0,B|384:168|384:168|272:168,1,315,2|0,0:0|0:0,0:0:0:0:
256 | 16,192,28642,1,2,0:0:0:0:
257 | 176,192,28987,2,0,L|392:192,2,210,2|0|0,0:0|0:0|0:0,0:0:0:0:
258 | 496,192,30022,6,0,L|384:192,1,105,2|0,0:0|0:0,0:0:0:0:
259 | 112,192,30367,2,0,P|40:104|80:64,1,157.5,2|0,0:0|0:0,0:0:0:0:
260 | 168,192,30711,2,0,L|328:192,1,157.5
261 | 168,192,31056,2,0,L|8:192,1,157.5,2|0,0:0|0:0,0:0:0:0:
262 | 168,192,31401,2,0,B|464:168|424:72|352:72,1,315,2|0,0:0|0:0,0:0:0:0:
263 | 72,72,32091,2,0,B|16:70|-23:166|272:190,1,315,2|0,0:0|0:0,0:0:0:0:
264 | 16,192,32780,5,2,0:0:0:0:
265 | 256,192,33125,2,0,L|40:192,1,210,2|0,0:0|0:0,0:0:0:0:
266 | 352,192,33815,2,0,P|400:112|352:72,1,157.5,2|0,0:0|0:0,0:0:0:0:
267 | 176,192,34160,6,0,L|392:192,1,210,2|0,0:0|0:0,0:0:0:0:
268 | 256,192,34677,1,0,0:0:0:0:
269 | 496,192,34849,2,0,L|280:192,1,210,2|0,0:0|0:0,0:0:0:0:
270 | 16,192,35539,6,0,L|128:192,1,105,2|0,0:0|0:0,0:0:0:0:
271 | 288,192,35884,2,0,L|184:192,1,105,2|0,0:0|0:0,0:0:0:0:
272 | 496,192,36229,2,0,L|384:192,1,105
273 | 224,192,36573,2,0,L|112:192,1,105,2|0,0:0|0:0,0:0:0:0:
274 | 384,192,36918,6,0,L|272:192,1,105,2|0,0:0|0:0,0:0:0:0:
275 | 24,192,37263,2,0,L|240:192,2,210,0|2|2,0:0|0:0|0:0,0:0:0:0:
276 | 176,192,38125,1,0,0:0:0:0:
277 | 432,192,38298,6,0,L|328:192,1,105,2|0,0:0|0:0,0:0:0:0:
278 | 496,192,38642,2,0,L|384:192,1,105,2|0,0:0|0:0,0:0:0:0:
279 | 128,192,38987,2,0,L|8:192,1,105
280 | 192,192,39332,2,0,L|304:192,1,105,2|0,0:0|0:0,0:0:0:0:
281 | 23,192,39677,6,0,L|135:192,1,105,2|0,0:0|0:0,0:0:0:0:
282 | 383,192,40022,2,0,L|167:192,2,210,0|2|2,0:0|0:0|0:0,0:0:0:0:
283 | 480,192,40884,1,0,0:0:0:0:
284 | 176,192,41056,5,2,0:0:0:0:
285 | 304,192,41229,1,0,0:0:0:0:
286 | 24,192,41401,2,0,L|128:192,1,105,2|0,0:0|0:0,0:0:0:0:
287 | 400,192,41746,2,0,L|505:192,1,105
288 | 129,192,42091,2,0,L|24:192,1,105,2|0,0:0|0:0,0:0:0:0:
289 | 383,192,42436,6,0,L|488:192,2,105,2|0|0,0:0|0:0|0:0,0:0:0:0:
290 | 88,192,42953,1,0,0:0:0:0:
291 | 344,192,43125,2,0,L|239:192,1,105,2|0,0:0|0:0,0:0:0:0:
292 | 496,192,43470,2,0,L|336:192,1,157.5,2|0,0:0|0:0,0:0:0:0:
293 | 160,192,43815,6,0,L|48:192,3,105,2|0|2|0,0:0|0:0|0:0|0:0,0:0:0:0:
294 | 352,192,44504,2,0,L|464:192,3,105,2|0|2|0,0:0|0:0|0:0|0:0,0:0:0:0:
295 | 192,192,45194,5,2,0:0:0:0:
296 | 456,192,45539,1,0,0:0:0:0:
297 | 32,192,45884,2,0,P|104:96|328:120,1,367.5,2|0,0:0|0:0,0:0:0:0:
298 | 184,192,46573,6,0,L|24:192,1,157.5,6|0,0:0|0:0,0:0:0:0:
299 | 184,192,46918,1,8,0:0:0:0:
300 | 64,192,47091,1,0,0:0:0:0:
301 | 344,192,47263,2,0,L|400:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
302 | 192,192,47436,2,0,L|136:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
303 | 400,192,47608,1,8,0:0:0:0:
304 | 128,192,47780,2,0,L|176:168,1,52.5,2|0,0:0|0:0,0:0:0:0:
305 | 352,192,47953,6,0,P|404:184|452:160,1,105,2|0,0:0|0:0,0:0:0:0:
306 | 180,192,48298,1,8,0:0:0:0:
307 | 452,192,48470,2,0,L|396:192,1,52.5
308 | 96,192,48642,1,0,0:0:0:0:
309 | 110,155,48685,1,0,0:0:0:0:
310 | 137,127,48728,1,0,0:0:0:0:
311 | 174,113,48771,1,0,0:0:0:0:
312 | 213,114,48814,1,0,0:0:0:0:
313 | 248,130,48857,1,0,0:0:0:0:
314 | 274,159,48900,1,0,0:0:0:0:
315 | 287,196,48943,1,0,0:0:0:0:
316 | 128,192,48987,2,0,L|24:192,1,105,8|0,0:0|0:0,0:0:0:0:
317 | 320,192,49332,6,0,L|496:192,1,157.5,2|0,0:0|0:0,0:0:0:0:
318 | 320,192,49677,2,0,L|224:192,1,78.7500030040742,8|0,0:0|0:0,0:0:0:0:
319 | 80,192,49849,2,0,L|136:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
320 | 288,192,50022,2,0,L|232:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
321 | 64,192,50194,2,0,L|120:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
322 | 312,192,50367,2,0,L|272:152,1,52.5,8|0,0:0|0:0,0:0:0:0:
323 | 120,192,50539,2,0,L|176:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
324 | 336,192,50711,6,0,L|224:192,1,105,2|0,0:0|0:0,0:0:0:0:
325 | 496,192,51056,2,0,L|384:192,1,105,8|0,0:0|0:0,0:0:0:0:
326 | 224,192,51401,2,0,L|352:192,1,105,2|2,0:0|0:0,0:0:0:0:
327 | 272,192,51660,1,2,0:0:0:0:
328 | 120,192,51746,2,0,L|8:192,1,105,8|2,0:0|0:0,0:0:0:0:
329 | 360,192,52091,6,0,L|464:192,1,105,2|0,0:0|0:0,0:0:0:0:
330 | 192,192,52436,1,8,0:0:0:0:
331 | 464,192,52608,1,0,0:0:0:0:
332 | 484,176,52651,1,0,0:0:0:0:
333 | 497,153,52694,1,0,0:0:0:0:
334 | 497,127,52737,1,0,0:0:0:0:
335 | 360,192,52780,1,2,0:0:0:0:
336 | 200,192,52867,1,2,0:0:0:0:
337 | 40,192,52953,1,2,0:0:0:0:
338 | 360,192,53125,1,8,0:0:0:0:
339 | 40,192,53298,2,0,L|88:168,1,52.5
340 | 240,192,53470,5,2,0:0:0:0:
341 | 490,192,53642,2,0,L|418:192,1,52.5
342 | 256,192,53815,1,8,0:0:0:0:
343 | 112,192,53987,2,0,L|168:192,1,52.5
344 | 328,192,54160,5,0,0:0:0:0:
345 | 353,196,54203,1,0,0:0:0:0:
346 | 378,188,54246,1,0,0:0:0:0:
347 | 395,169,54289,1,0,0:0:0:0:
348 | 400,144,54332,1,0,0:0:0:0:
349 | 393,119,54375,1,0,0:0:0:0:
350 | 374,101,54418,1,0,0:0:0:0:
351 | 348,95,54461,1,0,0:0:0:0:
352 | 216,192,54504,5,8,0:0:0:0:
353 | 190,196,54547,1,0,0:0:0:0:
354 | 165,188,54590,1,0,0:0:0:0:
355 | 148,169,54633,1,0,0:0:0:0:
356 | 143,144,54676,1,0,0:0:0:0:
357 | 150,119,54719,1,0,0:0:0:0:
358 | 169,101,54762,1,0,0:0:0:0:
359 | 195,95,54805,1,0,0:0:0:0:
360 | 72,192,54849,6,0,P|24:128|80:64,1,157.5,2|0,0:0|0:0,0:0:0:0:
361 | 256,192,55194,1,8,0:0:0:0:
362 | 448,192,55280,1,2,0:0:0:0:
363 | 256,192,55367,1,2,0:0:0:0:
364 | 64,192,55453,1,2,0:0:0:0:
365 | 256,192,55539,2,0,L|320:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
366 | 116,192,55711,2,0,L|60:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
367 | 256,192,55884,2,0,L|320:192,1,52.5,8|0,0:0|0:0,0:0:0:0:
368 | 116,192,56056,2,0,L|60:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
369 | 336,192,56229,6,0,L|496:192,1,157.500006008148,8|0,0:0|0:0,0:0:0:0:
370 | 176,192,56573,2,0,L|16:192,1,157.500006008148,8|0,0:0|0:0,0:0:0:0:
371 | 336,192,56918,5,8,0:0:0:0:
372 | 410,190,57004,1,2,0:0:0:0:
373 | 440,122,57090,1,2,0:0:0:0:
374 | 390,66,57176,1,2,0:0:0:0:
375 | 176,192,57263,2,0,P|96:112|168:48,1,236.250009012223,8|0,0:0|0:0,0:0:0:0:
376 | 352,192,57608,6,0,L|456:192,1,105,6|0,0:0|0:0,0:0:0:0:
377 | 192,192,57953,1,8,0:0:0:0:
378 | 456,192,58125,2,0,L|400:192,1,52.5
379 | 192,192,58298,2,0,L|192:136,1,52.5,2|0,0:0|0:0,0:0:0:0:
380 | 352,192,58470,2,0,L|328:144,1,52.5,2|0,0:0|0:0,0:0:0:0:
381 | 128,192,58642,1,8,0:0:0:0:
382 | 72,192,58729,2,0,L|176:192,1,105
383 | 328,192,58987,5,2,0:0:0:0:
384 | 64,192,59160,2,0,L|8:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
385 | 177,192,59332,2,0,L|241:192,1,52.5,8|0,0:0|0:0,0:0:0:0:
386 | 64,192,59504,2,0,L|8:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
387 | 176,192,59677,2,0,L|232:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
388 | 64,192,59849,2,0,L|8:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
389 | 192,192,60022,1,8,0:0:0:0:
390 | 480,192,60194,2,0,L|432:168,1,52.5
391 | 256,192,60367,6,0,L|368:192,1,105,2|0,0:0|0:0,0:0:0:0:
392 | 71,192,60711,2,0,L|175:192,1,105,8|0,0:0|0:0,0:0:0:0:
393 | 256,192,60970,1,0,0:0:0:0:
394 | 441,192,61056,2,0,L|337:192,1,105,2|2,0:0|0:0,0:0:0:0:
395 | 48,192,61401,1,8,0:0:0:0:
396 | 30,172,61444,1,0,0:0:0:0:
397 | 24,147,61487,1,0,0:0:0:0:
398 | 30,122,61530,1,0,0:0:0:0:
399 | 48,103,61573,1,0,0:0:0:0:
400 | 320,192,61746,5,2,0:0:0:0:
401 | 456,192,61918,1,2,0:0:0:0:
402 | 192,192,62091,1,8,0:0:0:0:
403 | 56,192,62263,1,2,0:0:0:0:
404 | 320,192,62436,2,0,L|216:192,1,105,2|2,0:0|0:0,0:0:0:0:
405 | 288,192,62694,1,2,0:0:0:0:
406 | 448,192,62780,1,8,0:0:0:0:
407 | 96,192,62953,1,2,0:0:0:0:
408 | 384,192,63125,6,0,L|496:192,1,105,2|0,0:0|0:0,0:0:0:0:
409 | 424,192,63384,1,0,0:0:0:0:
410 | 176,192,63470,2,0,B|32:192|32:192|51:144|96:120,1,236.250009012223,8|0,0:0|0:0,0:0:0:0:
411 | 240,192,63815,1,2,0:0:0:0:
412 | 384,192,63901,1,2,0:0:0:0:
413 | 240,192,63987,1,2,0:0:0:0:
414 | 96,192,64073,1,2,0:0:0:0:
415 | 288,192,64160,2,0,L|368:192,1,52.5,8|0,0:0|0:0,0:0:0:0:
416 | 192,192,64332,2,0,L|96:192,1,78.7500030040742,2|0,0:0|0:0,0:0:0:0:
417 | 288,192,64504,6,0,P|384:136|384:88,1,157.5,2|0,0:0|0:0,0:0:0:0:
418 | 224,192,64849,2,0,L|160:192,1,52.5,8|0,0:0|0:0,0:0:0:0:
419 | 328,192,65022,2,0,L|392:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
420 | 224,192,65194,2,0,L|160:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
421 | 344,192,65367,2,0,L|408:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
422 | 240,192,65539,2,0,L|160:192,1,78.7500030040742,8|0,0:0|0:0,0:0:0:0:
423 | 16,192,65711,2,0,L|80:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
424 | 256,192,65884,6,0,B|416:192|416:192|384:144|320:120,1,236.250009012223,2|0,0:0|0:0,0:0:0:0:
425 | 128,192,66229,1,8,0:0:0:0:
426 | 48,192,66315,2,0,L|208:192,1,157.500006008148
427 | 376,192,66573,1,8,0:0:0:0:
428 | 205,192,66660,1,2,0:0:0:0:
429 | 120,192,66746,2,0,L|176:192,1,52.5,2|2,0:0|0:0,0:0:0:0:
430 | 336,192,66918,2,0,L|208:192,1,125.999996154785,8|2,0:0|0:0,0:0:0:0:
431 | 480,192,67263,6,0,B|488:112|480:48|432:24|336:16|232:48,1,367.5,2|0,0:0|0:0,0:0:0:0:
432 | 32,192,67953,2,0,B|24:112|32:48|80:24|176:16|280:48,1,367.5,2|0,0:0|0:0,0:0:0:0:
433 | 120,192,68642,6,0,P|48:168|48:88,1,157.5,2|0,0:0|0:0,0:0:0:0:
434 | 120,192,68987,2,0,P|248:120|248:96,1,157.5,2|0,0:0|0:0,0:0:0:0:
435 | 96,192,69332,1,8,0:0:0:0:
436 | 352,192,69504,2,0,L|408:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
437 | 248,192,69677,2,0,L|192:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
438 | 352,192,69849,2,0,L|408:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
439 | 232,192,70022,6,0,L|176:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
440 | 128,192,70194,1,2,0:0:0:0:
441 | 264,192,70367,1,2,0:0:0:0:
442 | 392,192,70539,2,0,L|328:192,1,52.5
443 | 168,192,70711,5,8,0:0:0:0:
444 | 142,199,70754,1,0,0:0:0:0:
445 | 116,199,70797,1,0,0:0:0:0:
446 | 91,193,70840,1,0,0:0:0:0:
447 | 68,180,70883,1,0,0:0:0:0:
448 | 50,162,70926,1,0,0:0:0:0:
449 | 36,139,70969,1,0,0:0:0:0:
450 | 30,114,71012,1,0,0:0:0:0:
451 | 30,87,71055,1,0,0:0:0:0:
452 | 37,62,71098,1,0,0:0:0:0:
453 | 51,40,71142,1,0,0:0:0:0:
454 | 70,22,71185,1,0,0:0:0:0:
455 | 93,9,71228,1,0,0:0:0:0:
456 | 118,4,71271,1,0,0:0:0:0:
457 | 144,5,71314,1,0,0:0:0:0:
458 | 169,12,71357,1,0,0:0:0:0:
459 | 280,192,71401,6,0,P|392:120|368:72,1,210,2|2,0:0|0:0,0:0:0:0:
460 | 160,192,72004,1,0,0:0:0:0:
461 | 336,192,72091,1,8,0:0:0:0:
462 | 283,192,72177,1,2,0:0:0:0:
463 | 230,192,72263,1,2,0:0:0:0:
464 | 177,192,72349,1,2,0:0:0:0:
465 | 124,192,72435,1,2,0:0:0:0:
466 | 88,192,72522,1,2,0:0:0:0:
467 | 144,192,72608,1,2,0:0:0:0:
468 | 224,192,72694,1,2,0:0:0:0:
469 | 400,192,72780,6,0,L|504:192,1,105,2|2,0:0|0:0,0:0:0:0:
470 | 416,192,73125,1,0,0:0:0:0:
471 | 8,192,73470,2,0,L|120:192,1,105,8|0,0:0|0:0,0:0:0:0:
472 | 32,192,73815,2,0,L|192:192,1,157.5,2|0,0:0|0:0,0:0:0:0:
473 | 344,192,74160,6,0,L|456:192,1,105,2|0,0:0|0:0,0:0:0:0:
474 | 288,192,74504,2,0,L|176:192,1,105,2|0,0:0|0:0,0:0:0:0:
475 | 464,192,74849,2,0,L|408:192,1,52.5,8|0,0:0|0:0,0:0:0:0:
476 | 256,192,75022,2,0,L|192:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
477 | 352,192,75194,2,0,L|296:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
478 | 144,192,75367,2,0,L|80:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
479 | 240,192,75539,6,0,L|176:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
480 | 40,192,75711,1,2,0:0:0:0:
481 | 299,192,75884,2,0,L|352:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
482 | 496,192,76056,2,0,L|440:192,1,52.5
483 | 280,192,76229,1,8,0:0:0:0:
484 | 254,186,76272,1,0,0:0:0:0:
485 | 235,168,76315,1,0,0:0:0:0:
486 | 227,144,76358,1,0,0:0:0:0:
487 | 232,118,76401,1,0,0:0:0:0:
488 | 249,99,76444,1,0,0:0:0:0:
489 | 274,90,76487,1,0,0:0:0:0:
490 | 299,95,76530,1,0,0:0:0:0:
491 | 408,192,76573,2,0,P|488:112|464:80,1,157.5
492 | 288,192,76918,6,0,P|176:112|200:64,1,210,2|2,0:0|0:0,0:0:0:0:
493 | 352,192,77522,1,0,0:0:0:0:
494 | 208,192,77608,1,8,0:0:0:0:
495 | 157,199,77694,1,2,0:0:0:0:
496 | 112,173,77780,1,2,0:0:0:0:
497 | 95,124,77866,1,2,0:0:0:0:
498 | 111,76,77952,1,2,0:0:0:0:
499 | 155,48,78039,1,2,0:0:0:0:
500 | 240,192,78125,1,2,0:0:0:0:
501 | 292,192,78211,1,2,0:0:0:0:
502 | 144,192,78298,6,0,L|32:192,3,105,2|0|0|0,0:0|0:0|0:0|0:0,0:0:0:0:
503 | 368,192,78987,2,0,L|480:192,3,105,2|0|0|0,0:0|0:0|0:0|0:0,0:0:0:0:
504 | 136,192,79677,6,0,P|24:96|152:64,1,341.25,4|0,0:0|0:0,0:0:0:0:
505 | 376,192,80367,2,0,P|488:96|360:64,1,341.25,8|0,0:0|0:0,0:0:0:0:
506 | 96,192,81056,6,0,L|0:144,2,105,2|2|2,0:0|0:0|0:0,0:0:0:0:
507 | 504,192,81746,1,8,0:0:0:0:
508 | 336,192,82091,2,0,L|448:192,1,105
509 | 160,192,82436,6,0,B|8:192|8:192|56:96|152:80,1,341.25,4|0,0:0|0:0,0:0:0:0:
510 | 352,192,83125,2,0,B|504:192|504:192|456:96|360:80,1,341.25,8|0,0:0|0:0,0:0:0:0:
511 | 224,192,83815,6,0,L|112:192,2,105,2|2|2,0:0|0:0|0:0,0:0:0:0:
512 | 464,192,84504,1,8,0:0:0:0:
513 | 336,192,84677,1,0,0:0:0:0:
514 | 496,192,84849,1,0,0:0:0:0:
515 | 336,192,85022,1,0,0:0:0:0:
516 | 48,192,85194,6,0,L|272:192,2,210,4|0|8,0:0|0:0|0:0,0:0:0:0:
517 | 464,192,86229,2,0,L|240:192,2,210,0|2|2,0:0|0:0|0:0,0:0:0:0:
518 | 248,192,87263,2,0,L|136:192,1,105,8|0,0:0|0:0,0:0:0:0:
519 | 264,192,87608,2,0,L|376:192,1,105
520 | 104,192,87953,5,4,0:0:0:0:
521 | 8,192,88125,2,0,L|64:192,1,52.5
522 | 120,192,88298,2,0,L|32:136,1,105
523 | 320,192,88642,1,8,0:0:0:0:
524 | 424,192,88987,1,0,0:0:0:0:
525 | 394,192,89101,1,0,0:0:0:0:
526 | 324,192,89216,1,0,0:0:0:0:
527 | 112,192,89332,6,0,L|224:192,1,105,2|2,0:0|0:0,0:0:0:0:
528 | 384,192,89677,2,0,L|288:192,1,70,2|0,0:0|0:0,0:0:0:0:
529 | 224,192,89907,1,0,0:0:0:0:
530 | 48,192,90022,2,0,L|128:192,1,70,8|0,0:0|0:0,0:0:0:0:
531 | 208,192,90252,1,0,0:0:0:0:
532 | 280,192,90367,2,0,L|176:192,1,105,2|0,0:0|0:0,0:0:0:0:
533 | 256,192,90625,1,0,0:0:0:0:
534 | 416,192,90711,6,0,L|488:192,2,70,6|0|0,0:0|0:0|0:0,0:0:0:0:
535 | 208,192,91056,1,0,0:0:0:0:
536 | 181,192,91099,1,0,0:0:0:0:
537 | 157,184,91142,1,0,0:0:0:0:
538 | 136,168,91185,1,0,0:0:0:0:
539 | 123,146,91228,1,0,0:0:0:0:
540 | 118,120,91271,1,0,0:0:0:0:
541 | 122,94,91314,1,0,0:0:0:0:
542 | 135,72,91357,1,0,0:0:0:0:
543 | 256,192,91401,6,0,L|336:192,2,70,8|0|0,0:0|0:0|0:0,0:0:0:0:
544 | 168,192,91746,2,0,L|88:192,2,70
545 | 384,192,92091,5,2,0:0:0:0:
546 | 410,191,92134,1,0,0:0:0:0:
547 | 434,181,92177,1,0,0:0:0:0:
548 | 452,163,92220,1,0,0:0:0:0:
549 | 424,192,92263,1,2,0:0:0:0:
550 | 397,192,92306,1,0,0:0:0:0:
551 | 373,182,92349,1,0,0:0:0:0:
552 | 355,164,92392,1,0,0:0:0:0:
553 | 232,192,92436,2,0,L|152:192,2,70,2|0|0,0:0|0:0|0:0,0:0:0:0:
554 | 432,192,92780,6,0,L|504:192,2,70,8|0|0,0:0|0:0|0:0,0:0:0:0:
555 | 337,192,93125,2,0,L|225:192,1,105,2|0,0:0|0:0,0:0:0:0:
556 | 496,192,93470,6,0,L|408:192,2,70,2|0|0,0:0|0:0|0:0,0:0:0:0:
557 | 320,192,93815,1,0,0:0:0:0:
558 | 294,196,93858,1,0,0:0:0:0:
559 | 268,191,93901,1,0,0:0:0:0:
560 | 246,177,93944,1,0,0:0:0:0:
561 | 231,156,93987,1,0,0:0:0:0:
562 | 224,131,94030,1,0,0:0:0:0:
563 | 226,105,94073,1,0,0:0:0:0:
564 | 238,82,94116,1,0,0:0:0:0:
565 | 352,192,94160,6,0,L|464:192,2,70,8|0|0,0:0|0:0|0:0,0:0:0:0:
566 | 160,192,94504,2,0,L|48:192,2,70
567 | 352,192,94849,5,2,0:0:0:0:
568 | 325,192,94892,1,0,0:0:0:0:
569 | 299,192,94935,1,0,0:0:0:0:
570 | 288,192,94978,1,0,0:0:0:0:
571 | 299,192,95022,1,2,0:0:0:0:
572 | 325,192,95065,1,0,0:0:0:0:
573 | 351,192,95108,1,0,0:0:0:0:
574 | 377,192,95151,1,0,0:0:0:0:
575 | 272,192,95194,2,0,L|217:144,2,70,2|0|0,0:0|0:0|0:0,0:0:0:0:
576 | 72,192,95539,6,0,L|16:144,2,70,8|0|0,0:0|0:0|0:0,0:0:0:0:
577 | 280,192,95884,2,0,L|392:192,1,105,2|0,0:0|0:0,0:0:0:0:
578 | 96,192,96229,5,2,0:0:0:0:
579 | 288,192,96344,1,0,0:0:0:0:
580 | 488,192,96458,1,0,0:0:0:0:
581 | 256,192,96573,1,0,0:0:0:0:
582 | 229,193,96616,1,0,0:0:0:0:
583 | 204,185,96659,1,0,0:0:0:0:
584 | 183,170,96702,1,0,0:0:0:0:
585 | 168,149,96745,1,0,0:0:0:0:
586 | 160,124,96788,1,0,0:0:0:0:
587 | 160,98,96831,1,0,0:0:0:0:
588 | 169,74,96874,1,0,0:0:0:0:
589 | 288,192,96918,5,8,0:0:0:0:
590 | 480,192,97033,1,0,0:0:0:0:
591 | 288,192,97147,1,0,0:0:0:0:
592 | 80,192,97263,1,0,0:0:0:0:
593 | 272,192,97378,1,0,0:0:0:0:
594 | 464,192,97492,1,0,0:0:0:0:
595 | 256,192,97608,5,2,0:0:0:0:
596 | 232,183,97651,1,0,0:0:0:0:
597 | 217,162,97694,1,0,0:0:0:0:
598 | 224,136,97737,1,0,0:0:0:0:
599 | 256,192,97780,1,2,0:0:0:0:
600 | 281,183,97823,1,0,0:0:0:0:
601 | 296,162,97866,1,0,0:0:0:0:
602 | 297,136,97909,1,0,0:0:0:0:
603 | 160,192,97953,2,0,L|80:192,2,70,2|0|0,0:0|0:0|0:0,0:0:0:0:
604 | 352,192,98298,6,0,L|432:192,2,70,8|0|0,0:0|0:0|0:0,0:0:0:0:
605 | 160,192,98642,2,0,L|40:192,1,105,2|0,0:0|0:0,0:0:0:0:
606 | 296,192,98987,5,6,0:0:0:0:
607 | 488,192,99102,1,0,0:0:0:0:
608 | 296,192,99217,1,0,0:0:0:0:
609 | 72,192,99332,1,0,0:0:0:0:
610 | 46,189,99375,1,0,0:0:0:0:
611 | 24,175,99418,1,0,0:0:0:0:
612 | 10,153,99461,1,0,0:0:0:0:
613 | 7,127,99504,1,0,0:0:0:0:
614 | 17,103,99547,1,0,0:0:0:0:
615 | 32,80,99590,1,0,0:0:0:0:
616 | 48,72,99633,1,0,0:0:0:0:
617 | 152,192,99677,5,2,0:0:0:0:
618 | 328,192,99792,1,0,0:0:0:0:
619 | 152,192,99907,1,0,0:0:0:0:
620 | 440,192,100022,1,0,0:0:0:0:
621 | 264,192,100137,1,0,0:0:0:0:
622 | 88,192,100252,1,0,0:0:0:0:
623 | 264,192,100367,5,4,0:0:0:0:
624 | 296,192,100410,1,0,0:0:0:0:
625 | 296,192,100453,1,0,0:0:0:0:
626 | 264,192,100496,1,0,0:0:0:0:
627 | 232,192,100539,1,0,0:0:0:0:
628 | 208,192,100582,1,0,0:0:0:0:
629 | 208,192,100625,1,0,0:0:0:0:
630 | 232,192,100668,1,0,0:0:0:0:
631 | 344,192,100711,1,2,0:0:0:0:
632 | 152,192,101056,1,2,0:0:0:0:
633 | 408,192,101401,1,2,0:0:0:0:
634 | 64,192,101746,5,4,0:0:0:0:
635 | 20,168,101832,1,0,0:0:0:0:
636 | 24,119,101918,1,0,0:0:0:0:
637 | 72,104,102004,1,0,0:0:0:0:
638 | 160,192,102091,2,0,L|296:192,1,105
639 | 416,192,102436,2,0,L|256:192,1,157.5,2|0,0:0|0:0,0:0:0:0:
640 | 336,192,102780,2,0,L|400:192,1,52.5
641 | 288,192,102953,2,0,L|224:192,1,52.5
642 | 80,192,103125,6,0,L|184:192,1,105,2|0,0:0|0:0,0:0:0:0:
643 | 464,192,103470,1,2,0:0:0:0:
644 | 436,147,103556,1,0,0:0:0:0:
645 | 396,113,103642,1,0,0:0:0:0:
646 | 350,89,103728,1,0,0:0:0:0:
647 | 300,73,103815,1,2,0:0:0:0:
648 | 248,66,103901,1,0,0:0:0:0:
649 | 195,67,103987,1,0,0:0:0:0:
650 | 145,81,104073,1,0,0:0:0:0:
651 | 110,118,104159,1,2,0:0:0:0:
652 | 124,167,104245,1,0,0:0:0:0:
653 | 158,207,104332,1,0,0:0:0:0:
654 | 198,241,104418,1,0,0:0:0:0:
655 | 360,192,104504,5,4,0:0:0:0:
656 | 407,174,104590,1,0,0:0:0:0:
657 | 426,127,104676,1,0,0:0:0:0:
658 | 403,82,104762,1,0,0:0:0:0:
659 | 208,192,104849,2,0,L|104:192,1,105
660 | 384,192,105194,2,0,P|476:146|432:56,1,210,2|0,0:0|0:0,0:0:0:0:
661 | 160,192,105711,1,0,0:0:0:0:
662 | 456,192,105884,5,2,0:0:0:0:
663 | 456,192,106142,1,0,0:0:0:0:
664 | 272,192,106229,1,2,0:0:0:0:
665 | 220,180,106315,1,0,0:0:0:0:
666 | 170,164,106401,1,0,0:0:0:0:
667 | 123,141,106487,1,0,0:0:0:0:
668 | 91,101,106573,1,2,0:0:0:0:
669 | 125,65,106660,1,0,0:0:0:0:
670 | 175,51,106746,1,0,0:0:0:0:
671 | 227,45,106832,1,0,0:0:0:0:
672 | 280,42,106918,1,2,0:0:0:0:
673 | 332,42,107004,1,0,0:0:0:0:
674 | 385,44,107091,1,0,0:0:0:0:
675 | 437,47,107177,1,0,0:0:0:0:
676 | 240,192,107263,5,4,0:0:0:0:
677 | 168,192,107349,1,0,0:0:0:0:
678 | 216,192,107436,1,0,0:0:0:0:
679 | 280,192,107522,1,0,0:0:0:0:
680 | 440,192,107608,2,0,L|336:192,1,105
681 | 32,192,107953,2,0,P|64:112|176:64,1,210,2|0,0:0|0:0,0:0:0:0:
682 | 112,192,108470,1,0,0:0:0:0:
683 | 384,192,108642,5,2,0:0:0:0:
684 | 480,192,108815,2,0,L|424:192,1,52.5
685 | 256,192,108987,1,2,0:0:0:0:
686 | 200,192,109073,1,0,0:0:0:0:
687 | 144,192,109159,1,0,0:0:0:0:
688 | 98,192,109245,1,0,0:0:0:0:
689 | 256,192,109332,1,2,0:0:0:0:
690 | 308,192,109418,1,0,0:0:0:0:
691 | 361,192,109504,1,0,0:0:0:0:
692 | 413,192,109590,1,0,0:0:0:0:
693 | 256,192,109677,1,2,0:0:0:0:
694 | 16,192,109849,2,0,L|80:192,1,52.5
695 | 256,192,110022,6,0,L|144:192,1,105,4|0,0:0|0:0,0:0:0:0:
696 | 100,185,110280,1,0,0:0:0:0:
697 | 67,146,110366,1,2,0:0:0:0:
698 | 70,95,110452,1,0,0:0:0:0:
699 | 107,59,110538,1,0,0:0:0:0:
700 | 159,59,110625,1,0,0:0:0:0:
701 | 328,192,110711,1,2,0:0:0:0:
702 | 373,169,110797,1,0,0:0:0:0:
703 | 382,119,110883,1,0,0:0:0:0:
704 | 347,82,110969,1,0,0:0:0:0:
705 | 256,192,111056,1,2,0:0:0:0:
706 | 203,192,111142,1,0,0:0:0:0:
707 | 151,192,111228,1,0,0:0:0:0:
708 | 304,192,111315,1,0,0:0:0:0:
709 | 464,192,111401,5,4,0:0:0:0:
710 | 256,192,111573,12,0,112780,0:0:0:0:
711 | 224,192,113125,6,0,L|448:192,1,210,2|0,0:0|0:0,0:0:0:0:
712 | 16,192,113815,1,2,0:0:0:0:
713 | 480,192,114160,6,0,L|152:192,1,315,2|0,0:0|0:0,0:0:0:0:
714 | 32,192,114849,2,0,L|256:192,1,210,2|0,0:0|0:0,0:0:0:0:
715 | 480,192,115539,2,0,B|360:96|136:104|152:200|112:288|112:288,2,420,2|2|2,0:0|0:0|0:0,0:0:0:0:
716 | 400,192,117091,5,0,0:0:0:0:
717 | 347,192,117177,1,0,0:0:0:0:
718 | 295,192,117263,1,2,0:0:0:0:
719 | 224,192,117349,1,0,0:0:0:0:
720 | 62,192,117436,2,0,L|126:192,1,52.5
721 | 277,192,117608,1,4,0:0:0:0:
722 | 96,192,117953,2,0,P|16:120|32:96,1,157.5
723 | 256,192,118298,6,0,P|360:80|328:48,1,236.250009012223,4|0,0:0|0:0,0:0:0:0:
724 | 176,192,118642,1,8,0:0:0:0:
725 | 440,192,118815,2,0,L|496:192,1,52.5
726 | 336,192,118987,2,0,L|280:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
727 | 440,192,119160,2,0,L|496:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
728 | 256,192,119332,1,8,0:0:0:0:
729 | 192,192,119418,2,0,L|280:128,1,105
730 | 128,192,119677,5,2,0:0:0:0:
731 | 416,192,119849,2,0,L|468:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
732 | 264,192,120022,2,0,L|320:192,1,52.5,8|0,0:0|0:0,0:0:0:0:
733 | 464,192,120194,2,0,L|408:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
734 | 264,192,120367,2,0,L|320:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
735 | 488,192,120539,2,0,L|432:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
736 | 288,192,120711,2,0,L|216:192,1,62.9999980773926,8|0,0:0|0:0,0:0:0:0:
737 | 65,192,120884,2,0,L|16:152,1,62.9999980773926,2|0,0:0|0:0,0:0:0:0:
738 | 264,192,121056,6,0,P|344:120|336:80,1,157.5,2|0,0:0|0:0,0:0:0:0:
739 | 176,192,121401,1,8,0:0:0:0:
740 | 56,192,121573,1,0,0:0:0:0:
741 | 328,192,121746,2,0,L|448:192,1,105,2|2,0:0|0:0,0:0:0:0:
742 | 160,192,122091,1,8,0:0:0:0:
743 | 186,192,122134,1,0,0:0:0:0:
744 | 212,192,122177,1,0,0:0:0:0:
745 | 238,192,122220,1,0,0:0:0:0:
746 | 265,192,122263,1,0,0:0:0:0:
747 | 16,192,122436,6,0,L|128:192,1,105,2|0,0:0|0:0,0:0:0:0:
748 | 384,192,122780,2,0,L|272:192,1,105,8|0,0:0|0:0,0:0:0:0:
749 | 16,192,123125,1,2,0:0:0:0:
750 | 160,192,123298,1,2,0:0:0:0:
751 | 160,192,123384,1,2,0:0:0:0:
752 | 16,192,123470,1,8,0:0:0:0:
753 | 288,192,123642,1,2,0:0:0:0:
754 | 16,192,123815,6,0,L|128:192,1,105,2|0,0:0|0:0,0:0:0:0:
755 | 384,192,124160,1,8,0:0:0:0:
756 | 240,192,124332,1,0,0:0:0:0:
757 | 496,192,124504,1,2,0:0:0:0:
758 | 344,192,124591,1,2,0:0:0:0:
759 | 192,192,124677,1,2,0:0:0:0:
760 | 40,192,124763,1,2,0:0:0:0:
761 | 344,192,124849,2,0,L|424:192,1,78.7500030040742,8|0,0:0|0:0,0:0:0:0:
762 | 192,192,125022,2,0,L|136:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
763 | 336,192,125194,6,0,P|432:152|432:96,1,157.5,2|0,0:0|0:0,0:0:0:0:
764 | 280,192,125539,2,0,L|200:192,1,78.7500030040742,8|0,0:0|0:0,0:0:0:0:
765 | 56,192,125711,2,0,L|0:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
766 | 176,192,125884,2,0,L|257:192,1,78.7500030040742,2|0,0:0|0:0,0:0:0:0:
767 | 400,192,126056,2,0,L|456:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
768 | 288,192,126229,2,0,L|208:192,1,78.7500030040742,8|0,0:0|0:0,0:0:0:0:
769 | 56,192,126401,2,0,L|56:136,1,52.5,2|0,0:0|0:0,0:0:0:0:
770 | 256,192,126573,6,0,P|208:136|136:176,1,157.5,2|0,0:0|0:0,0:0:0:0:
771 | 288,192,126918,1,8,0:0:0:0:
772 | 32,192,127091,2,0,L|32:128,1,52.5,2|0,0:0|0:0,0:0:0:0:
773 | 176,192,127263,1,2,0:0:0:0:
774 | 320,192,127349,1,2,0:0:0:0:
775 | 176,192,127436,1,2,0:0:0:0:
776 | 424,192,127608,2,0,L|424:88,1,105,8|0,0:0|0:0,0:0:0:0:
777 | 152,192,127953,6,0,L|40:192,1,105,8|2,0:0|0:0,0:0:0:0:
778 | 360,192,128298,2,0,L|472:192,1,105,8|2,0:0|0:0,0:0:0:0:
779 | 128,192,128642,1,2,0:0:0:0:
780 | 280,192,128729,1,2,0:0:0:0:
781 | 424,192,128815,1,2,0:0:0:0:
782 | 368,192,128901,1,2,0:0:0:0:
783 | 192,192,128987,2,0,P|104:112|120:72,1,157.5,8|0,0:0|0:0,0:0:0:0:
784 | 320,192,129332,6,0,P|408:112|392:72,1,157.5,6|0,0:0|0:0,0:0:0:0:
785 | 216,192,129677,2,0,L|80:192,1,105,8|0,0:0|0:0,0:0:0:0:
786 | 400,192,130022,2,0,L|456:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
787 | 304,192,130194,2,0,L|224:192,1,78.7500030040742,2|0,0:0|0:0,0:0:0:0:
788 | 64,192,130367,2,0,L|112:160,1,52.5,8|0,0:0|0:0,0:0:0:0:
789 | 272,192,130539,2,0,L|208:192,1,52.5
790 | 64,192,130711,6,0,L|120:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
791 | 272,192,130884,2,0,L|352:192,1,78.7500030040742,2|0,0:0|0:0,0:0:0:0:
792 | 496,192,131056,2,0,P|453:151|352:144,1,157.5,8|0,0:0|0:0,0:0:0:0:
793 | 128,192,131401,1,0,0:0:0:0:
794 | 102,192,131444,1,0,0:0:0:0:
795 | 79,180,131487,1,0,0:0:0:0:
796 | 65,158,131530,1,0,0:0:0:0:
797 | 64,132,131573,1,0,0:0:0:0:
798 | 77,109,131616,1,0,0:0:0:0:
799 | 99,96,131659,1,0,0:0:0:0:
800 | 125,95,131702,1,0,0:0:0:0:
801 | 232,192,131746,1,8,0:0:0:0:
802 | 328,192,131918,1,2,0:0:0:0:
803 | 48,192,132091,6,0,P|112:112|176:104,1,157.5,2|0,0:0|0:0,0:0:0:0:
804 | 328,192,132436,1,8,0:0:0:0:
805 | 64,192,132608,1,2,0:0:0:0:
806 | 480,192,132780,1,2,0:0:0:0:
807 | 328,192,132867,1,0,0:0:0:0:
808 | 176,192,132953,1,2,0:0:0:0:
809 | 24,192,133039,1,0,0:0:0:0:
810 | 176,192,133125,1,8,0:0:0:0:
811 | 328,192,133212,1,0,0:0:0:0:
812 | 176,192,133298,1,2,0:0:0:0:
813 | 24,192,133384,1,0,0:0:0:0:
814 | 256,192,133470,5,0,0:0:0:0:
815 | 292,206,133513,1,0,0:0:0:0:
816 | 330,200,133556,1,0,0:0:0:0:
817 | 361,176,133599,1,0,0:0:0:0:
818 | 375,140,133642,1,0,0:0:0:0:
819 | 370,101,133685,1,0,0:0:0:0:
820 | 346,70,133728,1,0,0:0:0:0:
821 | 192,192,133815,2,0,L|88:192,1,105,8|0,0:0|0:0,0:0:0:0:
822 | 368,192,134160,1,0,0:0:0:0:
823 | 405,183,134203,1,0,0:0:0:0:
824 | 434,157,134246,1,0,0:0:0:0:
825 | 448,120,134289,1,0,0:0:0:0:
826 | 442,82,134332,1,0,0:0:0:0:
827 | 288,192,134418,1,0,0:0:0:0:
828 | 136,192,134504,2,0,P|144:136|192:112,1,105,8|0,0:0|0:0,0:0:0:0:
829 | 448,192,134849,6,0,P|480:120|416:80,1,157.5,2|0,0:0|0:0,0:0:0:0:
830 | 208,192,135194,1,8,0:0:0:0:
831 | 80,192,135367,1,2,0:0:0:0:
832 | 352,192,135539,2,0,L|296:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
833 | 155,192,135711,2,0,L|211:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
834 | 384,192,135884,2,0,L|328:192,1,52.5,8|0,0:0|0:0,0:0:0:0:
835 | 187,192,136056,2,0,L|243:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
836 | 384,192,136229,6,0,P|440:136|424:112,1,105,2|0,0:0|0:0,0:0:0:0:
837 | 144,192,136573,1,8,0:0:0:0:
838 | 48,192,136746,2,0,L|104:192,1,52.5
839 | 256,192,136918,2,0,L|296:192,7,26.25,2|0|0|0|0|0|0|0,0:0|0:0|0:0|0:0|0:0|0:0|0:0|0:0,0:0:0:0:
840 | 160,192,137263,2,0,L|48:192,1,105,8|0,0:0|0:0,0:0:0:0:
841 | 368,192,137608,6,0,P|448:112|432:88,1,157.5,2|0,0:0|0:0,0:0:0:0:
842 | 256,192,137953,2,0,L|144:192,1,105,8|0,0:0|0:0,0:0:0:0:
843 | 480,192,138298,1,2,0:0:0:0:
844 | 328,192,138384,1,2,0:0:0:0:
845 | 176,192,138470,1,2,0:0:0:0:
846 | 96,192,138556,1,2,0:0:0:0:
847 | 256,192,138642,1,8,0:0:0:0:
848 | 400,192,138729,1,0,0:0:0:0:
849 | 216,192,138815,2,0,L|152:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
850 | 352,192,138987,6,0,L|496:120,3,157.500006008148,2|0|0|0,0:0|0:0|0:0|0:0,0:0:0:0:
851 | 192,192,139677,2,0,L|56:192,1,125.999996154785,2|0,0:0|0:0,0:0:0:0:
852 | 368,192,140022,2,0,L|256:192,1,105,2|0,0:0|0:0,0:0:0:0:
853 | 16,192,140367,5,2,0:0:0:0:
854 | 48,151,140453,1,0,0:0:0:0:
855 | 94,125,140539,1,0,0:0:0:0:
856 | 145,118,140625,1,0,0:0:0:0:
857 | 304,192,140711,2,0,L|416:192,1,105
858 | 120,192,141056,2,0,P|48:112|104:64,1,157.5,4|0,0:0|0:0,0:0:0:0:
859 | 160,192,141401,1,0,0:0:0:0:
860 | 212,192,141487,1,0,0:0:0:0:
861 | 265,192,141573,1,0,0:0:0:0:
862 | 317,192,141659,1,0,0:0:0:0:
863 | 160,192,141746,5,2,0:0:0:0:
864 | 212,192,141832,1,0,0:0:0:0:
865 | 265,192,141918,1,0,0:0:0:0:
866 | 317,192,142004,1,0,0:0:0:0:
867 | 160,192,142091,2,0,L|56:192,1,105
868 | 317,192,142436,2,0,P|432:128|432:80,1,157.5,4|0,0:0|0:0,0:0:0:0:
869 | 256,192,142780,2,0,L|179:192,1,52.5
870 | 152,192,142953,2,0,L|216:192,1,52.5
871 | 376,192,143125,5,2,0:0:0:0:
872 | 425,182,143211,1,0,0:0:0:0:
873 | 448,137,143297,1,0,0:0:0:0:
874 | 426,91,143383,1,0,0:0:0:0:
875 | 256,192,143470,2,0,L|360:192,1,105,2|0,0:0|0:0,0:0:0:0:
876 | 88,192,143815,2,0,P|32:112|72:72,1,157.5,4|0,0:0|0:0,0:0:0:0:
877 | 216,192,144160,2,0,L|280:192,1,52.5,2|0,0:0|0:0,0:0:0:0:
878 | 112,192,144332,2,0,L|48:192,1,52.5
879 | 288,192,144504,5,2,0:0:0:0:
880 | 448,192,144677,1,0,0:0:0:0:
881 | 471,146,144763,1,0,0:0:0:0:
882 | 464,94,144849,1,2,0:0:0:0:
883 | 428,57,144935,1,2,0:0:0:0:
884 | 377,47,145022,1,2,0:0:0:0:
885 | 330,69,145108,1,2,0:0:0:0:
886 | 64,192,145194,1,4,0:0:0:0:
887 | 296,192,145884,5,0,0:0:0:0:
888 | 128,192,146229,1,2,0:0:0:0:
889 | 280,192,146573,1,0,0:0:0:0:
890 | 56,192,146918,1,2,0:0:0:0:
891 | 480,192,147263,5,2,0:0:0:0:
892 | 288,192,147780,1,0,0:0:0:0:
893 | 432,192,147953,1,2,0:0:0:0:
894 | 160,192,148298,1,0,0:0:0:0:
895 | 472,192,148642,5,2,0:0:0:0:
896 | 128,192,149332,1,2,0:0:0:0:
897 | 488,192,150022,1,2,0:0:0:0:
898 | 16,192,150367,5,2,0:0:0:0:
899 | 488,192,150711,1,4,0:0:0:0:
900 |
--------------------------------------------------------------------------------
/sample.py:
--------------------------------------------------------------------------------
1 | import sys
2 |
3 | from osu_parser.beatmap import Beatmap
4 | from osu.ctb.difficulty import Difficulty
5 | from ppCalc import calculate_pp
6 |
7 | if len(sys.argv) <= 1:
8 | beatmap = Beatmap("test.osu") #Yes... this be my test file (Will remove when project is done)
9 | else:
10 | beatmap = Beatmap(sys.argv[1])
11 |
12 | if len(sys.argv) >= 3:
13 | mods = int(sys.argv[2])
14 | else:
15 | mods = 0
16 |
17 | difficulty = Difficulty(beatmap, mods)
18 | print("Calculation:")
19 | print("Stars: {}, PP: {}, MaxCombo: {}\n".format(difficulty.star_rating, calculate_pp(difficulty, 1, beatmap.max_combo, 0), beatmap.max_combo))
20 |
21 | """
22 | m = {"NOMOD": 0, "EASY": 2, "HIDDEN": 8, "HARDROCK": 16, "DOUBLETIME": 64, "HALFTIME": 256, "FLASHLIGHT": 1024}
23 | for key in m.keys():
24 | difficulty = Difficulty(beatmap, m[key])
25 | print("Mods: {}".format(key))
26 | print("Stars: {}".format(difficulty.star_rating))
27 | print("PP: {}\n".format(calculate_pp(difficulty, 1, beatmap.max_combo, 0)))
28 | """
29 |
--------------------------------------------------------------------------------
/test.osu:
--------------------------------------------------------------------------------
1 | osu file format v7
2 |
3 | [General]
4 | AudioFilename: Night of Knights.mp3
5 | AudioLeadIn: 0
6 | PreviewTime: 1598
7 | Countdown: 0
8 | SampleSet: Soft
9 | StackLeniency: 0
10 | Mode: 0
11 | LetterboxInBreaks: 0
12 |
13 | [Editor]
14 | Bookmarks: 1585,13931,24598,35265,45931,56598,67265,77931,88598,99265,109931,120598,131265,141931,152598,163265,173931,184598,195265
15 | DistanceSpacing: 0.800000011920929
16 | BeatDivisor: 4
17 | GridSize: 32
18 |
19 | [Metadata]
20 | Title:Night of Knights
21 | Artist:beatMARIO
22 | Creator:DJPop
23 | Version:TAG4
24 | Source:
25 | Tags:COOL&CREATE Hanabata Touhou Izayoi Sakuya Hong Meiling ignorethis samiljul dksslqj
26 |
27 | [Difficulty]
28 | HPDrainRate:3
29 | CircleSize:5
30 | OverallDifficulty:8
31 | SliderMultiplier:1.92
32 | SliderTickRate:4
33 |
34 | [Events]
35 | //Background and Video events
36 | 0,0,"Night of Knights 2.png"
37 | Video,0,"Night of Knights.avi"
38 | //Break Periods
39 | //Storyboard Layer 0 (Background)
40 | //Storyboard Layer 1 (Fail)
41 | //Storyboard Layer 2 (Pass)
42 | //Storyboard Layer 3 (Foreground)
43 | //Storyboard Sound Samples
44 | //Background Colour Transformations
45 | 3,100,0,0,255
46 |
47 | [TimingPoints]
48 | 1585,392.156862745098,4,1,1,80,1,0
49 | 13932,333.333333333333,4,1,1,80,1,0
50 | 35265,-100,4,1,1,80,0,1
51 | 45930,-100,4,1,1,80,0,0
52 | 45931,-100,4,1,1,80,0,1
53 | 56598,-100,4,1,1,80,0,0
54 | 78015,-100,4,2,1,80,0,0
55 | 97681,-200,4,2,1,80,0,0
56 | 98181,-100,4,2,1,80,0,0
57 | 99098,-100,4,1,1,80,0,0
58 | 99265,-100,4,1,1,80,0,1
59 | 109930,-100,4,1,1,80,0,0
60 | 109931,-100,4,1,1,80,0,1
61 | 120598,-100,4,1,1,80,0,0
62 | 141931,-100,4,1,1,80,0,1
63 | 152597,-100,4,1,1,80,0,0
64 | 152598,-100,4,1,1,80,0,1
65 | 163264,-100,4,1,1,80,0,0
66 | 163265,-100,4,1,1,80,0,1
67 | 173930,-100,4,1,1,80,0,0
68 | 173931,-100,4,1,1,80,0,1
69 | 184598,-100,4,1,1,80,0,0
70 |
71 | [HitObjects]
72 | 480,32,13932,5,4
73 | 416,64,14098,1,0
74 | 352,32,14265,1,0
75 | 352,32,14348,1,0
76 | 288,64,14515,1,0
77 | 224,32,14682,1,0
78 | 160,64,14848,1,0
79 | 128,32,14932,1,8
80 | 96,64,15015,1,0
81 | 64,32,15098,1,0
82 | 32,64,15182,1,0
83 | 464,128,15348,5,0
84 | 432,160,15432,1,0
85 | 368,128,15598,1,0
86 | 336,160,15682,1,0
87 | 272,128,15848,1,0
88 | 208,160,16015,1,0
89 | 144,128,16182,1,0
90 | 112,160,16265,1,12
91 | 48,128,16432,1,0
92 | 480,224,16598,5,4
93 | 416,256,16765,1,0
94 | 352,224,16932,1,0
95 | 352,224,17015,1,0
96 | 288,256,17182,1,0
97 | 224,224,17348,1,0
98 | 160,256,17515,1,0
99 | 128,224,17598,1,8
100 | 96,256,17682,1,0
101 | 64,224,17765,1,0
102 | 32,256,17848,1,0
103 | 464,320,18015,5,0
104 | 432,352,18098,1,0
105 | 368,320,18265,1,0
106 | 336,352,18348,1,0
107 | 272,320,18515,1,0
108 | 208,352,18682,1,0
109 | 144,320,18848,1,0
110 | 112,352,18932,1,12
111 | 48,320,19098,1,0
112 | 32,64,19265,5,4
113 | 96,32,19432,1,0
114 | 160,64,19598,1,0
115 | 160,64,19682,1,0
116 | 224,32,19848,1,0
117 | 288,64,20015,1,0
118 | 352,32,20182,1,0
119 | 384,64,20265,1,12
120 | 416,32,20348,1,0
121 | 448,64,20432,1,0
122 | 480,32,20515,1,0
123 | 32,160,20598,5,4
124 | 64,128,20682,1,0
125 | 96,160,20765,1,0
126 | 160,128,20931,1,0
127 | 192,160,21015,1,0
128 | 256,128,21181,1,0
129 | 320,160,21348,1,0
130 | 384,128,21515,1,0
131 | 416,160,21598,1,12
132 | 480,128,21765,1,0
133 | 32,256,21931,5,4
134 | 96,224,22098,1,0
135 | 160,256,22265,1,0
136 | 160,256,22348,1,0
137 | 224,224,22515,1,0
138 | 256,256,22598,1,4
139 | 288,224,22681,1,0
140 | 352,256,22848,1,0
141 | 384,224,22931,1,8
142 | 416,256,23015,1,0
143 | 448,224,23098,1,0
144 | 480,256,23181,1,0
145 | 32,352,23265,5,4
146 | 64,320,23348,1,0
147 | 96,352,23431,1,0
148 | 160,320,23598,1,4
149 | 160,320,23681,1,0
150 | 224,352,23848,1,0
151 | 256,320,23931,1,4
152 | 288,352,24015,1,0
153 | 320,320,24098,1,0
154 | 352,352,24181,1,0
155 | 384,320,24265,1,8
156 | 416,352,24348,1,0
157 | 448,320,24431,1,0
158 | 480,352,24515,1,0
159 | 480,32,24598,6,0,C|480:128,1,96,4|0
160 | 416,32,24931,2,0,C|416:128,1,96
161 | 352,32,25265,2,0,C|352:128,1,96
162 | 288,32,25598,2,0,C|288:128,1,96,8|0
163 | 32,32,25931,6,0,C|32:128,1,96
164 | 96,32,26264,2,0,C|96:128,1,96
165 | 160,32,26598,2,0,C|160:128,1,96
166 | 224,32,26931,2,0,C|224:128,1,96,12|0
167 | 480,352,27265,6,0,C|480:256,1,96,4|0
168 | 416,352,27598,2,0,C|416:256,1,96
169 | 352,352,27932,2,0,C|352:256,1,96
170 | 288,352,28265,2,0,C|288:256,1,96,8|0
171 | 32,352,28598,6,0,C|32:256,1,96
172 | 96,352,28931,2,0,C|96:256,1,96
173 | 160,352,29265,2,0,C|160:256,1,96
174 | 224,352,29598,2,0,C|224:256,1,96,12|0
175 | 480,32,29931,6,0,C|384:32,1,96,4|0
176 | 480,96,30264,2,0,C|384:96,1,96
177 | 480,352,30598,6,0,C|384:352,1,96,0|0
178 | 480,288,30931,2,0,C|384:288,1,96,12|0
179 | 32,32,31264,6,0,C|128:32,1,96,4|0
180 | 32,96,31597,2,0,C|128:96,1,96
181 | 32,352,31931,6,0,C|128:352,1,96,0|0
182 | 32,288,32264,2,0,C|128:288,1,96,12|0
183 | 256,128,32598,6,0,C|256:32,1,96,4|0
184 | 320,192,32931,6,0,C|416:192,1,96
185 | 256,256,33265,6,0,C|256:352,1,96,4|0
186 | 192,192,33598,6,0,C|96:192,1,96,8|0
187 | 256,32,33931,6,0,C|256:128,1,96,4|0
188 | 416,192,34264,6,0,C|320:192,1,96,4|0
189 | 256,352,34598,6,0,C|256:256,1,96,4|0
190 | 96,192,34931,6,0,C|192:192,1,96,8|0
191 | 480,352,35265,5,4
192 | 480,288,35431,1,0
193 | 480,224,35598,1,8
194 | 448,224,35681,1,0
195 | 416,224,35765,1,0
196 | 416,160,35931,1,0
197 | 480,160,36098,1,0
198 | 480,96,36265,1,8
199 | 480,72,36348,1,0
200 | 480,48,36431,1,0
201 | 480,24,36515,1,0
202 | 288,352,36598,5,0
203 | 288,288,36765,1,0
204 | 288,224,36931,1,8
205 | 320,224,37015,1,0
206 | 352,224,37098,1,0
207 | 352,192,37181,1,0
208 | 352,160,37265,1,2
209 | 288,160,37431,1,2
210 | 288,96,37598,1,10
211 | 288,32,37765,1,2
212 | 32,352,37931,5,0
213 | 32,288,38098,1,0
214 | 32,224,38265,1,8
215 | 64,224,38348,1,0
216 | 96,224,38431,1,0
217 | 96,160,38598,1,0
218 | 32,160,38765,1,0
219 | 32,96,38932,1,8
220 | 32,72,39015,1,0
221 | 32,48,39098,1,0
222 | 32,24,39182,1,0
223 | 224,352,39265,5,0
224 | 224,288,39432,1,0
225 | 224,224,39598,1,8
226 | 192,224,39682,1,0
227 | 160,224,39765,1,0
228 | 160,192,39848,1,0
229 | 160,160,39932,1,2
230 | 224,160,40098,1,2
231 | 224,96,40265,1,10
232 | 224,32,40432,1,2
233 | 480,48,40598,5,4
234 | 416,48,40765,1,0
235 | 416,112,40932,1,8
236 | 416,144,41015,1,0
237 | 416,176,41098,1,0
238 | 480,176,41265,1,0
239 | 480,240,41432,1,0
240 | 416,240,41598,1,8
241 | 416,272,41682,1,0
242 | 416,304,41765,1,0
243 | 416,336,41848,1,0
244 | 288,48,41932,5,0
245 | 352,48,42098,1,0
246 | 352,112,42265,1,8
247 | 352,144,42348,1,0
248 | 352,176,42432,1,0
249 | 352,208,42515,1,0
250 | 352,240,42598,1,2
251 | 288,240,42765,2,0,C|288:272,3,32,2|0|0|10
252 | 288,336,43098,1,2
253 | 32,32,43265,5,6
254 | 96,128,43515,1,0
255 | 96,160,43598,1,8
256 | 96,192,43682,1,0
257 | 96,224,43765,1,0
258 | 32,224,43932,1,6
259 | 96,320,44182,1,0
260 | 96,352,44265,1,8
261 | 32,352,44432,1,0
262 | 224,32,44598,5,6
263 | 224,96,44765,1,0
264 | 192,96,44848,1,0
265 | 160,96,44932,1,14
266 | 160,160,45098,1,0
267 | 192,224,45265,2,0,L|210:240|192:256|174:272|192:288|209:304|192:320|173:336|192:352,1,192,6|8
268 | 480,32,45932,5,4
269 | 416,64,46098,1,0
270 | 352,32,46265,1,8
271 | 320,48,46348,1,0
272 | 288,64,46432,1,0
273 | 224,32,46598,1,0
274 | 160,64,46765,1,0
275 | 96,32,46932,1,8
276 | 72,48,47015,1,0
277 | 48,64,47098,1,0
278 | 24,48,47182,1,0
279 | 480,128,47265,5,0
280 | 416,160,47432,1,0
281 | 352,128,47598,1,8
282 | 320,144,47682,1,0
283 | 288,160,47765,1,0
284 | 256,144,47848,1,0
285 | 224,128,47932,1,2
286 | 160,160,48098,1,2
287 | 96,128,48265,1,10
288 | 32,160,48432,1,2
289 | 480,224,48598,5,0
290 | 416,256,48765,1,0
291 | 352,224,48932,1,8
292 | 320,240,49015,1,0
293 | 288,256,49098,1,0
294 | 224,224,49265,1,0
295 | 160,256,49432,1,0
296 | 96,224,49598,1,8
297 | 72,240,49682,1,0
298 | 48,256,49765,1,0
299 | 24,240,49848,1,0
300 | 480,320,49932,5,0
301 | 416,352,50098,1,0
302 | 352,320,50265,1,8
303 | 288,352,50348,1,0
304 | 256,336,50432,1,0
305 | 224,320,50515,1,0
306 | 192,336,50598,1,2
307 | 160,352,50765,1,2
308 | 96,320,50932,1,10
309 | 32,352,51098,1,2
310 | 32,64,51265,5,4
311 | 96,32,51432,1,0
312 | 160,64,51598,1,8
313 | 192,48,51681,1,0
314 | 224,32,51765,1,0
315 | 288,64,51932,1,0
316 | 352,32,52098,1,0
317 | 416,64,52265,1,8
318 | 440,48,52348,1,0
319 | 464,32,52432,1,0
320 | 488,48,52515,1,0
321 | 48,160,52598,5,4
322 | 112,128,52765,1,0
323 | 176,160,52932,1,8
324 | 208,144,53015,1,0
325 | 240,128,53098,1,0
326 | 272,144,53182,1,0
327 | 304,160,53265,1,2
328 | 368,128,53431,2,0,L|400:128,3,32,2|0|0|10
329 | 464,160,53765,1,2
330 | 32,256,53932,5,6
331 | 152,224,54182,1,0
332 | 184,240,54265,1,8
333 | 216,256,54348,1,0
334 | 248,240,54432,1,0
335 | 320,256,54598,1,6
336 | 384,224,54765,2,0,L|416:224,3,32,0|0|0|8
337 | 480,256,55098,1,0
338 | 32,352,55265,5,6
339 | 96,320,55432,1,0
340 | 160,352,55598,1,12
341 | 224,320,55765,1,0
342 | 256,336,55848,1,0
343 | 288,352,55932,1,4
344 | 320,336,56015,1,0
345 | 352,320,56098,1,0
346 | 384,336,56182,1,0
347 | 416,352,56265,1,12
348 | 480,320,56432,1,0
349 | 448,64,56598,5,4
350 | 384,96,56765,1,0
351 | 320,128,56932,1,0
352 | 320,128,57015,1,0
353 | 320,128,57098,1,0
354 | 192,64,57265,5,0
355 | 128,96,57432,1,0
356 | 64,128,57598,1,0
357 | 64,128,57682,1,0
358 | 64,128,57765,1,0
359 | 64,128,57848,1,0
360 | 448,256,57932,5,0
361 | 384,288,58098,1,0
362 | 320,320,58265,1,0
363 | 320,320,58348,1,0
364 | 320,320,58432,1,0
365 | 320,320,58515,1,0
366 | 320,320,58598,1,0
367 | 192,256,58765,5,0
368 | 128,288,58932,1,0
369 | 64,320,59098,1,0
370 | 64,64,59265,5,0
371 | 128,96,59432,1,0
372 | 192,128,59598,1,0
373 | 192,128,59682,1,0
374 | 192,128,59765,1,0
375 | 320,64,59932,5,0
376 | 384,96,60098,1,0
377 | 448,128,60265,1,0
378 | 448,128,60348,1,0
379 | 448,128,60432,1,0
380 | 448,128,60515,1,0
381 | 64,256,60598,5,0
382 | 128,288,60765,1,0
383 | 192,320,60932,1,0
384 | 192,320,61015,1,0
385 | 192,320,61098,1,0
386 | 192,320,61182,1,0
387 | 320,256,61265,5,0
388 | 384,288,61432,2,0,L|399:295|384:288,3,32
389 | 448,320,61765,1,0
390 | 32,192,61932,5,0
391 | 96,192,62098,1,0
392 | 128,192,62182,1,0
393 | 160,192,62265,1,0
394 | 480,192,62432,5,0
395 | 416,192,62598,1,0
396 | 384,192,62682,1,0
397 | 352,192,62765,1,0
398 | 256,32,62932,5,0
399 | 256,352,63098,5,0
400 | 480,32,63265,5,0
401 | 416,96,63432,1,0
402 | 32,32,63598,5,0
403 | 96,96,63765,1,0
404 | 32,352,63932,5,0
405 | 96,288,64098,1,0
406 | 480,352,64265,5,0
407 | 416,288,64432,1,0
408 | 256,192,64598,5,4
409 | 256,112,64765,1,0
410 | 256,32,64932,1,0
411 | 256,32,65015,1,0
412 | 256,32,65098,1,0
413 | 256,192,65265,5,4
414 | 176,192,65432,1,0
415 | 96,192,65598,1,0
416 | 96,192,65682,1,0
417 | 96,192,65765,1,0
418 | 96,192,65848,1,0
419 | 256,192,65932,5,4
420 | 256,272,66098,1,0
421 | 256,352,66265,1,4
422 | 256,352,66348,1,0
423 | 256,352,66432,1,0
424 | 256,352,66515,1,0
425 | 256,192,66598,5,4
426 | 336,192,66765,2,0,L|352:192|336:192,3,32
427 | 416,192,67098,1,0
428 | 32,32,67265,5,4
429 | 32,32,67432,1,0
430 | 96,96,67598,5,0
431 | 96,96,67682,1,0
432 | 96,96,67765,1,0
433 | 32,160,67932,5,0
434 | 32,160,68098,1,0
435 | 96,224,68265,5,0
436 | 96,224,68348,1,0
437 | 96,224,68432,1,0
438 | 96,224,68515,1,0
439 | 96,224,68598,1,0
440 | 32,288,68765,5,0
441 | 96,352,68932,5,0
442 | 96,352,69015,1,0
443 | 96,352,69098,1,0
444 | 96,352,69182,1,0
445 | 96,352,69265,1,0
446 | 224,352,69431,5,0
447 | 160,288,69598,5,0
448 | 224,224,69765,5,0
449 | 160,160,69932,5,0
450 | 160,160,70098,1,0
451 | 224,96,70265,5,0
452 | 224,96,70348,1,0
453 | 224,96,70432,1,0
454 | 160,32,70598,5,0
455 | 160,32,70765,1,0
456 | 288,32,70932,5,0
457 | 288,32,71015,1,0
458 | 288,32,71098,1,0
459 | 288,32,71182,1,0
460 | 288,32,71265,1,0
461 | 352,96,71432,5,0
462 | 288,160,71598,5,0
463 | 288,160,71682,1,0
464 | 288,160,71765,1,0
465 | 288,160,71848,1,0
466 | 288,160,71932,1,0
467 | 352,224,72098,6,0,L|363:236|352:224,3,32
468 | 288,288,72431,5,0
469 | 352,352,72598,5,4
470 | 480,352,72765,5,0
471 | 480,352,72848,1,0
472 | 480,352,72932,1,0
473 | 416,288,73098,5,0
474 | 480,224,73265,5,0
475 | 480,224,73348,1,0
476 | 480,224,73432,1,0
477 | 416,160,73598,5,0
478 | 480,96,73765,5,0
479 | 416,32,73932,5,4
480 | 96,32,74098,5,0
481 | 96,352,74265,5,0
482 | 416,352,74432,5,0
483 | 352,96,74598,5,0
484 | 160,96,74765,5,0
485 | 160,288,74932,5,4
486 | 352,288,75098,5,0
487 | 256,32,75265,5,4
488 | 256,32,75432,1,0
489 | 96,192,75598,5,0
490 | 96,192,75682,1,0
491 | 96,192,75765,1,0
492 | 256,352,75932,5,4
493 | 256,352,76098,1,0
494 | 416,192,76265,5,0
495 | 416,192,76348,1,0
496 | 416,192,76432,1,0
497 | 416,192,76515,1,0
498 | 416,192,76598,1,4
499 | 256,272,76765,5,0
500 | 336,192,76932,5,4
501 | 336,192,77015,1,0
502 | 336,192,77098,1,0
503 | 336,192,77182,1,0
504 | 336,192,77265,1,4
505 | 256,112,77432,5,0
506 | 176,192,77598,5,4
507 | 256,192,77765,5,0
508 | 32,32,77932,6,0,C|32:128,1,96,4|0
509 | 96,32,78265,2,0,C|96:128,1,96,2|0
510 | 160,32,78598,2,0,C|160:128,1,96,2|0
511 | 224,32,78932,1,2
512 | 288,32,79098,1,2
513 | 480,32,79431,5,0
514 | 480,32,79598,2,0,C|480:128,1,96,2|0
515 | 416,32,79931,2,0,C|416:128,1,96,2|0
516 | 352,32,80265,2,0,C|352:128,1,96,2|0
517 | 480,352,80598,6,0,C|480:256,1,96,2|0
518 | 416,352,80931,2,0,C|416:256,1,96,2|0
519 | 352,352,81265,2,0,C|352:256,1,96,2|0
520 | 288,352,81598,1,2
521 | 224,352,81765,1,2
522 | 32,352,82098,5,0
523 | 32,352,82265,2,0,C|32:256,1,96,2|0
524 | 96,352,82598,2,0,C|96:256,1,96,2|0
525 | 160,352,82931,1,2
526 | 224,352,83098,1,2
527 | 32,32,83265,6,0,C|128:32,1,96,2|0
528 | 32,96,83598,2,0,C|128:96,1,96,2|0
529 | 32,160,83931,2,0,C|128:160,1,96,2|0
530 | 192,128,84265,1,2
531 | 192,64,84431,1,2
532 | 480,32,84765,5,0
533 | 480,32,84931,2,0,C|384:32,1,96,2|0
534 | 480,96,85265,2,0,C|384:96,1,96,2|0
535 | 480,160,85598,2,0,C|384:160,1,96,2|0
536 | 192,352,85931,6,0,C|192:256,1,96,6|0
537 | 256,352,86265,2,0,C|256:256,1,96,2|0
538 | 320,352,86598,2,0,C|320:256,1,96,6|0
539 | 288,192,86931,1,2
540 | 224,192,87098,1,2
541 | 32,352,87265,5,4
542 | 32,32,87598,5,4
543 | 480,32,87931,5,4
544 | 480,352,88265,5,2
545 | 256,352,88431,5,2
546 | 192,32,88598,6,0,C|192:128,1,96,6|0
547 | 256,32,88931,2,0,C|256:128,1,96,2|0
548 | 320,32,89265,2,0,C|320:128,1,96,2|0
549 | 288,192,89598,1,2
550 | 224,192,89765,1,2
551 | 32,352,90098,5,0
552 | 32,352,90265,2,0,C|32:256,1,96,2|0
553 | 96,352,90598,2,0,C|96:256,1,96,2|0
554 | 160,352,90931,1,2
555 | 160,256,91098,1,2
556 | 480,352,91265,6,0,C|480:256,1,96,2|0
557 | 416,352,91598,2,0,C|416:256,1,96,2|0
558 | 352,352,91931,1,2
559 | 352,352,92098,2,0,C|352:256,1,96,2|0
560 | 416,192,92431,1,2
561 | 32,32,92765,5,0
562 | 32,32,92931,2,0,C|128:32,1,96,2|0
563 | 32,96,93265,2,0,C|128:96,1,96,2|0
564 | 32,160,93598,2,0,C|128:160,1,96,2|0
565 | 480,32,93931,6,0,C|384:32,1,96,6|0
566 | 480,96,94265,2,0,C|384:96,1,96,2|0
567 | 480,160,94598,2,0,C|384:160,1,96,2|0
568 | 480,224,94931,1,2
569 | 480,224,95098,2,0,C|384:224,1,96,2|4
570 | 480,352,95431,5,0
571 | 480,352,95598,2,0,C|384:352,1,96,2|0
572 | 480,288,95931,2,0,C|384:288,1,96,2|0
573 | 320,352,96265,1,2
574 | 320,288,96431,1,2
575 | 32,352,96598,6,0,C|128:352,2,96,6|0|0
576 | 32,288,97098,1,2
577 | 32,288,97265,2,0,C|128:288,1,96,6|0
578 | 32,224,97598,1,2
579 | 32,224,97765,2,0,C|128:224,1,96,6|0
580 | 256,32,98265,5,6
581 | 256,96,98431,1,2
582 | 256,160,98598,2,0,C|256:352,1,192,6|4
583 | 480,32,99265,5,4
584 | 448,96,99431,1,0
585 | 416,160,99598,1,8
586 | 416,160,99681,1,0
587 | 416,160,99765,1,0
588 | 448,224,99931,1,0
589 | 480,288,100098,1,0
590 | 448,352,100265,1,8
591 | 448,352,100348,1,0
592 | 448,352,100431,1,0
593 | 448,352,100515,1,0
594 | 448,352,100598,1,0
595 | 320,352,100765,5,0
596 | 352,288,100931,1,8
597 | 320,272,101015,1,0
598 | 288,256,101098,1,0
599 | 320,240,101181,1,0
600 | 352,224,101265,1,2
601 | 320,160,101431,1,2
602 | 288,96,101598,1,10
603 | 320,32,101765,1,2
604 | 32,352,101931,5,0
605 | 64,288,102098,1,0
606 | 96,224,102265,1,8
607 | 96,224,102348,1,0
608 | 96,224,102431,1,0
609 | 64,160,102598,1,0
610 | 32,96,102765,1,0
611 | 64,32,102931,1,8
612 | 64,32,103015,1,0
613 | 64,32,103098,1,0
614 | 64,32,103181,1,0
615 | 64,32,103265,1,0
616 | 192,32,103431,5,0
617 | 160,96,103598,1,8
618 | 192,112,103681,1,0
619 | 224,128,103765,1,0
620 | 192,144,103848,1,0
621 | 160,160,103931,1,2
622 | 192,224,104098,1,2
623 | 224,288,104265,1,10
624 | 192,352,104431,1,2
625 | 480,352,104598,5,4
626 | 416,320,104765,1,0
627 | 384,256,104931,1,8
628 | 384,256,105015,1,0
629 | 384,256,105098,1,0
630 | 416,192,105265,1,0
631 | 480,160,105431,1,0
632 | 480,96,105598,1,8
633 | 448,80,105681,1,0
634 | 416,64,105765,1,0
635 | 448,48,105848,1,0
636 | 480,32,105931,1,0
637 | 320,32,106098,5,0
638 | 288,96,106265,1,8
639 | 304,120,106348,1,0
640 | 320,144,106431,1,0
641 | 304,168,106515,1,0
642 | 288,192,106598,1,2
643 | 320,256,106765,2,0,C|320:288,3,32,2|0|0|10
644 | 288,352,107098,1,2
645 | 32,32,107265,5,6
646 | 112,112,107515,1,0
647 | 80,128,107598,1,8
648 | 48,144,107681,1,0
649 | 32,176,107765,1,0
650 | 104,208,107931,1,6
651 | 32,296,108181,1,0
652 | 48,328,108265,1,8
653 | 112,352,108431,1,0
654 | 224,352,108598,5,6
655 | 176,304,108765,1,0
656 | 208,288,108848,1,0
657 | 176,272,108931,1,14
658 | 224,224,109098,1,0
659 | 192,160,109265,2,0,L|210:144|192:128|174:112|192:96|209:80|192:64|173:48|192:32,1,192,6|8
660 | 464,352,109931,5,4
661 | 432,288,110098,1,0
662 | 400,224,110265,1,8
663 | 400,224,110348,1,0
664 | 400,224,110431,1,0
665 | 464,32,110598,5,0
666 | 432,96,110765,1,0
667 | 400,160,110931,1,8
668 | 400,160,111015,1,0
669 | 400,160,111098,1,0
670 | 400,160,111181,1,0
671 | 368,352,111265,5,0
672 | 336,288,111431,1,0
673 | 304,224,111598,1,8
674 | 304,224,111681,1,0
675 | 304,224,111765,1,0
676 | 304,224,111848,1,0
677 | 304,224,111931,1,2
678 | 368,32,112098,5,2
679 | 336,96,112265,1,10
680 | 304,160,112431,1,2
681 | 48,352,112598,5,0
682 | 80,288,112765,1,0
683 | 112,224,112931,1,8
684 | 112,224,113015,1,0
685 | 112,224,113098,1,0
686 | 48,32,113265,5,0
687 | 80,96,113431,1,0
688 | 112,160,113598,1,8
689 | 112,160,113681,1,0
690 | 112,160,113765,1,0
691 | 112,160,113848,1,0
692 | 144,352,113931,5,0
693 | 176,288,114098,1,0
694 | 208,224,114265,1,8
695 | 208,224,114348,1,0
696 | 208,224,114431,1,0
697 | 208,224,114515,1,0
698 | 208,224,114598,1,2
699 | 144,32,114765,5,2
700 | 176,96,114931,1,10
701 | 208,160,115098,1,2
702 | 448,64,115265,5,4
703 | 384,96,115431,1,0
704 | 320,128,115598,1,8
705 | 320,128,115681,1,0
706 | 320,128,115765,1,0
707 | 448,320,115931,5,0
708 | 384,288,116098,1,0
709 | 320,256,116265,1,8
710 | 320,256,116348,1,0
711 | 320,256,116431,1,0
712 | 320,256,116515,1,0
713 | 64,320,116598,5,4
714 | 128,288,116765,1,0
715 | 192,256,116931,1,8
716 | 192,256,117015,1,0
717 | 192,256,117098,1,0
718 | 192,256,117181,1,0
719 | 64,64,117265,5,2
720 | 128,96,117431,2,0,L|142:104|128:96,3,32,2|0|0|10
721 | 192,128,117765,1,2
722 | 480,192,117931,5,6
723 | 392,192,118181,1,0
724 | 368,192,118265,1,8
725 | 344,192,118348,1,0
726 | 320,192,118431,1,0
727 | 32,192,118598,5,6
728 | 96,192,118765,2,0,C|128:192,3,32,0|0|0|8
729 | 192,192,119098,1,0
730 | 256,352,119265,5,6
731 | 256,288,119431,1,0
732 | 256,224,119598,1,12
733 | 256,32,119765,5,0
734 | 256,40,119848,1,0
735 | 256,48,119931,1,4
736 | 256,56,120015,1,0
737 | 256,64,120098,1,0
738 | 256,72,120181,1,0
739 | 256,80,120265,1,12
740 | 256,160,120431,1,0
741 | 32,320,120598,5,4
742 | 96,352,120765,1,0
743 | 160,320,120931,1,0
744 | 160,320,121015,1,0
745 | 224,352,121181,1,0
746 | 288,320,121348,1,0
747 | 352,352,121515,1,0
748 | 384,320,121598,1,8
749 | 416,352,121681,1,0
750 | 448,320,121765,1,0
751 | 480,352,121848,1,0
752 | 48,224,122015,5,0
753 | 80,256,122098,1,0
754 | 144,224,122265,1,0
755 | 176,256,122348,1,0
756 | 240,224,122515,1,0
757 | 304,256,122681,1,0
758 | 368,224,122848,1,0
759 | 400,256,122931,1,12
760 | 464,224,123098,1,0
761 | 32,128,123265,5,4
762 | 96,160,123431,1,0
763 | 160,128,123598,1,0
764 | 160,128,123681,1,0
765 | 224,160,123848,1,0
766 | 288,128,124015,1,0
767 | 352,160,124181,1,0
768 | 384,128,124265,1,8
769 | 416,160,124348,1,0
770 | 448,128,124431,1,0
771 | 480,160,124515,1,0
772 | 48,32,124681,5,0
773 | 80,64,124765,1,0
774 | 144,32,124931,1,0
775 | 176,64,125015,1,0
776 | 240,32,125181,1,0
777 | 304,64,125348,1,0
778 | 368,32,125515,1,0
779 | 400,64,125598,1,12
780 | 464,32,125765,1,0
781 | 480,352,125931,5,4
782 | 416,320,126098,1,0
783 | 352,352,126265,1,0
784 | 352,352,126348,1,0
785 | 288,320,126515,1,0
786 | 224,352,126681,1,0
787 | 160,320,126848,1,0
788 | 128,352,126931,1,8
789 | 96,320,127015,1,0
790 | 64,352,127098,1,0
791 | 32,320,127181,1,0
792 | 464,256,127348,5,0
793 | 432,224,127431,1,0
794 | 368,256,127598,1,0
795 | 336,224,127681,1,0
796 | 272,256,127848,1,0
797 | 208,224,128015,1,0
798 | 144,256,128181,1,0
799 | 112,224,128265,1,12
800 | 48,256,128431,1,0
801 | 480,160,128598,5,4
802 | 416,128,128765,1,0
803 | 352,160,128931,1,0
804 | 352,160,129015,1,0
805 | 288,128,129181,1,0
806 | 224,160,129348,1,0
807 | 160,128,129515,1,0
808 | 128,160,129598,1,8
809 | 96,128,129681,1,0
810 | 64,160,129765,1,0
811 | 32,128,129848,1,0
812 | 480,64,130015,5,0
813 | 448,32,130098,1,0
814 | 384,64,130265,1,0
815 | 352,32,130348,1,0
816 | 288,64,130515,1,0
817 | 256,32,130598,1,4
818 | 224,64,130681,1,0
819 | 192,32,130765,1,0
820 | 160,64,130848,1,0
821 | 128,32,130931,1,12
822 | 96,64,131015,1,0
823 | 64,32,131098,1,0
824 | 32,64,131181,1,0
825 | 32,352,131265,5,4
826 | 96,288,131431,5,0
827 | 160,352,131598,5,0
828 | 160,352,131681,1,0
829 | 224,288,131848,5,0
830 | 288,352,132015,5,0
831 | 352,288,132181,5,0
832 | 352,288,132265,1,8
833 | 352,288,132348,1,0
834 | 352,288,132431,1,0
835 | 352,288,132515,1,0
836 | 416,352,132681,5,0
837 | 416,352,132765,1,0
838 | 480,288,132931,5,0
839 | 480,288,133015,1,0
840 | 480,160,133181,5,0
841 | 416,224,133348,5,0
842 | 352,160,133515,5,0
843 | 352,160,133598,1,12
844 | 288,224,133765,5,0
845 | 224,160,133931,5,4
846 | 160,224,134098,5,0
847 | 96,160,134265,5,0
848 | 96,160,134348,1,0
849 | 32,224,134515,5,0
850 | 32,96,134681,5,0
851 | 96,32,134848,5,0
852 | 96,32,134931,1,8
853 | 96,32,135015,1,0
854 | 96,32,135098,1,0
855 | 96,32,135181,1,0
856 | 160,96,135348,5,0
857 | 160,96,135431,1,0
858 | 224,32,135598,5,0
859 | 224,32,135681,1,0
860 | 288,96,135848,5,0
861 | 352,32,136015,5,0
862 | 416,96,136181,5,0
863 | 416,96,136265,1,12
864 | 480,32,136431,5,0
865 | 480,320,136598,5,4
866 | 352,320,136765,5,0
867 | 224,320,136931,5,0
868 | 224,320,137015,1,0
869 | 96,320,137181,5,0
870 | 32,256,137348,5,0
871 | 160,256,137515,5,0
872 | 160,256,137598,1,12
873 | 160,256,137681,1,0
874 | 160,256,137765,1,0
875 | 160,256,137848,1,0
876 | 160,256,137931,1,4
877 | 160,256,138015,1,0
878 | 160,256,138098,1,0
879 | 288,256,138265,5,0
880 | 288,256,138348,1,0
881 | 416,256,138515,5,0
882 | 480,192,138681,5,0
883 | 352,192,138848,5,0
884 | 352,192,138931,1,12
885 | 224,192,139098,5,0
886 | 96,192,139265,5,4
887 | 32,128,139431,5,0
888 | 160,128,139598,5,0
889 | 160,128,139681,1,0
890 | 288,128,139848,5,0
891 | 288,128,139931,1,4
892 | 288,128,140015,1,0
893 | 416,128,140181,5,0
894 | 416,128,140265,1,8
895 | 416,128,140348,1,0
896 | 416,128,140431,1,0
897 | 416,128,140515,1,0
898 | 480,64,140598,5,4
899 | 480,64,140681,1,0
900 | 480,64,140765,1,0
901 | 352,64,140931,5,4
902 | 352,64,141015,1,0
903 | 224,64,141181,5,0
904 | 224,64,141265,1,4
905 | 224,64,141348,1,0
906 | 96,64,141515,5,0
907 | 96,64,141598,1,8
908 | 96,64,141681,1,0
909 | 96,64,141765,1,0
910 | 96,64,141848,1,0
911 | 16,352,141931,5,4
912 | 64,304,142098,1,0
913 | 112,256,142265,1,8
914 | 112,256,142348,1,0
915 | 112,256,142431,1,0
916 | 160,304,142598,1,0
917 | 208,352,142765,1,0
918 | 256,304,142931,1,8
919 | 256,304,143015,1,0
920 | 256,304,143098,1,0
921 | 256,304,143181,1,0
922 | 256,304,143265,1,0
923 | 304,256,143431,1,0
924 | 352,304,143598,1,8
925 | 352,304,143681,1,0
926 | 352,304,143765,1,0
927 | 352,304,143848,1,0
928 | 352,304,143931,1,2
929 | 400,352,144098,1,2
930 | 448,304,144265,1,10
931 | 496,256,144431,1,2
932 | 496,32,144598,5,0
933 | 448,80,144765,1,0
934 | 400,128,144931,1,8
935 | 400,128,145015,1,0
936 | 400,128,145098,1,0
937 | 352,80,145265,1,0
938 | 304,32,145431,1,0
939 | 256,80,145598,1,8
940 | 256,80,145681,1,0
941 | 256,80,145765,1,0
942 | 256,80,145848,1,0
943 | 256,80,145931,1,0
944 | 208,128,146098,1,0
945 | 160,80,146265,1,8
946 | 160,80,146348,1,0
947 | 160,80,146431,1,0
948 | 160,80,146515,1,0
949 | 160,80,146598,1,2
950 | 112,32,146765,1,2
951 | 64,80,146931,1,10
952 | 16,128,147098,1,2
953 | 480,256,147265,5,4
954 | 448,320,147431,1,0
955 | 384,352,147598,1,8
956 | 384,352,147681,1,0
957 | 384,352,147765,1,0
958 | 320,320,147931,1,0
959 | 288,256,148098,1,0
960 | 256,320,148265,1,8
961 | 256,320,148348,1,0
962 | 256,320,148431,1,0
963 | 256,320,148515,1,0
964 | 256,320,148598,1,0
965 | 192,352,148765,1,0
966 | 128,320,148931,1,8
967 | 128,320,149015,1,0
968 | 128,320,149098,1,0
969 | 128,320,149181,1,0
970 | 128,320,149265,1,2
971 | 96,256,149431,2,0,C|64:288,3,32,2|0|0|10
972 | 32,352,149765,1,2
973 | 32,160,149931,5,6
974 | 96,64,150181,1,0
975 | 96,64,150265,1,8
976 | 96,64,150348,1,0
977 | 96,64,150431,1,0
978 | 160,64,150598,1,6
979 | 224,160,150848,1,0
980 | 224,160,150931,1,8
981 | 288,160,151098,1,0
982 | 256,96,151265,1,6
983 | 224,32,151431,1,0
984 | 224,32,151515,1,0
985 | 224,32,151598,1,14
986 | 288,32,151765,1,0
987 | 352,64,151931,2,0,L|368:82|384:64|400:46|416:64|432:81|448:64|464:45|480:64,1,192,6|8
988 | 16,352,152598,5,4
989 | 80,320,152765,1,0
990 | 144,288,152931,1,8
991 | 176,272,153015,1,0
992 | 208,256,153098,1,0
993 | 272,224,153265,1,0
994 | 336,192,153431,1,0
995 | 400,160,153598,1,8
996 | 432,144,153681,1,0
997 | 464,128,153765,1,0
998 | 496,112,153848,1,0
999 | 480,32,153931,5,0
1000 | 416,64,154098,1,0
1001 | 352,96,154265,1,8
1002 | 320,112,154348,1,0
1003 | 288,128,154431,1,0
1004 | 256,144,154515,1,0
1005 | 224,160,154598,1,2
1006 | 160,192,154765,1,2
1007 | 96,224,154931,1,10
1008 | 32,256,155098,1,2
1009 | 496,352,155265,5,0
1010 | 432,320,155431,1,0
1011 | 368,288,155598,1,8
1012 | 336,272,155681,1,0
1013 | 304,256,155765,1,0
1014 | 240,224,155931,1,0
1015 | 176,192,156098,1,0
1016 | 112,160,156265,1,8
1017 | 80,144,156348,1,0
1018 | 48,128,156431,1,0
1019 | 16,112,156515,1,0
1020 | 32,32,156598,5,0
1021 | 96,64,156765,1,0
1022 | 160,96,156931,1,8
1023 | 192,112,157015,1,0
1024 | 224,128,157098,1,0
1025 | 256,144,157182,1,0
1026 | 288,160,157265,1,2
1027 | 352,192,157432,1,2
1028 | 416,224,157598,1,10
1029 | 480,256,157765,1,2
1030 | 32,352,157932,5,4
1031 | 96,320,158098,1,0
1032 | 128,256,158265,1,8
1033 | 128,256,158348,1,0
1034 | 128,256,158432,1,0
1035 | 96,192,158598,1,0
1036 | 32,160,158765,1,0
1037 | 32,96,158932,1,8
1038 | 64,80,159015,1,0
1039 | 96,64,159098,1,0
1040 | 64,48,159182,1,0
1041 | 32,32,159265,1,4
1042 | 224,352,159431,5,0
1043 | 224,288,159598,1,8
1044 | 208,256,159682,1,0
1045 | 192,224,159765,1,0
1046 | 208,192,159848,1,0
1047 | 224,160,159932,1,2
1048 | 176,112,160098,2,0,C|176:80,3,32,2|0|0|10
1049 | 224,32,160432,1,2
1050 | 480,32,160598,5,6
1051 | 416,128,160848,1,0
1052 | 416,144,160932,1,8
1053 | 416,160,161015,1,0
1054 | 416,176,161098,1,0
1055 | 480,208,161265,1,6
1056 | 416,304,161515,1,0
1057 | 416,320,161598,1,8
1058 | 480,352,161765,1,4
1059 | 288,32,161932,5,2
1060 | 352,64,162098,1,2
1061 | 352,96,162182,1,2
1062 | 352,128,162265,1,14
1063 | 288,160,162432,1,2
1064 | 320,224,162598,2,0,L|302:240|320:256|338:272|320:288|303:304|320:320|339:336|320:352,1,192,6|8
1065 | 32,352,163265,5,4
1066 | 32,288,163432,1,0
1067 | 32,224,163598,5,8
1068 | 32,192,163682,1,0
1069 | 32,160,163765,1,0
1070 | 32,96,163932,5,0
1071 | 32,32,164098,1,0
1072 | 160,352,164265,5,8
1073 | 160,320,164348,1,0
1074 | 160,288,164432,1,0
1075 | 160,256,164515,1,0
1076 | 160,224,164598,1,0
1077 | 96,192,164765,5,0
1078 | 160,160,164932,5,8
1079 | 160,128,165015,1,0
1080 | 160,96,165098,1,0
1081 | 160,64,165182,1,0
1082 | 160,32,165265,1,2
1083 | 224,352,165431,5,2
1084 | 224,192,165598,5,10
1085 | 224,32,165765,5,2
1086 | 480,352,165932,5,0
1087 | 480,288,166098,1,0
1088 | 480,224,166265,5,8
1089 | 480,192,166348,1,0
1090 | 480,160,166432,1,0
1091 | 480,96,166598,5,0
1092 | 480,32,166765,1,0
1093 | 352,352,166931,5,8
1094 | 352,320,167015,1,0
1095 | 352,288,167098,1,0
1096 | 352,256,167182,1,0
1097 | 352,224,167265,1,0
1098 | 416,192,167432,5,0
1099 | 352,160,167598,5,8
1100 | 352,128,167682,1,0
1101 | 352,96,167765,1,0
1102 | 352,64,167848,1,0
1103 | 352,32,167932,1,2
1104 | 288,352,168098,5,2
1105 | 288,192,168265,5,10
1106 | 288,32,168432,5,2
1107 | 32,32,168598,5,4
1108 | 32,96,168765,1,0
1109 | 32,160,168932,5,8
1110 | 32,192,169015,1,0
1111 | 32,224,169098,1,0
1112 | 32,288,169265,5,0
1113 | 32,352,169432,1,0
1114 | 160,32,169598,5,8
1115 | 160,64,169682,1,0
1116 | 160,96,169765,1,0
1117 | 160,128,169848,1,0
1118 | 160,160,169931,1,0
1119 | 224,32,170098,5,0
1120 | 160,224,170265,5,8
1121 | 160,256,170348,1,0
1122 | 160,288,170432,1,0
1123 | 160,320,170515,1,0
1124 | 160,352,170598,1,2
1125 | 96,192,170765,6,0,L|112:192|96:192,3,32,2|0|0|10
1126 | 224,352,171098,5,2
1127 | 224,192,171265,5,6
1128 | 464,32,171515,5,0
1129 | 432,32,171598,1,8
1130 | 400,32,171682,1,0
1131 | 368,32,171765,1,0
1132 | 304,32,171932,5,6
1133 | 432,96,172182,5,0
1134 | 400,96,172265,1,8
1135 | 336,96,172431,5,0
1136 | 480,160,172598,5,6
1137 | 416,160,172765,5,0
1138 | 384,160,172848,1,0
1139 | 352,160,172932,1,14
1140 | 288,160,173098,5,0
1141 | 384,224,173265,6,0,L|366:240|384:256|402:272|384:288|367:304|384:320|403:336|384:352,1,192,6|8
1142 | 16,336,173932,5,4
1143 | 16,240,174098,5,0
1144 | 16,144,174265,5,8
1145 | 16,48,174348,5,0
1146 | 48,336,174432,5,0
1147 | 48,240,174598,5,0
1148 | 48,144,174765,5,0
1149 | 48,48,174932,5,8
1150 | 80,336,175015,5,0
1151 | 80,240,175098,5,0
1152 | 80,144,175182,5,0
1153 | 80,48,175265,5,0
1154 | 112,336,175432,5,0
1155 | 112,240,175598,5,8
1156 | 112,144,175682,5,0
1157 | 112,48,175765,5,0
1158 | 144,336,175848,5,0
1159 | 144,240,175932,5,2
1160 | 144,144,176098,5,2
1161 | 144,48,176265,5,10
1162 | 176,336,176432,5,2
1163 | 176,240,176598,5,0
1164 | 176,144,176765,5,0
1165 | 176,48,176932,5,8
1166 | 208,336,177015,5,0
1167 | 208,240,177098,5,0
1168 | 208,144,177265,5,0
1169 | 208,48,177432,5,0
1170 | 240,336,177598,5,8
1171 | 240,240,177682,5,0
1172 | 240,144,177765,5,0
1173 | 240,48,177848,5,0
1174 | 272,336,177932,5,0
1175 | 272,240,178098,5,0
1176 | 272,144,178265,5,8
1177 | 272,48,178348,5,0
1178 | 304,336,178432,5,0
1179 | 304,240,178515,5,0
1180 | 304,144,178598,5,2
1181 | 304,48,178765,5,2
1182 | 336,336,178932,5,10
1183 | 336,240,179098,5,2
1184 | 336,144,179265,5,4
1185 | 336,48,179598,5,8
1186 | 368,336,179765,5,0
1187 | 368,240,179848,5,0
1188 | 368,144,179932,5,0
1189 | 368,48,180015,5,0
1190 | 400,336,180098,5,2
1191 | 400,240,180265,5,10
1192 | 400,144,180432,5,2
1193 | 400,48,180598,5,4
1194 | 432,336,180765,5,0
1195 | 432,240,180848,5,0
1196 | 432,144,180932,5,10
1197 | 432,48,181098,5,0
1198 | 464,336,181182,5,0
1199 | 464,240,181265,5,0
1200 | 464,144,181348,5,0
1201 | 464,48,181432,5,0
1202 | 496,336,181515,5,0
1203 | 496,240,181598,5,10
1204 | 496,144,181765,5,2
1205 | 496,48,181932,5,4
1206 | 32,48,182182,5,0
1207 | 32,144,182265,5,8
1208 | 32,240,182348,5,0
1209 | 32,336,182432,5,0
1210 | 32,48,182598,5,4
1211 | 32,144,182765,5,0
1212 | 32,240,182848,5,0
1213 | 32,336,182932,5,10
1214 | 32,48,183098,5,0
1215 | 256,128,183265,6,0,C|256:32,1,96,4|0
1216 | 320,192,183598,6,0,C|416:192,1,96,12|0
1217 | 256,256,183932,6,0,C|256:352,1,96,4|0
1218 | 192,192,184265,6,0,C|96:192,1,96,12|0
1219 | 256,192,184598,5,4
--------------------------------------------------------------------------------
/test_draw.py:
--------------------------------------------------------------------------------
1 | import turtle
2 | import time
3 | from osu_parser.beatmap import Beatmap
4 |
5 | beatmap = Beatmap("test.osu")
6 |
7 | wn = turtle.Screen()
8 | tur = turtle.Turtle()
9 | tur.penup()
10 | tur.speed(2)
11 |
12 | for hitobject in beatmap.hitobjects:
13 | tur.goto(hitobject.x, -hitobject.y)
14 | tur.pendown()
15 | tur.pencolor("red")
16 | if 2 & hitobject.type:
17 | tur.dot(6)
18 | print(hitobject.timing_point)
19 | #for point in hitobject.path:
20 | #tur.goto(point.x, -point.y)
21 | #time.sleep(0.1)
22 | print("time: {}, x: {}, y: {}, type: sliderStart, duration: {}, repeat: {}, ticks: {}".format(hitobject.time, hitobject.x, hitobject.y, hitobject.duration, hitobject.repeat, len(hitobject.ticks)))
23 |
24 | i = 0
25 | for tick in hitobject.ticks:
26 | tur.goto(tick.x, -tick.y)
27 | print("time: {}, x: {}, y: {}, type: tick, num: {}".format(tick.time, tick.x, tick.y, i))
28 | time.sleep(0.5)
29 | i += 1
30 | tur.dot(6, "black")
31 |
32 | i = 0
33 | for end_tick in hitobject.end_ticks:
34 | tur.goto(end_tick.x, -end_tick.y)
35 | print("time: {}, x: {}, y: {}, type: end_tick, num: {}".format(end_tick.time, end_tick.x, end_tick.y, i))
36 | time.sleep(0.5)
37 | i += 1
38 | tur.dot(6, "gray")
39 |
40 | #tur.goto(hitobject.end.x, -hitobject.end.y)
41 | #print("time: {}, x: {}, y: {}, type: sliderEnd".format(hitobject.end.time, hitobject.end.x, hitobject.end.y))
42 | tur.pencolor("green")
43 | tur.dot(6)
44 | else:
45 | tur.pencolor("blue")
46 | tur.dot(6)
47 | print("time: {}, x: {}, y: {}, type: hitCircle".format(hitobject.time, hitobject.x, hitobject.y))
48 | tur.penup()
49 |
50 | wn.exitonclick()
--------------------------------------------------------------------------------