It looks like bizp2 archives (.bz2) cannot be extracted at all.
I tested the extraction, using the example program:
using (ArchiveFile archiveFile = new ArchiveFile(@"C:\temp\test.txt.bz2"))
{
// extract all
archiveFile.Extract("Output");
}
The format is guesses as expected as Formats.BZip2 and the number of containing entries are also correct.
However, in the method entry.Extract(entry.FileName);, the enclosed files cannot be extracted.
The problem occurs in the line 104 of ArchiveFile.cs.
The entries do not contain any valid values:
dates are displayed as '01.01.0001 00:00:00'
CRC is 0
FileName is null
PackedSize is 0
... and so on.
The files can be extracted in 7Zip, though.
See attached example files as reference
exampleArchives.zip
It looks like bizp2 archives (.bz2) cannot be extracted at all. I tested the extraction, using the example program:
The format is guesses as expected as
Formats.BZip2
and the number of containing entries are also correct. However, in the methodentry.Extract(entry.FileName);
, the enclosed files cannot be extracted. The problem occurs in the line 104 of ArchiveFile.cs. The entries do not contain any valid values:The files can be extracted in 7Zip, though. See attached example files as reference exampleArchives.zip
Thank you in advance.