<?xml version='1.0' encoding='utf-8'?>
<PRONOM-Report xmlns="http://pronom.nationalarchives.gov.uk">
  <report_format_detail>
    <FileFormat>
      <FormatID>2383</FormatID>
      <FormatName>SelF-eXtracting LHA/LZH Compressed Files</FormatName>
      <FormatVersion> </FormatVersion>
      <FormatAliases> </FormatAliases>
      <FormatFamilies> </FormatFamilies>
      <FormatTypes>Text (Structured)</FormatTypes>
      <FormatDisclosure> </FormatDisclosure>
      <FormatDescription>SelF-eXtracting LHA/LZH compressed files is an archive format for the Commodore 64 and 128 consisting of files compressed in the LHA format and appended to a program to extract them, so that the archive and its extractor is self-contained and no other program needs to be downloaded or installed in order to extract the archive. It is a sucessor of SDA format with an addition of the extractor is cross-compatible between both Commodore platforms (C-64 and C-128).</FormatDescription>
      <BinaryFileFormat> </BinaryFileFormat>
      <ByteOrders> </ByteOrders>
      <ReleaseDate> </ReleaseDate>
      <WithdrawnDate> </WithdrawnDate>
      <ProvenanceSourceID>180</ProvenanceSourceID>
      <ProvenanceName>The National Archives and Records Administration / The National Archives and Records Administration</ProvenanceName>
      <ProvenanceSourceDate>23 Nov 2021</ProvenanceSourceDate>
      <ProvenanceDescription>11/2023 (v.115)- modified values in internal signature  for Indirect Offset Location and Indirect Offset Length from 0 to null. Max-offset modified for BOF signature to allow for more exact signature identification. Internally researched.</ProvenanceDescription>
      <LastUpdatedDate>14 Nov 2023</LastUpdatedDate>
      <FileFormatIdentifier>
        <Identifier>fmt/1558</Identifier>
        <IdentifierType>PUID</IdentifierType>
      </FileFormatIdentifier>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>sfx</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <InternalSignature>
        <SignatureID>1902</SignatureID>
        <SignatureName>SelF-eXtracting LHA/LZH Compressed File</SignatureName>
        <SignatureNote>BOF; Offset: 3370 - 3410; Magic bytes: C64/C128 SELF EXTRACTING LHARCHIVE</SignatureNote>
        <ByteSequence>
          <ByteSequenceID>1</ByteSequenceID>
          <PositionType>Absolute from BOF</PositionType>
          <Offset>3000</Offset>
          <MaxOffset>700</MaxOffset>
          <IndirectOffsetLocation> </IndirectOffsetLocation>
          <IndirectOffsetLength> </IndirectOffsetLength>
          <Endianness> </Endianness>
          <ByteSequenceValue>4336342F433132382053454C462045585452414354494E47204C4841524348495645</ByteSequenceValue>
        </ByteSequence>
      </InternalSignature>
    </FileFormat>
  </report_format_detail>
</PRONOM-Report>