CAR (MylesHi!)
From Just Solve the File Format Problem
(Difference between revisions)
m (→Software) |
(→Identification) |
||
Line 10: | Line 10: | ||
''This applies to the CAR files produced by version 1.50, which was the first release, and the only one we know of.'' | ''This applies to the CAR files produced by version 1.50, which was the first release, and the only one we know of.'' | ||
− | CAR format is very similar to [[LHA]] format, but it has the header fields in a different order, making it completely incompatible. Unfortunately, | + | CAR format is very similar to [[LHA]] format, but it has the header fields in a different order, making it completely incompatible. Unfortunately, it is difficult to reliably distinguish the formats, and maybe impossible to do with perfect accuracy. |
− | + | A CAR file has the following properties (but so do some valid LHA files): | |
* ASCII "{{magic|-lh5-}}" or "{{magic|-lh0-}}" appears at offset 2 | * ASCII "{{magic|-lh5-}}" or "{{magic|-lh0-}}" appears at offset 2 | ||
* {the byte value at offset 0} = {the byte value at offset 15} + 25 | * {the byte value at offset 0} = {the byte value at offset 15} + 25 |
Revision as of 20:47, 15 August 2020
CAR is a compressed archive utility, and associated file format, developed by MylesHi! Software / Chris Campbell.
Identification
This applies to the CAR files produced by version 1.50, which was the first release, and the only one we know of.
CAR format is very similar to LHA format, but it has the header fields in a different order, making it completely incompatible. Unfortunately, it is difficult to reliably distinguish the formats, and maybe impossible to do with perfect accuracy.
A CAR file has the following properties (but so do some valid LHA files):
- ASCII "
-lh5-
" or "-lh0-
" appears at offset 2 - {the byte value at offset 0} = {the byte value at offset 15} + 25
- bytes
0x20 0x00 0x00
appear at offset {{the byte value at offset 15} + 24}
Specifications
- car150.zip → CAR.DOC → Appendix G -- CAR technical information
Software
- CAR v1.50 (DOS software)