forum

osr file specification

posted
Total Posts
2
Topic Starter
maboesanman
first, I'm not exactly sure if this is the correct place for this, please let me know if it isn't.

I've been messing around with the osr file specification found here: https://osu.ppy.sh/wiki/Osr_(file_format), and, more specifically, parsing it in a java app.

the problem that I'm running into is that it seems the uleb128 which denotes the length of the performance graph data seems to mismatch the actual length. I read it as (in binary) 11110000 00000101, which converts to 14469.

14469 bytes seems like a lot of data for just the performance graph, then if i actually try to get this string, i get the desired string, followed by gibberish, ao the problem, it seems, is that the uleb128 is not encoded in the way I think it is. (but it works perfectly in the other locations in the file for me)

any suggestions?
is the wiki page up to date?
Topic Starter
maboesanman
now I feel foolish. I was reading the bytes in the improper order.
Please sign in to reply.

New reply