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 27-04-2018 15:20

Quote:

Originally Posted by Panky (Post 470535)
Xtool v0.2 doesn't recompress streams from This War of Mine, but v0.1 does/

animations.dat - 20,6 MB (21 696 742 bytes)
v0.1
Code:

FreeArc 0.67 (December 12 2012) Creating archive: ..\1.bin using xprecomp
Memory for compression 0b, decompression 0b, cache 1mb
Compressed 1 file, 21,696,742 => 25,479,373 bytes. Ratio 117.4%
Compression time: cpu 0.05 secs, real 14.55 secs. Speed 1,492 kB/s
All OK

v0.2
Code:

FreeArc 0.67 (December 12 2012) Creating archive: ..\1.bin using xprecomp
Memory for compression 0b, decompression 0b, cache 1mb
Compressed 1 file, 21,696,742 => 21,696,758 bytes. Ratio 100.0%
Compression time: cpu 0.02 secs, real 2.13 secs. Speed 10,208 kB/s
All OK


would help if you upload the sample :confused:

Razor12911 27-04-2018 18:42

Quote:

Originally Posted by darkwolves (Post 470560)
sonic generations also not precompiling like it did in the first release
below is an attachment with a file sample

Code:

[External compressor:xprecomp]
header    = 0
packcmd  = xtool.exe e:precomp:c16mb,t2:crilayla - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t2 - - <stdin> <stdout>

with first release
Code:

Compressed 1 file, 69,265,624 => 126,761,898 bytes. Ratio 183.01%
with second release
Code:

Compressed 1 file, 69,265,624 => 127,517,586 bytes. Ratio 184.10%
after strong compression
using 0.1: 121 MB (127,517,813 bytes) >> 22.0 MB (23,120,406 bytes)
using 0.2: 120 MB (126,762,125 bytes) >> 21.4 MB (22,529,107 bytes)

darkwolves 27-04-2018 19:31

Quote:

Originally Posted by Razor12911 (Post 470562)
Code:

[External compressor:xprecomp]
header    = 0
packcmd  = xtool.exe e:precomp:c16mb,t2:crilayla - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t2 - - <stdin> <stdout>



after strong compression
using 0.1: 121 MB (127,517,813 bytes) >> 22.0 MB (23,120,406 bytes)
using 0.2: 120 MB (126,762,125 bytes) >> 21.4 MB (22,529,107 bytes)

interesting it isn't inflating at all on my side
i will do some troubleshooting

darkwolves 27-04-2018 20:02

Release 2 Troubleshooting
 
alright seems to be in the arc.ini

in release 2 razor released the following command in the FA example

Quote:

[External compressor:xprecomp]
header = 0
packcmd = xtool.exe e:precomp:t4:zlib - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>
with it set this way it will ignore the crilayla streams


the solution is to replace zlib with crilayla in the packcmd and xtool begins to read the cri streams again i have tried adding it with zlib still there but it does not work.

example
Quote:

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

sonic lost world after replacing zlib with crilayla in the arc ini in release 2
Quote:

Compressing 1 file, 2,463,058,976 bytes
Compressing sonic2013_0.cpk
Compressed 1 file, 2,463,058,976 => 5,067,368,904 bytes. Ratio 205.7%
Compression time: cpu 5.81 secs, real 1115.69 secs. Speed 2,208 kB/s
i came to this conclusion after sending a file to razor and it worked for him and his command
did not have zlib in it only crilayla

Panky 27-04-2018 23:47

1 Attachment(s)
Quote:

Originally Posted by Razor12911 (Post 470559)
would help if you upload the sample :confused:

Here you are.

darkwolves 28-04-2018 01:17

Quote:

Originally Posted by Panky (Post 470565)
Here you are.

try these arc settings

Quote:

[External compressor:xprecomp]
header = 0
packcmd = xtool.exe e:precomp:t2:zlib - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t2 - - <stdin> <stdout>
i've found manually changing crilayla to zlib or zlib to crilayla
in the arc ini works depandant on what you are trying to precompress

KaktoR 28-04-2018 06:05

Quote:

Originally Posted by Razor12911 (Post 470517)
Works here

Yep, with update 2 it works now. Thank you!

Panky 28-04-2018 12:15

Quote:

Originally Posted by darkwolves (Post 470567)
try these arc settings



i've found manually changing crilayla to zlib or zlib to crilayla
in the arc ini works depandant on what you are trying to precompress

Yeah, my mistake, thanks.

darkwolves 28-04-2018 13:26

Quote:

Originally Posted by Panky (Post 470582)
Yeah, my mistake, thanks.

i did the exact same thing lol
i gave the sample to razor after he posted the results
i felt stupid..lol prompting me to make the post above
for those who may make the same mistake..

Simorq 28-04-2018 15:42

"Resident Evil 6" "Dir DX9 222 MB"

XTool 0.1
Creating archive: xprecomp.Bin using xprecomp:c32mb,t100p:zlib+srep:m3f:l256:a0+lzma:ul tra:d768m:mfbt4:lc8:fb273
Compressed 474 files, 232,916,010 => 16,971,873 bytes. Ratio 7.29%
Compression time: cpu 0.61 sec/real 129.38 sec = 0%. Speed 1.80 mB/s
All OK

__________________________________________________ ______
XTool 0.2 32Bit
Creating archive: xprecomp2.Bin using xprecomp2:c32mb,t100p:zlib+srep:m3f:l256:a0+lzma:u ltra:d768m:mfbt4:lc8:fb273
Compressed 474 files, 232,916,010 => 43,084,237 bytes. Ratio 18.50%
Compression time: cpu 0.66 sec/real 122.06 sec = 1%. Speed 1.91 mB/s
All OK

__________________________________________________ ______
XTool 0.2 64Bit
Creating archive: xprecomp2_64.Bin using xprecomp2:c32mb,t100p:zlib+srep:m3f:l256:a0+lzma:u ltra:d768m:mfbt4:lc8:fb273
Compressed 474 files, 232,916,010 => 16,953,160 bytes. Ratio 7.28%
Compression time: cpu 0.59 sec/real 125.23 sec = 0%. Speed 1.86 mB/s
All OK


__________________________________________________ ______
Ztool
Creating archive: Ztool.Bin using pzlib:max:c32m+srep:m3f:l256:a0+lzma:ultra:d768m:m fbt4:lc8:fb273
Compressed 474 files, 232,916,010 => 17,636,136 bytes. Ratio 7.57%
Compression time: cpu 0.67 sec/real 133.21 sec = 1%. Speed 1.75 mB/s
All OK

__________________________________________________ ______
Precomp043
Creating archive: Precomp043.Bin using precomp+srep:m3f:l256:a0+lzma:ultra:d768m:mfbt4:lc 8:fb273
Compressed 474 files, 232,916,010 => 17,309,956 bytes. Ratio 7.43%
Compression time: cpu 0.83 sec/real 243.89 sec = 0%. Speed 0.95 mB/s
All OK



http://www.mediafire.com/file/rrrwmw...u/RE6_.DX9.exe C FreeArc Sfx

Razor12911 28-04-2018 15:43

Quote:

Originally Posted by Simorq (Post 470585)
"Resident Evil 6" "Dir DX9 222 MB"
XTool 0.2 32Bit
Creating archive: xprecomp2.Bin using xprecomp2:c32mb,t100p:zlib+srep:m3f:l256:a0+lzma:u ltra:d768m:mfbt4:lc8:fb273
Compressed 474 files, 232,916,010 => 43,084,237 bytes. Ratio 18.50%
Compression time: cpu 0.66 sec/real 122.06 sec = 1%. Speed 1.91 mB/s
All OK

Out of memory exceptions probably occurred.

Quote:

Originally Posted by Panky (Post 470565)
Here you are.

[External compressor:xprecomp]
header = 0
packcmd = xtool.exe e:precomp:c16mb,t2:zlib - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t2 - - <stdin> <stdout>

with first release
Code:

Compressed 1 file, 21,696,742 => 25,479,385 bytes. Ratio 117.43%
Compression time: cpu 0.11 sec/real 34.21 sec = 0%. Speed 0.63 mB/s

with second release
Code:

Compressed 1 file, 21,696,742 => 25,477,946 bytes. Ratio 117.43%
Compression time: cpu 0.06 sec/real 32.07 sec = 0%. Speed 0.68 mB/s

after strong compression
using 0.1: 24.2 MB (25,479,618 bytes) >> 15.7 MB (16,488,938 bytes)
using 0.2: 24.2 MB (25,478,179 bytes) >> 15.7 MB (16,485,534 bytes)

:confused:

Simorq 28-04-2018 15:46

XTool 0.2 32Bit has a problem.

Razor12911 28-04-2018 15:47

Quote:

Originally Posted by Simorq (Post 470587)
XTool 0.2 32Bit has a problem.

use 16mb chunk size and try again

Simorq 28-04-2018 16:07

Quote:

Originally Posted by Razor12911 (Post 470588)
use 16mb chunk size and try again

Good

Code:

Creating archive: xprecomp2.Bin using xprecomp2:c16mb,t100p:zlib+srep:m3f:l256:a0+lzma:ultra:d768m:mfbt4:lc8:fb273
Memory for compression 0b, decompression 0b, cache 1kb
Compressed 474 files, 232,916,010 => 17,091,192 bytes. Ratio 7.34%       
Compression time: cpu 0.66 sec/real 130.44 sec = 1%. Speed 1.79 mB/s
All OK

But the extraction speed is less
Even when using XTool x64 to decompress.

darkwolves 28-04-2018 16:46

Quote:

Originally Posted by Simorq (Post 470587)
XTool 0.2 32Bit has a problem.

the only thing i see wrong is the fact i have to manually type in zlib or crilayla
in the arc.ini packcmd it doesn't work if both are present only the one you are trying to precompress


All times are GMT -7. The time now is 15:11.

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