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.
Offset | Type | Count | Description |
---|---|---|---|
0000h | word | 1 | ID=0EA60h |
0002h | word | 1 | basic header size |
0004h | byte | 1 | Size of header |
0005h | byte | 1 | Archiver version number |
0006h | byte | 1 | Minimum version number needed |
0007h | byte | 1 | Host OS: 0 - MS-DOS1 - PRIMOS2 - UNIX3 - AMIGA4 - MAC-OS (System xx)5 - OS/26 - APPLE GS7 - ATARI ST8 - NeXT9 - VAX VMS |
0008h | byte | 1 | Internal Flags, bitmapped: 0 - no password / password1 - reserved2 - file continues on next disk3 - file start position field is available4 - path translation ( “" to “/” ) |
0009h | byte | 1 | Compression method: 0 - stored1 - compressed most2 - compressed3 - compressed faster4 - compressed fastest |
000Ah | byte | 1 | File type: 0 - binary1 - 7-bit text2 - comment header3 - directory4 - volume label |
000Bh | byte | 1 | reserved |
000Ch | dword | 1 | Date/Time of original file in MS-DOS format |
0010h | dword | 1 | Size of the compressed file |
0014h | dword | 1 | Size of the original file” |
0018h | dword | 1 | CRC-32 of the original file |
001Ah | word | 1 | Filespec position in filename |
001Ch | word | 1 | File attributes |
001Eh | word | 1 | Host data |
? | dword | 1 | Extended file starting position |
????h | dword | 1 | CRC-32 of the basic header |
????h | word | 1 | Size of the first extended header |
????h+“SIZ”+2 | dword | 1 | CRC-32 of the extended header |
????h+“SIZ”+6 | byte | ? | Compressed file |