FileForums

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

Masquerade 17-11-2022 02:50

^^
Didn't Razor already say there's no recompression code for this algo?
https://www.fileforums.com/showpost....&postcount=306

Masquerade 17-11-2022 13:43

1 Attachment(s)
Crysis 2 Remastered [LZ4]
  • Extract contents of attached archive to XTool directory and use -mcrysis2remastered
  • Requires liblz4.dll. I included one that gives best ratio.
  • You can discard crysis2remastered.xtl for decoding, but you must retain the same liblz4.dll used for encoding.
Code:

Compressing textures_chk0-part2.pak, 411,058,830 bytes

XTool is created by Razor12911

Streams: 1192/1192
Time: 00:00:07 (00:00:04)
Memory: 357 MB (357 MB)

Compressed 1 file, 411,058,830 => 550,255,834 bytes. Ratio 133.86%
Compression time: cpu 0.52 sec/real 21.70 sec = 2%. Speed 18.94 mB/s
All OK


kast1450 22-11-2022 00:34

I can't get the Unreal Engine decryption to work. The game is 171 and the key is 0xE268A09FA3AB747487935B5E6362BEA968AD7A64795419C0 1D84552D71C011E2. It works fine with UnrealPak however both ue4dt and XTool 2020's Unreal Engine 4 (crypted method) don't decrypt anything. Any advice?

Razor12911 25-11-2022 13:48

Plugin update available

Changes

* Added support for FIFA 23 and NFS Unbound to Frostbite 3 plugin
* Fixed issues with codecs that utilize oodle library

@Mini

I'll take another look at it, could you reupload the sample (My download folder gets cleaned once every week)

@kast1450

Could you upload a sample

Mini 25-11-2022 14:34

Razor12911
B.AnimRetarget.cache + B.AnimRetarget.toc
https://www17.zippyshare.com/v/spfv8aj1/file.html
58 MB

unpacked size 186 MB (with https://github.com/IcarusXSEC/WF-Evolution-Unpack )
cmd: EvolutionUnpack B.AnimRetarget.cache /game

or use
http://aluigi.altervista.org/bms/darkness2.bms

info
1) https://github.com/FromDarkHell/TheDarknessIIDecompiled
2) https://zenhax.com/viewtopic.php?t=4793

kuyhaa 29-11-2022 23:36

1 Attachment(s)
In Nightmare

.Bundle

default
lz4hc,l12
lz4hc,l10

all file ratio 100%

sample

Razor12911 30-11-2022 05:25

Plugin update available

Changes

- I don't remember what I changed (unity plugin)

Results

chapter01(12-14)_assets_all.bundle
Code:

Compressed 1 file, 8,504,252 => 20,406,552 bytes. Ratio 239.96%
Compression time: cpu 0.00 sec/real 1.20 sec = 0%. Speed 7.10 mB/s

chapter05(12-14)_assets_all.bundle
Code:

Compressed 1 file, 14,965,991 => 21,867,535 bytes. Ratio 146.11%
Compression time: cpu 0.03 sec/real 1.24 sec = 3%. Speed 12.05 mB/s


Masquerade 02-12-2022 13:05

1 Attachment(s)
The Oregon Trail [2022] [Leviathan]
  • Extract the contents of the attached archive and use -mtheoregontrail.
  • Requires the included oo2core_9_win64.dll.
  • You can delete theoregontrail.xtl for decoding but you must retain the same oodle core used for precompression.
Code:

Compressing pakchunk100-WindowsNoEditor.pak, 4,677,614 bytes

XTool is created by Razor12911

Streams: 3246/3246
Time: 00:00:18 (00:01:59)
Memory: 512 MB (512 MB)

Compressed 1 file, 4,677,614 => 825,560,508 bytes. Ratio 17649.18%
Compression time: cpu 0.05 sec/real 27.81 sec = 0%. Speed 0.17 mB/s
All OK


Wanterlude 07-12-2022 03:41

1 Attachment(s)
Knights of Honor II Sovereign

AssetBundles
lz4hc,l12
Ratio 100%

I checked the files with the latest unity plugin + lz4 180-194
Maybe I'm doing something wrong? Can someone please check?

Masquerade 07-12-2022 03:57

Quote:

Originally Posted by Wanterlude (Post 499329)
Knights of Honor II Sovereign

AssetBundles
lz4hc,l12
Ratio 100%

I checked the files with the latest unity plugin + lz4 180-194
Maybe I'm doing something wrong? Can someone please check?

The bundles aren't compressed.

Razor12911 14-12-2022 12:41

1 Attachment(s)
Quote:

Originally Posted by Mini (Post 499230)

I managed to create plugin, decompressing the game is possible but recompressing with matching crc is a different story. :(

Code:

Compressed 1 file, 60,893,070 => 203,772,032 bytes. Ratio 334.64%
Compression time: cpu 0.02 sec/real 1.17 sec = 1%. Speed 52.01 mB/s

Code:

"B.AnimRetarget.cache". File is broken.
Tested 1 file, 203,772,032 => 60,893,070 bytes. Ratio 334.64%
Testing time: cpu 0.09 sec/real 1.06 sec = 9%. Speed 57.33 mB/s
There were 1 warning(s)


Razor12911 14-12-2022 18:39

2 Attachment(s)
Here's an alternative doboz library plugin, it may have bugs as this is the first xtool plugin written in Visual Studio rather than RAD Studio.

via executable
Code:

Compressed 1 file, 286,247,872 => 1,095,095,861 bytes. Ratio 382.57%
Compression time: cpu 0.20 sec/real 53.75 sec = 0%. Speed 5.33 mB/s

Tested 1 file, 1,095,095,861 => 286,247,872 bytes. Ratio 382.57%
Testing time: cpu 0.22 sec/real 33.81 sec = 1%. Speed 8.47 mB/s

via library
Code:

Compressed 1 file, 286,247,872 => 1,095,095,861 bytes. Ratio 382.57%
Compression time: cpu 0.23 sec/real 2.62 sec = 9%. Speed 109.33 mB/s

Tested 1 file, 1,095,095,861 => 286,247,872 bytes. Ratio 382.57%
Testing time: cpu 0.17 sec/real 27.38 sec = 1%. Speed 10.45 mB/s

Refer to the executable version if you have issues which can be found here.

L33THAK0R 15-12-2022 16:38

Quote:

Originally Posted by Razor12911 (Post 499421)
Here's an alternative doboz library plugin, it may have bugs as this is the first xtool plugin written in Visual Studio rather than RAD Studio.

Do any titles other than "The Witcher 3: Wild Hunt" or titles running on the PS Vita use Doboz? Only done a quick skim through, but cant seem to find many cases.

L33THAK0R 20-12-2022 04:03

Quote:

Originally Posted by Razor12911 (Post 499419)
I managed to create plugin, decompressing the game is possible but recompressing with matching crc is a different story. :(

Code:

Compressed 1 file, 60,893,070 => 203,772,032 bytes. Ratio 334.64%
Compression time: cpu 0.02 sec/real 1.17 sec = 1%. Speed 52.01 mB/s

Code:

"B.AnimRetarget.cache". File is broken.
Tested 1 file, 203,772,032 => 60,893,070 bytes. Ratio 334.64%
Testing time: cpu 0.09 sec/real 1.06 sec = 9%. Speed 57.33 mB/s
There were 1 warning(s)


Bit of a silly sounding question but how do you use this plugin? Does xtool.ini need to be modified for this library to be accepted? Interested in seeing if despite the CRC issues anything can be done with the decompressed data either as it is or via an xdelta/hdiffz patch.

Razor12911 20-12-2022 07:33

Quote:

Originally Posted by L33THAK0R (Post 499431)
Do any titles other than "The Witcher 3: Wild Hunt" or titles running on the PS Vita use Doboz? Only done a quick skim through, but cant seem to find many cases.

I don't know either :p

Quote:

Originally Posted by L33THAK0R (Post 499468)
Bit of a silly sounding question but how do you use this plugin? Does xtool.ini need to be modified for this library to be accepted? Interested in seeing if despite the CRC issues anything can be done with the decompressed data either as it is or via an xdelta/hdiffz patch.

The sample he sent over has a bms script, meaning you first need to use bms2xtl, the comtype used in the game is evolution/lzfx so I just make a plugin that acts a evolution precompressor, however no matter what parameters you use for lzfx, you simply cannot recompress the data with matching crc. I revisited the data set again today after updating the library to patch the streams but the diff files are just too big and wouldn't make sense to precompress this game.

KaktoR 20-12-2022 08:04

1 Attachment(s)
LEGO Star Wars - The Skywalker Saga

My first xtool plugin.

GAME6.DAT
Code:

-mxtool:legoswtws
Compressed 1 file, 1,643,604,387 => 3,766,491,875 bytes. Ratio 229.16%
Compression time: cpu 1.22 sec/real 82.54 sec = 1%. Speed 19.91 mB/s
All OK

-mxtool:kraken,l6
Compressed 1 file, 1,643,604,387 => 3,629,442,699 bytes. Ratio 220.82%
Compression time: cpu 1.23 sec/real 92.98 sec = 1%. Speed 17.68 mB/s
All OK

-moo2reck
Compressed 1 file, 1,643,604,387 => 3,696,758,986 bytes. Ratio 224.92%
Compression time: cpu 1.80 sec/real 434.00 sec = 0%. Speed 3.79 mB/s
All OK

GAME.DAT
Code:

-mxtool:legoswtws
Compressed 1 file, 4,062,980,016 => 9,814,174,667 bytes. Ratio 241.55%
Compression time: cpu 3.77 sec/real 229.08 sec = 2%. Speed 17.74 mB/s
All OK

-mxtool:kraken,l6
Compressed 1 file, 4,062,980,016 => 9,451,336,766 bytes. Ratio 232.62%
Compression time: cpu 3.39 sec/real 246.06 sec = 1%. Speed 16.51 mB/s
All OK

-moo2reck
Compressed 1 file, 4,062,980,016 => 9,595,617,928 bytes. Ratio 236.17%
Compression time: cpu 5.73 sec/real 1036.90 sec = 1%. Speed 3.92 mB/s
All OK


Thanks to Razor12911 for the education and sorry for the headaches :)

Masquerade 01-01-2023 09:27

1 Attachment(s)
Watch Dogs [XCompress]
  • Extract the contents of the attached archive to XTool folder and use -mwatchdogs.
  • Requires XCompress plugin, you can get that here.
  • Previous database shared by Razor12911 does not work with current XTool which is why I am sharing a new database.
Code:

Compressing common.dat, 109,476,518 bytes

Compressed 1 file, 109,476,518 => 405,191,786 bytes. Ratio 370.12%
Compression time: cpu 0.11 sec/real 20.00 sec = 1%. Speed 5.47 mB/s
All OK


Razor12911 19-01-2023 12:01

1 Attachment(s)
Crilayla

Supported games
Japanese games

Usage
Place crilayla.ini near xtool.exe in conjunction with executable version of the plugin and use -mcrilayla

Persona 3 Portable\data_EN\umd0.cpk
Code:

Compressed 1 file, 147,942,064 => 845,153,964 bytes. Ratio 571.27%
Compression time: cpu 0.14 sec/real 41.55 sec = 0%. Speed 3.56 mB/s


deepshit 21-01-2023 06:48

1 Attachment(s)
Hey There
Can somebody help me with NFS Shift conversion?

Game uses xmemcompress. I used the bms script to generate xtl db but looks like xtool cant decompress the file.
I also put the required libraries beside xtool.( exe and dll)
sample and script and db are attached.

Razor12911 21-01-2023 09:52

Quote:

Originally Posted by deepshit (Post 499915)
Hey There
Can somebody help me with NFS Shift conversion?

Game uses xmemcompress. I used the bms script to generate xtl db but looks like xtool cant decompress the file.
I also put the required libraries beside xtool.( exe and dll)
sample and script and db are attached.

Refer to the Project Cars 1 configuration by Masquerade for this game, xmemcompress must have these parameters.

Code:

[xmemcompress]
Encode=xcompress.exe d -window=131072 -partition=524288 <library>
Decode=xcompress.exe e -window=131072 -partition=524288 <library>

Code:

Compressed 1 file, 25,522,432 => 84,558,796 bytes. Ratio 331.31%
Compression time: cpu 0.05 sec/real 4.22 sec = 1%. Speed 6.05 mB/s


Masquerade 17-02-2023 09:34

2 Attachment(s)
Bink Video
  • XTool plugin adding support for Bink Video compression.
  • This plugin uses Bink Pack library by ProFrager.
  • Thanks to Razor12911 for the little help.
Advantages of using this plugin versus vanilla Bink Pack
  • Multithreading support.
  • No CRC check fail since XTool will patch the videos as they are unpacked.
  • Incompatible Bink 2 videos (KB2n) are automatically ignored.
Special Notes
  • For Bink 2 videos, you may need to make use of the --diff=* parameter as some patches between CRC imperfect videos to the original state can be larger than XTool's default threshold for patches.
  • You may need to use a large chunk size to ensure all videos are processed. See example below.
Example Usage
  • Extract the attached archive to the XTool folder and use -mbik or -mbk2 depending on your data set.
Test
  • Test on the videos from Assassin's Creed 2 (27x Bink 1 videos).
    Code:

    xtool precomp -mbik "AC2Videos\"
    XTool is created by Razor12911

    Streams: 13/13
    Time: 00:00:09 (00:00:01)
    Memory: 148 MB (148 MB)

    Results: 937 MB >> 928 MB

    Code:

    xtool precomp -c128mb -mbik "AC2Videos\"
    XTool is created by Razor12911

    Streams: 26/26
    Time: 00:02:12 (00:00:04)
    Memory: 391 MB (391 MB)

    Results: 937 MB >> 776 MB

    Code:

    xtool precomp -c256mb -mbik "AC2Videos\"
    XTool is created by Razor12911

    Streams: 27/27
    Time: 00:02:25 (00:00:06)
    Memory: 677 MB (677 MB)

    Results: 937 MB >> 725 MB

  • Test on 05_DAM folder from Shadow Warrior 3 Defintive Edition (6x Bink 2 videos).
    Code:

    xtool precomp -c256mb -mbk2 "SW3\Content\Movies\Cutscenes\05_DAM"
    XTool is created by Razor12911

    Streams: 6/6
    Time: 00:01:06 (00:00:03)
    Memory: 406 MB (406 MB)

    Results: 214 MB >> 187 MB


Cesar82 17-02-2023 19:36

Quote:

Originally Posted by Masquerade (Post 500233)
For Bink 2 videos, you may need to make use of the --diff=* parameter as some patches between CRC imperfect videos to the original state can be larger than XTool's default threshold for patches.


For me if I use --diff=* in arc.ini it doesn't work, return:
ERROR: write error (disk full?) in compression algorithm xtool:c256mb:mbk2
Code:

Arc.ini

--cache=0
[External compressor:xtool]
header    = 0
default  = -c64mb -t100p
packcmd  = "{compressor}.exe" precomp { -option} --diff=* - - <stdin> <stdout>
unpackcmd = "{compressor}.exe" decode -t100p - - <stdin> <stdout>

pack.bat
arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r -w.\temp -m"xtool:c256mb:mbk2" data.arc "pack\*"

I also tested using it directly from the command line after removing --diff=* from arc.ini:
xtool:c256mb:mbk2:-diff=*
xtool:c256mb:mbk2:df*

Code:

Arc.ini

--cache=0
[External compressor:xtool]
header    = 0
default  = -c64mb -t100p
packcmd  = "{compressor}.exe" precomp { -option} - - <stdin> <stdout>
unpackcmd = "{compressor}.exe" decode -t100p - - <stdin> <stdout>

pack.bat
arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r -w.\temp -m"xtool:c256mb:mbk2:df*" data.arc "pack\*"
or
arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r -w.\temp -m"xtool:c256mb:mbk2:-diff=*" data.arc "pack\*"

If I don't use --diff=* it compresses normally.
Code:

FreeArc 0.67 (March 15 2014) using additional options: --cache=0
Creating archive: data.arc using xtool:c256mb:mbk2
Memory for compression 0b, decompression 0b, cache 0b
Compressing 5 files, 336,582,396 bytes
  Compressing health_screen.bk2
  Compressing ms_logo.bk2
  Compressing ps_studios_long_strawberry_4k30_006.bk2
  Compressing lt_outro_1080p.bk2
  Compressing lt_intro_1080p.bk2
Compressed 5 files, 336,582,396 => 291,316,936 bytes. Ratio 86.55%
Compression time: cpu 0.20 sec/real 29.95 sec = 1%. Speed 11.24 mB/s
All OK

Am I doing something wrong?

Masquerade 17-02-2023 23:48

Quote:

Originally Posted by Cesar82 (Post 500238)
Am I doing something wrong?

The --diff parameter in XTool sets a max size in bytes or percentage size of the stream in order for XTool to accept the stream.

The * character is just a placeholder (a wildcard effectively meaning anything/everything). My explanation meant you'd need to change this to an integer.

By default, XTool will not accept a stream if the generated XDelta patch is greater in size than 5% of the stream, but using --diff= allows you to increase this threshold.

You can use --diff=20p to set the max patch size to be less than or equal to 20% of the stream size for XTool to accept the stream. You can also use an integer to specify a max patch size in bytes (e.g. --diff=50000).

dixen 18-02-2023 00:15

XCOM Enemy Unknown

*.bik *.bk2 (With XTool 0.69 + Bink Plugin)

Quote:

FreeArc 0.67 (March 15 2014) testing archive: data.arc
Tested 168 files, 6,433,251,603 => 7,859,788,952 bytes. Ratio 81.85%
Testing time: cpu 8.44 sec/real 344.19 sec = 2%. Speed 22.84 mB/s
All OK

Masquerade 22-02-2023 00:05

1 Attachment(s)
Labyrinth of Galleria: The Moon Society [LZ4]
  • Requires LZ4.DLL from the game files. Rename it to liblz4.dll for use with XTool.
  • Drop the configuration into XTool folder and use -mLoGTMS
By Razor12911

Masquerade 06-03-2023 01:34

Plugin Update

Added STDIN/STDOUT support for Bink Video plugin (thanks to Gehrman for idea).

Thanks to 78372 for cls wrapper.

Usage has not changed, but its significantly faster.

exorc 11-03-2023 12:46

Quote:

Originally Posted by Masquerade (Post 500233)
Bink Video
  • XTool plugin adding support for Bink Video compression.
  • This plugin uses Bink Pack library by ProFrager.
  • Thanks to Razor12911 for the little help.
Advantages of using this plugin versus vanilla Bink Pack
  • Multithreading support.
  • No CRC check fail since XTool will patch the videos as they are unpacked.
  • Incompatible Bink 2 videos (KB2n) are automatically ignored.
Special Notes
  • For Bink 2 videos, you may need to make use of the --diff=* parameter as some patches between CRC imperfect videos to the original state can be larger than XTool's default threshold for patches.
  • You may need to use a large chunk size to ensure all videos are processed. See example below.
Example Usage
  • Extract the attached archive to the XTool folder and use -mbik or -mbk2 depending on your data set.
Test
  • Test on the videos from Assassin's Creed 2 (27x Bink 1 videos).
    Code:

    xtool precomp -mbik "AC2Videos\"
    XTool is created by Razor12911

    Streams: 13/13
    Time: 00:00:09 (00:00:01)
    Memory: 148 MB (148 MB)

    Results: 937 MB >> 928 MB

    Code:

    xtool precomp -c128mb -mbik "AC2Videos\"
    XTool is created by Razor12911

    Streams: 26/26
    Time: 00:02:12 (00:00:04)
    Memory: 391 MB (391 MB)

    Results: 937 MB >> 776 MB

    Code:

    xtool precomp -c256mb -mbik "AC2Videos\"
    XTool is created by Razor12911

    Streams: 27/27
    Time: 00:02:25 (00:00:06)
    Memory: 677 MB (677 MB)

    Results: 937 MB >> 725 MB

  • Test on 05_DAM folder from Shadow Warrior 3 Defintive Edition (6x Bink 2 videos).
    Code:

    xtool precomp -c256mb -mbk2 "SW3\Content\Movies\Cutscenes\05_DAM"
    XTool is created by Razor12911

    Streams: 6/6
    Time: 00:01:06 (00:00:03)
    Memory: 406 MB (406 MB)

    Results: 214 MB >> 187 MB


How to use with DiskSpan GUI?

Masquerade 21-03-2023 15:07

1 Attachment(s)
NPK2 Archives

Archives ending in .NPK and have a magic no. of NPK2.

Encrypted using Cipherfinal AES_256_CBC which isn't natively supported by XTool.

Examples of games using this scheme:
  • Tokyo Necro
  • Demonbane
  • Sonicomi

Usage

Place npk2.dll with XTool and use
Code:

-mnpk2:k###Key in Hexadecimal###+png+preflate -d2
Example for Tokyo Necro [Steam Version]

Code:

-mnpk2:k0xAAE616FB7DB7EE84ED424C474AADDAD69A8372799AD576629601EF9B8938E20F+png+preflate -d2
A file is generated during precomp stage called npk2.bin. This must be retained for decoding as well as npk2.dll. npk2.bin contains the initialisation vectors for re-encrypting the data.

By Razor12911

dixen 30-03-2023 11:30

1 Attachment(s)
oo2core_9_win64.dll v2.9.8 & v2.9.9

Razor12911 21-04-2023 15:44

1 Attachment(s)
Star Ocean: The Divine Force

Supported games
Star Ocean: The Divine Force (requires libzstd.dll)

Usage
Place sodf.dll near xtool.exe along with required libraries and use -msodf+zstd (game is encrypted), so use -d1 as well

Notes

The library is required both when encoding and decoding.
zstd version 1.5.0 seems to work best
using two instances of xtool without -d1 is faster because some encrypted blocks are large and can only fit in 1 or 2 threads which cannot fully utilise the cpu leading to slower decoding

Razor12911 26-04-2023 06:32

Plugin update available

Changes

- improved header decoder in unity plugin
- added ue5 method in unreal plugin to handle ucas/utoc file format without the need of using database creator

Results

Ghostwire Tokyo\Snowfall\Content\Paks\pakchunk0-WinGDK.ucas

-mue5:k0xC26CC5659A24AE8635585C8687DCE552A205DBD72D C4AA0CBE187C60D88921E2+kraken -d1
Code:

Streams: 39249 / 39250
Time: 00:07:54 (CPU 00:46:14)

Size: 4.84 GB >> 11.1 GB

I don't know how it compares with Unreal Engine ucas Database maker but this is an alternative for the newer ucas format as the database maker doesn't support it but this plugin does.

Razor12911 29-04-2023 10:36

1 Attachment(s)
PlayStation archive

Supported games
PlayStation games?

Usage
Place psarc.dll near xtool.exe along with required libraries and use -mpsarc

Notes

If you plan on capturing the zlib streams in some of the psarc from The Last of Us, it's advisable to use two instances of xtool because the kraken streams are chunked meaning using -d1 will result in the zlib/reflate part of the precompression receiving incomplete streams.

core.psarc
Code:

2,11 GB >> 5.16 GB >> 7.53 GB

Razor12911 29-04-2023 11:48

1 Attachment(s)
Quote:

Originally Posted by Razor12911 (Post 500982)
core.psarc
Code:

2,11 GB >> 5.16 GB >> 7.53 GB

Turns out I missed a few streams, R2 uploaded

core.psarc
Code:

2.12 GB >> 5.44 GB >> 7.82 GB
Source 2

Supported games
Half-Life: Alyx (requires liblz4.dll)

Usage
Place src2.ini near xtool.exe along with required libraries and use -msrc2

Notes

Sadly I didn't spend too much time on this game and there's really not a lot of lz4 streams and I just totally forgot to upload it after the disappointment. :D

Masquerade 10-05-2023 00:07

1 Attachment(s)
TT Isle Of Man Ride on the Edge 3 [LZ4F]
  • Extract the contents of the attached archive and use -mTTIoM3.
  • TTIoM3.xtl can be discarded for decoding, but lz4.exe, xtool.ini and xdelta3_dll.dll must be present.
Code:

xtool precomp -mTTIoM3 -c128mb -t8 -df20p "WIN32\PKG\CHUNK_0"

XTool is created by Razor12911

Streams: 19100 / 19112
Time: 00:11:36 (CPU 00:03:19)

Size: 8.23 GB >> 13.4 GB


kuyhaa 14-05-2023 19:22

Quote:

Originally Posted by Masquerade (Post 501059)
TT Isle Of Man Ride on the Edge 3 [LZ4F]
  • Extract the contents of the attached archive and use -mTTIoM3.
  • TTIoM3.xtl can be discarded for decoding, but lz4.exe, xtool.ini and xdelta3_dll.dll must be present.
Code:

xtool precomp -mTTIoM3 -c128mb -t8 -df20p "WIN32\PKG\CHUNK_0"

XTool is created by Razor12911

Streams: 19100 / 19112
Time: 00:11:36 (CPU 00:03:19)

Size: 8.23 GB >> 13.4 GB


not work, what's wrong ?

https://blogger.googleusercontent.co...at%20wrong.png

KaktoR 14-05-2023 23:27

Pretty sure you have to use a lz4 library aswell.

Masquerade 15-05-2023 00:20

Quote:

Originally Posted by KaktoR (Post 501101)
Pretty sure you have to use a lz4 library aswell.

LZ4 precompression is handled by lz4.exe in this case, plugged in via xtool.ini.

@kuyhaa
Are you trying an updated version? The database was created for the release version of the game.

kuyhaa 15-05-2023 03:45

Quote:

Originally Posted by Masquerade (Post 501102)

@kuyhaa
Are you trying an updated version? The database was created for the release version of the game.

i'm using TT Isle Of Man Ride on the Edge 3 update v20230511

if use lz4f:l10 :D

Code:

Streams: 5575 / 20181
Time: 00:00:32 (CPU 00:13:10)

Size: 8.23 GB >> 9.73 GB


Masquerade 16-05-2023 02:51

In that case, you will need to make a new database.

You will need VGMToolbox, which you can download here.

Copy this text and save it as PPKG.XML inside the "plugins\AdvancedCutter" folder.

Open the tool and go to Misc Tools ---> Extraction Tools ---> Generic ---> Advanced Cutter / Offset Finder.

In the presets drop down box, select PPKG from the list and then click "Load".

Then, drag the three PKG files into the drag'n'drop box to the left of the preset box.

After all the streams have been extracted, rename the extracted folders to remove the _CUT suffix.

To generate the database, just open a command prompt window in the folder containing the pkg files and do:

Code:

for %f in (*.PKG) do xtool generate -c128mb -t100p -mlz4f "%~nf" "%f" TTIoM3.xtl
Now you can delete the folders from VGMToolbox.

Masquerade 16-05-2023 02:54

1 Attachment(s)
Divinity: Original Sin [Enhanced Edition]
  • Extract contents of attached archive and use -mDivinity -df20p.
  • Divinity.xtl can be discarded for decoding, but liblz4.dll and xdelta3_dll.dll must be present.
Divinity: Original Sin 2 [Definitive Edition]
  • Extract contents of attached archive and use -mDivinity2 -df20p.
  • Divinity2.xtl can be discarded for decoding, but liblz4.dll and xdelta3_dll.dll must be present.


All times are GMT -7. The time now is 23:21.

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