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)

KaktoR 18-10-2020 12:12

I did more tests and the same with ztool.

I think I have to exclude this file from precompressing :D

Shegorat 18-10-2020 22:32

Quote:

Originally Posted by Razor12911 (Post 488367)
there must be a single stream that decompresses to more than 2gb.
that ratio is very unusual 11443%

Nope. There are 71 valid deflate streams with dynamic huffman

Code:

***
Block:    1186: offset=00000000018C6768 last=0 type=2 size=18440  unplen=4208336 hdrsize=39    entropy=5.0482
Block:    1187: offset=00000000018CAF70 last=0 type=2 size=18444  unplen=4226814 hdrsize=14    entropy=3.4551
Block:    1188: offset=00000000018CF77C last=0 type=2 size=18445  unplen=4226814 hdrsize=15    entropy=3.4501
Block:    1189: offset=00000000018D3F89 last=0 type=2 size=18444  unplen=4226814 hdrsize=14    entropy=3.4310
Block:    1190: offset=00000000018D8795 last=0 type=2 size=18444  unplen=4226814 hdrsize=14    entropy=3.4167
Block:    1191: offset=00000000018DCFA1 last=0 type=2 size=18445  unplen=4226814 hdrsize=15    entropy=3.4501
Block:    1192: offset=00000000018E17AE last=0 type=2 size=18444  unplen=4226814 hdrsize=14    entropy=3.4310
Block:    1193: offset=00000000018E5FBA last=0 type=2 size=18455  unplen=4205523 hdrsize=40    entropy=4.0372
Block:    1194: offset=00000000018EA7D1 last=0 type=2 size=18447  unplen=4222705 hdrsize=23    entropy=3.6798
Block:    1195: offset=00000000018EEFE0 last=0 type=2 size=18432  unplen=4195105 hdrsize=36    entropy=3.9656
Block:    1196: offset=00000000018F37E0 last=0 type=2 size=18444  unplen=4226814 hdrsize=14    entropy=3.4410
Block:    1197: offset=00000000018F7FEC last=1 type=2 size=5641  unplen=1048327 hdrsize=77    entropy=4.8571
beg=00000000018C6768, end=00000000018F95F6, blocks=12, size=208526 (0.199 Mb), unplen=47467694 (45.269 Mb)


raw_count=71, rawdata=24207594 (23.086 Mb), outdata=2129222 (2.031 Mb), unpdata=3011528751 (2872.018 Mb)


78372 19-10-2020 00:34

1 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 488366)
Could someone tell me what's wrong with this file?

XTool just stop working on this (no cpu/ram load), no matter what settings I use.

This is from Anno 1800

https://i.imgur.com/NBDp2pd.png

71 zlib streams with valid headers. Data is very much precompressible.

Masquerade 19-10-2020 02:51

I am having a similar issue with Monster Truck Championship, a UE4 game, no encryption, xtool will stick at 1.0% - ZTool / pZlib will instant crash with error 0xC0000005.

78372 19-10-2020 05:19

Quote:

Originally Posted by Masquerade (Post 488380)
I am having a similar issue with Monster Truck Championship, a UE4 game, no encryption, xtool will stick at 1.0% - ZTool / pZlib will instant crash with error 0xC0000005.

Better post a sample

Masquerade 19-10-2020 07:14

Quote:

Originally Posted by 78372 (Post 488383)
Better post a sample

The single pak file of the game is 26GB.

https://steamdb.info/depot/1209361/

Masquerade 09-12-2020 11:55

Getting unarc -12 at 100% when trying to unpack UE4 games, especially new ones. Unpacking is slow up until 100% when it should finish, but returns an error,

Call Of The Sea (although it uses not much compression) errors at 100% and aefer fall doesn't precompress at all (xtool just gets stuck) using v12 x64 variant.

Anything I am doing wrong?

Hexagon123 09-12-2020 19:29

Quote:

Originally Posted by Masquerade (Post 489325)
Getting unarc -12 at 100% when trying to unpack UE4 games, especially new ones. Unpacking is slow up until 100% when it should finish, but returns an error,

Call Of The Sea (although it uses not much compression) errors at 100% and aefer fall doesn't precompress at all (xtool just gets stuck) using v12 x64 variant.

Anything I am doing wrong?

The file is a bit uncompresed

Ele 09-12-2020 19:56

Quote:

Originally Posted by Masquerade (Post 489325)
Getting unarc -12 at 100% when trying to unpack UE4 games, especially new ones. Unpacking is slow up until 100% when it should finish, but returns an error,

Call Of The Sea (although it uses not much compression) errors at 100% and aefer fall doesn't precompress at all (xtool just gets stuck) using v12 x64 variant.

Anything I am doing wrong?

FreeArc errorlevel -12 means failed CRC check right? Use xdelta if possible.

Masquerade 10-12-2020 03:26

Quote:

Originally Posted by Ele (Post 489328)
FreeArc errorlevel -12 means failed CRC check right? Use xdelta if possible.

Yes, but this is an installation. At isdone error, the installer clears everything. I'd need to patch the installer to not clear everything, ignore isdone error then complete the patch.

drsamonline 10-12-2020 22:21

Nice thank you

Cesar82 19-01-2021 20:51

Could someone tell me if to use the "crilayla" method I need to insert a library in addition to "CriLayla.dll" next to XTool.exe (32 bits).
I mean if I configure Arc.ini in this way I need to have in the "CriLayla " folder plus any files besides "CriLayla.dll" and "XTool.exe" (32-bits)?
Code:

[External compressor:xcrilayla]
header    = 0
packcmd  = "CriLayla\XTool.exe" e:precomp:t100p,c128m,v:crilayla - - <stdin> <stdout>
unpackcmd = "CriLayla\XTool.exe" d:precomp:t50p - - <stdin> <stdout>


Masquerade 19-01-2021 23:43

@Cesar
That is all you need: xtool x86 + crilayla.dll

I don't know what the v is for in your packcmd though:
Code:

e:precomp:t100p,c128m,v:crilayla

Cesar82 21-01-2021 13:06

Quote:

Originally Posted by Masquerade (Post 489929)
@Cesar
That is all you need: xtool x86 + crilayla.dll

I don't know what the v is for in your packcmd though:
Code:

e:precomp:t100p,c128m,v:crilayla

I have no idea of this "v" as a parameter.
I looked at the older sources codes and since version "CIUv2 v2.0.3.9 U15.2 (2018-10-28) in "UltraARC 2900 R6" (modifyed by Simorq) has this parameter "v" in crilayla method.
Until the version "UltraArc 2900 R5" (CIUv2 v2.0.3.9 U15.1 (2018-10-06)) there was no such parameter "v" in the cirilayla command (Only: XTool e: precomp:t100p:crilayla - - <stdin> <stdout>)
In the image you can see which original parameter has been replaced.
If anyone knows what this parameter "v" refers to please post it here.
https://i.imgur.com/5CCe7jk.png

KaktoR 21-01-2021 13:50

v is for verify if I remember correctly. Simorq posted somewhere over here about this (or someone other).

Edit: https://fileforums.com/showpost.php?...&postcount=380
Edit 2: https://fileforums.com/showpost.php?...&postcount=377
...

Cesar82 22-01-2021 10:38

1) Can anyone tell me for sure if the zstd codec works with old 32-bit XTool?
Putting 32-bit libzstd.dll together with XTool v012 (or earlier) and running XTool displays the message "zstd: not loaded" (see image).
With the 64-bit version (using the x64 libraries) the zstd codec is loaded normally.

2) The image also says that "oodle" has not been loaded and the library "oo2core_5_win32.dll" is together with XTool, this is normal, or does it not support Oodle in the 32-bit version despite Razor12911 having shared the library in the x86 folder?

https://i.imgur.com/4DizJDP.png

Razor12911 22-01-2021 10:44

The 32-bit libzstd from this xtool package requires libgcc_s_dw2-1.dll, think of it as programs requiring Visual C++ Runtime libraries, but this one requires one from gcc compiler, not sure why.

Try finding the matching pair from here
https://github.com/facebook/zstd/releases

Cesar82 22-01-2021 11:44

Quote:

Originally Posted by Razor12911 (Post 490005)
The 32-bit libzstd from this xtool package requires libgcc_s_dw2-1.dll, think of it as programs requiring Visual C++ Runtime libraries, but this one requires one from gcc compiler, not sure why.

Try finding the matching pair from here
https://github.com/facebook/zstd/releases

I looked for everything on the link page and didn't find it.
I don't even know the version of libzstd.dll that the old XTool used.
However I found the library informed at:https://pt.dll-files.com/libgcc_s_dw2-1.dll.html
Both link files allowed to load the codec. I tested it and it worked perfectly zstd with StarWars BF2 (Ratio 129.47%)

@Razor12911, does the oodle method need anything to load with old XTool or does it not support oodle in 32-bit version?

KaktoR 22-01-2021 11:52

@Cesar
I suggest to not use oodle with old xtool at all due to bugs.

Prince4 07-04-2021 04:35

Hi all, i've been away from this stuff for quite some time, but i just wanted to get back into this, so i'm trying to run XTool with Freearc but everytime freearc runs it crashes instantly with XTool, can someone help me out as to why is this happening?

Other methods are working fine (Precomp,PZLib,SRep,Delta,Lolz)

These are the parameters :

Code:

Arc_mar14.exe a -ep1 --dirs -r --archive-comment="%comment%" --workdir=C:\_Out\$$work_dir$$\ -mxtool+srep+lzma:a1:mfbt4:d256m:fb128:mc2000 "C:\_Out\Setup-XT+S+L%1.Rpk" "%dir%\*"
Here is my Arc.ini :

Code:

[External compressor:xtool]
header    = 0
packcmd  = xtool.exe precomp -mzlib -c32mb -t100p --dbase - - <stdin> <stdout>
unpackcmd = xtool.exe decode -t50p - - <stdin> <stdout>

[External compressor:srep]
header = 0
packcmd  = srep64 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp


Masquerade 07-04-2021 09:52

Prince4

Your issue lies in the packcmd, xtool in this topic does not support --dbase parameter.

I think you may be confused with new XTool, which can be found in this topic: https://www.fileforums.com/showthread.php?t=102832

Prince4 07-04-2021 22:31

Quote:

Originally Posted by Masquerade (Post 491239)
Prince4
Your issue lies in the packcmd, xtool in this topic does not support --dbase parameter.
I think you may be confused with new XTool, which can be found in this topic: https://www.fileforums.com/showthread.php?t=102832

Ah i am using that version (0.3.9), i just posted on the wrong thread. But i can verify that program does have that option.

Also just tested, i added "=temp.db" in that option on the packcmd and the compression started but crashed in srep (bad media=?) at 0.2% where FArc is supposed to make a zip file. I'm using SRep 0.393a.

sanniasajive 05-11-2021 17:15

thank you razor, you made my life much simpler!!

JaleSwiftpaw 03-05-2022 12:11

Thanks, I've been looking for this.

Gcr27 22-04-2023 18:16

hello my game use a zlib compression files cart fury champioship racing ps2 have a program or software to decompress files wms,zif files format


All times are GMT -7. The time now is 01:35.

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