Mercurial > touhou
diff pytouhou/formats/t6rp.py @ 193:9f58e2a6e950
Fix particles, fix "random" item popping, change update order to match the original game's more closely.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Fri, 28 Oct 2011 12:38:26 +0200 |
parents | ba3297ab3bde |
children | 88361534c77e |
line wrap: on
line diff
--- a/pytouhou/formats/t6rp.py +++ b/pytouhou/formats/t6rp.py @@ -71,8 +71,8 @@ class T6RP(object): raise Exception #TODO replay.unknown3 = unpack('<B', file.read(1)) - replay.date = read_string(file, 9, 'ascii') - replay.name = read_string(file, 9, 'ascii').rstrip() + replay.date = file.read(9) #read_string(file, 9, 'ascii') + replay.name = file.read(9) #read_string(file, 9, 'ascii').rstrip() replay.unknown4, replay.score, replay.unknown5, replay.slowdown, replay.unknown6 = unpack('<HIIfI', file.read(18)) stages_offsets = unpack('<7I', file.read(28))