Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #376  
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,250
Thanks: 1,069
Thanked 6,829 Times in 2,572 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)
Sponsored Links
  #377  
Old 27-07-2023, 21:48
DODI DODI is offline
Registered User
 
Join Date: Jul 2018
Location: France
Posts: 2
Thanks: 3
Thanked 5 Times in 2 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)
  #378  
Old 22-08-2023, 14:39
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,084 Times in 2,295 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)
  #379  
Old 01-09-2023, 01:11
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,084 Times in 2,295 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, 52 views)
Reply With Quote
The Following 15 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), 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)
  #380  
Old 06-09-2023, 01:34
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,084 Times in 2,295 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, 37 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)
  #381  
Old 08-09-2023, 01:12
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,123
Thanks: 284
Thanked 1,307 Times in 595 Posts
Masquerade is on a distinguished road
Updated Distant Worlds 2 database for game version v1.1.6.7.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
L0v3craft (08-09-2023)
  #382  
Old 09-09-2023, 08:31
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,250
Thanks: 1,069
Thanked 6,829 Times in 2,572 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
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.
Updated plugin.

Basically the 'MessageBoxA' was patched out and replaced with some other function from User32.dll. On some bink2 inputs you had encountered some error messages like 'MotionData_warn' or 'err'. I have included two samples for which it is the case. You shouldn't receive error messages anymore with this patched plugin. Inputs which would give these types of errors are just ignored but processed still, but not compressed with binkpack.

Thanks to masquerade and Razor12911.
Attached Files
File Type: 7z XTool_Bink_STDIO_Patched.7z (4.56 MB, 93 views)
__________________
Haters gonna hate
Reply With Quote
The Following 8 Users Say Thank You to KaktoR For This Useful Post:
Abbat (26-01-2024), Gehrman (12-03-2024), kj911 (10-09-2023), L0v3craft (11-09-2023), Lord.Freddy (09-09-2023), murphy78 (15-09-2023), shazzla (09-09-2023), Wanterlude (10-09-2023)
  #383  
Old 05-10-2023, 00:18
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,123
Thanks: 284
Thanked 1,307 Times in 595 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, 51 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)
  #384  
Old 05-10-2023, 09:39
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,084 Times in 2,295 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, 25 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)
  #385  
Old 08-10-2023, 07:44
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,084 Times in 2,295 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, 40 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)
  #386  
Old 08-10-2023, 08:36
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 383
Thanks: 438
Thanked 428 Times in 196 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
  #387  
Old 08-10-2023, 09:00
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,084 Times in 2,295 Posts
Razor12911 is on a distinguished road
Welp
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Masquerade (08-10-2023)
  #388  
Old 08-10-2023, 13:32
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,123
Thanks: 284
Thanked 1,307 Times in 595 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by dixen View Post
Test pakchunk6-WindowsNoEditor.pak
ofc CRC error because this library decrypts paks only, not re-encrypts them. Re-encryption of this game is not possible.
Reply With Quote
  #389  
Old 15-10-2023, 23:27
hwang4 hwang4 is offline
Registered User
 
Join Date: Sep 2007
Location: Algeria
Posts: 83
Thanks: 43
Thanked 10 Times in 4 Posts
hwang4 is on a distinguished road
Asterigos - Anniversary Update

Quote:
Originally Posted by Masquerade View Post
Asterigos: Curse of the Stars
  • Place asterigos.xtl and asterigos.key in the same folder as XTool, use "-masterigos+preflate -d1".

Masquerade , tried with this one , but cannot get a good compression ratio !thx for help!
Reply With Quote
  #390  
Old 16-10-2023, 09:03
Hexagon123 Hexagon123 is offline
Registered User
 
Join Date: Dec 2016
Location: IOWA
Posts: 73
Thanks: 4
Thanked 45 Times in 26 Posts
Hexagon123 is on a distinguished road
Quote:
Originally Posted by hwang4 View Post
Masquerade , tried with this one , but cannot get a good compression ratio !thx for help!
Looks like this needs an update?
Reply With Quote
Reply

Thread Tools
Display Modes

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 681 28-04-2024 05:19
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 04:04.


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