View Single Post
  #157  
Old 26-08-2020, 17:45
Razor12911's Avatar
Razor12911 Razor12911 is online now
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,648
Thanks: 2,026
Thanked 10,438 Times in 2,213 Posts
Razor12911 is on a distinguished road
Update available

Changes

- fixed command line parser
- updated deflate scanner
- added stream deduplication
- added stream database
- added decompression memory limiter
- added grittibanzli (also handles deflate stream but slow af)

Notes

stream deduplication doesn't allow you to set max decompression memory so it uses VM file, this will be in future versions.
stream deduplication also produces a file that is required for decompression, this file must always exist else xtool will always fail restoring the data

Code:
[External compressor:xtool]
header    = 0
packcmd   = xtool.exe precomp -mzlib+preflate -c32mb -t100p-1 --dbase --dedup=xtool.bin - - <stdin> <stdout>
unpackcmd = xtool.exe decode -t100p-1 --dedup=xtool.bin - - <stdin> <stdout>
xtool.bin must be put along with the installation (setup.exe) and extracted to temp like you would with xtool.exe and other decompression exe/dll/cls files

if you have multiple archives, the same xtool.bin file can be used. meaning if you used xtool in data1.bin and data2.bin, xtool.bin can be used for both, the program itself will decide which section of the xtool.bin belongs to which archive. This is better than having xtool1.bin and xtool2.bin for each archive

Last edited by Razor12911; 26-08-2020 at 17:56.
Reply With Quote
The Following 14 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (26-08-2020), darkwolves (27-08-2020), DiCaPrIo (27-08-2020), dixen (26-08-2020), elit (04-12-2020), ffmla (27-08-2020), Harsh ojha (26-08-2020), L0v3craft (03-09-2020), Masquerade (28-08-2020), oltjon (27-08-2020), Perykles (27-08-2020), shazzla (26-08-2020), vint56 (26-08-2020), ZAZA4EVER (29-08-2020)