SevenZipExtractor icon indicating copy to clipboard operation
SevenZipExtractor copied to clipboard

Investigate if 7Zip itself can guess format from stream

Open fiddyschmitt opened this issue 6 years ago • 3 comments

7-Zip can open vmdk files, however when I try to open them with SevenZipExtractor it throws an exception "Unable to guess format automatically".

Any thoughts on how to get it to work?

Thank you, Fidel

fiddyschmitt avatar May 25 '19 00:05 fiddyschmitt

Hi, SevenZipExtractor guess format by first bytes of file. see FileSignatures: https://github.com/adoconnection/SevenZipExtractor/blob/master/SevenZipExtractor/Formats.cs

if you can add signature for vmdk, SevenZipExtractor will start guessing it.

adoconnection avatar May 27 '19 14:05 adoconnection

Hi ado. A big thanks for your efforts on the project. It's very useful.

Rather than hard-coding the supported formats, I'm wondering if the native DLL exposes a method which returns true if the file is supported...

fiddyschmitt avatar May 28 '19 02:05 fiddyschmitt

someone need to dive into 7zip and see if this possible

adoconnection avatar Jan 15 '20 13:01 adoconnection