Mercurial > touhou
comparison pytouhou/formats/pbg3.py @ 615:d1f0bb0b7a17
Don’t inherit explicitely from object, we are not on Python 2.7 anymore. :)
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 28 Mar 2015 21:40:51 +0100 |
parents | e15672733c93 |
children | d18c0bf11138 |
comparison
equal
deleted
inserted
replaced
614:2cf518129725 | 615:d1f0bb0b7a17 |
---|---|
67 | 67 |
68 PBG3Entry = namedtuple('PBG3Entry', 'unknown1 unknown2 checksum offset size') | 68 PBG3Entry = namedtuple('PBG3Entry', 'unknown1 unknown2 checksum offset size') |
69 | 69 |
70 | 70 |
71 | 71 |
72 class PBG3(object): | 72 class PBG3: |
73 """Handle PBG3 archive files. | 73 """Handle PBG3 archive files. |
74 | 74 |
75 PBG3 is a file archive format used in Touhou 6: EoSD. | 75 PBG3 is a file archive format used in Touhou 6: EoSD. |
76 This class provides a representation of such files, as well as functions to | 76 This class provides a representation of such files, as well as functions to |
77 read and extract files from a PBG3 archive. | 77 read and extract files from a PBG3 archive. |