A python based .osu file parser, writen with python 3.12 Tested under OSU! & OSU! mania
Download the osu.py
import osu
file = osu.OSUFile("/path/to/.osu/file")
# get BeatmapSetID
file.Metadata["BeatmapSetID"]
See osu official wiki for more information
Or see osu-lazer-export.py
- a script to get imported .osz beatmapfile from Internet
[ ] Add support for hit objects decoding
[ ] Add support for events decoding
[ ] More method ( get_info()
)
[ ] Edit .osu file