Results 1 to 20 of 20

Thread: quad 1.07BETA

  1. #1
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,985
    Thanks
    377
    Thanked 353 Times in 141 Posts
    Haste makes a waste!

    With 1.06 I forgot to remove some abuse code from decompressor. Now it's fixed! As a result 1.07BETA has a higher decompression speed!

    http://sourceforge.net/projects/quad/

    Also, I think QUAD will have same compression to keep compatibility. That means, if at all, development of QUAD's engine is over, now its compression format is open and next step is integrate it to many GUI archivers.

    For example, I can add QUAD file decompression to PIM archiver. Probably, authors of other GUI archivers will add QUAD (de)compression.

    In addition, I have some ideas about PIM archiver improvements:
    + New EXE filter
    + Higher compression (keeping compatibility)
    + QUAD decompression


  2. #2
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Thanks Ilia!

    Quote Originally Posted by encode
    + Higher compression (keeping compatibility)
    I like this idea!

  3. #3
    Member
    Join Date
    Dec 2006
    Posts
    611
    Thanks
    0
    Thanked 1 Time in 1 Post
    Cool

  4. #4
    Expert
    Matt Mahoney's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Florida, USA
    Posts
    3,255
    Thanks
    306
    Thanked 779 Times in 486 Posts
    Quad 1.07b results http://cs.fit.edu/~mmahoney/compression/text.html# 2396

    Results are not as good as 1.04, I guess because less memory is used. I used "x" command.

    Also, links to older versions don't work anymore.

  5. #5
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,985
    Thanks
    377
    Thanked 353 Times in 141 Posts
    Thank you, Matt!

    Quote Originally Posted by Matt Mahoney
    Results are not as good as 1.04, I guess because less memory is used.
    Actually, I moved back to ROLZ-like (LZ77) compression. This version is just improved v1.01a - look at decompression speed.

    Quote Originally Posted by Matt Mahoney
    I used "x" command.
    Im very curious about "c" command (Normal mode). With normal compression mode QUAD should work much faster with just slightly worse compression.

    Quote Originally Posted by Matt Mahoney
    Also, links to older versions dont work anymore.
    I completely moved QUAD to sourceforge.net! No versions available at encode.su anymore!

    Also, I think QUAD should be marked as an OpenSource (GPL) (and not experimental, since I will keep compatibility) project! In addition, "Decompressor size" field should contain size of zipped source code of Quad.

    By the way, a QUAD file extension was registered!
    http://filext.com/detaillist.php?extdetail=quad


  6. #6
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,985
    Thanks
    377
    Thanked 353 Times in 141 Posts
    QUAD conquerors Linux! Now an executable for Linux is available!

  7. #7
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by encode
    QUAD conquerors Linux! Now an executable for Linux is available!
    Awesome!

    Has any members tried this Linux version yet?

  8. #8
    Expert
    Matt Mahoney's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Florida, USA
    Posts
    3,255
    Thanks
    306
    Thanked 779 Times in 486 Posts
    I just compiled and emailed a 64-bit Linux version. It works on my machine, anyway.

  9. #9
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,985
    Thanks
    377
    Thanked 353 Times in 141 Posts
    Thank you, Matt!

  10. #10
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,985
    Thanks
    377
    Thanked 353 Times in 141 Posts
    Now QUAD has a small page:
    http://quad.sourceforge.net/


  11. #11
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by encode
    Now QUAD has a small page:
    http://quad.sourceforge.net/
    Thats neat!

  12. #12
    Programmer giorgiotani's Avatar
    Join Date
    May 2008
    Location
    Italy
    Posts
    166
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by encode
    Now QUAD has a small page:
    http://quad.sourceforge.net/
    Very interesting!
    PeaZip 1.4 is very near to be released, so I think Ill not introduce new features in it (just test/documentation phase), but a graphic frontend for QUAD compression/decompression will be on the top of the list of feature to be add to next release of PeaZip.
    With "tar before" feature I just added to PeaZip 1.4 I think that QUAD may become a good choice also for general purpose archiving.

  13. #13
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,985
    Thanks
    377
    Thanked 353 Times in 141 Posts
    Thank you, Giorgio! I'm looking forward for your brilliant PeaZip 1.4! (And for 1.5, of course )


  14. #14
    Programmer giorgiotani's Avatar
    Join Date
    May 2008
    Location
    Italy
    Posts
    166
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Hi, I just released PeaZip 1.4 and I succeded in adding a QUAD frontend (compression and extraction) it useful time to be included in *this* version!
    I was well impressed by QUAD and with "TAR before" option, allowing quite transparently to pre-create a TAR archive when sending multiple objects to compression-only algorithms (like QUAD, GZip and BZip2), it's IMHO well suited for general purpose usage.

  15. #15
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,985
    Thanks
    377
    Thanked 353 Times in 141 Posts
    GREAT! Thanks a lot! This morning I tested the new PeaZip. Some problems found with QUAD:

    While creating archive with single file (with no TAR before) Pea must save file by default as filename.fileextension.quad - as with BZip2. Currently it just changes the file extension, for example:
    reaktor.exe -> reaktor.quad instead of reaktor.exe.quad

    Some problems I've found also with file extraction - in some cases I get the "Error extracting the selected object. If the archive is password protected please provide it" message.

    Also, the info fields (type, size, packed, ...) are not cleaned up before opening a QUAD file. With BZip files all fine.

    So I think better if Size and Packed fields will be filled (with BZ files you only fill the packed field).

    Okay, a small SDK on QUAD files:

    File detection
    QUAD file is detected by its extension only (.quad)

    How to get an uncompressed size
    To get original file size you must read the first four bytes - a signed int value. Look at C++ code:

    rewind(archive); // if needed

    int size = 0;
    fread(&size, 1, sizeof(size), archive);

    // so, size is the wanted "uncompressed size"

    With Pascal you should read the LongInt (or Integer, depending on platform, so check the size first) variable at the start of file.

    How to get a packed size

    To get the packed size, just display the archive size. Again some C++ code:

    int pos = ftell(archive); // if needed

    fseek(archive, 0, SEEK_END);
    int packed = ftell(archive);

    fseek(archive, pos, SEEK_SET); // again, if needed

    With Pascal you may use the filesize or similar function.

    I hope this helps!

    Like I said, now I'm working on the new version of QUAD - 1.08 (a stable release) Introducing a slightly higher compression with max mode, an additional error checking and the most important - speed improvements.

    Also, tell me the estimated release date of next PeaZip, so I will release new QUAD before it, and you will able to include the 1.08 release to your brilliant PeaZip!

    Thank you again for your excellent work!

  16. #16
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,985
    Thanks
    377
    Thanked 353 Times in 141 Posts
    I know what's the problem with QUAD file extraction. If file already exists, quad.exe returns the error message - "file already exists; not overwritten" and PeaZip thinks that it was an error. So Pea as with BZ files also must check for output file - if it's already exists, ask user for confirmation and if file should be overwritten remove it.


  17. #17
    Programmer giorgiotani's Avatar
    Join Date
    May 2008
    Location
    Italy
    Posts
    166
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Hi, thank you for the feedback!
    I'm going to fix those problems with QUAD frontend in a mid term revision of 1.4 version (at most a coupe of week, depending on spare coding time I'll have in next days).
    As for the next version I still not have a roadmap, however since now I had released a new version about each month, so I think I'll publish 1.5 in the first week of April.

  18. #18
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,985
    Thanks
    377
    Thanked 353 Times in 141 Posts
    Great! I'm also planning to release next QUAD at late March or at first days of April!

  19. #19
    Member
    Join Date
    Mar 2007
    Location
    Ghent
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Tested Quad 1.07BETA on my benchmark site:
    http://uclc.info/

  20. #20
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,985
    Thanks
    377
    Thanked 353 Times in 141 Posts
    Thank you Johan!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •