PDA

View Full Version : Is it possible to use LZ4 with arc?


danswano
13-04-2017, 14:33
Hello,
Is it possible to use LZ4 with arc?
If yes can you provide me with the packcmd and unpackcmd for arc.ini?
Thank you.

Nizar3003
13-04-2017, 20:41
[External compressor:plz4]
header = 0
packcmd = pLZ4 e -l9 -t4 - -o - <stdin> <stdout>
unpackcmd = pLZ4 d -t4 - -o - <stdin> <stdout>

danswano
13-04-2017, 22:52
Thanks but i didn't mean pLZ4 i meant the older LZ4.

Razor12911
15-04-2017, 15:57
yes, possible. -mlz4, you don't have to add anything.

danswano
16-04-2017, 00:50
I've tried that didn't work for me and it just skipped it and made the archive as storing only.

Razor12911
16-04-2017, 01:45
See?

You can use this one if it still doesn't work.

http://fileforums.com/showthread.php?t=98009

danswano
16-04-2017, 04:25
I'm trying to precompress "FlatOut 4 - Total Insanity" using either plz4 or lz4 but i'm unable to get the decompressed size that "Drop and Scan for LZ4" is giving me.
I'm using those parameters to precompress:
packcmd = pLZ4 e -l9 -t4 - -o - <stdin> <stdout>

Any idea why i'm getting a big decompressed size only in the scanner?
Thanks Razor.

felice2011
16-04-2017, 10:06
I'm trying to precompress "FlatOut 4 - Total Insanity" using either plz4 or lz4 but i'm unable to get the decompressed size that "Drop and Scan for LZ4" is giving me.
I'm using those parameters to precompress:
packcmd = pLZ4 e -l9 -t4 - -o - <stdin> <stdout>

Any idea why i'm getting a big decompressed size only in the scanner?
Thanks Razor.

But are you really convinced of using pLZ4 with "* .PKG" files of FO4?

Razor12911
17-04-2017, 18:30
Could be false positives, tool is not perfect

danswano
17-04-2017, 21:59
Could be false positives, tool is not perfect

You can check the repacks floating around, there is 2 already with size under 4 G.B which is impossible to achieve with srep+lzma.

Andu21
19-04-2017, 04:53
Hello,
Is it possible to use LZ4 with arc?
If yes can you provide me with the packcmd and unpackcmd for arc.ini?
Thank you.

[External compressor:lz4]
header = 0
packcmd = lz4 -12 -B7 -BD - - <stdin> <stdout>
unpackcmd = lz4 -d - - <stdin> <stdout>

Just answering what you asked. But you probably meant the pre-processor.

mikey26
19-04-2017, 08:41
if you remove all the soundtracks folder and all the wallpaper junk thats not needed by the game you can get to dvd5 with srep+lzma .look at my data1.bin that the complete game and that will fit on dvd5.the second bin thats soundtrack and wallpapers(not needed):D

danswano
19-04-2017, 12:11
@mikey26
some users managed to go near 3.5 g.b for the games files without the extras but it's something related to LZ4.

I did remove them but i didn't reach such good ratio as yours.
can you paste here your arc.ini and .bat content please.

FitGirl
19-04-2017, 13:34
FlatOut 4 uses LZ4 compression for game resources.

And Razor's public LZ4-precompressor is a very early build, not able to precompress most games I tried. And I doubt he will release an updated build in near future, if at all :)

danswano
19-04-2017, 14:19
FlatOut 4 uses LZ4 compression for game resources.

And Razor's public LZ4-precompressor is a very early build, not able to precompress most games I tried. And I doubt he will release an updated build in near future, if at all :)

Do you suggest an alternative to pre-compress LZ4 until a final build of pLZ4 see the light?

Gupta
19-04-2017, 14:24
Do you suggest an alternative to pre-compress LZ4 until a final build of pLZ4 see the light?

use lz4 itself and xdelta to maintain the integrity

felice2011
19-04-2017, 14:37
Is already what makes pLZ4 by Razor, it has integrated xdelta..:confused:

mikey26
19-04-2017, 14:40
@danswano

-msrep+exe2+lzma:a1:mfbt4:d1000m:fb512:mc1000000:lc 8

i just used that to compress.i am not to stressed about 600mb difference in compression.i have plenty drive space for storage.

i know you can unpack the pac and wps files.and compress that then repack the unpacked files during install with the correct md5.

if not mistake wrc 5 had the same type or files.but its a pain in the ass for a few hundred megs.

danswano
19-04-2017, 21:16
@mikey26
Yeah i know it's not worth it for few hundreds of mb but it's just self challenging to reach good ratio always for me.
Thanks for the cmd but can you provide me with your srep setting in arc.ini please?