forum

Osu File Format

posted
Total Posts
3
Topic Starter
Aaron
Hey I was wondering how I would go about getting the amount of repeats in a slider, and the end time from the osu file.
I must be overlooking something, getting the start time is pretty easy ofcourse but yeah..

I was experimenting with VB building a tool to convert osu map data to work with my other rhythem game project but only
got hit circles working at the moment =p

Any help greatly appreciated, ofc =)

Thanks guys
Ruirize
I do in fact have a full .osu reader class written in C#. However, sliders are a lot more complex than you may think. Hitobjects are nice in the sense that they only have a time value that defines where they are. Sliders also have a start, but they do not have an ending time, as this is governed by the length of the slider and what BPM the map is currently at. On top of this, you also have to account for the number of repetitions.

If you want help deciphering them, add 'Ruirize' on Skype; I will be more than happy to help you out.

Another thing to be aware of is how the sliders actually work. The curve that defines them is either 'Bezier' or 'Cubic'. If you're looking to clone the slider, or get the slider's path, be prepared to deal with some relatively complex math.

http://www.youtube.com/playlist?list=PLFB1740DB3002CE65
This is a link to a playlist on Youtube that shows my .osu reader in action; The program allows you to choose a .osu file, and it then creates a visualization based on the audio playing as well as the objects that make up the map. The BPM of the map is also calculated and taken into account.
Topic Starter
Aaron
I've pretty much finished my .osu reader now in c++, but the timing for some maps still seems a little bit off sometimes, but some maps are perfect, this can also apply to single hits. Still looking into it but is there anything you think I might be missing?

I was thinking it had something to do with the BPM changes in the editor at runtime, but i'm not sure what they even do. (The bubble on the timeline that says something like BPM:0.9x)

Thanks! =)
Please sign in to reply.

New reply