juninho12 / freearc

Automatically exported from code.google.com/p/freearc
1 stars 0 forks source link

Filetype autodetection problem #388

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
    Hello, Bulat
    Freearc filetype autodetection doesn't let me compress jpg-files with special "precomp" method. My parameters:

    arc a arc a Archive -mx -mrep:192m+exe+delta+lzma/$jpgsolid=precomp043 -r "*.jpg"

With this parameters freearc compresses jpg's with "rep:192m+exe+delta+lzma", 
without trying to compress with "precomp", but when autodetection is off:

    arc a arc a Archive -ma- -mx -mrep:192m+exe+delta+lzma/$jpgsolid=precomp043 -r "*.jpg"

freearc compresses jpg's with "precomp", getting smaller archive size than with 
"rep:192m+exe+delta+lzma". However, this doesn't happen with many other 
filetypes, like 

exe, wav. FreeArc compresses they with "precomp" when autodetection is ON. 
Example:

    arc a arc a Archive -mx -mrep:192m+exe+delta+lzma/$exe=precomp043 -r "*.exe"

with this parameters FreeArc compresses exe's with "precomp" when autodetection 
is on.

    Tested with "FreeArc 0.666" and "FreeArc 0.67 alpha (updated: March 15, 2014)".

    Additional information:
  Fileset: https://www.dropbox.com/s/or48nrzpk3o8m77/Pictures.7z
  arc.ini fragment:

        [External compressor:precomp043]
        packcmd   = precomp043 -intense -cn -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
        unpackcmd = precomp043 -r -o$$arcdatafile$$.tmp $$arcpackedfile$$.tmp

Original issue reported on code.google.com by smirnova...@gmail.com on 19 Jun 2014 at 8:44