1,451
社区成员
发帖
与我相关
我的任务
分享
'This is to unpack authorware AxR files
Type tAWHeader '
'First 16 bytes
'Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F
'00000000 50 43 52 53 AF BC AD AC 16 00 00 00 F6 FF FF FF PCRS¯¼¬ öÿÿÿ PCRS As Long '0x53524350
dum As Long '0xACADBCAF
res1 As Long '0x00000016
ver As Byte '0xF6 for a6r, change to 0xf5 for a7r :)
ver2 As Byte '0xFF
ver3 As Byte '0xFF
ver4 As Byte '0xFF 'Next 16 bytes
'00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bt(15) As Byte 'Next 16 bytes
'00000020 06 00 00 00 70 56 09 00 E4 54 09 00 22 01 00 00 pV äT "
bt1(15) As Byte 'Next 16 bytes
'00000030 11 00 00 00 6A 00 00 00 00 00 00 00 E4 54 09 00 j äT
numElements As Long
res2 As Long
res3 As Long
res4 As Long ......
End Type 'tA6RHeader
Type tawIndexes '
...
End Type 'tawIndexes