mihon icon indicating copy to clipboard operation
mihon copied to clipboard

Add Support for 7zip archives

Open abdallahmehiz opened this issue 1 year ago • 5 comments

basically users can now use 7z and cb7 files to read their manga. intended to close issue #10121 from original tachi repo Thanks to @claudemirovsky for the help getting this to work

Notes:

  • The load times for archives with compression methods other than LZMA2 or Deflate are pretty bad
  • PPMd, the compression method, isn't supported by Apache's common compress for 7zip so PPMd archives can't be used

so in the end, supported compression methods are: Deflate, BZip2, LZMA and LZMA2.

abdallahmehiz avatar Jan 16 '24 18:01 abdallahmehiz

PPMd, the compression method, isn't supported by Apache's common compress for 7zip so PPMd archives can't be used

Would it be possible to throw a custom error similar to what we do for Rar 5?

AntsyLich avatar Jan 17 '24 10:01 AntsyLich

And maybe a toast when opening the slow ones

AntsyLich avatar Jan 17 '24 10:01 AntsyLich

throw a custom error similar to what we do for Rar 5

Suggest providing an option to open the new file with another app, for example perfect viewer or a file manager.

Oddly, there is a feature request closed by the author for ppmd support in commons compress from 2014

Efreak avatar Feb 07 '24 04:02 Efreak

Suggest providing an option to open the new file with another app, for example perfect viewer or a file manager.

that's out of the scope of this pr

abdallahmehiz avatar Feb 07 '24 07:02 abdallahmehiz

did a little oopsie

abdallahmehiz avatar Mar 08 '24 17:03 abdallahmehiz

Supersedes by #949

AntsyLich avatar Jun 25 '24 10:06 AntsyLich