示例#1
0
		def __format__(self):
			self.Zeroes = Struct.uint8[0x40]
			self.IMET = Struct.string(4)
			self.Fixed = Struct.uint8[8]
			self.Sizes = Struct.uint32[3]
			self.Flag1 = Struct.uint32
			self.Names = Struct.string(0x2A<<1, encoding='utf-16-be', stripNulls=True)[7]
			self.Zeroes = Struct.uint8[0x348]
			self.Crypto = Struct.uint8[0x10]
示例#2
0
		def __format__(self):
			self.magic = Struct.string(4)
			self.magic2 = Struct.string(4)
			self.length = Struct.uint32
			self.chunk_cnt = Struct.uint32
			self.unknown01 = Struct.uint8
			self.unknown02 = Struct.uint8
			self.unknown03 = Struct.uint16
			self.unknown04 = Struct.uint32
			self.unknown05 = Struct.uint32
			self.unknown06 = Struct.uint32
示例#3
0
文件: bmg.py 项目: darakian/Wii.py
 def __format__(self):
     self.magic = Struct.string(4)
     self.magic2 = Struct.string(4)
     self.length = Struct.uint32
     self.chunk_cnt = Struct.uint32
     self.unknown01 = Struct.uint8
     self.unknown02 = Struct.uint8
     self.unknown03 = Struct.uint16
     self.unknown04 = Struct.uint32
     self.unknown05 = Struct.uint32
     self.unknown06 = Struct.uint32
示例#4
0
 def __format__(self):
     self.Zeroes = Struct.uint8[0x40]
     self.IMET = Struct.string(4)
     self.Fixed = Struct.uint8[8]
     self.Sizes = Struct.uint32[3]
     self.Flag1 = Struct.uint32
     self.Names = Struct.string(0x2A << 1,
                                encoding='utf-16-be',
                                stripNulls=True)[7]
     self.Zeroes = Struct.uint8[0x348]
     self.Crypto = Struct.uint8[0x10]
示例#5
0
 def __format__(self):
     self.issuer = Struct.string(0x40)
     self.eccpubkey = Struct.string(0x3C)
     self.version = Struct.uint8
     self.ca_crl_version = Struct.uint8
     self.signer_crl_version = Struct.uint8
     self.titlekey = Struct.string(0x10)
     self.reserved1 = Struct.uint8
     self.ticketid = Struct.uint64
     self.consoleid = Struct.uint32
     self.titleid = Struct.uint64
     self.reserved2 = Struct.uint16
     self.titleversion = Struct.uint16
     self.reserved3 = Struct.uint64
     self.license_type = Struct.uint8
     self.ckeyindex = Struct.uint8
     self.reserved4 = Struct.string(0x2A)
     self.eshopid = Struct.uint32
     self.reserved5 = Struct.uint8
     self.audit = Struct.uint8
     self.reserved6 = Struct.string(0x42)
     self.demo = Struct.uint32
     self.maxplaycount = Struct.uint32
     self.limits = Struct.string(0x38)
     self.cindex = Struct.string(0xAC)
示例#6
0
 def __format__(self):
     self.hdrsize = Struct.uint32
     self.type = Struct.string(0x04)
     self.certchainsize = Struct.uint32
     self.reserved = Struct.uint32
     self.ticketsize = Struct.uint32
     self.tmdsize = Struct.uint32
     self.datasize = Struct.uint32
     self.footersize = Struct.uint32
示例#7
0
 def __format__(self):
     self.issuer = Struct.string(64)
     self.version = Struct.uint8
     self.ca_crl_version = Struct.uint8
     self.signer_crl_version = Struct.uint8
     self.padding1 = Struct.uint8
     self.system_version = Struct.uint64
     self.titleid = Struct.uint64
     self.type = Struct.uint32
     self.group_id = Struct.uint16
     self.zero = Struct.uint16
     self.region = Struct.uint16
     self.ratings = Struct.string(16)
     self.reserved2 = Struct.string(12)
     self.ipc_mask = Struct.string(12)
     self.reserved3 = Struct.string(18)
     self.access_rights = Struct.uint32
     self.titleversion = Struct.uint16
     self.contentcount = Struct.uint16
     self.bootindex = Struct.uint16
     self.padding2 = Struct.uint16
示例#8
0
 def __format__(self):
     self.issuer = Struct.string(0x40)
     self.version = Struct.uint8
     self.ca_crl_version = Struct.uint8
     self.signer_crl_version = Struct.uint8
     self.reserved1 = Struct.uint8
     self.system_version = Struct.uint64
     self.titleid = Struct.uint64
     self.type = Struct.uint32
     self.group_id = Struct.uint16
     self.savedata_size = Struct.uint32
     self.srl_private_data_size = Struct.uint32
     self.reserved2 = Struct.uint32
     self.srl_flag = Struct.uint8
     self.reserved3 = Struct.string(0x31)
     self.access_rights = Struct.uint32
     self.titleversion = Struct.uint16
     self.contentcount = Struct.uint16
     self.bootcontent = Struct.uint16
     self.padding = Struct.string(2)
     self.sha256 = Struct.string(0x20)
示例#9
0
 def __format__(self):
     self.issuer = Struct.string(0x40)
     self.ecdhdata = Struct.string(0x3C)
     self.unused1 = Struct.string(0x03)
     self.titlekey = Struct.string(0x10)
     self.unknown1 = Struct.uint8
     self.ticketid = Struct.uint64
     self.consoleid = Struct.uint32
     self.titleid = Struct.uint64
     self.unknown2 = Struct.uint16
     self.titleversion = Struct.uint16
     self.permitted_titles_mask = Struct.uint32
     self.permit_mask = Struct.uint32
     self.export_allowed = Struct.uint8
     self.ckeyindex = Struct.uint8
     self.unknown3 = Struct.string(0x30)
     self.content_access_permissions = Struct.string(0x40)
     self.padding = Struct.uint16
     self.limits = Struct.string(0x40)
示例#10
0
 def __format__(self):
     self.Magic = Struct.string(4)
     self.Length = Struct.uint32
     self.Unk1 = Struct.uint32
     self.Unk2 = Struct.uint32
     self.Unk3 = Struct.uint16
     self.Unk4 = Struct.uint16
     self.Unk5 = Struct.uint16
     self.Unk6 = Struct.uint16
     self.Float1 = Struct.float
     self.Float2 = Struct.float
     self.Float3 = Struct.float
     self.Float4 = Struct.float
     self.Float5 = Struct.float
     self.Float6 = Struct.float
     self.Float7 = Struct.float
     self.Float8 = Struct.float
     self.Float9 = Struct.float
     self.FloatA = Struct.float
     self.Unk7 = Struct.uint32
     self.Unk8 = Struct.uint32
     self.Unk9 = Struct.uint32
     self.UnkA = Struct.uint32
示例#11
0
	def __format__(self):
		self.Magic = Struct.string(4)
		self.Length = Struct.uint32
		self.Unk1 = Struct.uint32
		self.Unk2 = Struct.uint32
		self.Unk3 = Struct.uint16
		self.Unk4 = Struct.uint16
		self.Unk5 = Struct.uint16
		self.Unk6 = Struct.uint16
		self.Float1 = Struct.float
		self.Float2 = Struct.float
		self.Float3 = Struct.float
		self.Float4 = Struct.float
		self.Float5 = Struct.float
		self.Float6 = Struct.float
		self.Float7 = Struct.float
		self.Float8 = Struct.float
		self.Float9 = Struct.float
		self.FloatA = Struct.float
		self.Unk7 = Struct.uint32
		self.Unk8 = Struct.uint32
		self.Unk9 = Struct.uint32
		self.UnkA = Struct.uint32
示例#12
0
 def __format__(self):
     self.key = Struct.string(0x3C)
     self.padding = Struct.string(0x3C)
示例#13
0
		def __format__(self):
			self.magic = Struct.string(4)
			self.length = Struct.uint32
			self.count = Struct.uint16
			self.unknown01 = Struct.uint16
示例#14
0
 def __format__(self):
     self.Magic = Struct.string(4)
     self.Count = Struct.uint32
     self.Size = Struct.uint32
示例#15
0
文件: breft.py 项目: queer1/Wii.py
 def __format__(self):
     self.magic = Struct.string(4)
     self.length = Struct.uint32
示例#16
0
 def __format__(self):
     self.issuer = Struct.string(0x40)
     self.key_type = Struct.uint32
     self.name = Struct.string(0x40)
     self.unknown = Struct.uint32
示例#17
0
 def __format__(self):
     self.type = Struct.uint32
     self.data = Struct.string(0x3C)
     self.padding = Struct.string(0x40)
示例#18
0
 def __format__(self):
     self.cid_offset = Struct.uint16
     self.ccc = Struct.uint16
     self.sha256 = Struct.string(0x20)
示例#19
0
 def __format__(self):
     self.Tag = Struct.string(4)
     self.RootNode = Struct.uint32
     self.HeaderSize = Struct.uint32
     self.DataOffset = Struct.uint32
     self.Zeroes = Struct.uint8[0x10]
示例#20
0
 def __format__(self):
     self.FourCC = Struct.string(4)
     self.Size = Struct.uint32
示例#21
0
 def __format__(self):
     self.Magic = Struct.string(4)
     self.Unk = Struct.uint32
     self.Size = Struct.uint32
     self.AnimCount = Struct.uint16
     self.AtomCount = Struct.uint16
示例#22
0
 def __format__(self):
     self.cid = Struct.uint32
     self.index = Struct.uint16
     self.type = Struct.uint16
     self.size = Struct.uint64
     self.sha256 = Struct.string(0x20)
示例#23
0
文件: bmg.py 项目: darakian/Wii.py
 def __format__(self):
     self.magic = Struct.string(4)
     self.length = Struct.uint32
     self.count = Struct.uint16
     self.unknown01 = Struct.uint16
示例#24
0
	def __format__(self):
		self.Tag = Struct.string(4)
		self.Size = Struct.uint32
		self.Zeroes = Struct.uint8[8]
		self.MD5 = Struct.uint8[0x10]
示例#25
0
		def __format__(self):
			self.Tag = Struct.string(4)
			self.RootNode = Struct.uint32
			self.HeaderSize = Struct.uint32
			self.DataOffset = Struct.uint32
			self.Zeroes = Struct.uint8[0x10]
示例#26
0
 def __format__(self):
     self.modulus = Struct.string(0x200)
     self.exponent = Struct.uint32
     self.padding = Struct.string(0x34)
示例#27
0
		def __format__(self):
			self.FourCC = Struct.string(4)
			self.Size = Struct.uint32
示例#28
0
文件: breft.py 项目: queer1/Wii.py
 def __format__(self):
     self.magic = Struct.string(4)
     self.version = Struct.uint32
     self.length = Struct.uint32
     self.header_size = Struct.uint16
     self.chunk_cnt = Struct.uint16
示例#29
0
 def __format__(self):
     self.Tag = Struct.string(4)
     self.Size = Struct.uint32
     self.Zeroes = Struct.uint8[8]
     self.MD5 = Struct.uint8[0x10]
示例#30
0
		def __format__(self):
			self.Magic = Struct.string(4)
			self.Count = Struct.uint32
			self.Size = Struct.uint32
示例#31
0
		def __format__(self):
			self.magic = Struct.string(4)
			self.length = Struct.uint32
示例#32
0
		def __format__(self):
			self.Magic = Struct.string(4)
			self.Unk = Struct.uint32
			self.Size = Struct.uint32
			self.AnimCount = Struct.uint16
			self.AtomCount = Struct.uint16
示例#33
0
		def __format__(self):
			self.magic = Struct.string(4)
			self.version = Struct.uint32
			self.length = Struct.uint32
			self.header_size = Struct.uint16
			self.chunk_cnt = Struct.uint16
示例#34
0
	def __format__(self):
		self.magic = Struct.uint32
		self.rootnode_offset = Struct.uint32
		self.header_size = Struct.uint32
		self.data_offset = Struct.uint32
		self.zeroes = Struct.string(16)
	def __format__(self):
		self.magic = Struct.uint32
		self.rootnode_offset = Struct.uint32
		self.header_size = Struct.uint32
		self.data_offset = Struct.uint32
		self.zeroes = Struct.string(16)