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)

Razor12911 14-12-2018 03:19

Quote:

Originally Posted by deepshit (Post 477678)
Why xtool lz4 can't detect lz4 streams on gears of war 4?
but lz4 scanner detects lz4 streams in this game.
Or I can't get xtool work.

it's not generic but specific :), lz4 precompressor in xtool works on games that are either COD, or that use Unity, Frostbite and Dunia2 engine

Chrushev 19-12-2018 13:22

Trying to compress Dark Souls Remastered with Xtool but when I put the game in pack folder and run pack.bat it starts for a second, detects 6000 files and correct size... then just crashes... any ideas? Tried Xtool 10 and 9 using default pack.bat (no changes made at all, just put the game into pack folder)

darkwolves 02-01-2019 16:12

GAME: Batman Arkham Knight 1.6.2 Game+All DLC

@yasitha

just use zlib even though it reads lzo they come up as bad lzo when you try to compress the files

darkwolves 02-01-2019 20:10

Quote:

Originally Posted by yasitha (Post 478392)
thanks, i already done that.
you know what is causing this error ?

i am not certain... i get the same problem on the first injustice game as well.
i use uelr on it it tells me the lzo is bad just like on arkham knight.
Xtool lzo seems to have little to no effect on either game.
it will however work on the other batman arkham games oddly...

yasitha 14-01-2019 03:57

Love the XTool....

Hope New Update Come out Soon... :)

PUNISHMAN 20-01-2019 23:57

xtool 0.10 not work windows 7 x64.
http://i63.tinypic.com/a0z6lj.png

Sergey3695 21-01-2019 03:05

:D panicman

ROKA1969 26-01-2019 22:16

Compressor v1.2.0:

https://i.imgur.com/8cejqPT.jpg

Identically v.2.1 does not work:

https://i.imgur.com/zZ4vIQh.jpg

I do not have a compression method with precomp. Compression stops at 11.6%. What is it? I'm using Compressor v1.2.0 and BlackBox v2 Designer. Other methods work.
And is it possible to add xtool to this compressor, if so, in what way?

Arc.ini:

https://i.imgur.com/zPzJah7.jpg

I added all necessary libraries to the folder with the compressor.And without result.

oltjon 27-01-2019 03:58

Quote:

Originally Posted by ROKA1969 (Post 479099)

I do not have a compression method with precomp. Compression stops at 11.6%. What is it? I'm using Compressor v1.2.0 and BlackBox v2 Designer. Other methods work.
And is it possible to add xtool to this compressor, if so, in what way?

Everything seems OK to me, you just need patience

ROKA1969 27-01-2019 08:41

I agree, everything is fine, just let me explain why the compression has stopped in place for almost two hours, the size of the game file has also increased from precomp. Example

800 mb: with mprecomp srep64 delta lzma64
700mb: msrep64 delta lzma64

elit 28-01-2019 05:46

1 Attachment(s)
Quote:

Originally Posted by PUNISHMAN (Post 478968)
xtool 0.10 not work windows 7 x64.

Put these 2 dll's to your xtool dir:
Attachment 23987


PS(btw HI everyone -_^)

Sergey3695 28-01-2019 07:29

21-01-2019, 10:57
Today, 16:46
u funny ).

78372 28-01-2019 10:33

1 Attachment(s)
Quote:

Originally Posted by PUNISHMAN (Post 478968)
xtool 0.10 not work windows 7 x64.
http://i63.tinypic.com/a0z6lj.png

Try replacing the libzstd.dll with this one

doofoo24 10-02-2019 07:25

i done retesting xtool on large files dat far cry 5...
using xtool on multiple files at once like

[Dunia2]
File1=GAME\data_final\pc\worlds\farcry5.dat
File2=GAME\data_final\pc\patch.dat

seem to skip files (just copy)

using xtool on one file at time like

[Dunia2]
File1=GAME\data_final\pc\worlds\farcry5.dat

seem to work...
:confused:
using xtool 0.9 with setting
packcmd = xtool.exe e:precomp:t4,v,c32m:lz4 - - <stdin> <stdout>

KaktoR 10-02-2019 07:43

^Old problem. The same with oodle codec. It just copy files if you precompress all at once. File by file works. Output will be bigger in this case, remind this.

doofoo24 10-02-2019 11:16

ok so using xtool 0.6 on far cry 5 with "precomp:t4:lz4 - - <stdin> <stdout>"...
test it on 2 files

[Dunia2]
File1=pack\data_final\pc\patch.dat
File2=pack\data_final\pc\worlds\farcry5.dat

size 26.2gb after xtool from 18.9gb :eek:

Razor12911 27-02-2019 14:50

Update available

Changes

- updated dunia engine lz4hc precompression support

Development

The source is messed up pretty badly :D so if there are certain affected codecs, use the older versions, those should work because the only thing I did here was update lz4 codec specifically the dunia2 support.

Results

FC New Dawn:

Code:

File1=common.dat
File2=patch.dat
File3=patch_english.dat
File4=patchshadersobj.dat
File5=shadersobj.dat

Code:

Compressed 12 files, 474,373,538 => 1,524,039,214 bytes. Ratio 321.27%
Compression time: cpu 0.84 sec/real 342.03 sec = 0%. Speed 1.39 mB/s

You can just go ahead and run a test on the rest of the game, edit the ini file to add more dat files if some weren't specified

I only installed the game today, updated the source just so it could work for it, didn't run full test because I don't have space :D

KaktoR 27-02-2019 16:30

FC New Dawn
installpkg.dat

Code:

Compressed 2 files, 9,482,587,589 => 12,326,480,636 bytes. Ratio 129.99%
Compression time: cpu 24.69 sec/real 2642.03 sec = 1%. Speed 3.59 mB/s
All OK


dixen 27-02-2019 20:53

Far Cry 5
common.dat
Quote:

Compressed 2 files, 182,333,526 => 541,484,042 bytes. Ratio 296.97%
Compression time: cpu 0.36 sec/real 94.06 sec = 0%. Speed 1.94 mB/s
All OK

dixen 28-02-2019 02:57

Far Cry New Dawn

fcbworlds.dat
fcbworlds.fat
fcbworlds_russian.dat
fcbworlds_russian.fat
fcbworlds_russian_feminine.dat
fcbworlds_russian_feminine.fat
installpkg.dat
installpkg.fat
installpkg_russian.dat
installpkg_russian.fat
installpkg_russian_feminine.dat
installpkg_russian_feminine.fat

Quote:

Compressing 12 files, 19,853,255,088 => 27,315,496,302 bytes. Ratio 138.8%

yasitha 28-02-2019 04:37

can i skip
_feminine.dat * 0 bytes * .dat files?
i mean not include to xtool.ini?

KaktoR 28-02-2019 05:00

Yes of course

yasitha 28-02-2019 05:08

Quote:

Originally Posted by KaktoR (Post 479926)
Yes of course

Thanks bro.

KaktoR 28-02-2019 08:50

I don't know but for me inflation just stops after a few percents if I took all files.

yasitha 28-02-2019 11:00

Can't Compress Far Cry 5 with new Xtool 011

File, one by one for testing it works...
but when i put all (.dat) files to xtool.ini files.
It takes 2h for decompressing, but actually it won't decompress files.. I don't know why.

Of anyone knows please share information..

so far What I've try,
I have check all files one by one, then i saw some files ratio 100% so i remove them from xtool.ini and,
all 0 bytes dat files too, then i have all 15 files and i try i though it works nope not working..

It seems xtool has a bug...

Please share if you know more information about this..

nik1967 01-03-2019 07:16

A little observation on the last XTool(v011) (Far Cry New Dawn)
Code:

[Dunia2]
BaseDir=pack\data_final\pc
File1=common.dat
File2=patch.dat
File3=patchshadersobj.dat
File4=shadersobj.dat
File5=worlds\fcbworlds.dat
File6=worlds\installpkg.dat

Code:

-m=xtool:c16mb,t8:lz4
Compressed 12 files, 19,557,312,354 => 19,956,114,780 bytes. Ratio 102.04%

-m=xtool:c32mb,t8:lz4
Compressed 12 files, 19,557,312,354 => 28,107,674,136 bytes. Ratio 143.72%

-m=xtool:c64mb,t8:lz4
Compressed 12 files, 19,557,312,354 => 28,107,669,872 bytes. Ratio 143.72%

-m=xtool:c128mb,t8:lz4
Compressed 12 files, 19,557,312,354 => 28,107,668,960 bytes. Ratio 143.72%

-m=xtool:c512mb,t8:lz4
Compressed 12 files, 19,557,312,354 => 28,107,668,088 bytes. Ratio 143.72%


yasitha 01-03-2019 22:42

can you please fix for Far Cry 5?

I have Try more then 5, 6 Different way to pack all files, nope can't do that. but File by file can.

KaktoR 02-03-2019 13:44

I got sorted out my previous problem. Whenever I include the HD pack file, it doesn't work. I will try with only hd pack file soon (maybe too large input?).

yasitha 02-03-2019 17:42

Quote:

Originally Posted by KaktoR (Post 479971)
I got sorted out my previous problem. Whenever I include the HD pack file, it doesn't work. I will try with only hd pack file soon (maybe too large input?).

Yes maybe we need to leave smaill ratio and hd files.
Small ratio like under 105% cause i think that what cause this problem... I've try everything but i didn't try that one.

I have tried without HD files but i didn't try with low ratio like unde 105%,

on full game 106% ratio is not right.

FitGirl 04-03-2019 06:09

Quote:

Originally Posted by yasitha (Post 479972)
Yes maybe we need to leave smaill ratio and hd files.
Small ratio like under 105% cause i think that what cause this problem... I've try everything but i didn't try that one.

I have tried without HD files but i didn't try with low ratio like unde 105%,

on full game 106% ratio is not right.

HD files have no compression at all.

yasitha 04-03-2019 06:21

Quote:

Originally Posted by FitGirl (Post 480008)
HD files have no compression at all.

Yes i have done all testing...the problem is
When i pack all dat files at once with xtool.ini
Ratio like103% / 106% / 107%

What is happening?
you know what causing this?

I have test all the files. one at a time,
Most of them have under 105% ratio. So finally i have 10 files but still 107% on all files but one by one ratio like 124% / 224% / 142% / 151%

If you could help I'll appreciate it ☺

yasitha 04-03-2019 06:29

I have use this settings for all test..
"xtool.exe e:precomp:c128mb,t8:lz4"

but still can't pack all files at once,
when i do that, i get only 107% Ratio that's it!

if anyone could find a way to do that?
We can just use xtoil for FC5... simple..

I tell this problem to KaktoR and
He's working on it.
he had the same issues.
Can't pack add dat files at once

Quote:

Compressed 8 files, 591,359,833 => 1,328,100,701 bytes. Ratio 224.58%
Compression time: cpu 0.56 sec/real 70.54 sec = 1%. Speed 8.38 mB/s
All OK

File1=common.dat
File2=patchshadersobj.dat
File3=shadersobj.dat
File4=ingameeditor\dlcpack0.dat
================================================== =======================
Quote:

Compressed 2 files, 11,428,699,615 => 16,325,667,463 bytes. Ratio 142.85%
Compression time: cpu 15.08 sec/real 1088.64 sec = 1%. Speed 10.50 mB/s
All OK

File1=farcry5.dat
================================================== =======================
Quote:

Compressed 2 files, 10,490,400,710 => 13,634,127,931 bytes. Ratio 129.97%
Compression time: cpu 14.75 sec/real 1675.14 sec = 1%. Speed 6.26 mB/s
All OK

File1=installpkg.dat
================================================== =======================
Quote:

Compressed 2 files, 2,369,686,646 => 3,136,552,876 bytes. Ratio 132.36%
Compression time: cpu 2.67 sec/real 272.47 sec = 1%. Speed 8.70 mB/s
All OK

File1=igepack.dat
================================================== =======================
Quote:

Compressed 2 files, 4,371,045,970 => 6,638,770,784 bytes. Ratio 151.88%
Compression time: cpu 5.27 sec/real 1233.67 sec = 0%. Speed 3.54 mB/s
All OK

File1=dlc_vietnam.dat
================================================== =======================
Quote:

Compressed 2 files, 4,908,269,998 => 7,304,500,533 bytes. Ratio 148.82%
Compression time: cpu 6.83 sec/real 1384.01 sec = 0%. Speed 3.55 mB/s
All OK

File1=dlc_mars.dat
================================================== =======================
Quote:

Compressed 2 files, 8,969,186,606 => 11,724,942,902 bytes. Ratio 130.72%
Compression time: cpu 13.00 sec/real 1007.75 sec = 1%. Speed 8.90 mB/s
All OK

File1=patch.dat
================================================== =======================
Quote:

Compressed 20 files, 43,128,649,378 => 46,243,558,086 bytes. Ratio 107.22%
Compression time: cpu 73.31 sec/real 2781.96 sec = 3%. Speed 15.50 mB/s
All OK

File1=common.dat
File2=patch.dat
File3=patchshadersobj.dat
File4=shadersobj.dat
File5=downloadcontent\dlc_mars\dlc_mars.dat
File6=downloadcontent\dlc_vietnam\dlc_vietnam.dat
File7=ingameeditor\dlcpack0.dat
File8=ingameeditor\igepack.dat
File9=worlds\farcry5.dat
File10=worlds\installpkg.dat
i have leave 0 bytes files and none lzo,lz4 streams files
and under 105% ratio files. so that is why total files 10 :)

================================================== =========================
All (.Dat) files

Quote:

common.dat Found Streams lz4

ige.dat - NO STREAMERS FOUND

igepatch.dat - NO STREAMERS FOUND

patch.dat Found Streams lz4

patch_english.dat - 103.87% low Streams lz4

patchshadersobj.dat Found Streams lz4

shadersobj.dat Found Streams lz4

downloadcontent\dlc_mars\dlc_mars.dat Found Streams lz4

downloadcontent\dlc_mars\dlc_mars_english.dat 102.53% low Streams lz4

downloadcontent\dlc_mars\dlc_mars_hd.dat - NO STREAMERS FOUND

downloadcontent\dlc_vietnam\dlc_vietnam.dat Found Streams lz4

downloadcontent\dlc_vietnam\dlc_vietnam_english.da t 102.20% low Streams lz4

downloadcontent\dlc_vietnam\dlc_vietnam_hd.dat - NO STREAMERS FOUND

downloadcontent\dlc_zombies\dlc_zombies.dat - NO STREAMERS FOUND

ingameeditor\dlcpack0.dat Found Streams lz4

ingameeditor\dlcpack0_hd.dat - NO STREAMERS FOUND

ingameeditor\igepack.dat Found Streams lz4

ingameeditor\igepack_hd.dat - NO STREAMERS FOUND

worlds\farcry5.dat Found Streams lz4

worlds\farcry5_english.dat 103.54% low Streams lz4

worlds\farcry5_hd.dat - NO STREAMERS FOUND

worlds\installpkg.dat Found Streams lz4

worlds\installpkg_english.dat 104% low Streams lz4

worlds\installpkg_hd.dat - NO STREAMERS FOUND

KaktoR 04-03-2019 06:33

I have tested aswell with FC5 now.

Output is way bigger if you unpack all files one by one then unpack all at once (keep archives).


Something is wrong :D

yasitha 04-03-2019 06:36

Quote:

Originally Posted by KaktoR (Post 480011)
I have tested aswell with FC5 now.

Output is way bigger if you unpack all files one by one then unpack all at once (keep archives).


Something is wrong :D

so this is xtool problem? :D

KaktoR 04-03-2019 06:43

I don't know. Without doing math, average should be around 130% - 150% on all files.

I will try with xtool 0.6 (it was introducing dunia engine support).

yasitha 04-03-2019 06:47

Quote:

Originally Posted by KaktoR (Post 480013)
I don't know. Without doing math, average should be around 130% - 150% on all files.

I will try with xtool 0.6 (it was introducing dunia engine support).

Oky try it, i think we can reduce 8GB or 10GB... 🙂
If this works..

FitGirl 04-03-2019 14:29

It's a known bug with FC5 files, it's discussed above many times. Until Razor takes a look at it, nothing can be done.

yasitha 04-03-2019 20:14

Quote:

Originally Posted by FitGirl (Post 480020)
It's a known bug with FC5 files, it's discussed above many times. Until Razor takes a look at it, nothing can be done.

so how did you manage to pack the game?

yasitha 05-03-2019 11:54

anyone knows how to Pack Watch Dogs 1 and 2 using Precompressor? I jave try WD2 won't work..

Streams were used on game:
Watch Dogs 1 LZX
Watch Dogs 2 LZ4

FitGirl 05-03-2019 14:16

Quote:

Originally Posted by yasitha (Post 480022)
so how did you manage to pack the game?

Delzorec


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

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