FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   srep64+lolz+lz77 (https://fileforums.com/showthread.php?t=101713)

PsYcHo_RaGE 10-04-2018 06:19

srep64+lolz+lz77
 
for compression used these configs in arc.ini

[External compressor:srep64]
header = 0
packcmd = srep64 {options} -m3f -ia- -l512 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 {options} -d -s - - <stdin> <stdout>

[External compressor:lolz]
header = 0
packcmd = lolz_x64.exe -d256mb -tt8 -mc1023 {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

[External compressor:lz77]
header = 0
packcmd = xz a -txz -an -mcrc=0 -m1=lzma2:d300m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=2 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>

now after compressing files i made changes to my installer and wanted to unpack them via installer but the installer is returning error now, last time i used the same compression and decompressed successfully but now decompression is not working ...............i dunno what i used....lol

but when i click and open the installer and click install button after 10 seconds>>>>btw i am using razor installer.....please help

Code:

An error occurred while unpacking: Unable to write data to disk!
Unarc.dll returned an error code:-11
ERROR: archive data corrupted (decompression fails)


78372 10-04-2018 06:37

1. The method is weird, using xz after lolz isn't going to give any benefit.
2. Make sure you have enough disk space and included cls and other stuff in your installer
3. Make sure the unarc.dll and fa is compatible with each other

PsYcHo_RaGE 10-04-2018 06:40

Quote:

Originally Posted by 78372 (Post 470078)
1. The method is weird, using xz after lolz isn't going to give any benefit.
2. Make sure you have enough disk space and included cls and other stuff in your installer
3. Make sure the unarc.dll and fa is compatible with each other

Can you explain it broadly

PsYcHo_RaGE 10-04-2018 06:43

Quote:

Originally Posted by 78372 (Post 470078)
1. The method is weird, using xz after lolz isn't going to give any benefit.
2. Make sure you have enough disk space and included cls and other stuff in your installer
3. Make sure the unarc.dll and fa is compatible with each other

what are the files i need to add to installer and what i write in arc.ini(i think its the root of error)....

78372 10-04-2018 06:44

1. lolz is a final compressor which uses huffman and completes finding matches, xz(lz77) is another final compressor like lolz, that can't work on data which is already compressed by something else(lolz here)
2. You need to include srep64.exe dec.exe, cls-lolz* and that arc.ini in your installer(both in files and code) to make the installer work.
3. If you don't use the same version of fa to pack and unpack, there can be errors, though I am not much sure about this thing

zouzouni 30-05-2018 04:02

This method only works because lolz set to high -mc parameter (works like -l parameter in srep)
-mc1023 sets lz matches not to search for lz libs less than 1023kb(?) if i understand right (but i might not)

then xz (lz77) searches for rest of headers less than 1023kb... it compresses what's left by lolz

better to use lolz only and set -mc to 128 or less but this has a great impact on compression speed... (you can use -mt4/x parameter to compensate: it doesn't such have a great impact on final compression ratio)

Again, i might get wrong about how this all works ...if you have better explanation i would be glad to learn from you Guys :)

Jiva newstone 30-05-2018 04:05

i think lolz compress'es data and closes the file, so if u used lz77 after lolz it might increase the size of ...

PsYcHo_RaGE 31-05-2018 08:45

Quote:

Originally Posted by Jiva newstone (Post 471283)
i think lolz compress'es data and closes the file, so if u used lz77 after lolz it might increase the size of ...

no it doesn't it actually compresses it even more by chunking
but only a few mbs

darkwolves 31-05-2018 22:37

Quote:

Originally Posted by PsYcHo_RaGE (Post 471311)
no it doesn't it actually compresses it even more by chunking
but only a few mbs

7zip is very troublesome when it comes to using it in arc.ini based compressors..
if it is only a few MB i would just just use lolz

PsYcHo_RaGE 01-06-2018 08:40

Quote:

Originally Posted by darkwolves (Post 471350)
7zip is very troublesome when it comes to using it in arc.ini based compressors..
if it is only a few MB i would just just use lolz

well i didn't use it now it was just for an experiment, i am using lolz now;)

darkwolves 01-06-2018 08:58

Quote:

Originally Posted by PsYcHo_RaGE (Post 471370)
well i didn't use it now it was just for an experiment, i am using lolz now;)

yeah it is a pain...lol


All times are GMT -7. The time now is 14:01.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com