FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   XTool 2019 (Plugins) (https://fileforums.com/showthread.php?t=102833)

Razor12911 16-06-2019 04:56

XTool 2019 (Plugins)
 
List of plugins for xtool

Game Series/Game Engine
Frostbite Engine
Haemimont Engine
Unity Engine

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

Quote:

Originally Posted by Razor12911 (Post 481988)
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

Unity Engine 5.x.x
 
1 Attachment(s)
Support for unity game engine files using lz4 algorithm.

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

Available codecs
Unity

Changelog
Code:

  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

Quote:

Originally Posted by doofoo24 (Post 482076)
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

Quote:

Originally Posted by doofoo24 (Post 482082)
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

Quote:

Originally Posted by doofoo24 (Post 482084)
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

Quote:

Originally Posted by doofoo24 (Post 482087)
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

1 Attachment(s)
For Unity, the game files should contain a header structure that looks like this

nik1967 17-08-2019 09:19

Code:

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

Quote:

Originally Posted by nik1967 (Post 482168)
Code:

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?...0&postcount=86

Razor12911 21-08-2019 15:16

Unity Engine plugin updated

Razor12911 21-08-2019 15:19

Haemimont Engine
 
1 Attachment(s)
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
Code:

  1908_R1
  - Initial release


nik1967 22-08-2019 00:37

Quote:

Originally Posted by Razor12911 (Post 482260)
Unity Engine plugin updated

Hello, Razor12911!
What's this? :eek:
The file was downloaded several times.
https://i89.fastpic.ru/big/2019/0822...447d4bf5d4.png
haemimont_1908_R1.7z it's all OK :eek:
https://i86.fastpic.ru/big/2019/0822...628474752e.png

IgorKolesnik 22-08-2019 02:30

Quote:

Originally Posted by Razor12911 (Post 482260)
Unity Engine plugin updated

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

IgorKolesnik 22-08-2019 04:03

1 Attachment(s)
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

Quote:

Originally Posted by IgorKolesnik (Post 482275)
When downloading, it says that the archive is corrupted. (

Quote:

Originally Posted by Snake288 (Post 482292)
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

Quote:

Originally Posted by Razor12911 (Post 482260)
Unity Engine plugin updated

And the multi-thread mode has not repaired...

Razor12911 23-08-2019 15:32

Quote:

Originally Posted by nik1967 (Post 482302)
And the multi-thread mode has not repaired...

Can you please share the sample.

doofoo24 24-08-2019 08:53

1 Attachment(s)
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?...85&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

Quote:

Originally Posted by Razor12911 (Post 482327)
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?...85&postcount=2

I have far cry 4

Razor12911 24-08-2019 10:12

Quote:

Originally Posted by Harsh ojha (Post 482333)
I have far cry 4

give

Harsh ojha 24-08-2019 10:23

Quote:

Originally Posted by Razor12911 (Post 482343)
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

Quote:

Originally Posted by Razor12911 (Post 482316)
Can you please share the sample.

Code:

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/13uU...ew?usp=sharing

Razor12911 29-08-2019 15:16

Frostbite Engine
 
1 Attachment(s)
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
Code:

  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

Quote:

Originally Posted by doofoo24 (Post 482428)
so how to use frostbite3 ?
precomp:frostbite3 or precomp:lz4 :confused:

Quote:

Originally Posted by Razor12911 (Post 482420)
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


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

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