FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   XTool - Successor of ZTool (https://fileforums.com/showthread.php?t=101729)

doofoo24 10-05-2018 19:13

Quote:

Originally Posted by Razor12911 (Post 470843)
Cool, keep going. compare both precompressed and compressed size between ztool and xtool because if all is good, I no longer touch the codec but will move to the next.

ok it will take while to compress both game...

test xtool v3
battlefield hardline 36.8gb to 49gb to size 22.8 GB (24,436,696,587 bytes)
mirror edge catalyst 23gb to 29gb to 16.5 GB (17,814,184,692 bytes)

test ztool 0.19.8
battlefield hardline 36.8gb to 51.3gb with srep:m3f:a2+lolz:d64m size 22.7 GB (24,436,517,587 bytes)
mirror edge catalyst 23gb to 29.5gb with srep:m3f:a2+lolz:d64m size 16.5 GB (17,796,182,115 bytes)

*i used the same liblz4 from xtool v3 with ztool...
seems that the ratio with ztool better with about couple of mb...
decompression no crc error...

the arc.ini setting

[External compressor:xprecomp]
header = 0
packcmd = XTool e:precomp:c32mb,t100p:lz4 - - <stdin> <stdout>

[External compressor:plz4]
header = 0
packcmd = ztool e:plz4:t100p - <stdin> $$arcpackedfile$$.tmp

ZakirAhmad 10-05-2018 20:27

Great work Bro
 
Tried it on a file from Mass effect andromida.

ztools pzstd expanded it to 174.85%
xtools expanded it to 177.14%
ztool with v parameter 177.27%(since this produces result without varification, hence can b used for comparison. jusk like we use DS4Zlib before precompression.)

extraction is also successifully

After treating the output with srep + lzma

ztool 20.38%
xtool 20.21%

is it possible to provide v parameter with xtool, it might come handy for comparison.

darkwolves 10-05-2018 22:13

@Razor12911
i will repack need for speed payback with it the lz4 on ztool froze on a certain file i am hoping this does not if it does i will give you the sample

darkwolves 11-05-2018 00:10

1 Attachment(s)
apon using the x86 version it had an error that
libgcc_s_dw2-1.dll
was missing
so i found it and put it in the same folder no problem since
file included below for anyone who has had the same problem

ZakirAhmad 11-05-2018 00:33

Sometimes xtool give arc.exe has stopped working...
But after two to 3 tries, it works on the file.

darkwolves 11-05-2018 00:42

Quote:

Originally Posted by ZakirAhmad (Post 470854)
Sometimes xtool give arc.exe has stopped working...
But after two to 3 tries, it works on the file.

well it is still a work in progress afterall :D

ZakirAhmad 11-05-2018 00:56

Quote:

Originally Posted by darkwolves (Post 470855)
well it is still a work in progress afterall :D

well it happens, if the data to be processed contains a mixture of files say dlls, exes, txt etc.
it was alse problem of ztool.

KaktoR 11-05-2018 02:32

Quote:

Originally Posted by ZakirAhmad (Post 470856)
well it happens, if the data to be processed contains a mixture of files say dlls, exes, txt etc.
it was alse problem of ztool.

That's why i don't mix them alltogether.

ZakirAhmad 11-05-2018 02:45

Quote:

Originally Posted by KaktoR (Post 470859)
That's why i don't mix them alltogether.

Everytime u cant separate files in different graops. suppose u separated files containing zlib streams in a folder. suppose some file is included in that folder which doesnt contain zlib streams. the precompression might fail because of that single file. theoritically, a file without streams should not crash ztool. There is something wrong somewhere which is causing the error.

KaktoR 11-05-2018 02:46

Hm, i can always seperate them in groups.

darkwolves 11-05-2018 03:49

i always use 3 data files i'd rather fix one fine than an entire game
for example if there is only something wrong with file 2 then i do not have to worry about 1 and 3
for example
batman arkham asylum
only lzo files in folder 1
folder 2 the bink videos
folder 3 the game executables redists etc the small stuff

ZakirAhmad 11-05-2018 04:29

Quote:

Originally Posted by doofoo24 (Post 470863)
crash with pzlib/ztool/xtool with <stdin> <stdout> happened a lot even with zlib file only...
i used - <stdin> $$arcpackedfile$$.tmp always work without crash...

Great i will try. Thanks

@KaktoR: if their is a tool for grouping files in folders, can u post it.

Andu21 11-05-2018 05:18

Quote:

Originally Posted by ZakirAhmad (Post 470854)
Sometimes xtool give arc.exe has stopped working...
But after two to 3 tries, it works on the file.

FA bug with stdio, not related to xtool.

Razor12911 will you give support to Unity engine as well?

Simorq 11-05-2018 09:13

Quote:

Originally Posted by doofoo24 (Post 470863)
crash with pzlib/ztool/xtool with <stdin> <stdout> happened a lot even with zlib file only...
i used - <stdin> $$arcpackedfile$$.tmp always work without crash...

http://uupload.ir/files/ccf_2018-05-11_204149.png

--cache=0
stdin without crash:D

Razor12911 11-05-2018 15:15

Update available

Changes

- added unity engine (5.x.x) lz4hc stream precompression support
- updated zlib precompression scanner
- improved reflate level detector for zip and png input


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

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