osu! libraries for the JVM.
See com.zerocooldown.libosu.replay.io.ReplayIO
.
Replay play = ReplayIO.read(
getClass()
.getClassLoader()
.getResourceAsStream("replays/cookiezi_freedomdive_hdhr.osr"));
/* do interesting thing */
OutputStream out = new FileOutputStream(myModifiedReplayPath);
ReplayIO.write(play, out);
See com.zerocooldown.libosu.beatmap.io.BeatmapReader
Beatmap beatmap = BeatmapReader.read(
getClass()
.getClassLoader()
.getResourceAsStream("beatmaps/Halozy - Genryuu Kaiko (Hollow Wings) [Higan Torrent].osu");
/* do interesting thing */
OutputStream out = new FileOutputStream(myModifiedBeatmapPath);
BeatmapWriter.write(beatmap, out);
- Java 1.8
- Maven - Dependency Management
This project is licensed under the MIT License - see the LICENSE file for details