Bad grammar incoming
I'm trying to parse osu replay files, like this python code do https://github.com/kszlim/osu-replay-parser. I used this wiki page as main source of information https://osu.ppy.sh/wiki/Osr_(file_format).
Everything works fine and i'm getting exactly same results, but i've noticed that there are always 1 or 2 records in "Compressed replay data", that have x:256 y:-500 coords. Looks like it shouldn't be there? I can ignore that, but it is not the only one problem.
There are records with negative "Time after since the previous action" (for example, -10ms or even -12s+), how it should be interpreted?
And, finally: limits for coordinates on wiki page (x:0-512 y:0-384) are wrong, and these values differ, when replay was recorded on different resolutions, for example:
1920x1080: max-x: 682.25 min-x: -170.875 max-y: 423.375 min-y: -55.99 (same result in old topic here: https://osu.ppy.sh/forum/t/311587)
1280x1024: max-x:555.5 min-x:-44 max-y:423.5 min-y:-56
800х600: max-x:575.2 min-x:-64 max-y:423.2 min-y:-56
So, when max-y and min-y are always similar, x-coordinate limits are unobtainable. Can someone clarify, how osu reads this right?
I'm trying to parse osu replay files, like this python code do https://github.com/kszlim/osu-replay-parser. I used this wiki page as main source of information https://osu.ppy.sh/wiki/Osr_(file_format).
Everything works fine and i'm getting exactly same results, but i've noticed that there are always 1 or 2 records in "Compressed replay data", that have x:256 y:-500 coords. Looks like it shouldn't be there? I can ignore that, but it is not the only one problem.
There are records with negative "Time after since the previous action" (for example, -10ms or even -12s+), how it should be interpreted?
And, finally: limits for coordinates on wiki page (x:0-512 y:0-384) are wrong, and these values differ, when replay was recorded on different resolutions, for example:
1920x1080: max-x: 682.25 min-x: -170.875 max-y: 423.375 min-y: -55.99 (same result in old topic here: https://osu.ppy.sh/forum/t/311587)
1280x1024: max-x:555.5 min-x:-44 max-y:423.5 min-y:-56
800х600: max-x:575.2 min-x:-64 max-y:423.2 min-y:-56
So, when max-y and min-y are always similar, x-coordinate limits are unobtainable. Can someone clarify, how osu reads this right?