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

Reply
 
Thread Tools Display Modes
  #676  
Old 08-03-2024, 07:13
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,402
Thanks: 1,077
Thanked 7,005 Times in 2,653 Posts
KaktoR is on a distinguished road
You cannot use lz4 directly. Plugin is required always if you want to use lz4/lz4hc.

However your sample seems to be compressed with lz4hc, because recompressed stream is bigger then original stream.

Code:
xtool.exe precomp -mlz4:s64k -t100p -c16mb -v - - < %1 > %1.out

[0] Processing streams on block 0000000000000000 to 00000000008E555B (9327964)
[0] Processing lz4 stream at 000000000002C850 (58101 >> 65536 >> 61165) using a1:b0 has failed
[0] - Patching stream at 000000000002C850 (58101 >> 61165) [42205] has failed

Streams: 0 / 81
Time: 00:00:03 (CPU 00:00:03)

Size: 8.90 MB >> 8.90 MB
Code:
xtool.exe precomp -mlz4hc:s64k -t100p -c16mb -v - - < %1 > %1.out

[0] Processed lz4hc stream at 00000000008D8B64 (51701 >> 65536 >> 51701) using l9:b0 successfully

Streams: 46 / 81
Time: 00:00:04 (CPU 00:00:04)

Size: 8.90 MB >> 9.36 MB
I don't know from what game this sample is. Either make a plugin configuration (ini file) or search for bms script and use bms2xtl with correct settings.
__________________
Haters gonna hate

Last edited by KaktoR; 08-03-2024 at 07:18.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Redmist2013 (08-03-2024)
Sponsored Links
  #677  
Old 08-03-2024, 19:15
Redmist2013 Redmist2013 is offline
Registered User
 
Join Date: Jul 2017
Location: Australia
Posts: 4
Thanks: 4
Thanked 1 Time in 1 Post
Redmist2013 is on a distinguished road
Yes, you're right - new XTool seems to detect some of the streams as LZ4HC. Not sure why the old XTool works perfectly when choosing generic LZ4 though.

The file is from CoD:MW Remast btw. All of the scene repacks are horribly out of date so I was compressing it myself.

Last edited by Redmist2013; 08-03-2024 at 19:22.
Reply With Quote
  #678  
Old 09-03-2024, 07:20
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,402
Thanks: 1,077
Thanked 7,005 Times in 2,653 Posts
KaktoR is on a distinguished road
In this case you have to make a configuration plugin in order to precompress this game with newer xtool versions, as I am pretty sure there is no bms script for this game.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Wanterlude (10-03-2024)
  #679  
Old 26-03-2024, 03:10
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 394
Thanks: 450
Thanked 433 Times in 199 Posts
dixen is on a distinguished road
Application cls-srep.dll instead of srep.exe is it possible to implement this when using -dd#?
Reply With Quote
  #680  
Old 26-03-2024, 04:01
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
^^
Nope. cls-srep_x64.exe works differently to a typical srep.exe. It's focus is decompression only and uses different parameters afaik.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
dixen (26-03-2024)
  #681  
Old 08-04-2024, 09:24
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 394
Thanks: 450
Thanked 433 Times in 199 Posts
dixen is on a distinguished road
Hmmm..
xtool execute doesn't work on v0.8.7?
Reply With Quote
  #682  
Old 28-04-2024, 06:19
daveyrob daveyrob is offline
Registered User
 
Join Date: Oct 2021
Location: In My House
Posts: 7
Thanks: 3
Thanked 2 Times in 2 Posts
daveyrob is on a distinguished road
Quote:
Originally Posted by dixen View Post
Hmmm..
xtool execute doesn't work on v0.8.7?
i had multiple issues with the execution options in general including the ones using xtool.ini, some exes using xtool.ini seem to get confused with the in-out like tak or ofr, the only one i actually got working for wav was wavpak. in some versions the exe options kinda work wile in others not at all. i now just use mtx for mt, msc for wav and biks in containers i just extract myself to save jumping around xtool versions.

edit:
after changing xtool to version 086 all the stuff i could not get to work before seemed fine.

Last edited by daveyrob; 28-04-2024 at 18:37. Reason: correction
Reply With Quote
  #683  
Old 15-06-2024, 11:07
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
New Release: XTool v0.8.8 (15/6/24)

Quote:
Changes
  • added zipcrypto encryption support
  • added library config based plugin support
https://www.patreon.com/posts/release-v0-8-8-106259359
Attached Files
File Type: 7z xtool_0.8.8.7z (7.93 MB, 80 views)
Reply With Quote
The Following 5 Users Say Thank You to Masquerade For This Useful Post:
Abbat (08-09-2024), Gehrman (26-06-2024), kj911 (16-06-2024), Lord.Freddy (15-06-2024), vint56 (16-06-2024)
  #684  
Old 15-06-2024, 13:09
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 46
Thanks: 9
Thanked 22 Times in 15 Posts
wareck is on a distinguished road
do you know how to use the new feature zipcrypto ?
Reply With Quote
  #685  
Old 20-06-2024, 03:00
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
^^
It must be used via plugin, configuration or database. It cannot be called directly.
Reply With Quote
  #686  
Old 20-06-2024, 13:53
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 46
Thanks: 9
Thanked 22 Times in 15 Posts
wareck is on a distinguished road
I understand that you have to use bmscrypt and zip.bms + password.
I've also started a draft ini file but it's a bit dry....

But anyway, with my ugly method and block processing, I've reduced the game to 9.7GB, which isn't so bad.
The only problem is that the CRCs are different, which could pose a problem for future updates.
but not for sure, updates are patch_00x.pak files that are added...
it's not really for the game itself but more to understand the process and improve...
Reply With Quote
  #687  
Old 03-07-2024, 11:24
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
New Release: XTool v0.8.9 (3/7/24)

Quote:
Changes
  • fixed issues with base directory and file/directory pathing in general
  • updated verbose mode log
Thanks to Razor12911 for the update. Please support his work on patreon.

https://www.patreon.com/posts/release-v0-8-9-107298667
Attached Files
File Type: 7z xtool_0.8.9.7z (7.93 MB, 147 views)
Reply With Quote
The Following 8 Users Say Thank You to Masquerade For This Useful Post:
Abbat (08-09-2024), Cesar82 (13-07-2024), dixen (03-07-2024), Gehrman (04-07-2024), kj911 (03-07-2024), Lord.Freddy (03-07-2024), ScOOt3r (03-07-2024), vint56 (13-07-2024)
  #688  
Old 13-07-2024, 12:51
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 394
Thanks: 450
Thanked 433 Times in 199 Posts
dixen is on a distinguished road
Can you explain how to link quickbms to XTool? I am interested in working with the giants.bms script and files.GAR from FS 22
Reply With Quote
The Following User Says Thank You to dixen For This Useful Post:
shazzla (13-07-2024)
  #689  
Old 13-07-2024, 14:39
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
^^
From this, what I retrieved from the wayback machine:

https://web.archive.org/web/20221212...VJ4U/CEKOWrwzW

- This file format appears to be encryption on top of LZMA.

- XTool cannot natively handle LZMA so that would need to be plugged in. You'd need the right version and parameters for lzma.exe from the lzma sdk.

- The decryption function itself is not sourced, it's embedded into the script as MEMORY_FILE3 (which you must then prompt for qbms to load at runtime or with -Y argument)

- Can this function do encryption too? I do not know.

- Razor said a while back that QuickBMS support was fixed in XTool.ini (because I wanted to use it for Unity games), but I still couldn't quite get it to work correctly.

- So likely you'd need to generate a database with bms2xtl, but this database doesn't even get generated correctly since xtool detects "calldll" as the encryption algortihm (calldll is just a function in qbms to load external code/functions) and then plug qbms and lzma into xtool

This is a lot of trouble and I don't think I can offer any further help.
Reply With Quote
The Following 3 Users Say Thank You to Masquerade For This Useful Post:
dixen (14-07-2024), Gehrman (18-07-2024), shazzla (14-07-2024)
  #690  
Old 19-07-2024, 23:42
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 46
Thanks: 9
Thanked 22 Times in 15 Posts
wareck is on a distinguished road
hello guys
I would like to erase some files in a stream.

xtool.exe erase extracted_ original db.xtl

it works but I want's also to remove small file

Code:
Skipped Engine\Plugins\VirtualProduction\LiveLinkCamera\Config\BaseLiveLinkCamera.ini (Smaller than 256)
there is an option for that ?
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
[Dev]XTool Razor12911 Conversion Tutorials 180 23-10-2020 07:26
Project Cars Digital Edition (3xDVD5) (srep+lzma) GTX590 PC Games - CD/DVD Conversions 10 28-08-2017 09:34
Project IGI Anthology 1xCD700 CIUV2 2039 mausschieber PC Games - CD/DVD Conversions 0 24-07-2017 16:12
Space Channel 5 Part 2 Translation Project Christuserloeser DC Games 0 21-06-2004 19:16



All times are GMT -7. The time now is 02:41.


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