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)

Simorq 10-05-2018 01:46

Quote:

Originally Posted by Razor12911 (Post 470795)
Can you rerun the compression without the use of reflate libraries

without zlibwapi.dll
CRC OK
The Ratio increased by 80%

Most likely the problem is from zlibwapi.dll.
In ZTool, the zlibwapi.dll file does not work.

ShivShubh 10-05-2018 02:03

Quote:

Originally Posted by Simorq (Post 470807)
without zlibwapi.dll
CRC OK
The Ratio increased by 80%

Most likely the problem is from zlibwapi.dll.
In ZTool, the zlibwapi.dll file does not work.

Maybe you were using 32bit zlibwapi.dll ?

Simorq 10-05-2018 04:10

Quote:

Originally Posted by ShivShubh (Post 470810)
Maybe you were using 32bit zlibwapi.dll ?

no

oltjon 10-05-2018 11:14

Quote:

Originally Posted by Razor12911 (Post 470795)
@everyone
can one of you upload a sample from FIFA 17

ZSTD stream from fifa17

link

Razor12911 10-05-2018 15:51

Quote:

Originally Posted by Simorq (Post 470807)
without zlibwapi.dll
CRC OK
The Ratio increased by 80%

Most likely the problem is from zlibwapi.dll.
In ZTool, the zlibwapi.dll file does not work.

What do you mean, the problem is more likely from that dll? :confused:

Razor12911 10-05-2018 16:06

Update available

Changes

- fixed zlib precompression crc issues // sort of
- Added EA Frostbite 3 lz4 and zstd stream precompression support
- Fixed overall chunk size 2GB limit

Roadmap

- Add Ubisoft game support for Anvil, Dunia and Unreal Engines
- Add support for FIFA 17 and FIFA 18 zstd streams
- Naruto series (Maybe)

doofoo24 10-05-2018 16:25

@Razor12911 are you planning on adding support for other games like COD advanced warfare/infinite warfare/WWII/modern warfare remastered, and other game's like wolfenstein new order & the old blood :o

KaktoR 10-05-2018 16:31

what about MEA zstd stream support? I could upload example if you wish

thanks for your great work, as always :)

doofoo24 10-05-2018 16:40

will it work on MEA last time i tried with ztool with libzstd it did'nt work like i get final size 35.4gb, i tired with different files from c***p*** (libgcc_s_dw2-1.dll/zstdx86.dll/ztool 32bit) i get 30.4gb ?
i will tried to use xtool

KaktoR 10-05-2018 16:42

here are samples from mea
https://www113.zippyshare.com/v/FW2kmxOo/file.html

doofoo24 10-05-2018 17:09

does battlefield hardline have lz4 ?

Razor12911 10-05-2018 17:19

Quote:

Originally Posted by KaktoR (Post 470833)
what about MEA zstd stream support? I could upload example if you wish

thanks for your great work, as always :)

I have the game, I downloaded the game just to run zstd tests and all seems good, go for it. I have not played it though, piece of shit pc :(

Quote:

Originally Posted by doofoo24 (Post 470837)
does battlefield hardline have lz4 ?

yes

masen485 10-05-2018 17:29

games I want to reduce size

Need for Speed™ Payback Frostbite 3 (LZ4)
Battlefield 1 Frostbite 3 (LZ4)
Battlefield 4 Frostbite 2 (LZ4)
Battlefield 3 Frostbite (LZ4)

XTool 0.3 ,ZTool in the version how to use it in the best way
Can you show me a few examples?
Frostbite games made with game engine
Compressing game files in the best way

Razor12911 10-05-2018 18:59

Quote:

Originally Posted by doofoo24 (Post 470842)
test xtool v3
battlefield hardline 36.8gb to 49gb...
mirror edge catalyst 23gb to 29gb...

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.

doofoo24 10-05-2018 19:08

i am trying MEA but always carsh...
packcmd = XTool e:precomp:c32mb,t100p:zstd - - <stdin> <stdout> :confused:

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

JustFun 11-05-2018 15:40

@Razor12911 damn mate, I cant wait to see what are you going to do with xTool, as soon as I think that you are finished you include something new, huge thx and respect!!!

KaktoR 11-05-2018 16:22

How to know what unity version a game is using?

Andu21 11-05-2018 17:03

^Unity Studio.

Simorq 11-05-2018 17:09

Quote:

Originally Posted by KaktoR (Post 470889)
How to know what unity version a game is using?

https://pcgamingwiki.com/wiki/Engine:Unity

https://pcgamingwiki.com/wiki/Life_I...fore_the_Storm

ZakirAhmad 11-05-2018 19:01

Great work as always.

Can u please add support for unreal engine, Titanfall 2.

Razor12911 11-05-2018 19:04

Quote:

Originally Posted by ZakirAhmad (Post 470893)
Great work as always.

Can u please add support for unreal engine, Titanfall 2.

Sure, buy lzopro for me :)
http://www.oberhumer.com/products/lzo-professional/

ZakirAhmad 11-05-2018 19:47

Quote:

Originally Posted by Razor12911 (Post 470894)

I will if i can.

masen485 11-05-2018 20:01

- Add Ubisoft game support for Anvil, Dunia and Unreal Engines
- Add support for FIFA 17 and FIFA 18 zstd streams
- Naruto series (Maybe)

Hi! Razor12911

you can add the above properties very soon

in a very short time you are doing a lot of other great features and great work and you are very supportive to the games with many game engines I am very happy with the new xtool tool every work you do is followed with great curiosity Thank you for everything

doofoo24 12-05-2018 03:47

NeedForSpeedPayback size 13.5gb with xtool...
ztool stuck...
seems that lz4 only work on ea games for now,
tried on COD game's and gear of war 4 no luck...

JRD! 12-05-2018 14:00

Quote:

Originally Posted by Razor12911 (Post 470894)

Hi bro, for lzo maybe that might interest you:
https://github.com/synopse/mORMot/bl...ter/SynLZO.pas


All times are GMT -7. The time now is 17:23.

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