Skip to content

Windows 32/64 binary, 64 bit-HW accelerated

Compare
Choose a tag to compare
@fcorbelli fcorbelli released this 03 Jul 14:20
· 48 commits to main since this release
c9e96b2

Improved dump command

Show the technical information of the archives in a more readable way (!) and, in particular, the type of archive format
Mind you, it is not meant to work on giant files; it is just a debugging tool. It can therefore crash for large archives (multigigabyte), this is normal, it get a very naive approach. Maybe in the future I will write a better implementation, for now it is enough for me.

There are 3 switches

  • : -summary Brief
  • : -verbose Show useful infos
  • : -all A bit deeper

BTW will show archive compatibility level
60+ = zpaqfranz from v60 and more ~jul 2024
<60 = zpaqfranz up to v59.x
715 = standard zpaq 7.15 (or zpaqfranz -715)

I think it is pretty clear

C:\zpaqfranz\release\60_2>zpaqfranz dump z:\715.zpaq -summary
zpaqfranz v60.2b-JIT-GUI-L,HW BLAKE3,SHA1/2,SFX64 v55.1,(2024-07-03)
(...)
This seems a 715 archive (original zpaq format)

In this example there are older FRANZOBLOCKs with XXHASH64 (older hash, not "b")

C:\zpaqfranz\release\60_2>zpaqfranz dump z:\v59.zpaq -summary
zpaqfranz v60.2b-JIT-GUI-L,HW BLAKE3,SHA1/2,SFX64 v55.1,(2024-07-03)
(...)
FRANZOBLOCK             050          24
HASHTYPE           XXHASH64          24
This seems <60 archive (older zpaqfranz v59)

This is a newer HASH64B ("binary") => a mark 60 zpaqfranz

C:\zpaqfranz\release\60_2>zpaqfranz dump z:\v60.zpaq -summary
(...)
FRANZOBLOCK             050          24
HASHTYPE          XXHASH64B          24
This seems 60+ archive (newer zpaqfranz v60)

This is a more interesting example. It is a mix of small (050) and large (190) blocks , composed of two different hash types, binary XXHASH64 and old whirlpool
It means that by using the -frugal command to append data with a short block format (i.e., with the default hash, i.e., without any particular indication) the program will CRASH . Which is normal (in this case)

C:\zpaqfranz\release\60_2>zpaqfranz dump z:\v60_mixed.zpaq -summary
(...)
FRANZOBLOCK             050          24
FRANZOBLOCK             190          88
HASHTYPE          WHIRLPOOL          88
HASHTYPE          XXHASH64B          24
This seems 60+ archive (newer zpaqfranz v60)
*** WARNING DO NOT USE -frugal adding data to this archive!

Perhaps, in the future, I will put an automatic control. Short version: use the -frugal switch if you know what you are doing, otherwise avoid. It's for advanced users

Minor bug fixing

Could create unnecessarily large backup command files if there were no files to add

Download zpaqfranz