aspose.info
EN

ARJ File Format

Updated

What is an ARJ file?

ARJ (Archived by Robert Jung) is a high efficiency compressed archive file developed by Robert K. Jung. ARJ was developed for DOS and early versions of Windows in the early 1990s. ARJ files are useful for backing up or sharing a large number of files as you do not have to keep track of all those files and there is only a single file to handle. The .arj extension is used for the ARJ archive files.

ARJ File Format

An ARJ file contains two types of headers:

  • Main header: There is one main header at the start of the archive.
  • Local headers: Local headers are present before each file.
OffsetTypeCountDescription
0000hword1ID=0EA60h
0002hword1basic header size
0004hbyte1Size of header
0005hbyte1Archiver version number
0006hbyte1Minimum version number needed
0007hbyte1Host OS: 0 - MS-DOS1 - PRIMOS2 - UNIX3 - AMIGA4 - MAC-OS (System xx)5 - OS/26 - APPLE GS7 - ATARI ST8 - NeXT9 - VAX VMS
0008hbyte1Internal Flags, bitmapped: 0 - no password / password1 - reserved2 - file continues on next disk3 - file start position field is available4 - path translation ( “" to “/” )
0009hbyte1Compression method: 0 - stored1 - compressed most2 - compressed3 - compressed faster4 - compressed fastest
000Ahbyte1File type: 0 - binary1 - 7-bit text2 - comment header3 - directory4 - volume label
000Bhbyte1reserved
000Chdword1Date/Time of original file in MS-DOS format
0010hdword1Size of the compressed file
0014hdword1Size of the original file”
0018hdword1CRC-32 of the original file
001Ahword1Filespec position in filename
001Chword1File attributes
001Ehword1Host data
?dword1Extended file starting position
????hdword1CRC-32 of the basic header
????hword1Size of the first extended header
????h+“SIZ”+2dword1CRC-32 of the extended header
????h+“SIZ”+6byte?Compressed file

References

See also