Offset Size Name Description
-------- -------- ------------ ---------------------------------
0x00 2 HeadCRC CRC of block header
0x02 1 HeaderType Block type = 0x74
0x03 2 Flags Block flags:
LHD_SPLIT_BEFORE (0x0001)
LHD_SPLIT_AFTER (0x0002)
LHD_PASSWORD (0x0004)
LHD_COMMENT (0x0008)
LHD_SOLID (0x0010)
LHD_WINDOWMASK (0x00E0)
LHD_LARGE (0x0100)
LHD_UNICODE (0x0200)
LHD_SALT (0x0400)
LHD_VERSION (0x0800)
LHD_EXTTIME (0x1000)
0x05 2 HeadSize Full header size, not including file data
0x07 4 PackSize Compressed file size (P)
0x0B 4 UnpSize Uncompressed file size
0x0F 1 HostOS Operating system used for archiving:
HOST_MSDOS (0x00)
HOST_OS2 (0x01)
HOST_WIN32 (0x02)
HOST_UNIX (0x03)
HOST_MACOS (0x04)
HOST_BEOS (0x05)
0x10 4 FileHash CRC32 hash of file
0x14 4 FileTime Date and time in MS-DOS format
0x18 1 UnpVer RAR version needed to extract the file
0x19 1 Method Packing method:
Store (0x30)
Fastest (0x31)
Fast (0x32)
Normal (0x33)
Good (0x34)
Best (0x35)
0x1A 2 NameSize Filename size (N)
0x1C 4 FileAttr File attributes (OS-dependant)
0x20 4 HighPackSize High 4 bytes of 64-bit value of compressed file size
Optional - only present if LHD_LARGE flag is set
0x24 4 HighUnpSize High 4 bytes of 64-bit value of uncompressed file size
Optional - only present if LHD_LARGE flag is set
0x28 N FileName File name
0x28+N 8 Salt Salt value
Optional - only present if LHD_SALT flag is set
0x30+N. M ExtTime Precise timing for mtime, ctime, atime, and arctime
Optional - only present if LHD_EXTTIME flag is set
0x30+N+M P Data File data
Data will be compressed if Method > 0x30