Menu

7zDec.exe fails to extract files (ERROR: decoder doesn't support this archive)

BadPointer
2016-01-18
2016-01-24
  • BadPointer

    BadPointer - 2016-01-18

    The latest version of 7zip often produces archives which cannot be unpacked using the SzArEx_Extract function.

    For example, I cannot extract *.inf files from this archive:
    https://drive.google.com/file/d/0Bwd03nLDyBWpSkVTRV9Od29mR3c/view?usp=sharing

    Is SzArEx_Extract going to support these archives in the future?
    What switches can I use during making archives, so that they can extracted via SzArEx_Extract?

     
  • Igor Pavlov

    Igor Pavlov - 2016-01-19

    SzArEx_Extract doesn't support some combinations of methods.
    But 7-Zip doesn't use these combinations by default.

    7z l DP_CardReader_16000.7z -slt > list.txt
    
    Method = BCJ BCJ2 LZMA2:26 LZMA2:19 LZMA2:19
    

    note that it's useless cominations of filters: BCJ with BCJ2.
    And SzArEx_Extract doesn't support it.

    I need to know
    1) exact version of 7-zip that was used to create that archive
    2) exact switches that were used

     
  • BadPointer

    BadPointer - 2016-01-19

    1) Archives previously were packed with 9.38 and they could be unpacked without issues, but after repacking with 15.14 they no longer can be extracted.

    2) The first command creates an archive with *.cat and *.inf files and the second command adds files with other extensions.

    7z.exe a ..\out\%1 -ms=512m -mmt=off -m0=BCJ2 -m1=LZMA2:d%dict%m:fb273 -m2=LZMA2:d512k:fb273 -m3=LZMA2:d512k:fb273 -mb0:1 -mb0s1:2 -mb0s2:3 -ir!*.inf -ir!*.cat -mqs=on
    
    7z.exe a ..\out\%1 -ms=512m -mmt=off -m0=BCJ2 -m1=LZMA2:d%dict%m:fb273 -m2=LZMA2:d512k:fb273 -m3=LZMA2:d512k:fb273 -mb0:1 -mb0s1:2 -mb0s2:3 -xr!*.inf -xr!*.cat -mqs=on
    
     

    Last edit: Igor Pavlov 2016-01-20
  • Igor Pavlov

    Igor Pavlov - 2016-01-24

    The case is not simple.
    Now there is bug in 7z archive updating code.
    So if you specify methods with bcj / bcj2 filter, and repack some solid block that used filter (BCJ or BCJ2), 7-Zip adds additional BCJ filter (it's BUG).
    I'll try fix the problem in next version of 7-Zip.

    Now (with current version) you can use the command without BCJ2 / BCJ switches.
    7-Zip knows how to add bcj2/bcj2 filter by default.
    Just use -mx switch.

    Thanks for report!!!

     

Log in to post a comment.