View Single Post
  #133  
Old 02-05-2024, 02:55
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 231
Thanks: 158
Thanked 88 Times in 62 Posts
kj911 is on a distinguished road
Using FreeArc, this is the syntax, for LOLZ, in the "arc.ini" file:

Code:
[Compression Methods]
CUSTOM     = xZLib+srep+lzma:ultra:64mb:bt4:fb273:lc8:mc1000000
MASK       = xZLib+srep+lolz:dt1:dtb1:dtw1:dtm1:dto1:dtd1:mtt1:mt4:d160m:tt16:fba4096:mc1023/$binkpack=bpk/$OGGRE=oggre/$MP3Pack=packMP3/$Void=srep
LZMA       = lzma:a1:ultra:256mb:bt4:fb273:lc0:pb0:lc8:mc4096
LOLZSLOW   = lolz:dt:dtb1:d160m:fba4096:mc1023:tt16:mt1:ldmf1:ldc0:ldl5
LOLZ	   = lolz:dt:dtb1:dtw1:dtm1:dto1:dtd1:mtt1:mt4:d160m:fba4096:tt16:mc1023
LOLZFAST1  = lolz:dt:d160m:mc32:mtt1:mt2
LOLZFAST2  = lolz:dt:d320m:fba4096:mc32:ldmf1:mt1
LZP        = lzp:8mb:3:h22:d64mb

[External compressor:lolz]
header     = 0
packcmd    = "Resources\lolz_x64" {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
To unpack, you need this (arc.ini):

Code:
[External compressor:lolz]
header    = 0
unpackcmd = "cls-lolz_x86" {options} $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
+ cls.ini:

Code:
[lolz]
Bufsize=512k
transfer_ReadBufSize=512k
transfer_WriteBufSize=512k
MaxThreadsUsage=100%
MaxMemoryUsage=25%
TempPath=.\
ldmfMaxMemoryUsage=32m
ldmfDeleteTmp=0
This is the default usage mode as shown above.

If you want to compress manually, you basically have to copy the above command from the "Compression Methods" line and modify it a bit.

For example: lolz:dt:d320m:fba4096:mc32:ldmf1:mt1
Rewrite to: "lolz_x64.exe" -dt -d320m -fba4096 -mc32 -ldmf1 -mt1 datafile.arc packedfile.lolz

To unpack: "cls-lolz_x86/x64.exe" packedfile.lolz datafile.arc

The use of the "cls.ini" file may be omitted in this case.
I hope I got the question right...
Attached Files
File Type: txt lolz_manual_compress_cmd_text.txt (3.6 KB, 14 views)

Last edited by kj911; 02-05-2024 at 03:02. Reason: cmd text sample added
Reply With Quote
The Following User Says Thank You to kj911 For This Useful Post:
brispuss (02-05-2024)