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) replay.timestamp = 635570498982876124 # Invalid timestamp?! # "2|3|4|4,-12345|0|0|1337," # ]\0\0 \0\u0018\0\0\0\0\0\0\0\0\u0019\u001f\u0002g�L�_�F���6m��\u0003�,�7��Í replay.save("test.osr")