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)

L0v3craft 03-01-2022 18:16

@Razor12911 please can you release an updated plugin for Watch Dogs Legion? I tried with this and with different xtool versions but precompression doesn't work.

prince55 03-01-2022 22:27

Quote:

Originally Posted by Razor12911 (Post 494134)
Deathloop

Usage
Place deathloop.ini near xtool.exe along with required libraries and use -mdeathloop

Notes

The configuration file can be discarded after encoding.

oo2core_7_win64.dll and oo2core_8_win64.dll are required

WDL supported database maker please or updated .xtl :)

:( Sad8669 04-01-2022 03:48

I digged into WDL once, found out that videos.dat contains bink files both HD+4K and they can ripped using HEX. I looked quite into it and realized that it can be reduced to as low as 15~18 GB. Alot of .wem files too, for which Masquerade made a seperate thread.

It would take weeks ofcourse, just to prepare the xdelta patches for each file since BPK compressor ain't coming along very well.


All of these without using XTool.

Razor12911 04-01-2022 12:46

1 Attachment(s)
Quote:

Originally Posted by prince55 (Post 495328)
WDL supported database maker please or updated .xtl :)

as with most of these games, I am either lacking samples or lacking in source materials to even make a plugin for them.

https://fileforums.com/showpost.php?...76&postcount=6

Use this to generate your own database file then use the files in the attachment for precompression, change the liblz4.dll depending on whichever gives better result.

Side note, this is incomplete. (More samples needed for completion)

Use 0.3.21 or earlier, there is a bug in 0.3.22 that prevents search plugins from working and shall be fixed in the next update

prince55 04-01-2022 15:55

Quote:

Originally Posted by Razor12911 (Post 495330)
as with most of these games, I am either lacking samples or lacking in source materials to even make a plugin for them.

https://fileforums.com/showpost.php?...76&postcount=6

Use this to generate your own database file then use the files in the attachment for precompression, change the liblz4.dll depending on whichever gives better result.

Side note, this is incomplete. (More samples needed for completion)

Use 0.3.21 or earlier, there is a bug in 0.3.22 that prevents search plugins from working and shall be fixed in the next update

Streams in Only 23 files detected , some other big files (as london.dat) isn't detected
I used Xtool 0.3.21 with attached dlls in precompress and decompress
only shadersobj.dat expands well
but faced error in decompress :(

Razor12911 07-01-2022 06:31

Quote:

Originally Posted by L0v3craft (Post 495327)
@Razor12911 please can you release an updated plugin for Watch Dogs Legion? I tried with this and with different xtool versions but precompression doesn't work.

After several tests, I've come to the conclusion that precompression on this game is not worth it and here's why:

1. Weak compression is used and a strong compression algorithm does still work on the compressed data
2. A custom lz4 variant was used for the compression of this game meaning the public lz4 decompressor does not work.
3. I did get lz4 decompressor from ProFrager once before, it works on most streams but some get left behind as decompression just straight up fails, worse at times it corrupts the memory buffer causing xtool to crash.
4. All streams that are decompressed will have xdelta diff files contributing to negative ratio worsening the compression ratio you would have gotten otherwise.

So I decided to no longer work on this game as it seems to be a pain in the ass to only gain 1gb (probably at best), not worth the trouble, sorry :(

Snake288 07-01-2022 06:47

Watch Dogs Legion hi how do I do the compression process

Masquerade 09-02-2022 08:17

1 Attachment(s)
Scarlet Nexus: Updated Database for v1.07
  • This database is for game version v1.07 / Steam Build 7988311.
  • Created using Database Maker thanks to Razor12911.
  • Follow the guidance in this post for how to use: https://fileforums.com/showpost.php?...&postcount=166

    Code:

      Compressing pakchunk47-WindowsNoEditor.ucas
    Compressed 1 file, 82,772,046 => 219,071,436 bytes. Ratio 264.67%
    Compression time: cpu 0.13 sec/real 38.91 sec = 0%. Speed 2.13 mB/s
    All OK


mausschieber 09-02-2022 09:27

Quote:

Originally Posted by Masquerade (Post 495768)
Scarlet Nexus: Updated Database for v1.07
[LIST][*]This database is for game version v1.07 / Steam Build 7988311.[*]Created using Database Maker thanks to Razor12911.[*]Follow the guidance in this post for how to use: https://fileforums.com/showpost.php?...&postcount=166

the how to use link do not work

KaktoR 09-02-2022 09:39

https://fileforums.com/showpost.php?...&postcount=166

Razor12911 16-02-2022 22:36

1 Attachment(s)
xmemcompress

Supported games

To be used by QuickBMS scripts...

Razor12911 10-03-2022 08:16

Frostbite 3 Configuration updated

Changes

Updated to support xtool 0.4.4+

Cesar82 10-03-2022 18:14

Quote:

Originally Posted by Razor12911 (Post 496155)
Frostbite 3 Configuration updated

Changes

Updated to support xtool 0.4.4+

I tested it with samples of the ME Andromeda game (cas_08.cas) using the library libzstd.dll v1.2.0 together with XTool 0.3.11 (Before changing parse parameters) and it worked fine (Ratio 171.10%).
XTool 0.4.5 (with libzstd.dll v1.2.0) no does not inflate the precompressed file (Ratio 100.0%).

Code:

Pack.bat
arc.exe a -ep1 -r -ed -s; -w.\temp -mxtool:c32mb:mfrostbite3,zstd data.arc "pack\*"

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


Files near XTool.exe
frostbite3.ini
libzstd.dll (v1.2.0)


Razor12911 10-03-2022 18:58

1 Attachment(s)
Endianess can be confusing at times... :) try this

Cesar82 10-03-2022 19:23

1 Attachment(s)
Quote:

Originally Posted by Razor12911 (Post 496164)
Endianess can be confusing at times... :) try this

Thanks.
It worked perfectly now for ME Andromeda.


All times are GMT -7. The time now is 08:48.

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