osu-repy/test.py
2019-03-13 09:07:46 +01:00

11 lines
299 B
Python

from osuRepy.frame import ReplayFrame
from osuRepy.replay import Replay
replay = Replay()
replay.write( ReplayFrame(2, 3, 4, 4) )
replay.score_300s.value = 20
replay.timestamp.value = 635592412124124124 # Wed Feb 11 2015 09:03:52 GMT+0100 (Central European Standard Time)
replay.save("test.osr")