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)

zouzouni 30-12-2016 05:16

Quote:

Originally Posted by shazzla (Post 454880)
Those files are included and extracted after running the "setup.exe" ! Arc.ini too -->

unsupported compression pzlib. :D

It cant decompress the archive :
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\c1.dat'), ExpandConstant('{app}\'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

WTH ?!


Edit :

if not ISExec(0, 0, 0, ExpandConstant('{tmp}\arc.exe'), ExpandConstant('x -o+ -cfg"{tmp}\arc.ini" -w"{app}" -dp"{app}" "{src}\try.arc"'), ExpandConstant('{tmp}'), '...', False) then break;

Extract successul !

But ISArcExtract would be better....



try this:

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\data.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

shazzla 30-12-2016 05:35

Quote:

Originally Posted by zouzouni (Post 454882)
try this:

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\data.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

unarc.dll returned an error code : -2
error : unsupported compression method pzlib+srep+delta+lzma....

LuzhinE 30-12-2016 06:14

shazzla What game is trying to compress?

shazzla 30-12-2016 06:23

crysis 1

LuzhinE 30-12-2016 06:30

Your system is 64 or 32 bits

shazzla 30-12-2016 06:39

x64.

but as i wrote before :
I can unpack the archives using isdone with ISExec.

IsArcExtract doesnt work. And i dont know why..... :/

LuzhinE 30-12-2016 06:58

X64 version
You do not need to add anything else
You can open pZLib.exe directly to read its documentation

https://drive.google.com/open?id=0B6...ldRTWxDSW9uQ2c

I hope you understand, if you get CRC error try changing to -m1 or use reflate for some games

shazzla 30-12-2016 07:20

everytings clear as it was before. btw thanks ! :)

zouzouni 30-12-2016 09:58

Thx again To you Razor!
 
OK... I finally succeeded in compressing Shadow Warrior 2 bin files :cool:

after numerous attempts.. I found "THE SETTING" : ) for this game and no more crc checksum error at decomp ....installation is ok in both ASC and INNO

for that used pzlib x86 (instead of x64) v3H, I had to split games files in 4 parts and I had to get rid of -c# setting and apply :
packcmd = pZLib e -m2 -st50p -ct8 -b1024k - -o - <stdin> <stdout>

I had to "sacrify" size (from 8.4Gb to 8.53Gb) but still I am happy with it !!

Thx again Razor for sharing this fantastic tool , I will never forget to give you the credits for it! ...brilliant work :D

ZAZA4EVER 31-12-2016 15:42

1 Attachment(s)
Very Thanks razor For V3 .. but I want Help in install wpi
how add pzlip unpack to wpi setup
i make just cause 3 from 54.5gb to 20.4gb by pzlip+msc+serp+lzma
eng & arabic lang - commnt ... and uppack perfect by the attachment cmd
and check md5 files perfect well ..
i want to add pzlip and command lines to wpi setup
i try it but fail not progress with me installing and not progress
please help and happy new year

ZAZA4EVER 01-01-2017 14:18

3 Attachment(s)
i try to add pzlib.exe to wpi but when install progress ~ 2% and stop not make any progress please help ... where the problem in unarc.dll or arc.ini or what? ..
i make again repack make it 16.6gb not 20.4gb ... as well unpack by attachment i uploaded it in previous post and not unpack by wpi

oltjon 01-01-2017 15:19

try to write so ( pZLib.exe ) in the script :)

pakrat2k2 01-01-2017 18:28

also check your arc.ini
Code:

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

post#71 has the following & used x86 version NOT x64 versions.

Code:

packcmd = pZLib e -m2 -st50p -ct8 -b1024k - -o - <stdin> <stdout>
simple copy / paste into your arc.ini to see if it helps any, try using pZLib instead of pzlib
don't think it matters any but try as suggested.

-XCX- 02-01-2017 05:03

Quote:

Originally Posted by ZAZA4EVER (Post 454927)
i try to add pzlib.exe to wpi but when install progress ~ 2% and stop not make any progress please help ... where the problem in unarc.dll or arc.ini or what? ..
i make again repack make it 16.6gb not 20.4gb ... as well unpack by attachment i uploaded it in previous post and not unpack by wpi

add raw2hif_dll.dll , hif2raw_dll.dll and pzlib.exe in your script

ZAZA4EVER 02-01-2017 08:35

1 Attachment(s)
Quote:

Originally Posted by oltjon (Post 454928)
try to write so ( pZLib.exe ) in the script :)

Not Solve , Thanks For Reply And Help

Quote:

Originally Posted by pakrat2k2 (Post 454929)
also check your arc.ini
Code:

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

Not Solve , Thanks For Reply And Help

post#71 has the following & used x86 version NOT x64 versions.

Code:

packcmd = pZLib e -m2 -st50p -ct8 -b1024k - -o - <stdin> <stdout>
simple copy / paste into your arc.ini to see if it helps any, try using pZLib instead of pzlib
don't think it matters any but try as suggested.

Quote:

Originally Posted by -XCX- (Post 454935)
add raw2hif_dll.dll , hif2raw_dll.dll and pzlib.exe in your script

Thanks Very Much ... Extract Perfect ... Finally


All times are GMT -7. The time now is 00:01.

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