FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   PZlib (Alternative to Precomp) (https://fileforums.com/showthread.php?t=97888)

-NORO- 26-08-2017 10:11

Quote:

Originally Posted by Chayan Manna (Post 462002)
Yeah, ZTool gives better ratio than pZLib.

I meant the contrary it has worst ratio :confused:
I tried few times with mutliple games pzlib and ztool
pzlib gave better ratio , weird

Gupta 26-08-2017 10:37

Does pzlib is able to restore them back?

Chayan Manna 26-08-2017 10:51

Quote:

Originally Posted by -NORO- (Post 462005)
I meant the contrary it has worst ratio :confused:
I tried few times with mutliple games pzlib and ztool
pzlib gave better ratio , weird

No, ZTool gave better ratio at every game file I have tested, that's why Razor12911 made it private.
Unlike pZLib the parameter "-x" is not for the ultimate settings in ZTool. To gain the best ratio from ZTool the parameter is different. And ZTool is also Faster & more stable than pZLib.

-NORO- 26-08-2017 11:28

Quote:

Originally Posted by Chayan Manna (Post 462007)
No, ZTool gave better ratio at every game file I have tested, that's why Razor12911 made it private.
Unlike pZLib the parameter "-x" is not for the ultimate settings in ZTool. To gain the best ratio from ZTool the parameter is different. And ZTool is also Faster & more stable than pZLib.

Ohh i didnt test it with ultimate settings parameter , i know it is really faster and stable.

78372 04-09-2017 07:49

Quote:

Originally Posted by Chayan Manna (Post 462002)
Yeah, ZTool gives better ratio than pZLib.

Do ya know why ztool gives more ratio than pzlib?
Because ztool uses reflate libs even when detecting zlib streams(m1)

A week ago I tested with a 1GB file from jc2. pZlib 1350 gave 2.13GB and ztool gave 2.2GB.
Ofc pzlib 1350 was faster, while giving a smaller ratio.The 2.2GB file became 610mb after processing by srep, and 2.13GB by pzlib became 536mb. So it's proved that ztool uses reflate, which causes better ratio.

-NORO- 05-09-2017 14:10

Quote:

Originally Posted by 78372 (Post 462150)
Do ya know why ztool gives more ratio than pzlib?
Because ztool uses reflate libs even when detecting zlib streams(m1)

A week ago I tested with a 1GB file from jc2. pZlib 1350 gave 2.13GB and ztool gave 2.2GB.
Ofc pzlib 1350 was faster, while giving a smaller ratio.The 2.2GB file became 610mb after processing by srep, and 2.13GB by pzlib became 536mb. So it's proved that ztool uses reflate, which causes better ratio.

Did you update pzlib 1350 ?
I had decompression errors with 17 gb files

78372 05-09-2017 19:11

Yep, but you have pzlib v3, use that :)
ztool is faster than pzlib 1350 in most cases. Very few games are processed faster(about 2x) by pzlib 1350

linggar17x 28-09-2017 07:08

i get error crc when decompression..
How to solve?

78372 28-09-2017 08:35

Read the whole thread, you will find your answer

GBT repack 05-10-2017 05:33

What is the best compression rate now?
Seeking to share
thinks

MMBDON 07-12-2017 05:57

Plz Help to decompress data!
 
Can anybody help me, how to solve decompression problem with pzlib compressed data. I have already compressed some files of max payne 3 with pzlib v3. Compressed ratio became 44.9% from 6.78 GB - 3.05 GB. But when i'm decompressing this compressed file with WPI by including pzlib, some files were not extracting. I don't know why? I using compression method as, pzlib3+srep+delta+exe2+lzma2:ultra:a1:mfbt4:d518m: fb273:mc10000:lc8.
Please help me......

shazzla 08-12-2017 03:10

Do not use stdio @compression !

Kitsune1982 10-12-2017 18:20

hi guys. i am using razor12911's IC 3020 UA2008R2 modification, and i am having some problems with pzlib. the game i am trying to compress, syberia 1, has zlib streams inside the cmo folder in the root folder of the installed game, but when i try to install my repack after using pzlib on the folder with the zlib streams, the data/cmo folder, i keep getting a 'unarc returned an error error code -11 decompression fails - archive is corrupted' error and i know it has zlib streams because i scanned the folder with zlib checker. any ideas whats going on?

the cmo folder is only 95 mb but i want to get the hang of using pzlib.
please post back, i am frustrated and dont know why its not working.
ive tried using pzlib by itself which results in a larger file and pzlib with lzma both using UltraArc 2800 R2 and get the error code -11 with the second attempt.
any feedback will really help. thanks.

-Kitsune

Andu21 11-12-2017 07:02

If you are using -f option remove it also try compressing from file to file instead of stdio.

Kitsune1982 12-12-2017 13:06

hi guys, thanks for helping me with my pzlib question. i am still having issues so i thought i would post my arc.ini info here to further assist you all in helping me resolve my issue.

- arc.ini from F:\UA2800R2\Resources

My Method:
tor = srep+exe+exe2+delta+dict

Example (; = Disable)
;tor = /$File=srep+Lzma2/$Deflate=pzlib+srep+lzma:176mb:normal:bt4:273:mc10 00000000:lc8
;tor = precompmt+srep+lzma2
;tor = antiz+srep+nanozip

[External compressor:pzlib]
header = 0
packcmd = pZLib\pZLib e {options} -c128m -t75p - -o - $$arcdatafile$$.tmp -o - <stdout>
unpackcmd = pZLib\pZLib d {options} -t25p - -o - <stdin> <stdout>


[External compressor:pzlibv2]
header = 0
packcmd = pZLib v2\pZLib e -m3 -r6 {options} -c32m -t25p - -o - $$arcdatafile$$.tmp -o - <stdout>
unpackcmd = pZLib v2\pZLib d {options} -t100p - -o - <stdin> <stdout>

arc.ini from C:\Installer Creator 3.0\include

[External compressor:precomp]
header = 0
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:srep,srep64]
header = 0
unpackcmd = srep {options} -d -s - - <stdin> <stdout>

[External compressor:pzlib]
header = 0
unpackcmd = pzlib d - -o - <stdin> <stdout>

[External compressor:lzma2,lz77,xz]
header = 0
unpackcmd = 7z x -txz -an -y -si -so <stdin> <stdout>

[External compressor:zstd]
unpackcmd = zstd -d -f <stdin> <stdout>

please take a look at my arc.ini files and tell me if i did anything wrong there. also i have raw2hif.dll hif2raw.dll pzlib.exe and cls-reflate.exe in my IC 3100 include folder. i know i could use CIU instead but i like the style of this app and its similar in design just a bit older. let me know if i need to change anything in either of the arc.ini files.. thanks!

-Kitsune


All times are GMT -7. The time now is 12:37.

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