forum

.osr java utility

posted
Total Posts
1
Topic Starter
Pako
Hi.

I guess I should give something back to the osu! community because they helped me a lot, especially when I began to play.

Today I present you a "simple" way to extract data from an .osr file.

Available Data + Data Types

Gamemodes gamemode;
int version;
String mapMD5;
String playerName;
String replayMD5;
short threehundreds;
short onehundreds;
short fifties;
short gekis;
short katus;
short misses;
int totalScore;
short greatestCombo;
byte perfect;
List<Mods> modsUsed;
LifeGraphElement[] lifeGraph;
long timestamp;
int replayDataLength;
ReplayElement[] replay;


You can find the classes here: https://github.com/TheFreakLord/osr-utility
And here is a basic example: http://pastebin.com/RNJ0Xejh

Bugs / What needs to be added

  1. Nothing I guess, actually.


NOTE: I DON'T TAKE ANY RESPONSIBILITY IF SOMEBODY USES THIS IN A WRONG WAY. I ONLY GAVE YOU THE TOOLS, DOESN'T MEAN YOU HAVE TO USE THEM TO HARM SOMEONE / GAIN AN UNFAIR ADVANTAGE.
Please sign in to reply.

New reply