osu-repy/test.py

11 lines
287 B
Python
Raw Normal View History

2019-03-13 05:43:26 +01:00
from osuRepy.frame import ReplayFrame
from osuRepy.replay import Replay
replay = Replay()
replay.write( ReplayFrame(2, 3, 4, 4) )
replay.score_300s = 20
replay.timestamp = 635592412124124124 # Wed Feb 11 2015 09:03:52 GMT+0100 (Central European Standard Time)
2019-03-13 06:04:29 +01:00
replay.save("test.osr")