Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26-07-2023, 18:20
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
@Razor12911, Thanks for the updates.
As always, once again I fill the topic of questions, but here we go..

1) Can I continue to use the m1, m2, and m3 parameters so the DiskSpan GUI knows what to copy into the xtool folder?
Code:
Unreal_Engine3_MK11;         Method: xtool:mue3,m1;
Unreal_Engine3_MELE;         Method: xtool:mue3,m2;
Unreal_Engine3_LZO;          Method: xtool:mue3,m3;
2) Could you share which library and version is used for each of the 3 games supported by the new "Insomniac Engine" plugin?
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Razor12911 (26-07-2023)
Sponsored Links
  #2  
Old 26-07-2023, 23:56
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Plugin update available

Changes

- ue3 codec no longer requires m# parameter to work
- ue3 codec supports lzopro streams (requires lzopro executable plugin)
- ue4 codec speed improvement
- ue4 codec improved detection
- ue5 codec minor bug fixes

Notes

This update is primarily made for the next xtool release (0.7.7) but it should work fine for older versions.

Link
Thanks for the update, although it seems that some streems were skipped for ue3+lzopro

Code:
Streams: 373 / 1776
Time: 00:00:04 (CPU 00:00:01)

Size: 67.2 MB >> 88.9 MB
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
murphy78 (15-09-2023)
  #3  
Old 26-07-2023, 17:49
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Insomniac Engine

Supported games
Marvel's Spider-Man Remastered
Marvel's Spider-Man: Miles Morales
Ratchet & Clank: Rift Apart

Usage
Place insomniac.ini near xtool.exe along with required libraries and use -minsomniac

Notes
Tested on small sample provided by dixen for testing, not sure if it works for the whole game. This is the first advanced configuration plugin so also not sure if this feature in xtool works without bugs.
Attached Files
File Type: 7z insomniac_R2.7z (515.3 KB, 258 views)

Last edited by Razor12911; 26-07-2023 at 21:27.
Reply With Quote
The Following 8 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (26-07-2023), DODI (27-07-2023), Gehrman (26-07-2023), hwang4 (05-02-2025), kuyhaa (27-07-2023), L0v3craft (26-07-2023), ScOOt3r (26-07-2023), Wanterlude (27-07-2023)
  #4  
Old 27-07-2023, 21:48
DODI DODI is offline
Registered User
 
Join Date: Jul 2018
Location: France
Posts: 5
Thanks: 7
Thanked 7 Times in 3 Posts
DODI is on a distinguished road
Smile

Quote:
Originally Posted by Razor12911 View Post
Insomniac Engine

Supported games
Marvel's Spider-Man Remastered
Marvel's Spider-Man: Miles Morales
Ratchet & Clank: Rift Apart

Usage
Place insomniac.ini near xtool.exe along with required libraries and use -minsomniac

Notes
Tested on small sample provided by dixen for testing, not sure if it works for the whole game. This is the first advanced configuration plugin so also not sure if this feature in xtool works without bugs.
Thanks

Precompression result

Insomniac R2
38.3 gb to 64.5 gb
Reply With Quote
The Following 3 Users Say Thank You to DODI For This Useful Post:
emadmoner (03-08-2023), Razor12911 (29-07-2023), ScOOt3r (28-07-2023)
  #5  
Old 26-07-2023, 21:38
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Plugin update available

Changes

- Added support for DirectStorage (gdeflate) streams in Insomniac plugin

Notes

Turns out, not only lz4 was used in this game, after investigations made by Fitgirl, she pointed out the plugin was not working in the initial release and after a few mins of research I managed to create a plugin (gdeflate) to add support for the other streams compressed using the Direct Storage technology and as a result of that, to precompress Ratchet & Clank: Rift Apart, you need dstorage.dll, dstoragecore.dll, gdeflate.dll and liblz4.dll.

tex_char_ratchet0 (sample compressed with gdeflate)
-mxtool:insomniac:rcrads
Code:
Compressed 1 file, 135,778,928 => 325,814,638 bytes. Ratio 239.96%
Compression time: cpu 0.11 sec/real 1.36 sec = 8%. Speed 99.86 mB/s
IMPORTANT
With the use of DirectStorage, compression and/or installation will only work on Windows 10 or later, Anything older will not work.

@Cesar82

1) Yes
2) It's the same one that comes with xtool (v1.8.3), a lot of games use this version.

Last edited by Razor12911; 26-07-2023 at 21:50.
Reply With Quote
The Following 10 Users Say Thank You to Razor12911 For This Useful Post:
BKR-TN (29-07-2023), dixen (26-07-2023), DODI (27-07-2023), Gehrman (26-07-2023), hdneo (26-07-2023), kuyhaa (27-07-2023), L0v3craft (26-07-2023), Masquerade (26-07-2023), ScOOt3r (27-07-2023), Wanterlude (28-07-2023)
  #6  
Old 26-07-2023, 23:40
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 410
Thanks: 453
Thanked 444 Times in 204 Posts
dixen is on a distinguished road
Decompression results

Insomniac R1
39 gb > 48 gb

Insomniac R2
39 gb > 63 gb
Reply With Quote
The Following 2 Users Say Thank You to dixen For This Useful Post:
L0v3craft (27-07-2023), ScOOt3r (27-07-2023)
  #7  
Old 22-08-2023, 14:39
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Plugin update available

Changes

- Updated Unreal Engine plugin
- Fixed hanging issue in PlayStation archive plugin
Reply With Quote
The Following 9 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (22-08-2023), exorc (31-08-2023), Gehrman (23-08-2023), kuyhaa (24-08-2023), L0v3craft (22-08-2023), Lord.Freddy (22-08-2023), Masquerade (22-08-2023), ScOOt3r (22-08-2023), Wanterlude (22-08-2023)
  #8  
Old 01-09-2023, 01:11
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Starfield

Supported games
Starfield (requires liblz4.dll)

Usage
Place starfield.dll near xtool.exe along with required libraries and use -mstarfield+reflate (plugin only precompresses lz4 streams)

Notes

liblz4.dll that comes with xtool seems to work just fine (v183).
You will need to use reflate/preflate, the game uses optimised zlib, zlib-ng to be specific and that makes the zlib method not to work.
Attached Files
File Type: 7z starfield_R1.7z (63.7 KB, 82 views)
Reply With Quote
The Following 16 Users Say Thank You to Razor12911 For This Useful Post:
BKR-TN (06-09-2023), Cesar82 (01-09-2023), Danziel123 (01-09-2023), dixen (01-09-2023), FitGirl (01-09-2023), Gehrman (08-07-2024), hdneo (01-09-2023), KaktoR (01-09-2023), kuyhaa (01-09-2023), L0v3craft (01-09-2023), L33THAK0R (01-09-2023), Masquerade (01-09-2023), Prettyboy099 (05-09-2023), ScOOt3r (01-09-2023), shazzla (01-09-2023), Wanterlude (01-09-2023)
  #9  
Old 06-09-2023, 01:34
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
lzopro

Supported games

To be used by old anvil and unreal engine 3 games

Notes

I forgot to post this a while ago but here anyways,

Edit xtool.ini and use -anvil for anvil games and -unreal for unreal engine 3 games while specifying compression level, where level 0 uses lzopro_lzo1x_1_14_compress and level 1..10 uses lzopro_lzo1x_99_compress function for compression.

If level 0 and mostly 6..10 does not work on precompression then you should use uelr as the streams are compressed in such a way that they rely on the work memory buffer left behind by the previously compressed stream (to improve on compression). The streams are compressed in sequence, however it's this improvement that makes it impossible for xtool to work with such streams as because xtool breaks this sequence when it precompresses the streams using multiple threads and if you tried to brute force the work memory to work or if you use xdelta to patch the streams, you will get crc errors.
Attached Files
File Type: 7z lzopro_R1.7z (287.7 KB, 57 views)
Reply With Quote
The Following 9 Users Say Thank You to Razor12911 For This Useful Post:
BKR-TN (06-09-2023), Cesar82 (06-09-2023), Gehrman (12-03-2024), hdneo (06-09-2023), L0v3craft (06-09-2023), L33THAK0R (06-09-2023), Pantsi (08-09-2023), ScOOt3r (06-09-2023), Wanterlude (06-09-2023)
  #10  
Old 05-10-2023, 00:18
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
Forza Motorsport 2023

This game uses XMemCompress in its paks (as denoted by Method: 21).

I didn't download the full game, but here's how to make your own database:

1. Download the attached archive. This contains bms2xtl config and required script as well as XCompress plugin for XTool.

2. Extract the archive, and place the following files into the Forza Motorsport root folder:
  • bms2xtl.dll
  • bms2xtl.exe
  • bms2xtl.ini
  • quickbms_4gb_files.exe
  • zip.bms

3. Open command prompt in the root of the Forza Motorsport game folder and paste this command:

Code:
for /r %f in (*.zip) do bms2xtl zip.bms "%f" ForzaMotorsport.xtl
4. Once the database is made, use that along with the xcompress plugin supplied to precompress the game data:

Code:
CMD> xtool precomp -mForzaMotorsport body01_forzafaithful.zip

XTool is created by Razor12911

Streams: 4 / 4
Time: 00:00:05 (CPU 00:00:00)

Size: 17.0 MB >> 32.0 MB
If you make a full database, consider sharing it here.
Attached Files
File Type: 7z Forza.Motorsport.2023.7z (5.17 MB, 83 views)
Reply With Quote
The Following 9 Users Say Thank You to Masquerade For This Useful Post:
Cesar82 (05-10-2023), Gehrman (12-03-2024), kuyhaa (08-10-2023), L0v3craft (05-10-2023), murphy78 (06-10-2023), NERV (05-10-2023), prince55 (05-10-2023), shazzla (05-10-2023), Wanterlude (06-10-2023)
  #11  
Old 05-10-2023, 09:39
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
The config version for the plugin above

I've included 64-bit version of xmemcompress, I compiled it a while ago but I didn't post it here.

Forza Motorsport\media\base\Cinematics.zip

xmemcompress -mfmzip:
Code:
Compressed 1 file, 260,317,756 => 1,146,247,029 bytes. Ratio 440.33%
Compression time: cpu 0.08 sec/real 37.12 sec = 0%. Speed 7.01 mB/s
xmemcompress64 -mfmzip:
Code:
Compressed 1 file, 260,317,756 => 1,146,247,031 bytes. Ratio 440.33%
Compression time: cpu 0.00 sec/real 28.70 sec = 0%. Speed 9.07 mB/s
It should also work for Forza Motorsport 7,

the older side project can be found here
Attached Files
File Type: 7z fmzip_R1.7z (79.0 KB, 42 views)
Reply With Quote
The Following 10 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (05-10-2023), emadmoner (05-10-2023), FitGirl (05-10-2023), Gehrman (12-03-2024), kuyhaa (08-10-2023), L0v3craft (05-10-2023), murphy78 (06-10-2023), prince55 (05-10-2023), shazzla (05-10-2023), Wanterlude (06-10-2023)
  #12  
Old 08-10-2023, 07:44
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Tony Hawk's Pro Skater 1+2

This only removes the custom encryption used in the game (Not tested)

Drag and drop the game folder and xtool will remove the encryption and give you the decrypted pak files in output folder which will be your new game files, use -mzlib on them for precompression.

Base\Content\Paks\pakchunk1-WindowsNoEditor.pak
Code:
Compressed 1 file, 291,695,622 => 503,712,687 bytes. Ratio 172.68%
Compression time: cpu 0.05 sec/real 2.30 sec = 2%. Speed 126.91 mB/s
This is not tested and will all depend on your luck.
Attached Files
File Type: 7z thps12_R1.7z (1.05 MB, 59 views)
Reply With Quote
The Following 5 Users Say Thank You to Razor12911 For This Useful Post:
dixen (08-10-2023), Gehrman (12-03-2024), kuyhaa (08-10-2023), L0v3craft (09-10-2023), Redmist2013 (03-04-2024)
  #13  
Old 03-04-2024, 21:59
Redmist2013 Redmist2013 is offline
Registered User
 
Join Date: Jul 2017
Location: Australia
Posts: 9
Thanks: 8
Thanked 2 Times in 2 Posts
Redmist2013 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Tony Hawk's Pro Skater 1+2

This only removes the custom encryption used in the game (Not tested)

Drag and drop the game folder and xtool will remove the encryption and give you the decrypted pak files in output folder which will be your new game files, use -mzlib on them for precompression.

Base\Content\Paks\pakchunk1-WindowsNoEditor.pak
Code:
Compressed 1 file, 291,695,622 => 503,712,687 bytes. Ratio 172.68%
Compression time: cpu 0.05 sec/real 2.30 sec = 2%. Speed 126.91 mB/s
This is not tested and will all depend on your luck.
Interesting. It seems to decrypt okay but re-encryption only seems to partially work.

Code:
xtool decode pakchunk1-WindowsNoEditor.pak.xt pakchunk1-WindowsNoEditor.pak
...results in about 20% of the bytes in the file matching those in the original file using a binary file comparer.
Fitgirl seems to have made a custom THPS12 encryption tool which gets close and then uses hdiff to fix things up.
Reply With Quote
  #14  
Old 04-04-2024, 13:18
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
^^
Did you even read Razor's post?

"This only removes the custom encryption used in the game (Not tested)"

Ofc decode isn't sopprted!
Reply With Quote
  #15  
Old 08-10-2023, 08:36
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 410
Thanks: 453
Thanked 444 Times in 204 Posts
dixen is on a distinguished road
Test pakchunk6-WindowsNoEditor.pak

Quote:
Compressing 1 file, 630,211,718 bytes
Compressing pakchunk6-WindowsNoEditor.pak 58%
Compressing 630,211,718 bytes with xtool1.exe precomp -mthps12+zlib -d3 -c128mb -t100p $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
XTool is created by Razor12911

Streams: 46582 / 47129
Time: 00:00:14 (CPU 00:01:53)

Size: 601 MB >> 1.40 GB

100%
Errorlevel=0

Compressed 1 file, 630,211,718 => 1,503,292,444 bytes. Ratio 238.54%
Compression time: cpu 0.28 sec/real 20.72 sec = 1%. Speed 30.41 mB/s
All OK
Quote:
E:\RePack_tools\xtool_0.7.7\Freearc>arc t data.arc
FreeArc 0.67 (March 15 2014) testing archive: data.arc
Testing 1 file, 630,211,718 bytes. Processed 99%WARNING: CRC failed in "pakchunk6-WindowsNoEditor.pak". File is broken.
Tested 1 file, 1,503,292,444 => 630,211,718 bytes. Ratio 238.54%
Testing time: cpu 0.20 sec/real 6.08 sec = 3%. Speed 103.62 mB/s
There were 1 warning(s)
With decrypting PAK - game doesn't launch

Last edited by dixen; 08-10-2023 at 08:41.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XTool 2020 (Main Project) Razor12911 Conversion Tutorials 713 01-06-2026 23:52
XTool - Successor of ZTool Razor12911 Conversion Tutorials 584 22-04-2023 18:16
[Dev]XTool Razor12911 Conversion Tutorials 180 23-10-2020 06:26
XTool 2019 (Plugins) Razor12911 Conversion Tutorials 50 16-05-2020 06:14



All times are GMT -7. The time now is 15:34.


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