FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   pZLib v3 (Final release) (https://fileforums.com/showthread.php?t=98672)

ramazan19833 07-03-2017 08:21

help

MAD MAX. It gives 12.86% compression ratio and 24 minutes

ZakirAhmad 07-03-2017 09:00

Any one please help...
I tried pzlib v4 +precomp042 on a file of crysis warhead... compression went well but decompression is giving me error at the end of extraction... (archive data corrupted)... please help...

danswano 11-03-2017 06:07

Hello,
I'm unable to unpack an arc file using pzlib+srep+lzma using ISDone although i've included these in my inno project:
Quote:

[Files]
Source: Include\pZLib.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\pZLib64.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\hif2raw_dll.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\raw2hif_dll.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\hif2raw_dll64.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\raw2hif_dll64.dll; DestDir: {tmp}; Flags: dontcopy
Quote:

Source: include\arc.ini; DestDir: {app}; Flags: dontcopy;
Quote:

ExtractTemporaryFile('pzlib.exe');
ExtractTemporaryFile('pzlib64.exe');
ExtractTemporaryFile('raw2hif_dll.dll');
ExtractTemporaryFile('raw2hif_dll64.dll');
ExtractTemporaryFile('hif2raw_dll.dll');
ExtractTemporaryFile('hif2raw_dll64.dll');
arc.ini:
Quote:

[External compressor:pzlib]
header = 0
unpackcmd = pZLib d -t8 - -o - <stdin> <stdout>
What am i missing here?
Thanks.

ZakirAhmad 11-03-2017 06:50

I tried pzlibv3 64 on .iwd files of cod blackops but while installing, installer says 2hours to extract... please help...

hasandgn34 11-03-2017 16:14

Quote:

Originally Posted by danswano (Post 457008)
Hello,
I'm unable to unpack an arc file using pzlib+srep+lzma using ISDone although i've included these in my inno project:




arc.ini:


What am i missing here?
Thanks.

change like this;


ExtractTemporaryFile('arc.ini'); // your script probably doesnt have this line
ExtractTemporaryFile('pzlib.exe');
ExtractTemporaryFile('pzlib64.exe');
ExtractTemporaryFile('raw2hif_dll.dll');
ExtractTemporaryFile('raw2hif_dll64.dll');
ExtractTemporaryFile('hif2raw_dll.dll');
ExtractTemporaryFile('hif2raw_dll64.dll');

danswano 11-03-2017 22:56

Quote:

Originally Posted by hasandgn34 (Post 457021)
change like this;


ExtractTemporaryFile('arc.ini'); // your script probably doesnt have this line
ExtractTemporaryFile('pzlib.exe');
ExtractTemporaryFile('pzlib64.exe');
ExtractTemporaryFile('raw2hif_dll.dll');
ExtractTemporaryFile('raw2hif_dll64.dll');
ExtractTemporaryFile('hif2raw_dll.dll');
ExtractTemporaryFile('hif2raw_dll64.dll');

Ah stupid me, totally forgot about it.
Thank you and big thanks to razor for his hard working efforts.

-XCX- 12-03-2017 13:48

What is the best method of pzlib for gta 5?
Can anyone tell me please?

danswano 12-03-2017 23:31

A quick question please:
Although i've read all the pages and replies but i couldn't figure out the purpose of those 4 versions of pZlib
the version refers to the project it self advancing forward or it refers that every single version handle different files using older or newer version of zlib headers?
I mean if the game uses zlib 2 headers can i use pzlib v4 to precompress it?
Thanks.

shazzla 13-03-2017 04:58

Pzlib v4 ? 0_o Are you sure ?!

Razor12911 14-03-2017 10:55

Quote:

Originally Posted by -XCX- (Post 457065)
What is the best method of pzlib for gta 5?
Can anyone tell me please?

-m2 -x -c256m

Quote:

Originally Posted by danswano (Post 457068)
A quick question please:
Although i've read all the pages and replies but i couldn't figure out the purpose of those 4 versions of pZlib
the version refers to the project it self advancing forward or it refers that every single version handle different files using older or newer version of zlib headers?
I mean if the game uses zlib 2 headers can i use pzlib v4 to precompress it?
Thanks.

there are 3 versions of pzlib, the versions of pzlib are not affiliated zlib versions at all, they are just titled to pzlib only.

ramazan19833 14-03-2017 11:36

Razor12911
Hello there

pzlib . v3

Is this the best? Adjustment

GTA 5 GAME BEST SETTING WHAT?

HELP......

[External compressor:pzlib]
header = 0
packcmd = pzlib e -m2 -d900m -b4m -t75p -t8 -ct8 -c512m -b512k $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp
unpackcmd = pzlib d -t8 - -o - <stdin> <stdout>[/QUOTE]

Razor12911 14-03-2017 11:40

Quote:

Originally Posted by ramazan19833 (Post 457126)
Razor12911
Hello there

pzlib . v3

Is this the best? Adjustment

GTA 5 GAME BEST SETTING WHAT?

HELP......

[External compressor:pzlib]
header = 0
packcmd = pzlib e -m2 -d900m -b4m -t75p -t8 -ct8 -c512m -b512k $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp
unpackcmd = pzlib d -t8 - -o - <stdin> <stdout>

[/QUOTE]

http://fileforums.com/showpost.php?p...&postcount=131

the f*ck is -d900m doing there when encoding.

ramazan19833 14-03-2017 11:54

Razor12911
Hello there

srep64.V

RAM : 32 GB
CPU : Intel® Core™ i7-5820K 6Core 3.30 GHz
SSD: 250 GB

Is this the best? Adjustment

GTA 5 GAME BEST SETTING WHAT?

HELP......

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

felice2011 14-03-2017 12:07

I would cut the thumb down to this user, but then it will be worse it will use the middle finger...:p:)

L0v3craft 14-03-2017 12:09

Hi Razor12911 and thank you for this awesome precompressor.

I have a simple question. At post #39 you wrote :

"-The increment of -c# does give better output... Mad Max will need something like 256MB-320MB, GTAV with 128MB is fine, and DOOM needs something like 600-700MB"

good but how we can understand how much are bigs the streams of the files of a game ? Which tool do you used to understand that ? Thanks.

ZakirAhmad 14-03-2017 20:00

@L0v3craft:
Use ds4pzlib by razor...
just drop file on it and wait for result...
try to use switches like force detection headerless streams and chunksize.....
use chunksize to find chunksize u r going to use in pzlib...
additional info...
u can also see possible memory usage during preprocess by pzlib...

Razor12911 15-03-2017 17:29

Quote:

Originally Posted by felice2011 (Post 457137)
I would cut the thumb down to this user, but then it will be worse it will use the middle finger...:p:)

Haha, I don't know why he always does that, and I thought I was the only one who noticed.

-XCX- 17-03-2017 02:07

I repacked 35.6gb on Gta5+all dlcs.
Thanks a lot Razor12911 Bro for your library

Sebazz 17-03-2017 06:56

Hello guys, can you please what is the pzlib best methods for phantom pain, rise of tomb raider and hitman 2016 ? Thanks

-XCX- 17-03-2017 08:15

Please AnyOne Help Me
 
2 Attachment(s)
It took too much time to compress
then I got this fu**k**g error while unpacking any solution please
Method Used:
packcmd = pzlib e -m2 -x -c256m - -o - <stdin> <stdout>

Sebazz 17-03-2017 09:12

i think you need specificate decoding/encoding streams option (-t#), try this config.

[External compressor:pzlib]
header = 0
packcmd = pZLib e -m2 -x -c256m -t75p $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp
unpackcmd = pZLib d -t75p - -o - <stdin> <stdout>

-XCX- 17-03-2017 09:16

Quote:

Originally Posted by Sebazz (Post 457227)
i think you need specificate decoding/encoding streams option (-t#), try this config.

[External compressor:pzlib]
header = 0
packcmd = pZLib e -m2 -x -c256m -t75p $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp
unpackcmd = pZLib d -t75p - -o - <stdin> <stdout>

did you try any time

ramazan19833 18-03-2017 21:08

Hello there
 
Hello there

Help Please..

http://i.hizliresim.com/gqopnR.jpg
GTA 5 ORIGINAL SIZE :[/B] 75 GB
GTA 5 COMPRESS : 37 GB
METHOD : -mpzlib+srep+lzma2
http://i.hizliresim.com/gqopkR.jpg

Arc.ini

[External compressor:pzlib]
header = 0
packcmd = pZLib e -m2 -x -c256m -t100p - -o - <stdin> <stdout>
unpackcmd = pZLib d -t100p - -o - <stdin> <stdout>

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

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

pZLib+srep+Lzma2 38GB GTA V

ImmortalArc 19-03-2017 01:40

Have you tried with wpi and asc??

L0v3craft 19-03-2017 09:55

Quote:

Originally Posted by ramazan19833 (Post 457248)
[External compressor:srep]
header = 0
packcmd = srep64 {options} -m3f -d1g -a2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 {options} -d -s - - <stdin> <stdout>

Try to change that with this:

Code:

[External compressor:srep64]
header = 0
packcmd  = srep64 -m3f -d1g -a2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s -- <stdin> <stdout>

and change the command: pZLib+srep+Lzma2

with this: pZLib+srep64+Lzma2

chum 03-04-2017 04:19

Pzlib compress MP3 too? Thats odd because Precomp045 cause issues trying to compress some MP3 files, when i disabled Precomp045 from compressing MP3 then the compression and decompression works perfect.

Pzlib crashes when try to compress same audio files than precomp045 crashes.

danswano 05-04-2017 07:17

Hello,
I' using these parameters on Mafia III
Quote:

;srepx64
[External compressor:srep]
header = 0
packcmd = srep64 {options} -m3f -d1g -a2 -v0 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

[External compressor:pzlib]
header = 0
packcmd = pZLib {options} e -m2 -c256m -t100p $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp
hif2raw_dll.dll and raw2hif_dll.dll are next to pzlib.exe in the same folder as well.

But getting data checksum error when decopressing, any idea why?

Gupta 05-04-2017 07:25

>> But getting data checksum error when decopressing, any idea why?
don't use stdio/stdin while compressing, you will never get crc error
Tested 1000 times

danswano 05-04-2017 07:26

Can you modify my code please, not sure what you mean where i must remove them.
You mean completely remove it from both srep and pzlib or just pzlib?
Or you mean remove it from unapckcmd?

danswano 06-04-2017 11:48

Any help is appreciated, tried many pzlib and srep settings and still getting so many freaking crc errors.
also tried splitting the files across multiple archives didn't work for all of them.

008black 07-04-2017 23:01

What is the best method to compress GTA v audio

Nizar3003 08-04-2017 06:32

Quote:

Originally Posted by 008black (Post 457902)
What is the best method to compress GTA v audio

Try to use PZLIB and MSC.
You can get better compresssion...

008black 08-04-2017 07:35

Quote:

Originally Posted by Nizar3003 (Post 457911)
Try to use PZLIB and MSC.
You can get better compresssion...

Thanks i will try

008black 09-04-2017 18:38

I used Pzlib -m2 -x c256m +srep +Lzma2 to compress GTA 5 and also used msc for audio (compressed to 15.3 gb intial size 16.6 gb ) and final compressed size is of 39 gb version 1.36 but there are repacks on net like fitgirl 36 gb approx can anyone tell how to achieve that size

ShadowEagle 11-04-2017 04:50

Compressing Mafia III worked fine, but there are several problems to extract. Esspecially on some sds texture files there is a endless loop.

Is there any way to catch these files before compressing? I mean it`s very ennoying to compress the game 20 times to catch all files which won`t extract correctly.

romulus_ut3 11-04-2017 06:39

I think we'll have to be patient with pZlib, as it's still very much a work in progress. Till Razor12911 can put some more of his valuable time into this, all we can do is go through the process of trial and error; provide him with much detailed information of the problems we encounter as possible.

Razor12911 11-04-2017 18:09

1 Attachment(s)
reflate_0c4 libraries added to main post.

Speed has been improved

doofoo24 12-04-2017 00:19

great test it on doom gameresources.resources and patch mange to compress 7.90gb to 4.40gb using pzlib+srep+lzma
for pzlib i used pzlib e -m2 -t4 -c640m -x -s -r9,
decompress 9 minutes on i7 6700k
i set pzlib to d -t100p...
great any new news on plz4

008black 16-04-2017 07:18

Hello razor what's the progress of zarc

Razor12911 16-04-2017 20:42

Quote:

Originally Posted by 008black (Post 458133)
Hello razor what's the progress of zarc

Currently paused, will be resumed after my exams.


All times are GMT -7. The time now is 20:44.

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