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.
You can find the classes here: https://github.com/TheFreakLord/osr-utility
And here is a basic example: http://pastebin.com/RNJ0Xejh
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.
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;
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
- 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.