HaxeFoundation / format

Various files formats support for Haxe
131 stars 59 forks source link

Feature Request - Unrar #48

Open bkorcsog opened 8 years ago

bkorcsog commented 8 years ago

I was wondering if it may be beneficial to anyone else to have an unrar feature in this project? It only comes up because I wrote a comic book reader and couldn't get my head around the code involved in porting unrar from kthoom (https://code.google.com/archive/p/kthoom). Just a suggestion and I would benefit from having that in the package. Thanks for all the hard work and great effort here.

Yanrishatum commented 8 years ago

I've tackled RAR format for a while yesterday and it seems that there's several problems involving it implementation:

  1. There's at least 2 vastly different versions of RAR specification, essentially doubling the amount of code to simply read the archive.
  2. It's hard to find specification on that format in general.
  3. File may be separated into several volumes. (said .partX.rar)
  4. Encryption.
  5. Several compressions algorithms. I think it's easier to make native bindings to unRAR library ;)