Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate if 7Zip itself can guess format from stream #33

Open
fiddyschmitt opened this issue May 25, 2019 · 3 comments
Open

Investigate if 7Zip itself can guess format from stream #33

fiddyschmitt opened this issue May 25, 2019 · 3 comments

Comments

@fiddyschmitt
Copy link

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

@adoconnection
Copy link
Owner

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.

@fiddyschmitt
Copy link
Author

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...

@adoconnection
Copy link
Owner

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

@adoconnection adoconnection changed the title Unable to open vmdk file Investigate if 7Zip itself can guess format from stream Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants