ZIPX support

Mr. Rasmus
2009-07-08
2015-12-22
<< < 1 2 (Page 2 of 2)
  • dos386
    dos386
    2013-04-02

    researching and figuring out what was going on, I ended up here trying to
    figure out if anything besides WinZip could extract it

    Try this one: https://code.google.com/p/theunarchiver/downloads/detail?name=unar1.5_win.zip&can=2&q=

    Didn't test it myself ... Anyone having silly SIT's, SITX's, ZIPX's ... etc
    please upload so one can test (I don't have any such files on stock)

    Popularity of Windaube 98 : 1/4000 in 2012 ... 1/8000 in 2013 ... 1/16'000 in 2014

    Bloat of WingZIP : 100 MiB in 2012 ... 200 MiB in 2013 ... 400 MiB in 2014

     
  • rmps
    rmps
    2013-06-04

    it works both for wav and jpeg and all the other shit, thanx for info

     
  • Sharlene
    Sharlene
    2014-08-25

    I have been telling everyone how great 7-Zip is and putting on any machine I use because it is so handy. Can open any archive file I would say, why do you need anything else, let alone some old version of WinZIP our IT department uses, which cannot open a lot of archives. Plus it can compress using multiple cores which is handy for really large files.

    I recently downloaded a new version of some commercial software we use from Schlumberger's web site, and it was a ZIPX file, the first one I had encountered, and 7-Zip could not extract it for me. I was so surprised. I had to tell people to use WinZip...

    But if you Google it, there are several applications which do support ZIPX, and I think some places like Schlumberger just end up using it because it is the new default in new versions of WinZip. So we can expect to see more of it.

    So Igor, 7-ZIP is amazing, you have done an amazing job, it would be great if you can add ZIPX support. It would be well worth it, and keep 7-ZIP the best archiver out there.

     
  • Ivan Arlovsky
    Ivan Arlovsky
    2014-08-31

    One more vote for JPEG Compression (method 96). If winzip is the problem, maybe another method of JPEG compression designed for 7-zip is a better solution, IDK.

     
  • Daniello Alto
    Daniello Alto
    2015-01-21

    Post awaiting moderation.
  • Daniello Alto
    Daniello Alto
    2015-12-07

    Okay just two short little contributions to the subject:

    1. An update to The Unarchiver Win ZIPX JPEG paper contains a link to nice formated and encapsulated C-source code that maybe easily reused/implemented in the 7Zip codebase.

    2. A meanwhile workaround for a the windoozer's out there looking for a WinZip alternative to extract jpg's from a ZipX archive
      Again, you guess, it's the https://unarchiver.c3.cx/commandline that'll help out here.
      Get it/Unpack it somewhere and run:
      unar.exe my_packed.zipx
      ... or associated *.zipx with unar.exe by the right click in the Windows Explorer Open with or the properties/type: [change] button.
      ... or in the Windows Explorer just drag 'my_packed.zipx' onto unar.exe(or a link to it) and drop it there to invoke the unpacking.

    Edit: Ah yes I nearly forgot to mention: If you interessed in compressing jpeg data try paq8o. The opensource packer peazip is a cool GUI alternative to the PAQ-commandlinetool available. PAQ8 has a build in Jpeg compressor and supports range compression. So it will also come along with jpg's the are inside some other file. *Winzip's zipx in contrast to this will require pure jpg files.*

    And just tested PowerArchiver 2015 also unpacks zipx but cames it same heavy payware 'taste and smell' as WinZip.

     
    Last edit: Daniello Alto 2015-12-07
    • Igor Pavlov
      Igor Pavlov
      2015-12-07

      I don't want to spend time for that code (ZIPX JPEG) now.

       
      • Daniello Alto
        Daniello Alto
        2015-12-07

        Okay I see anyway thanks for reply.

        Well TheUnarchiver/XADMaster/WinZipJPEG/Decompressor.c
        looks promising.

        So these are the first two line on how it'll somehow will went into the 7z code base:
        7z1512-src\CPP\7zip\Archive\Zip\ZipHandler.cpp

         HRESULT Decode(
              CInArchive &archive, const CItemEx &item,
            ...
           unsigned id = item.Method;
           ...
            CMethodItem mi;
            mi.ZipMethod = id;
            ...
            else if (id == NFileHeader::NCompressionMethod::kXz)
        
             mi.Coder = new CXzDecoder;
        

        else if (id == NFileHeader::NCompressionMethod::kJpeg)
        mi.Coder = new CJpegDecoder;

            else if (id == NFileHeader::NCompressionMethod::kPPMd)
            ...
             m = methodItems.Add(mi);
        

        copy the class CXzDecoder to CJpegDecoder and editing it...

        oh dear thing maybe get challenging to that point. However at least I'll give it try.
        Beside the setup and getting both finally compiled in visual studio I guess end boss in this code game will probably be the ArithmeticDecoder...
        Bonuslevel = Wavpack.
        However even mastering the setup may be reward by the power to reenable / improve the NSIS decompiler.

        Plan B is get current archive name and packed jpeg file and invoke/deligate that delicated task to unar.exe :D

         
        Last edit: Daniello Alto 2015-12-07
        • Igor Pavlov
          Igor Pavlov
          2015-12-08

          1) If I include something to 7-Zip code, I check each line.
          It can be difficult for such complex thing as jpeg code.
          2) I'm not sure that we really need jpeg in zip support now.

           
  • Duane Moody
    Duane Moody
    2015-12-22

    A lot of the archives I store are <10% text data with the rest being HD texture maps. Intelligent lossless recompression of JPEG images isn't trivial, and would be a serious advantage for 7z. Since 7z isn't a fork of someone else's extension or file structure, it actually makes more sense for it to be in 7z than in .zip.

    JPEG's compression is ancient by Internet time, and its specification sets limits on how efficiently it can store its data. The fact that Stuffit and zipx can on average cut filesize by 25% while expanding to a bit-for-bit identical copy to the original is worth consideration.

     
<< < 1 2 (Page 2 of 2)