llllllllll / slider

Utilities for working with osu! files and data
https://llllllllll.github.io/slider/index.html
GNU Lesser General Public License v3.0
39 stars 17 forks source link

add support for catmull sliders #74

Closed tybug closed 4 years ago

tybug commented 4 years ago

closes #20

I'm not 100% on the correctness of this implementation, but at the very least it isn't totally wrong, and that's better than the 0 support we have right now.

The script I used for testing (requires circleguard and circlevis):

from circleguard import *
from circlevis import *

cg = Circleguard("key")
# uncomment one of the below to use that one for testing
# r = ReplayPath("/Users/tybug/Desktop/catmull-jxu.osr") # at t 1478 and 6812, 2 control points each
r = ReplayPath("/Users/tybug/Desktop/catmull-www.osr") # at t 42000, 12 control points
cg.load(r)

bm = BeatmapInfo(map_id=r.map_id)
vis = VisualizerApp(bm, [r])
vis.exec()

And here are the two replays in question: catmull replays.zip

image