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)

alfredd31 07-06-2018 06:09

packcmd = xtool.exe e:precomp:t4,lz4 - - <stdin> <stdout>

MM32 07-06-2018 08:46

A script that works with the existing command
I apologize for my bad language in English

ZakirAhmad 07-06-2018 09:41

Quote:

Originally Posted by alfredd31 (Post 471531)
packcmd = xtool.exe e:precomp:t4,lz4 - - <stdin> <stdout>

Sometimes srep also gives crc error during decompression. Try srep 3.92 instead of 3.93.

the file which is giving u crc error. try only xtool on it and decompress it(see what u get)

alfredd31 07-06-2018 10:06

I was using cls-srep (it's srep 3.93a) and xtool 0.9. This srep was working with ztool.
For decompression I'm using this, not the one above...: unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>

@Ahmad: the installer is not even giving a crc error. It's just stuck. I have the same problem with the whole folder compressed. srep64 and xtool are still in the working processes.
Maybe I'm going to try with smaller files. In both cases it's stuck with the biggest file (imagefile92.pak).

Tested with a smaller file (25mb)...decompression worked.


my scenario for the s&p 500: a big fall. Sell everything.
http://econintersect.com/images/2018....04.fig.04.PNG


http://www.dw.com/image/17095124_303.jpg

alfredd31 07-06-2018 14:23

Never mind, I was planning to delete codaw anyway. I prefer keeping smaller games. And in this one, it seems no files can be deleted.

ZakirAhmad 07-06-2018 15:23

When u r debugging some bug u r supposed to check individual files. BTW, the cls srep u r using doesnt only work for srep 3.93. it works with all sreps. The reason i told u this is becase i have experianced this with afr by edison. at last i found it was the problem with srep 3.93a when i replaced it with 3.92b. From that moment onwards i never god any problem.

alfredd31 07-06-2018 15:38

Well, I'll check that.
Note that I tested xtool with farcry 4 too. And it seems files are not expanded as much as they could be. 24Gb=>30Gb. As a result there is a poor compression. I used a tool made by a certain edison007, and the compression was better, but the script used to decompress all that was a bit more complex. The game is still available on nomaher.com of course.
If you want to make a donation for the administrator, in Palestine, you can contact him. And if you want to see me in Paris to give me 1 million € so that I can fully devote myself to posting on this forum, and stop working (think my boss can't bear to see me any more), you have to know that I agree. We can meet at the procope for example to talk about that.

My target for the s&p 500: 2100 points. The housing and stock bubble will pop, sometime.
https://image.ibb.co/dhb32o/baboon.png

LuzhinE 07-06-2018 17:02

alfredd31 use srep 3.93

KaktoR 08-06-2018 04:20

oodle for ACO

DataPC.forge (273.088.512 Bytes)

with srep64:m3f+lzma2

Code:

xtool(:c32m,t4:oodle)
260mb => 548mb => 195mb (205.152.256 Bytes)
Compression time: 192secs
Decompression time: 62secs


AFR(:a2) with in/out patch
260mb => 548mb => 195mb (204.939.264 Bytes)
Compression time: 144secs
Decompression time: 118secs

For decompression used all threads

Only precompress:
Code:

xtool
Precompress time: 63secs
Decompress time: 55secs


AFR
Precompress time: 18secs
Decompress time: 105secs

So xtool is at least two times faster than AFR in decompression, but ~3.5 times slower in precompression

masen485 09-06-2018 02:46

xtool VERSION
0.8,0.7,0.09
xtool(:c32m,t4:oodle) WHICH VERSION
HELP PLEASE
Assassin's Creed Brotherhood
DataPC.forge

KaktoR 09-06-2018 02:51

Use :lzo for brotherhood

masen485 09-06-2018 02:57

If possible, compress your game
Do you share tools with me?

KaktoR 09-06-2018 09:13

1 Attachment(s)
No.

@razor: Just to let you know, 65+GB data will not be inflated by xtool somehow.
I tested for Origins with c32m,t4:oodle

The first 1GB will be inflated (xtool is over 80% cpu usage), after that, arc only copying files and xtool do nothing anymore. Maybe to much data?

KaktoR 09-06-2018 10:19

Yes tested with 0.9 and 0.10

Code:

Compressing 122 files, 69,051,449,344 bytes. Processed  10.0% ==>> xtool
Compressing 69,353,227,695 bytes with ==>> srep

Correction: xtool is just working for about ~250mb, then stop

masen485 09-06-2018 11:35

xtool VERSION
0.8,0.7,0.09
xtool(:c32m,t4odle) WHICH VERSION
HELP PLEASE
Assassins Creed IV Black Flag
DataPC.forge

KaktoR 09-06-2018 12:44

Quote:

Originally Posted by doofoo24 (Post 471580)
but xtool 0.10 only x86, i thought odle only x64 :confused:

Ok, didn't realized 0.10 was just an update for x86. But problem remains

Edison007 10-06-2018 00:13

Quote:

Originally Posted by KaktoR (Post 471561)
oodle for ACO

DataPC.forge (273.088.512 Bytes)

with srep64:m3f+lzma2

Code:

xtool(:c32m,t4:oodle)
260mb => 548mb => 195mb (205.152.256 Bytes)
Compression time: 192secs
Decompression time: 62secs


AFR(:a2) with in/out patch
260mb => 548mb => 195mb (204.939.264 Bytes)
Compression time: 144secs
Decompression time: 118secs

For decompression used all threads

Only precompress:
Code:

xtool
Precompress time: 63secs
Decompress time: 55secs


AFR
Precompress time: 18secs
Decompress time: 105secs

So xtool is at least two times faster than AFR in decompression, but ~3.5 times slower in precompression

Give me please this file.)

KaktoR 10-06-2018 06:20

@Edison
Wait (wrong file)

will upload for you

Razor12911 14-06-2018 18:01

Quote:

Originally Posted by elit (Post 471409)
I apologize for stupid question but was there specific reason for using extra "precomp" word, aka e:precomp... instead of just e:... d:... as was in ztool? To me it seems redundant as e: and d: already imply default behavior(encode vs decode) and precomp seem'd to me at first confused with precomp tool by schnaader. Also using different separators, aka ',' and ':' for specific areas of cmd make it prone to type error, as happened to me before and I seem to be not the only person. Pure ':'s in ztool were fine and easier for inclussion with other utilities IMO. BTW I am not complaining, this tool is fantastic and ultimate, just being curious about new design.

There methods planned apart from precomp to be added in xtool, stuff like preprocessing of data, encryption, data reconstruction (rebuild), compression and etc.

Quote:

Originally Posted by felice2011 (Post 471438)
Razor but for the decompression of the archive the folder can only contain the file xtool.exe, without any *.dll right?

xtool requires dll at all times, even zlib requires dll. no code of compresssion algorithms are stored within xtool except for special cases but even those special cases do not execute if a specific dll that goes hand in hand with aren't available.

Quote:

Originally Posted by dixen (Post 471491)
And?:)

And I think there is something wrong with the parser for FAT v9 (FC3, FC4) for big dat files, I kinda rushed adding this feature without conducting any proper tests.

Quote:

Originally Posted by KaktoR (Post 471579)
Yes tested with 0.9 and 0.10

Code:

Compressing 122 files, 69,051,449,344 bytes. Processed  10.0% ==>> xtool
Compressing 69,353,227,695 bytes with ==>> srep

Correction: xtool is just working for about ~250mb, then stop

Bugs everything, when are they gonna stop .... -_-

chum 17-06-2018 19:53

Great tool. Thanks Razor!

dixen 21-06-2018 11:54

What about decompress *.mega2 & *.pages files from DOOM 2016?

Razor12911 21-06-2018 16:51

Development will resume after the first week of July

ShivShubh 21-06-2018 21:46

Quote:

Originally Posted by dixen (Post 471861)
What about decompress *.mega2 & *.pages files from DOOM 2016?

Its pointless to decompress pages files of idTech games for further compression because you will end up having a bad ratio. In previous games they are heavily packed with some texture compression. I tried with DOOM 2016 and as far as I remember ratio was worse compared to their original compressed size.

dixen 22-06-2018 00:14

Quote:

Originally Posted by ShivShubh (Post 471867)
Its pointless to decompress pages files of idTech games for further compression because you will end up having a bad ratio. In previous games they are heavily packed with some texture compression. I tried with DOOM 2016 and as far as I remember ratio was worse compared to their original compressed size.

Thanks

doofoo24 23-06-2018 17:21

@Razor12911 i tested xtool 0.10 on mass effect 2 type8 files when i use t100p seems like prime95 THE TEMP are very hot around 90c ?
because when i use t100p with zlib or lz4 it uses all cpu threads but the temp around 70c with lzo around 90c...
i am using i7 8700k with NH-D15...

Razor12911 23-06-2018 21:23

Quote:

Originally Posted by doofoo24 (Post 472078)
@Razor12911 i tested xtool 0.10 on mass effect 2 type8 files when i use t100p seems like prime95 THE TEMP are very hot around 90c ?
because when i use t100p with zlib or lz4 it uses all cpu threads but the temp around 70c with lzo around 90c...
i am using i7 8700k with NH-D15...

shows that it's a shitty algorithm causing me headaches for no reason whatsoever

alfredd31 25-06-2018 14:31

it seems you were right, it wasn't xtool 0.10 which is crashing but srep. I tested srep 3.91, it's the same thing. You can test my latest version of The Evil Within 2, available on nomaher.com.
Note that I'm still very bearish on the s&p500.

https://image.ibb.co/hkbZC8/bb3.jpg

felice2011 25-06-2018 16:21

Quote:

Originally Posted by doofoo24 (Post 472078)
@Razor12911 i tested xtool 0.10 on mass effect 2 type8 files when i use t100p seems like prime95 THE TEMP are very hot around 90c ?
because when i use t100p with zlib or lz4 it uses all cpu threads but the temp around 70c with lzo around 90c...
i am using i7 8700k with NH-D15...

Ha Ha ... it seems that xtool 0.10 is great for testing CPU stability in Rock Solid. What the hell with questions !!!!

doofoo24 25-06-2018 20:34

Quote:

Originally Posted by felice2011 (Post 472097)
What the hell with questions !!!!

chill out fratello :D

mikey26 26-06-2018 15:54

Quote:

Originally Posted by doofoo24 (Post 472078)
@Razor12911 i tested xtool 0.10 on mass effect 2 type8 files when i use t100p seems like prime95 THE TEMP are very hot around 90c ?
because when i use t100p with zlib or lz4 it uses all cpu threads but the temp around 70c with lzo around 90c...
i am using i7 8700k with NH-D15...

the 8700k has alot of issues with heat,only way to bring those temps down is to delid the cpu.i have mine delidded at 5.2GHZ @ 1.39v with liquid metal it does not go over 65-70 degress under full load.

oh i do have a full custom water loop. :D

saeid 17-07-2018 16:11

I want to encode far cry 5 with xtool

arc.ini:

Code:

[External compressor:xprecomp]
header    = 0
packcmd  = xtool.exe e:precomp:c32mb,t4:lz4,lzo - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>


pack.bat

Code:

del /q data.arc
arc.exe a -ep1 -r -ed -s; -w.\temp -mxprecomp data.arc "pack\*"
pause

but ratio: 100%, please help me!

https://fileforums.com/attachment.ph...1&d=1531869409

ZakirAhmad 17-07-2018 18:57

what is pack.ini?

write pack.bat instead of ini

saeid 17-07-2018 23:22

Quote:

Originally Posted by ZakirAhmad (Post 472606)
what is pack.ini?

write pack.bat instead of ini

I've brought pack.bat file above.
pack.ini is not!!!!!!!
Please refer to the original subject and please provide guidance.

pack.bat

Code:

del /q data.arc
arc.exe a -ep1 -r -ed -s; -w.\temp -mxprecomp data.arc "pack\*"
pause


ZakirAhmad 18-07-2018 07:38

their r two types of files in farcry 5 .dat and .fat

in xtool.ini (provided by razor)
write locations of all .fat files in xtool.ini

saeid 18-07-2018 09:20

Quote:

Originally Posted by ZakirAhmad (Post 472619)
their r two types of files in farcry 5 .dat and .fat

in xtool.ini (provided by razor)
write locations of all .fat files in xtool.ini

Exactly I just want to compress these two file types (.dat and .fat), that this output is obtained!!! :confused::confused:

ZakirAhmad 18-07-2018 10:16

suppose u want to compress data.fat and data.dat located in c:/games folder.

just put in xtool.ini
c:/games/data.fat
and hit pack.bat, xtool will prexompress it.

saeid 18-07-2018 22:25

Quote:

Originally Posted by ZakirAhmad (Post 472631)
suppose u want to compress data.fat and data.dat located in c:/games folder.

just put in xtool.ini
c:/games/data.fat
and hit pack.bat, xtool will prexompress it.

Thank you brother, I put all of the following in xtool.ini, but none of them gave the correct result. Ratio is still 100%. :confused:
I also tried other scenarios not mentioned here, But the result was all ratio 100%.

Code:

pack\common.fat
pack\patch.fat
pack\patch_brazilian.fat

Code:

File1=pack\common.fat
File2=pack\patch.fat
File3=pack\patch_brazilian.fat

Code:

File1=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\common.fat
File2=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch.fat
File3=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch_brazilian.fat

Code:

[Dunia2]
File1=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\common.fat
File2=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch.fat
File3=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch_brazilian.fat

Code:

C:\Share\Far Cry 5\xtool_v010\FA_example\pack\common.fat
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch.fat
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch_brazilian.fat

Code:

[Dunia2]
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\common.fat
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch.fat
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch_brazilian.fat

Code:

[Dunia2]
File1=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\common.fat
File2=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\common.dat
File3=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch.fat
File4=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch.dat
File5=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch_brazilian.fat
File6=C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch.dat

Code:

[Dunia2]
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\common.fat
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\common.dat
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch.fat
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch.dat
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch_brazilian.fat
C:\Share\Far Cry 5\xtool_v010\FA_example\pack\patch.dat


kiuske 19-07-2018 01:00

How to use this Program i have very hard time with Ztool also and this Xtool seems complicated too anybody.. here to explain me plz

ZakirAhmad 19-07-2018 01:29

just go here, Razor has explained everything.

https://fileforums.com/showpost.php?...&postcount=306

BTW in xtool.ini u have to set .dat file not fat

KaktoR 20-07-2018 01:16

t4:zlib

Precompressing over 45GB data in one go

Write error (disk full). I have over 400GB free

Anyone else?


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

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