PDA

View Full Version : XTool 2019 (Plugins)


Razor12911
16-06-2019, 04:56
List of plugins for xtool

Game Series/Game Engine
Frostbite Engine (https://fileforums.com/showpost.php?p=482420&postcount=38)
Haemimont Engine (https://fileforums.com/showpost.php?p=482261&postcount=20)
Unity Engine (https://fileforums.com/showpost.php?p=482064&postcount=6)

Game specific

IO

Upcoming plugins:

Anvil/Scimitar Engine
Dunia Engine
Call of Duty series
Madness Engine
Unreal Engine

Important history files

Razor12911
05-08-2019, 15:32
Dunia game samples required for these games:
Watch Dogs
FC3-5 + New Dawn
The Crew 2

only common.dat and all the .fat files

Harsh ojha
05-08-2019, 21:03
Hey @Razor12911 will you add RAGE (Rockstar Advanced Game Engine) 🤔

Razor12911
06-08-2019, 00:22
But they all zlib compressed bro :D
The only thing that they will get are history files. I'll explain those in the next version but they can be helpful for those games.

Harsh ojha
06-08-2019, 11:07
But they all zlib compressed bro :D
The only thing that they will get are history files. I'll explain those in the next version but they can be helpful for those games.


okay no problem anyway tnx bro for xtool new update :)

Razor12911
12-08-2019, 15:33
Support for unity game engine files using lz4 algorithm.

Usage
Place dll near xtool.exe (only during encoding)

Available codecs
Unity

Changelog

1908_R1
- Initial release
1908_R2
- Updated to work with XTool (1908_R4)

KaktoR
13-08-2019, 01:49
Razor, how should lz4 in unity engine look like? Any special headers? Did you have an example for this?

IgorKolesnik
13-08-2019, 05:26
xtool itself will determine the Unity Engine file or need to register somewhere?

IgorKolesnik
13-08-2019, 06:11
tested on Yooka-Laylee using xtool_1908_R3 both x64 and x86 dll loaded (xtool.unity.dll/liblz4.dll), but nothing :(
tested on Gibbous - A Cthulhu Adventure does not find.
Used parameters
packcmd = xtool.exe precomp:lz4,lz4hc:c16mb,t75p - - <stdin> <stdout>
packcmd = xtool.exe precomp:lz4:c16mb,t75p - - <stdin> <stdout>

doofoo24
13-08-2019, 06:50
you need to use xtool like this for unity

[External compressor:precomp]
header = 0
packcmd = xtool.exe precomp:unity - - <stdin> <stdout>

just replace lz4 to unity...

IgorKolesnik
13-08-2019, 06:54
you need to use xtool like this for unity

[External compressor:precomp]
header = 0
packcmd = xtool.exe precomp:unity - - <stdin> <stdout>

just replace lz4 to unity...

e:\REPACK.NEW\test archive\Xtool 11 clear\FA_example>del /q data.arc

e:\REPACK.NEW\test archive\Xtool 11 clear\FA_example>arc.exe a -ep1 -r -ed -s; -w.\temp -mzlib data.arc "pack\*"
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 1 file, 101,968,856 => 101,968,928 bytes. Ratio 100.00%
Compression time: cpu 0.08 sec/real 0.33 sec = 23%. Speed 306.31 mB/s
All OK


e:\REPACK.NEW\test archive\Xtool 11 clear\FA_example>pause

[External compressor:zlib,reflate]
header = 0
packcmd = xtool.exe precomp:unity - - <stdin> <stdout>
unpackcmd = xtool.exe decode:t100p - - <stdin> <stdout>

doofoo24
13-08-2019, 07:01
arc.exe a -ep1 -r -ed -s; -w.\temp -munity data.arc "pack\*"

[External compressor:unity,zlib,reflate]
header = 0
packcmd = xtool.exe precomp:{compressor}:c32mb,t4 - - <stdin> <stdout>
unpackcmd = xtool.exe decode:t100p - - <stdin> <stdout>

don't forget xtool.unity.dll/liblz4.dll with xtool_1908_R3...

work on cuphead but YookaLaylee and inside nothing :(

IgorKolesnik
13-08-2019, 07:05
arc.exe a -ep1 -r -ed -s; -w.\temp -munity data.arc "pack\*"

[External compressor:unity,zlib,reflate]
header = 0
packcmd = xtool.exe precomp:{compressor}:c32mb,t4 - - <stdin> <stdout>
unpackcmd = xtool.exe decode:t100p - - <stdin> <stdout>

don't forget xtool.unity.dll/liblz4.dll with xtool_1908_R3...

work on cuphead but YookaLaylee and inside nothing :(

Are you using version 86 or 64?

doofoo24
13-08-2019, 07:10
work with both version 86/ 64 on cuphead yet to test decode...

IgorKolesnik
13-08-2019, 07:12
work with both version 86/ 64 on cuphead yet to test decode...

maybe in the game Draugen which I am testing there is no lz4

Razor12911
16-08-2019, 15:29
For Unity, the game files should contain a header structure that looks like this

nik1967
17-08-2019, 09:19
xtool_v011 -m=xtool:c16mb,t8:lz4
Compressed 1 file, 158,982,049 => 272,860,188 bytes. Ratio 171.63%
Compression time: cpu 0.23 sec/real 21.85 sec = 1%. Speed 7.28 mB/s

xtool_1908_R3 -m=unity
packcmd = xtool.exe precomp:{compressor}:c16mb,t1 - - <stdin> <stdout>
Compressed 1 file, 158,982,049 => 194,902,699 bytes. Ratio 122.59%
Compression time: cpu 0.19 sec/real 40.01 sec = 0%. Speed 3.97 mB/s

packcmd = xtool.exe precomp:{compressor}:c16mb,t8 - - <stdin> <stdout>
Compressed 1 file, 158,982,049 => 162,896,690 bytes. Ratio 102.46%
Compression time: cpu 0.22 sec/real 4.06 sec = 5%. Speed 39.14 mB/s
What am i doing wrong?

Razor12911
17-08-2019, 17:27
xtool_v011 -m=xtool:c16mb,t8:lz4
Compressed 1 file, 158,982,049 => 272,860,188 bytes. Ratio 171.63%
Compression time: cpu 0.23 sec/real 21.85 sec = 1%. Speed 7.28 mB/s

xtool_1908_R3 -m=unity
packcmd = xtool.exe precomp:{compressor}:c16mb,t1 - - <stdin> <stdout>
Compressed 1 file, 158,982,049 => 194,902,699 bytes. Ratio 122.59%
Compression time: cpu 0.19 sec/real 40.01 sec = 0%. Speed 3.97 mB/s

packcmd = xtool.exe precomp:{compressor}:c16mb,t8 - - <stdin> <stdout>
Compressed 1 file, 158,982,049 => 162,896,690 bytes. Ratio 102.46%
Compression time: cpu 0.22 sec/real 4.06 sec = 5%. Speed 39.14 mB/s
What am i doing wrong?
The issue is not from your side, but there is a mistake I did in plugin support but it will be fixed in the next update, here's change log

https://fileforums.com/showpost.php?p=482160&postcount=86

Razor12911
21-08-2019, 15:16
Unity Engine (https://fileforums.com/showpost.php?p=482064&postcount=6) plugin updated

Razor12911
21-08-2019, 15:19
Support for haemimont game engine files using lz4 algorithm.

Games
Victor Vran, Tropico 5 and many others

Usage
Place dll near xtool.exe (only during encoding)

Available codecs
hpk

Changelog

1908_R1
- Initial release

nik1967
22-08-2019, 00:37
Unity Engine (https://fileforums.com/showpost.php?p=482064&postcount=6) plugin updated
Hello, Razor12911!
What's this? :eek:
The file was downloaded several times.
https://i89.fastpic.ru/big/2019/0822/d4/7f2e3d5fb3f422696f8421447d4bf5d4.png
haemimont_1908_R1.7z it's all OK :eek:
https://i86.fastpic.ru/big/2019/0822/2e/213f1415c27cd58f461eac628474752e.png

IgorKolesnik
22-08-2019, 02:30
Unity Engine (https://fileforums.com/showpost.php?p=482064&postcount=6) plugin updated

When downloading, it says that the archive is corrupted. (

IgorKolesnik
22-08-2019, 04:03
test hpk Victor Vran.
It works, thanks

Snake288
22-08-2019, 18:38
Hello,
doofoo24

unity_1908_R2.7z

The file has been downloaded several times.

file won't open

When downloading, it says that the archive is corrupted.

Grumpy
22-08-2019, 18:56
When downloading, it says that the archive is corrupted. (

Hello,
doofoo24

unity_1908_R2.7z

The file has been downloaded several times.

file won't open

When downloading, it says that the archive is corrupted.

There was a problem with the server and the last 4 files uploaded were corrupted, I do not know which 4 they were but this file may have been 1 of them?

Razor may have to re-upload it.

@Razor, it is not a problem with your file, it was a server problem, I mention that so you do not waste your time checking your files looking for an error. ;)

Razor12911
22-08-2019, 18:58
Attachments reuploaded, :D

nik1967
23-08-2019, 00:34
Unity Engine (https://fileforums.com/showpost.php?p=482064&postcount=6) plugin updated
And the multi-thread mode has not repaired...

Razor12911
23-08-2019, 15:32
And the multi-thread mode has not repaired...

Can you please share the sample.

doofoo24
24-08-2019, 08:53
tested unity with couple of setting on ReCore (StreamingAssets\AssetBundles\...) about 13.5gb...
multi-thread is problematic for example if i use large c64mb with t4 it remain stuck and if i use c16mb with t4 it manage to complete but does not capture all...
to get the most better to use t1 with c64mb
i tried t1:c16mb it inflate to 15.2.gb
i tried t1:c64mb it inflate to 20.2.gb
i tried t1:c128mb it inflate to 20.2.gb

*memory usage t1 with c128mb around 500mb-600mb...

Razor12911
24-08-2019, 08:55
SaMPLE?!!

@everyone

If there is an issue with a specific input when you use xtool, please upload a sample from that input because I really cannot try to fix something without really knowing what could be the cause.

The only sample I have for Unity is about 200KB and I made plugin from that small file. I have not tested it on a full game.

And samples for these games, I'm still waiting for them
https://fileforums.com/showpost.php?p=481985&postcount=2

Razor12911
24-08-2019, 09:08
Well, I just searched my backup drive and found a larger sample so I'll work using that, Unity will probably be fixed in the next version.

doofoo24
24-08-2019, 09:29
i forgot to mention that i found UnityFS only in StreamingAssets\AssetBundles\* (cuphead/Recore)
game like Yooka-Laylee has only Audio and text...
is there anything in assets.resS or level files :confused:

Harsh ojha
24-08-2019, 09:37
SaMPLE?!!

@everyone

If there is an issue with a specific input when you use xtool, please upload a sample from that input because I really cannot try to fix something without really knowing what could be the cause.

The only sample I have for Unity is about 200KB and I made plugin from that small file. I have not tested it on a full game.

And samples for these games, I'm still waiting for them
https://fileforums.com/showpost.php?p=481985&postcount=2

I have far cry 4

Razor12911
24-08-2019, 10:12
I have far cry 4

give

Harsh ojha
24-08-2019, 10:23
give

okay @Razor12911 but tomorrow
sorry bro its 10:52 PM
:o

Snake288
24-08-2019, 10:49
Far Cry 3\data_win32\worlds\fc3_main
fc3_main.dat
fc3_main.fat
fc3_main_english.dat
fc3_main_english.fat
fc3_main_vistas.fat
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressed 6 files, 3,865,213,330 => 5,255,663,231 bytes. Ratio 135.97%
Compression time: cpu 3.61 sec/real 2766.19 sec = 0%. Speed 1.40 mB/s
All OK

nik1967
24-08-2019, 23:52
Can you please share the sample.

xtool_v011
packcmd = xtool e:precomp{:option} - - <stdin> <stdout> -m=xtool:c16mb,t8:lz4
Compressed 1 file, 158,982,049 => 272,860,188 bytes. Ratio 171.63%
Compression time: cpu 0.09 sec/real 16.53 sec = 1%. Speed 9.62 mB/s
-------------------------------------------------------------------------------
xtool_1908_R5 + unity_1908_R2
packcmd = xtool.exe precomp:{compressor}:c16mb,t1 - - <stdin> <stdout>
Compressed 1 file, 158,982,049 => 270,704,886 bytes. Ratio 170.27%
Compression time: cpu 0.31 sec/real 57.78 sec = 1%. Speed 2.75 mB/s

packcmd = xtool.exe precomp:{compressor}:c16mb,t4 - - <stdin> <stdout>
Compressed 1 file, 158,982,049 => 191,392,636 bytes. Ratio 120.39%
Compression time: cpu 0.20 sec/real 6.59 sec = 3%. Speed 24.11 mB/s

packcmd = xtool.exe precomp:{compressor}:c16mb,t8 - - <stdin> <stdout>
Compressed 1 file, 158,982,049 => 179,172,938 bytes. Ratio 112.70%
Compression time: cpu 0.19 sec/real 4.11 sec = 5%. Speed 38.69 mB/s

https://drive.google.com/file/d/13uUD4sgn9l9Dwe4aieN-a8SgEN1iNqqe/view?usp=sharing

Razor12911
29-08-2019, 15:16
Support for frostbite 3 game engine files using zlib, lz4, zstd and kraken algorithm.

Games
Battlefield, Need For Speed, FIFA, Mirror's Edge Catalyst and etc

Usage
Place dll near xtool.exe (if fb3.fifa19 codec is used, dll is required when decoding as well)

Available codecs
fb3, fb3.fifa19

Changelog

1908_R1
- Initial release

doofoo24
29-08-2019, 17:33
so how to use frostbite3 ?
precomp:frostbite3 or precomp:lz4 :confused:

Razor12911
29-08-2019, 17:37
so how to use frostbite3 ?
precomp:frostbite3 or precomp:lz4 :confused:

Available codecs
fb3, fb3.fifa19


there

In any case, when you launch xtool with the command precomp, it will show you all codecs that are available and which ones the plugin adds

doofoo24
29-08-2019, 17:42
i tried it on Mirror's Edge Catalyst with setting fb3/frostbite3/lz4 with t1 but nothing, just copy :(

Razor12911
29-08-2019, 17:46
i tried it on Mirror's Edge Catalyst with setting fb3/frostbite3/lz4 with t1 but nothing, just copy :(

Compressed 1 file, 23,931,360 => 57,965,618 bytes. Ratio 242.22%

that's what I got on one of the files (cas_01.cas)

Edit: this one is for bf4, another lz4 title

Compressed 1 file, 7,354,882 => 14,782,940 bytes. Ratio 200.99%

doofoo24
30-08-2019, 06:46
tested both x64 and 86 on SWB the same as MEC nothing ...

setting "xtool.exe precomp:fb3:c16mb,t1 - - <stdin> <stdout>"...

Razor12911
30-08-2019, 07:03
Can you show me the files near xtool.exe

doofoo24
30-08-2019, 07:07
sure :)

Snake288
30-08-2019, 07:36
Razor12911,doofoo24 Hello to everyone

Battlefield, Need For Speed, FIFA, Mirror's Edge Catalyst and etc
Available codecs
fb3, fb3.fifa19
Usage please help
setting "xtool.exe precomp:fb3:c16mb,t1

IgorKolesnik
30-08-2019, 13:24
I don’t know, this is a bug of the unity plugin or the new version of xtool R6, if the folder I am packing contains a subfolder with the symbol "_" in the name, for example, "Decay of Logos_Data"
then the unity plugin will not be able to access the files.

upd
rolled back the xtool version to R5 and the problem is gone. somewhere in the R6 version there is a problem with file paths ...

Masquerade
01-04-2020, 01:18
I have Watch Dogs installed on my computer. When you say "Sample" I'm not sure what size of file you'd like. Either way, I'm happy to upload parts for the cause.

KaktoR
01-04-2020, 04:19
I have Watch Dogs installed on my computer. When you say "Sample" I'm not sure what size of file you'd like. Either way, I'm happy to upload parts for the cause.

Project is canceled

https://fileforums.com/showpost.php?p=484388&postcount=120

Masquerade
08-04-2020, 07:05
Project is canceled

https://fileforums.com/showpost.php?p=484388&postcount=120
That's such a shame. My sympathies are with RAZOR, thank you for the answer.

NexusIV
16-05-2020, 06:14
Hello friends,
I need your help for a project.

How do these two parameters work and what would their theoretical minimum and maximum values?

Thanks

https://i.imgur.com/3jenITE.jpg