View Full Version : Information about ZTool
As Razor12911 left, leaving a great compression tool for us without any information about using it, I decided to write this thread on behalf of Razor12911.
ZTool is not a single precompressor, it's a combination of a set of precompressors improved by Razor12911. ZTool includes:
1. pzlib (works for all deflated data)
2. plz4 (works for all Frostbite 3 games released before FIFA 17)
3. plzo (works for Anvil Engine (AC, Ghost Recon Wildlands, possibly Prince of Persia, basically all games with .forge extension))
4. pzstd (only works for Mass Effect Andromeda only, FIFA 17 support not added.)
ZTool supports:
* All deflated games including id Tech 6 Engine
* IW Engine 7.0 (Call of Duty Infinite Warfare, Call of Duty Modern Warfare Remastered)
* Anvil Engine (Entire Assassin's Creed series, Prince of Persia, Rainbow Six Siege, Ghost Recon Wildlands, possibly AC Origins when it's out)
* Frostbite 3 Engine (NFS Rivals, NFS 2015, NFS Edge, BF4, BF Hardline, BF1, Mirror's Edge Catalyst, Mass Effect Andromeda...) except FIFA 17
plzo in ZTool should work for these games:
Scimitar
Assassin's Creed (2007)
Prince of Persia (2008)
Shaun White Snowboarding (2008)
Anvil
Assassin's Creed II (2009)
Prince of Persia: The Forgotten Sands (2010)
Assassin's Creed: Brotherhood (2010)
Assassin's Creed: Revelations (2011)
AnvilNext
Assassin's Creed III (2012)
Assassin's Creed III: Liberation (2012)
Assassin's Creed IV: Black Flag (2013)
Assassin's Creed Rogue (2014)
AnvilNext 2.0
Assassin's Creed Unity (2014)
Assassin's Creed Syndicate (2015)
Tom Clancy's Rainbow Six Siege (2015)
Steep (2016)
For Honor (2017)
Tom Clancy's Ghost Recon Wildlands (2017)
Assassin's Creed Origins (2017)
The arc.ini for using ZTool
[External compressor:pzlib,plz4,plzo,pzstd]
header = 0
packcmd = ZTool e:{compressor}{:option} - - <stdin> <stdout>
unpackcmd = ZTool d:{compressor}{:option} - - <stdin> <stdout>
Requirements in ZTool is below:
pzlib requires:
Microsoft Visual C++ 2013 Redist
plz4 requires:
Microsoft Visual C++ 2015 Redist
plzo needs:
Microsoft Visual C++ 2010 Redist
Changelog
1.0 Original Thread
1.1 Added requirements
Thanks to Razor12911 for the information I provided here and also for the tool :)
ZakirAhmad
25-07-2017, 07:20
Please tell me an example arc.ini
ZakirAhmad
25-07-2017, 07:35
I am getting error
"Write error (disk full?) In compression algorithm ztool"
ZakirAhmad
25-07-2017, 07:46
Please share also screen shots if possible.
Please tell me an example arc.ini
here ya go,
[External compressor:pzlib,plz4,plzo,pzstd]
header = 0
packcmd = ZTool e:{compressor}{:option} - - <stdin> <stdout>
unpackcmd = ZTool d:{compressor}{:option} - - <stdin> <stdout>
ZakirAhmad
25-07-2017, 09:45
Thanks a lot.
I tried this way " ztool e:plz4 - - <stdin> <stdout> on a file from farcry primal but it is not inflating it while ds4lz4.exe is showing its inflation ratio as 601%
Thanks a lot.
I tried this way " ztool e:plz4 - - <stdin> <stdout> on a file from farcry primal but it is not inflating it while ds4lz4.exe is showing its inflation ratio as 601%
maybe the files are encrypted or plz4 is not set to detect fcp's streams...
Afaik Assassin's Creed IV: Black Flag (2013) is not supported.
Afaik Assassin's Creed IV: Black Flag (2013) is not supported.
May be, I haven't tested myself
Here's an example of bat and arc.ini for using ZTool
ZakirAhmad
26-07-2017, 07:59
Can any body make a arc.ini for plz4 of ztool.
Can any body make a arc.ini for plz4 of ztool.
The arc.ini I gave here is working for everything(pzlib/plz4/plzo/pzstd) You just need to change the bat and write the method you want to use.
For example, I used pzlib+srep+lzma in thehe bat. You can change it to plz4+srep+lzma
ZakirAhmad
26-07-2017, 19:38
Did i not need to adjust settings for say plz4 say level, threads etc.
Call of Duty Modern Warfare Remastered
It does not compress almost anything
How to open ztool help?
Did i not need to adjust settings for say plz4 say level, threads etc.
Write it like this
pzlib:m2+srep+lzma
Call of Duty Modern Warfare Remastered
It does not compress almost anything
How to open ztool help?
Try this
plz4:l9+srep+lzma
ztool h:xxxx
xxx means pzlib,plz4,plzo,pzstd
ZakirAhmad
27-07-2017, 07:10
Why ztool doesnt show progress.
harshlohaan
27-07-2017, 09:04
How to set password for the archive?
http://facebook.github.io/zstd/
The only game that currently uses the Zstd stream is Mass Effect: Andromeda
http://facebook.github.io/zstd/
The only game that currently uses the Zstd stream is Mass Effect: Andromeda
Nope. FIFA 17 is also using zstd.
ZakirAhmad
27-07-2017, 20:40
I tried to use ztool on farcry primal and lords of the fallen but it seems to not work on them.
I tried to use ztool on farcry primal and lords of the fallen but it seems to not work on them.
Use GFS to know which method of ZTool should be used
danswano
27-07-2017, 23:45
What about the progress? is it visible?
Indirectly shown by fa, because ZTool works with stdio
ZakirAhmad
29-07-2017, 09:30
I request everybody to post the list of games supported by ztool.
Thanks in advance.
plzo in ZTool will surely work for this games:
Assassin's Creed II (2009)
Assassin's Creed: Brotherhood (2010)
Assassin's Creed: Revelations (2011)
Doesn't work on AC2, ACB+ACR not tested, but should be same because of same engine.
zouzouni
30-07-2017, 16:44
Hi everybody
Here is arc.ini for plz4 use with ztool
[External Compressor: ztool]
header = 0
packcmd = ZTool e plz4:l9:t#:b#k:ct#:st#:cm#m:c#m <stdin> <stdout>
unpackcmd = ZTool d plz4:t8 <stdin> <stdout>
# being values to be replaced (ct8:st50:cm128m ....)
I personnaly use: ZTool e plz4:l9:t2 <stdin> <stdout>
for help open command prompt and type :ztool h:plz4
and you'll have a short description of available compress/decompress switches
By the way, I would like to give endless respect to master in the person of Razor, and thx him a thousand times for all he brought to us with such a genuin work.
I am really sorry for what happened to you, Dedsec and the whole reality team, this is unfair and deeply unrespectfull but this is how life is. I can ensure you that I will and so will my team, always give you credits for using this and other tools of yours...this is the least we can do.
If it can help in any way :
I have been tested Plz4 on COD IW and it doesn't work well on imagefiles.pak : I mean it does the deflate job by finding lz4 headers (26 GB --> 42GB -l9 recompression) and it can compress ok but then it always fails at decomp with a crc error after total decomp of file (file is installed and size is ok but crc is wrong : (
It worked only on 5 files out of 29 ( 600 MB out of 26 GB : ( ....
I have tried with another lz4lib.dll (1.7.5 885KB update from lz4 package on github works ok), I have tried all possible settings and even tried with splitted files to check if it was a matter of file size being to big! I have tried with xz, lzma, even lz4 ...
nada, it doesn't want to decomp without a crc error at the end of file unpacking
PLZ4 works ok with assets.pak files 4.8 GB -> 1.4 GB ...
PLZ4 works ok with .FF (fastfile) eventhough it does not like to be mixed with other extensions (.FF only at compression : no problem at decomp / .FF+assets.pak at compression : crc error at decomp) ...5.8 GB --> 2.7 Gb
I could only get plz4 working ok on assets.pak and .ff files by compressing them separately.
Hope it will help you Razor updating your tool, eventhough we won't ever see this update ... I will always support and respect the great man you are ...even if you are still using depli language ...lol :)
I had crc errors with pzlib3.
Then modified arc.ini/compression setting from stdin/out to tempfile and voila!
No more CRC errors !
Maybe this is the source of errors. Give it a shot...
And let me know the result,okay?
Thanks !
zouzouni
31-07-2017, 08:52
I had crc errors with pzlib3.
Then modified arc.ini/compression setting from stdin/out to tempfile and voila!
No more CRC errors !
Maybe this is the source of errors. Give it a shot...
And let me know the result,okay?
Thanks !
Already tried $$arcdatafile$$.tmp $$arcpackedfile$$.tmp instead of <stdin> <stdout> and still same crc error at decomp only (plz4 codec)
I tried with 1.7.5 version of lz4lib.dll and still same error ...I believe problem comes from ztool exe itself ....but I am no expert , just my opinion : )
And for those who are still wondering .... Inno script handles it perfectly and I have proper progress bar showing with wpi 3.1 Razor's script : )
It's better to use ZTool more cautiously
There are bugs in multithreaded like ZTool
Also, ZTool is much weaker than PZlib in deflate streams.
Compressed BF4 with Ztool-plz4 from 68GB to 33.7GB. Plz4:l1:t6+srep+lzma
Decompressor is unfinished? It works but stuck at end without closing correctly and need to force close in task manager. I only tested BF4 with plz4 for now.
Anyway thanks Razor for this great tool. The best developer for repacking tools.
Compressed BF4 with Ztool-plz4 from 68GB to 33.7GB. Plz4:l1:t6+srep+lzma
Decompressor is unfinished? It works but stuck at end without closing correctly and need to force close in task manager. I only tested BF4 with plz4 for now.
Anyway thanks Razor for this great tool. The best developer for repacking tools.
Use
plz4+srep+lzma
[External compressor:pzlib,plz4,plzo,pzstd]
header = 0
packcmd = ZTool\ZTool e:{compressor}:t25p{:option} - - <stdin> <stdout>
unpackcmd = ZTool\ZTool d:{compressor}{:option}:t90p:f:cm256mb - - <stdin> <stdout>
Use
plz4+srep+lzma
[External compressor:pzlib,plz4,plzo,pzstd]
header = 0
packcmd = ZTool\ZTool e:{compressor}:t25p{:option} - - <stdin> <stdout>
unpackcmd = ZTool\ZTool d:{compressor}{:option}:t90p:f:cm256mb - - <stdin> <stdout>
No deal. All files are decompressed fine and works but at end Ztool.exe keep pending and dont close by itself if i dont kill process with task manager. There is something strange.
Maybe i should run it as Admin? I'll try.
Chayan Manna
05-08-2017, 20:46
No deal. All files are decompressed fine and works but at end Ztool.exe keep pending and dont close by itself if i dont kill process with task manager. There is something strange.
Maybe i should run it as Admin? I'll try.
It's a bug of ZTool. I also saw it in Reality Repack's Installer that, after finishing installation Installer closes but ZTool keeps running.
To solve this problem you must write a Taskkill code for ZTool on clicking cancel button.
Chayan Manna
05-08-2017, 20:53
ZTool is much weaker than PZlib in deflate streams.
ZTool is not weaker than pZLib but stronger. Some parameters of ZTool is different from pZLib.
For example: The "- x" parameter is used for max settings in pZLib but to use the max settings in ZTool the parameter is different.
pZlib in ZTool is much optimized than original pZlib
Chayan Manna
06-08-2017, 00:53
pZlib in ZTool is much optimized than original pZlib
That's the thing for which I'm talking about. :)
ImmortalArc
06-08-2017, 01:34
That's the thing for which I'm talking about. :)
How to use that parameter
ImmortalArc
06-08-2017, 02:57
ZTool is not weaker than pZLib but stronger. Some parameters of ZTool is different from pZLib.
For example: The "- x" parameter is used for max settings in pZLib but to use the max settings in ZTool the parameter is different.
How to use that parameter
felice2011
10-08-2017, 05:57
No deal. All files are decompressed fine and works but at end Ztool.exe keep pending and dont close by itself if i dont kill process with task manager. There is something strange.
Maybe i should run it as Admin? I'll try.
Use default in decompress "unpackcmd = ZTool d:pzlib{:option} - - <stdin> <stdout>" ;)
EzzEldin16
11-08-2017, 16:04
@78372 (http://fileforums.com/member.php?u=230116) i installed mu OS recently i wanted to use ztool nothing was installed to the system no drivers no redists so i started compressing with ztool it didn't work and a download message from windows appeared telling me that this program needs (2.0-3.5 DOTNET Framework installed did it happen to anyone here ? thought this useful
I used this program only with windows 7 with those dot net programs preinstalled, so I never faced that problem.
Anyways, requirements in ZTool is below:
pzlib requires:
Microsoft Visual C++ 2013 Redist
plz4 requires:
Microsoft Visual C++ 2015 Redist
plzo needs:
Microsoft Visual C++ 2010 Redist
plzo in ZTool should work for these games:
Assassin's Creed III (2012) NO
Assassin's Creed III: Liberation (2012) NOT TESTED BUT SHOULD BE SAME
Assassin's Creed IV: Black Flag (2013) NO
Assassin's Creed Rogue (2014) NOT TESTED BUT SHOULD BE SAME
So it's only working on AnvilNext 2.0, which are only 2 games. Next AC probably will be someting different.
Edison007
22-10-2017, 05:07
Doesn't work on AC2, ACB+ACR not tested, but should be same because of same engine.
So it's only working on AnvilNext 2.0, which are only 2 games. Next AC probably will be someting different.
You can use AFR: http://fileforums.com/showthread.php?t=99628
:)
ZTool update available
ZTool 19.9 update available.
Changes:
1. Added pOodle(Oodle Precompressor)
pOodle is alpha and works only with FIFA 18.
Thanks to vultures to leak it by mistake, Razor12911 will no longer program by any mistakes ;)
No more updates, consider you got the last diamond from Razor12911
danswano
02-11-2017, 22:35
Thanks, do you know what games uses this kind of compression?
Wolfenstein 2 - the new colossus
Thanks, do you know what games uses this kind of compression?
>>>>>
pOodle is alpha and works only with FIFA 18.
:confused:
ZTool update available
ZTool 19.9 update available.
Changes:
1. Added pOodle(Oodle Precompressor)
pOodle is alpha and works only with FIFA 18.
Thanks to vultures to leak it by mistake, Razor12911 will no longer program by any mistakes ;)
No more updates, consider you got the last diamond from Razor12911
:confused:
I thought razor is out of business?
Yep, now razor is out of business, this thing was leaked before razor posted cls-diskspan, I just posted this in the forum to let others know about it.
Ok..
Wonder how it is possible to "leak it by mistake" lol
I also think that, how can someone leak something in a repack by mistake? None but a vulture can do that.
I also think that, how can someone leak something in a repack by mistake? None but a vulture can do that.
Are you an idiot or what? Yes, it was leaked by mistake. Yes, it was me who accidently included non-decoder version into FIFA 18 repack. And I apologized to Razor for that ofc.
And now explain, how was it in my interest to leak a private tool and how does it make ME a vulture, and not you, who actively spreads it around.
Keep your home unsafe by mistake, let others steal them and say to police that it was not my fault :V
You can't tell police,"her house is open that's why i steal" or can you?
Is this really matters if someone gets it or not after leaking? The tool is leaked, and now atm everyone should be benefited by it. If it was private forever, then no problem, I respect privacy, but when it's public, then ofc let everyone know about and use it.
And ya, I can't tell police but the houseowner can't blame me for that.
Makes sense, my guess was from the beginning that poodle wasn't leaked by a "intent", because i think razor isn't that dumb to share it with people who have already leaked something.
So let's say, leaked by (more or less negligence) mistake.
Poor razor :rolleyes:
Well the fact is, a vulture doesn't get a second chance to leak something , every vulture is a new one :P
However, why don't just forget everything? The only worse thing is Razor left, or everything is nice nah :)
felice2011
04-11-2017, 12:02
But what I do not understand is how did they get the encoder version, which by mistake was left in a repack, someone was due to give it, or someone trusted too much of the wrong person...:confused:, I think no one has stolen nothing, but this person had the home keys of the master, this person come out and go home when he wanted...:rolleyes:
show must go on :D they all serve but no one is indispensable
El secreto de Puente Viejo :D:D:D:D
Razor12911
04-11-2017, 20:59
Poor razor :rolleyes:
Yes, poor razor. Don't feel sorry for me, tried to help publicly, shit happens. Help privately, shit still happens. Leaving all this stuff with you guys. Doesn't affect me one bit, am no repacker, none of the stuff I make has ever been used on any of my files because if I run out of space, I simply save time by getting another hard drive.
Dropping of this kdet, some tool I worked on before poodle, it also survived deletion (deleted all my sources..) I think it's the last tool that was left undeleted after the installer source I uploaded a week ago. PC is now free from coding since I started here.
kdet scans for kraken streams in games so you know when to use poodle.
Enjoy
Sorry to hear that.
Farewell, razor :)
Thank You very much [Razor12911] for Your Great Effort to this forum. :)
I hope in the future You'll still coding for game developer's company and Your energy will be used for the development of a game. Fast (loading speed), Safe (for hardware), Balance (Quality based compression/max optimized size) game files algorithm.
I'm Happy today because I can keep pO.Odle as my pet. ;)
Sad 'cause I can't seen Razor stuff all around this forum again. :(
By the Way, All Your tools are Cool. :cool:
Good Luck to You [Razor12911] in the future.
doofoo24
03-12-2017, 05:42
when i use plzo with z or v it break checksum but i get larger file size but decompression always fail...
plzo without z or v don't detect any lzo ??
i test it on The Bureau - XCOM Declassified
the file Textures.tfc
poker2332
03-12-2017, 06:50
Hi, I really want to thank you because this is a great tool. Currently I want to decompress the things that compress What installer do you recommend to try?
Webster17
15-02-2018, 10:20
Major ztool problem, I did everything right(AFAIK) but its not decompressing an ultraarc compressed file. The ultraarc simple script extracts the file but my doesn't. I want to integrate that in my script, I tried everything, everything is in its position but it doesn't freaking work, plz help here. My arc.INI is correct, all files are checked and are working, there's not a freaking chance of any mistake, I think the ultrarac script has something in it like a witchcraft or something
ZakirAhmad
22-02-2018, 21:20
I compressed a game with ztool but when i extract it with my setup. in the middle of installation,if i click on cancel to pause the setup and then click no to resume it, setup is giving me isdone error, unable to write on disk.
since ztool keeps on running after clicking cancel i have added taskkill command to my script.
I guess the problem is with my taskkill command.
Exactly, place taskkill command after YES was clicked.
ZakirAhmad
25-02-2018, 19:57
is their a way to precompress unravel game files..
rs repack
05-03-2018, 16:13
please, i need help i don't know how to use ztool
ZTool is outdated, use Xtool.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.