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 12-03-2022 02:29

1 Attachment(s)
Distant Worlds 2
  • This game uses very weak LZ4 compression on the bundle files, don't expect a HUGE ratio increase :)
  • Extract contents of the attached archive and use -mDistantWorlds2.
  • Requires liblz4.dll, I included one that gives a good ratio.
  • You can discard DistantWorlds2.xtl for decoding, however you will still need the same liblz4.dll you used for encoding.
Code:

xtool precomp -mDistantWorlds2 -c64mb -t12 Dhayut.16fded53a296c46dd06a09d8bd780324.bundle

Streams: 21 / 21
Time: 00:00:01 (CPU 00:00:00)

Size: 11.2 MB >> 14.8 MB


Razor12911 14-03-2022 14:45

2 Attachment(s)
WWE 2K22 research information

Straight away I'll say working on this game has been a headache especially since there is no information online so I'll post some information if someone wants to continue to work on it but doesn't know where to start.

This game is heavily obfuscated/encrypted. The header structed is encrypted, the data itself is encrypted. They used weak xor encryption which is weak but the catch is these keys are different for each stream/block that's encrypted, they are generated based on a generated hash to produce a 256 byte key.

Since I had no idea how to decrypt the header to get these hash values, I just hijacked the exe by injecting code then to be able to obtain decrypted headers which has a structure that looks like this

Code:

type
  PWWEStruct = ^TWWEStruct;

  TWWEStruct = record
    Position, Hash: Int64; {not sure if Hash is 32-bit or 64-bit}
    StreamIndex, CSize, Format, DSize, Unk1, FileIndex: Int32; {FileIndex = bakedfile##.cak}
  end;

As for compression that was used, they used Hydra which comes from oodle library hence you see oo2core_9_win64.dll set to level 6. So if you plan on decompressing all the streams, it's important that you know the decompressed stream size as Hydra streams can either be Kraken, Mermaid/Selkie or Leviathan in terms of their format (Leviathan streams cannot be processed directly by xtool properly if decompressed size is unknown)

The attachment contains decrypted headers for the first 15GB.

Code:

[0] Performing scan from block 0000000000000000 to 0000000000003E87 (16008)
[0] Actual hydra stream found at 0000000000000000 (16008 >> 71384)

[0] Processing streams on block 0000000000000000 to 0000000000003E87 (16008)
[0] Processed hydra stream at 0000000000000000 (16008 >> 71384 >> 16008) using l6,c0,t256 successfully


KaktoR 21-03-2022 07:33

Me and Cesar took the opportunity and tested some plugins if they are still working.

Ubisoft Dunia 2 (use xtool 0.3.21 with dunia2_db_R3)
Code:

Far Cry 3
Compressed 2 files, 192,353,931 => 445,118,379 bytes. Ratio 231.41%
Compression time: cpu 0.23 sec/real 11.42 sec = 2%. Speed 16.84 mB/s
All OK

Extracted 2 files, 445,118,379 => 192,353,931 bytes. Ratio 231.41%
Extraction time: cpu 0.41 sec/real 10.08 sec = 4%. Speed 19.07 mB/s
All OK


Far Cry 3 Blood Dragon
Compressed 2 files, 187,181,236 => 381,569,184 bytes. Ratio 203.85%
Compression time: cpu 0.20 sec/real 10.27 sec = 2%. Speed 18.23 mB/s
All OK

Extracted 2 files, 381,569,184 => 187,181,236 bytes. Ratio 203.85%
Extraction time: cpu 0.33 sec/real 8.39 sec = 4%. Speed 22.31 mB/s
All OK


Far Cry 4
Compressed 2 files, 128,161,319 => 304,134,437 bytes. Ratio 237.31%
Compression time: cpu 0.17 sec/real 8.37 sec = 2%. Speed 15.32 mB/s
All OK

Extracted 2 files, 304,134,437 => 128,161,319 bytes. Ratio 237.31%
Extraction time: cpu 0.27 sec/real 8.47 sec = 3%. Speed 15.14 mB/s
All OK


Far Cry 6
Compressed 2 files, 1,018,689,920 => 1,616,466,970 bytes. Ratio 158.68%
Compression time: cpu 0.53 sec/real 15.48 sec = 3%. Speed 65.80 mB/s
All OK

Extracted 2 files, 1,616,466,970 => 1,018,689,920 bytes. Ratio 158.68%
Extraction time: cpu 0.84 sec/real 7.57 sec = 11%. Speed 134.64 mB/s
All OK

Not working: FC5, FCND, WD2
Not tested: FCP (probably same modified lz4 as WD2)


Cyberpunk 2077
Code:

xtool 0.3.21
Compressed 1 file, 200,130,560 => 414,058,350 bytes. Ratio 206.89%
Compression time: cpu 0.25 sec/real 33.74 sec = 1%. Speed 5.93 mB/s
All OK

Extracted 1 file, 414,058,350 => 200,130,560 bytes. Ratio 206.89%
Extraction time: cpu 0.45 sec/real 6.38 sec = 7%. Speed 31.37 mB/s
All OK


xtool 0.4.5
Compressed 1 file, 200,130,560 => 421,178,833 bytes. Ratio 210.45%
Compression time: cpu 0.17 sec/real 30.60 sec = 1%. Speed 6.54 mB/s
All OK

Extracted 1 file, 421,178,833 => 200,130,560 bytes. Ratio 210.45%
Extraction time: cpu 0.45 sec/real 6.46 sec = 7%. Speed 30.96 mB/s
All OK


Unravel 1 + 2 (use xtool 0.3.21)
Code:

Compressed 1 file, 209,006,308 => 412,014,267 bytes. Ratio 197.13%
Compression time: cpu 0.23 sec/real 8.15 sec = 3%. Speed 25.64 mB/s
All OK

Extracted 1 file, 412,014,267 => 209,006,308 bytes. Ratio 197.13%
Extraction time: cpu 0.34 sec/real 2.33 sec = 15%. Speed 89.87 mB/s
All OK


Deathloop (xtool 0.4.5 or 0.3.21 does not matter, both are working)
Code:

Compressed 1 file, 370,332,059 => 538,901,543 bytes. Ratio 145.52%
Compression time: cpu 0.36 sec/real 31.35 sec = 1%. Speed 11.81 mB/s
All OK

Extracted 1 file, 538,901,543 => 370,332,059 bytes. Ratio 145.52%
Extraction time: cpu 0.70 sec/real 31.04 sec = 2%. Speed 11.93 mB/s
All OK


Haemimont Engine (test from "Surviving Mars", xtool 0.4.5 or 0.3.21 does not matter, both are working)
Code:

Compressed 1 file, 117,390,334 => 183,791,889 bytes. Ratio 156.56%
Compression time: cpu 0.11 sec/real 1.79 sec = 6%. Speed 65.52 mB/s
All OK

Extracted 1 file, 183,791,889 => 117,390,334 bytes. Ratio 156.56%
Extraction time: cpu 0.31 sec/real 1.22 sec = 26%. Speed 95.85 mB/s
All OK

Not working: Hitman 3, Bethesda (at least for Skyrim AE version, SE could still work), Saints Row 3 Remaster. Other plugins not tested due to lacking samples.

Razor12911 22-03-2022 14:55

Plugins Updated

Changes

- Updated Unreal Engine plugin

Razor12911 23-03-2022 20:54

1 Attachment(s)
lz4x

Supported games

Unravel games and to be used by QuickBMS scripts...

Results

Unravel "kits\Unravel.kit.0"

Code:

Compressed 1 file, 209,006,308 => 411,939,814 bytes. Ratio 197.09%
Compression time: cpu 0.23 sec/real 5.90 sec = 4%. Speed 35.40 mB/s


Razor12911 23-03-2022 20:58

Quote:

Originally Posted by KaktoR (Post 496262)
Not working: Hitman 3, Bethesda (at least for Skyrim AE version, SE could still work), Saints Row 3 Remaster.

-mxtool:SR3Remaster
Code:

Compressed 1 file, 6,970,632 => 15,132,802 bytes. Ratio 217.09%
Compression time: cpu 0.00 sec/real 1.16 sec = 0%. Speed 6.01 mB/s


Razor12911 23-03-2022 21:28

1 Attachment(s)
Crilayla

Supported games

To be used by QuickBMS scripts...

Results

Metal Gear Rising: Revengeance "data106.cpk"

Code:

Compressed 1 file, 104,629,360 => 322,219,345 bytes. Ratio 307.96%
Compression time: cpu 0.16 sec/real 41.44 sec = 0%. Speed 2.52 mB/s


Masquerade 24-03-2022 10:20

1 Attachment(s)
WRC10 [LZ4F]
  • A lot of streams are left behind with this method, but if you do not want to extract and decompress each stream before building a decompressed brick of data that you recompress and patch this is a good alternative.
  • Extract contents of the attached archive and use -mWRC10.
  • Requires liblz4.dll, I included one that gives a good ratio.
  • You can discard WRC10.xtl for decoding, however you will still need the same liblz4.dll you used for encoding.
Code:

Compressing CHUNK_14.PKG

Compressing 529,863,949 bytes with xtool precomp -mWRC10 -c256mb -t4 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

XTool is created by Razor12911

Streams: 537/757
Time: 00:00:14 (00:00:35)
Memory: 522 MB (522 MB)

100%
Errorlevel=0

Compressed 1 file, 529,863,949 => 743,838,469 bytes. Ratio 140.38%
Compression time: cpu 0.61 sec/real 37.86 sec = 2%. Speed 14.00 mB/s
All OK


Edison007 28-03-2022 03:32

1 Attachment(s)
Age of Empires III: Definitive Edition LZ4 plugin
https://krinkels.org/threads/age-of-...s-iii-de.4777/

infovs 06-04-2022 05:59

Quote:

Originally Posted by Razor12911 (Post 496275)
Crilayla
Supported games To be used by QuickBMS scripts...
Metal Gear Rising: Revengeance "data106.cpk"

Maybe I'm doing someting wrong...but how can I use this on, for example, Dragon Ball Xenoverse 2 .cpk files?
Using -mxtool:crilayla works without error but does not expand at all. dbxv2.xlt generated with bms2xtl using cpk.bms script works (using -mxtool:dbxv2) and .cpk IS expanded. But I don't see how to use this external cpk_R1 plugin, nothing is expanded with crilayla.exe, crilayla.dll and xtool.ini in xtool path (I'm using xtool.ini from latest xtool, section name [crilayla]), maybe I'm missing something?
Thanks in advance,
regards

Masquerade 07-04-2022 14:29

1 Attachment(s)
Orcs Must Die! 3 [LZ4HC]
  • Extract contents of the attached archive and use -mOMD3.
  • Requires liblz4.dll, I included one that gives a good ratio.
  • You can discard OMD3.xtl for decoding, however you will still need the same liblz4.dll you used for encoding.
Code:

xtool precomp -mOMD3 -c128mb pakchunk42-WindowsNoEditor.pak pakchunk42-WindowsNoEditor.xt_out

XTool is created by Razor12911

Streams: 1892/1892
Time: 00:00:03 (00:00:07)
Memory: 204 MB (204 MB)


Razor12911 09-04-2022 21:17

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

I'd like to point out that this game has streams that decompress to 500MB+ each, the largest I've seen is around 870MB which is above the threshold xtool sets to ensure decoding memory doesn't get out of hand and because of this, when xtool decodes it will mostly use 1 thread regardless of the number of threads the user has set which means slow installation times if you planned on repacking this game. It's not a bug, it's how xtool was designed and how the game developers decided to make their game use large streams.

I'm leaving this information here in case people in futruee start complaining about slow installation times for this game when they use xtool. Oodle precompressor side protect does not have this memory threshold so you can use that however be sure to use the libraries attached in deathloop oo2core 7 and 8 are required, oo2core 7 is the one that passes some commands to the original library because not only did they use large streams they used non standard compression settings so good luck :)

Quote:

Originally Posted by infovs (Post 496433)
Maybe I'm doing someting wrong...but how can I use this on, for example, Dragon Ball Xenoverse 2 .cpk files?
Using -mxtool:crilayla works without error but does not expand at all. dbxv2.xlt generated with bms2xtl using cpk.bms script works (using -mxtool:dbxv2) and .cpk IS expanded. But I don't see how to use this external cpk_R1 plugin, nothing is expanded with crilayla.exe, crilayla.dll and xtool.ini in xtool path (I'm using xtool.ini from latest xtool, section name [crilayla]), maybe I'm missing something?
Thanks in advance,
regards

Quote:

Originally Posted by Razor12911 (Post 496275)
Supported games

To be used by QuickBMS scripts...

cpk doesn't work by itself it has to be used by another plugin and in this case, a database in which you would create using bms2xtl.

Masquerade 19-04-2022 10:01

1 Attachment(s)
Project CARS [RC4 + XCompress]
  • Extract contents of the attached archive and use -mPCARS.
  • You must use -d1 because this game has two layers to the bff file, the first layer is rc4 encryption and the second is compressed data.
  • You can discard the PCARS.XTL file and the key files for decoding, but you must have:
    • xtool.ini
    • xcompress.exe
    • xcompress.dll
  • You must use the following configuration for the XCompress codec for XTool (thanks Razor12911 for explaining this to me):
    Code:

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

Code:

Compressing Monterey.bff, 222,888,414 bytes

Compressing 222,888,414 bytes with xtool precomp -mPCARS -c512mb -t16 -d1 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

XTool is created by Razor12911

Streams: 5523/5523
Time: 00:00:22 (00:00:05)
Memory: 525 MB (525 MB)

Compressed 1 file, 222,888,414 => 453,409,235 bytes. Ratio 203.42%
Compression time: cpu 0.27 sec/real 40.10 sec = 1%. Speed 5.56 mB/s
All OK


KaktoR 19-04-2022 10:08

^
This also works with pcars2 and pcars3 (same bms script).

Masquerade 19-04-2022 10:23

Quote:

Originally Posted by KaktoR (Post 496547)
^
This also works with pcars2 and pcars3 (same settings for xmemcompress).

PCARS 2 & 3 use Oodle Kraken, not xcompress.

KaktoR 19-04-2022 10:24

Sorry, I wanted to write "same bms script" lol. For some reason I wrote something different

Edit: Corrected my post

Masquerade 27-04-2022 09:12

1 Attachment(s)
Automobilista 2 [RC4 + ZLIB]
  • Extract contents of the attached archive and use -mautomobilista2.
  • You must use -d1 because this game has two layers to the bff file, the first layer is rc4 encryption and the second is compressed data.
  • You can discard the Automobilista2.xtl file and the key files for decoding, but you must keep the zlib/reflate libraries.
Code:

Compressing BOOTFLOW.bff, 29,921,681 bytes

When using madness.dll XTool plugin:
Compressed 1 file, 29,921,681 => 131,543,892 bytes. Ratio 439.63%
Compression time: cpu 0.00 sec/real 6.44 sec = 0%. Speed 4.64 mB/s
All OK


When using Automobilista 2 Database:
Compressed 1 file, 29,921,681 => 144,766,886 bytes. Ratio 483.82%
Compression time: cpu 0.03 sec/real 7.34 sec = 0%. Speed 4.08 mB/s
All OK

[31/12/22] [Updated to game version v1.4.5.2]

Masquerade 28-04-2022 09:37

1 Attachment(s)
Super Robot Wars 30 [DECRYPTION ONLY] [Blowfish]
  • Extract contents of the attached archive and use -mSRW30.
  • You can discard the SRW30.XTL file and the key file for decoding, but you must keep the following:
    • quickbms.exe
    • xtool.ini
  • After decrypting, you need to add crilayla precompressor. This XTool database does not do any precompression. I am using crilayla precompressor from XTool v0.12 which is also attached below.
  • Some streams may be missing from the database due to some stream extraction issue with CriPakTools but most streams, especially the big ones, will definitely be detected.
  • WARNING! VERY slow :D
Code:

Compressing default.cpk, 7,600,688 bytes

FreeArc: -mxt_srw30+Cri

Compressed 1 file, 7,600,688 => 41,476,750 bytes. Ratio 545.70%
Compression time: cpu 0.02 sec/real 14.77 sec = 0%. Speed 0.51 mB/s
All OK


Masquerade 29-04-2022 10:28

1 Attachment(s)
Ultra Age [v2] [Oodle]
  • Extract the contents of the below archive and use -mUltraAge.
  • Requires oo2core_*_win64.dll, I included one in the archive.
  • You can discard the UltraAge.xtl for decoding, but you must retain the oodle core.
  • v2: I made a mistake in first database with the oodle codec. v2 database is correct.

Masquerade 01-05-2022 11:56

1 Attachment(s)
Project CARS 3 [RC4 + Kraken]
  • Extract contents of the attached archive and use -mPCARS3
  • You must use -d1 because this game has two layers to the bff file, the first layer is rc4 encryption and the second is compressed data.
  • You can discard the PCARS3.XTL file and the key files for decoding, but you must keep the oodle library.
Code:

Compressing Shanghai[Group].bff, 347,349,287 bytes

XTool is created by Razor12911

Streams: 3370/3370
Time: 00:00:17 (00:01:03)
Memory: 533 MB (533 MB)

Compressed 1 file, 347,349,287 => 741,409,774 bytes. Ratio 213.45%
Compression time: cpu 0.44 sec/real 35.27 sec = 1%. Speed 9.85 mB/s
All OK


Masquerade 03-05-2022 12:19

1 Attachment(s)
DIRT 5 [LZ4]
  • Extract the contents of the attached archive and use -mdirt5.
  • liblz4.dll is required, I included one for you.
  • You can discard dirt5.xtl for decoding, but you must retain the same liblz4.dll you used for precompression.
  • Thanks to Razor12911 and spiritovod!
Code:

Compressing 64_WIP_DEV.dat, 179,810,694 bytes

XTool is created by Razor12911

Streams: 3986/3986
Time: 00:00:32 (00:00:11)
Memory: 512 MB (512 MB)

Compressed 1 file, 179,810,694 => 522,544,903 bytes. Ratio 290.61%
Compression time: cpu 0.33 sec/real 42.37 sec = 1%. Speed 4.24 mB/s
All OK


Masquerade 07-05-2022 11:16

1 Attachment(s)
Castle Of Illusion [LZ4HC]
  • Extract contents of attached archive and use -mcastleofillusion
  • liblz4.dll is required. I included one that gives a good ratio.
  • This game uses LZ4HC at level 9.
  • You can discard castleofillusion.xtl for decoding, but you most retain the same liblz4 library you used for encoding.
Code:

Compressing data.pak, 824,928,625 bytes

XTool is created by Razor12911

Streams: 5524/5539
Time: 00:00:22 (00:00:48)
Memory: 533 MB (533 MB)

Compressed 1 file, 824,928,625 => 1,291,967,429 bytes. Ratio 156.62%
Compression time: cpu 0.86 sec/real 53.64 sec = 2%. Speed 15.38 mB/s
All OK


Masquerade 09-05-2022 10:00

1 Attachment(s)
Test Drive: Ferrari Racing Legends [RC4 + XCompress]
  • Extract contents of the attached archive and use -mTDFRL.
  • You must use -d1 because this game has two layers to the bff file, the first layer is rc4 encryption and the second is compressed data.
  • You can discard the TDFRL.XTL file and the key files for decoding, but you must have:
    • xtool.ini
    • xcompress.exe
    • xcompress.dll
Code:

XTool is created by Razor12911

Streams: 9108/9108
Time: 00:00:21 (00:00:05)
Memory: 519 MB (519 MB)

100%
Errorlevel=0

Compressed 23 files, 163,883,758 => 448,312,680 bytes. Ratio 273.56%
Compression time: cpu 0.22 sec/real 27.75 sec = 1%. Speed 5.91 mB/s
All OK


infovs 05-06-2022 10:00

Is there any location to download old version of plugins and database makers?
For example, I want to try old version of dunia database maker R3 with xtool 0.3.21.. Because I can't make latest (R5) version to work with FC6 and latest xtool 0.5.3. Yes, I have everything, not new at this at all, successfully created database fc6.xtl, have tried different versions of liblz4.dll with it, tried -d1 in arc.ini, all in same dir, etc etc, no error with -mxtool:fc6 but it simply does not expand. I'm grateful to anyone with any advice on this, maybe I'm missing something.
P.S. btw, there are only _few_ old versions of plugins at "older releases" xtool link.. and none of database maker old releases.

L0v3craft 07-06-2022 02:51

Quote:

Originally Posted by infovs (Post 497122)
Is there any location to download old version of plugins and database makers?
For example, I want to try old version of dunia database maker R3 with xtool 0.3.21.. Because I can't make latest (R5) version to work with FC6 and latest xtool 0.5.3. Yes, I have everything, not new at this at all, successfully created database fc6.xtl, have tried different versions of liblz4.dll with it, tried -d1 in arc.ini, all in same dir, etc etc, no error with -mxtool:fc6 but it simply does not expand. I'm grateful to anyone with any advice on this, maybe I'm missing something.
P.S. btw, there are only _few_ old versions of plugins at "older releases" xtool link.. and none of database maker old releases.

Doesn't expand because xtool and/or the database maker are bugged. If you create the database only on one .dat file (you must include the same .fat) xtool is going to work. It doesn't work if you create the database on all game files. I have reported this problem to razor already.

Masquerade 07-06-2022 09:41

Updated Orcs Must Die! 3 LZ4HC database to game version v1.2.0.2 / Build 8601683.

Masquerade 11-06-2022 14:45

1 Attachment(s)
doboz Plugin for XTool

Just a very simple way of adding the ability to precompress streams compressed using doboz algorithm with XTool.

You cannot use this on its own, just like xmemcompress plugin. It's designed to be used with BMS2XTL.

Particularly, the Witcher 3 - which uses a fun compression cоcktail of many algos, one of which is doboz.

Thanks to Attila T. Afra who's doboz compressor is used here. I found this on the wayback machine when looking for potential source code I could compile.

dixen 12-06-2022 01:56

Quote:

Originally Posted by Masquerade (Post 497188)
Particularly, the Witcher 3 - which uses a fun compression cоcktail of many algos, one of which is doboz.

Hmm. It's interesting, thank you
By the way, does anyone know what algorithm the *.str files use in Dead Space 2?

Masquerade 16-06-2022 14:33

1 Attachment(s)
Redout 2 [Leviathan]
  • Extract the contents of the attached archive and use -mredout2.
  • Requires oo2core_*_win64.dll - I included one that gives a good ratio.
  • You can delete redout2.xtl for decoding but you must retain the same oodle core used for precompression.
Code:

Compressing pakchunk1optional-WindowsNoEditor.pak
Compressing pakchunk6optional-WindowsNoEditor.pak
Compressing pakchunk3optional-WindowsNoEditor.pak

Compressed 3 files, 41,597,331 => 67,153,780 bytes. Ratio 161.44%
Compression time: cpu 0.09 sec/real 6.27 sec = 1%. Speed 6.63 mB/s
All OK


elit 17-06-2022 13:28

Finally I figured out bms->xtool. Was wondering why it doesn't work with:
Code:

Encode=quickbms.exe -s "comtype <codec> ; clog <fileout> 0 <insize> <outsize>" "" <filein>
Decode=quickbms.exe -s "comtype <codec>_COMPRESS ; clog <fileout> 0 <insize> <outsize>" "" <filein>

alone, then created xtl using bms2xtl and it did work. The fact that this tool can generate library from the script.. its mind blowing and incredible how much talent this guy have.

I have a question @razor, does this(quickbms method) have any constrains like internal codecs? For example chunk size 'c', does it exist in this realm too or not?

Razor12911 23-06-2022 23:37

Quote:

Originally Posted by elit (Post 497275)
I have a question @razor, does this(quickbms method) have any constrains like internal codecs? For example chunk size 'c', does it exist in this realm too or not?

Chunk size exists here as well, sorry for late reply. Been busy :)

Razor12911 23-06-2022 23:52

1 Attachment(s)
King Arthur Knight's Tale

Supported games
King Arthur Knight's Tale (requires oo2core_9_win64.dll)

Usage
Place kakt.dll near xtool.exe along with required libraries and use -mkakt

Notes

The library is required when encoding.

Oodle supremacy strikes again: Making repacking obsolete since 2018

dixen 28-06-2022 11:12

UE4 plugin (R6) don't work with Street Fighter V

Razor12911 01-07-2022 06:03

Sample?

dixen 01-07-2022 11:46

Quote:

Originally Posted by Razor12911 (Post 497395)
Sample?

https://drive.google.com/file/d/180T...ew?usp=sharing

Key
Quote:

0x5F6153346D665A4B384D3573354B5743324C7A325673466E 474B4937617A676C

Razor12911 12-08-2022 14:33

1 Attachment(s)
Spiderman Remastered

Supported games
Spiderman Remastered (requires liblz4.dll)

Usage
Place spidey.dll near xtool.exe along with required libraries and use -mspidey

Notes

The library is required when encoding.

Might as well compress the game as is, lz4 in fast mode is used.
Tested on small samples provided.

Edit: Hotfix uploaded

KaktoR 13-08-2022 07:05

Thanks, here is a quick comparison

Code:

spidey+srep+lzma2
Compressed 1 file, 2,123,501,810 => 1,170,843,056 bytes. Ratio 55.14%
Compression time: cpu 3.23 sec/real 381.94 sec = 1%. Speed 5.56 mB/s
All OK

srep+lzma2
Compressed 1 file, 2,123,501,810 => 1,353,511,940 bytes. Ratio 63.74%
Compression time: cpu 2.81 sec/real 209.88 sec = 1%. Speed 10.12 mB/s
All OK


Razor12911 14-08-2022 09:43

1 Attachment(s)
Saints Row 2022

Supported games
Saints Row 2022 (requires liblz4.dll, xdelta_dll.dll)
Saints Row Boss Factory (requires liblz4.dll, xdelta_dll.dll)

Usage
Place sr22.dll near xtool.exe along with required libraries and use -msr22

Notes

The library is required when encoding.

Results
Code:

Tested 1 file, 30,616,424,238 => 20,075,203,334 bytes. Ratio 152.51%
Testing time: cpu 18.06 sec/real 250.79 sec = 7%. Speed 80.05 mB/s


Razor12911 15-08-2022 11:42

Plugin update available

Changes

- Fixed issues in unity engine plugin from being able to process multiple streams in the same chunk
- Added feature to allow user to enforce method used.

Notes

Unity plugin was heavily flawed because of a tiny coding mistake on my part, fixed the issue thanks to help of Masquerade and KaktoR.
It was also brought to my attention that newer unity games use level 12 instead of level 10 lz4hc and as such, the user will need to specify the compression algorithm to use including level because that's the only way xdelta works.

What does this mean for novices? If using -munity does not give you desired results, you can enforce the method like this:
-munity,lz4 (this will set the method to lz4, I was given a sample that required this)
-munity,lz4hc,l12 (this will set the method to lz4hc and use level 12, this is for newer unity games)
-munity,lz4hc,l10 (this will set the method to lz4hc and use level 10, this is for older unity games)

You can use verbose mode to see results and always remember than lz4hc compresses better than lz4. You can then play around with the two methods and the levels of lz4hc until you come close to the original size.

KaktoR 15-08-2022 12:33

Here are some games which I could process without any errors and maxed out stream detection

Cult of the Lamb -> lz4hc,l12 (lz4 library 1.8.2 - 1.9.3)
Final Fantasy Pixel Remaster (all 6 games) -> lz4hc,l12
V Rising -> lz4 (lz4 library 1.8.0)
Starship Troopers Terran Command -> lz4hc,l12 (lz4 library 1.9.3 on some small bundle files, not worth in my opinion)
Outward -> lz4hc,l12 (lz4 library 1.8.2 - 1.9.3)


All times are GMT -7. The time now is 17:37.

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