FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Is it possible to use LZ4 with arc? (https://fileforums.com/showthread.php?t=99128)

danswano 13-04-2017 14:33

Is it possible to use LZ4 with arc?
 
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

1 Attachment(s)
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

2 Attachment(s)
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

Quote:

Originally Posted by danswano (Post 458130)
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

Quote:

Originally Posted by Razor12911 (Post 458169)
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

Quote:

Originally Posted by danswano (Post 458052)
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.

Code:

[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

1 Attachment(s)
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

Quote:

Originally Posted by FitGirl (Post 458227)
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

Quote:

Originally Posted by danswano (Post 458233)
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?


All times are GMT -7. The time now is 15:18.

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