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 28-04-2023, 04:34
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 292
Thanks: 525
Thanked 102 Times in 78 Posts
shazzla is on a distinguished road
Something is wrong with Xtool 07 hotfix.

It doesnt catch up any stream on Snowrunner's EDITOR.PAK ,while Xtool 069 does ! (069 fails at the end on this file with reflate ,zlib works fine !)
See below :

......

Edit #2 :
Ohh ,maaan! ALL DLL's must be in the libraries folder ! Not only the external ones ,like unreal ,unity,etc...

Last edited by shazzla; 28-04-2023 at 05:43.
Reply With Quote
Sponsored Links
  #2  
Old 28-04-2023, 06:08
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 292
Thanks: 525
Thanked 102 Times in 78 Posts
shazzla is on a distinguished road
This "base directory or -bd#..." is not so clear...
How to use/set -bd# ?
Reply With Quote
  #3  
Old 28-04-2023, 06:18
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,223 Times in 2,312 Posts
Razor12911 is on a distinguished road
Let's say you want want to move all libraries and plugins to a folder called "libs" which is near xtool.exe, you specify base directory as -bdlibs or -bd.\libs. or you can just leave it empty to make xtool work the same as before.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
L0v3craft (30-04-2023), shazzla (28-04-2023)
  #4  
Old 28-04-2023, 10:30
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 413
Thanks: 454
Thanked 444 Times in 204 Posts
dixen is on a distinguished road
Sorry for dumb question, but how get this info in xtool?

Quote:
Streams: 58080 / 58080
Duplicates: 4893 (18.2 MB) [26.2 MB >> 265 MB]
Srep decompression memory: 45.0 MB [113 MB*]

Size: 1.09 GB (original) >> 2.32 GB (zlib) >> 2.06 GB (dedup) >> 1.75 GB (srep) >> 915 MB (flzma)
Reply With Quote
  #5  
Old 28-04-2023, 10:32
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,704
Thanks: 1,106
Thanked 7,354 Times in 2,848 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by dixen View Post
Sorry for dumb question, but how get this info in xtool?
With these settings
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
dixen (28-04-2023)
  #6  
Old 28-04-2023, 11:37
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,223 Times in 2,312 Posts
Razor12911 is on a distinguished road
The information is always visible and verbose option isn't necessary because that will force xtool to use 1 thread, whether you use GUI or CLI. It's always there.
Reply With Quote
  #7  
Old 28-04-2023, 13:13
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,223 Times in 2,312 Posts
Razor12911 is on a distinguished road
There's a feature I'd like to point out which was briefly added in 0.6.8 but wasn't finished until this current release and that is on the fly compression, basically if you wanted to quickly find out the theoretical compressed size of a game without consuming disk space.

Reasons you may want to use this feature:
+ If you just wanted to find out the compressed size
+ If a game uses kraken and wanted to see if it was worth it to compress it at all
+ If the game is big and you don't have space for compression
+ If you don't want to reduce lifespan on SSD


Code:
XTool is created by Razor12911

Streams: 1415335 / 1415335
Time: 00:01:21 (CPU 00:04:03)
Duplicates: 1134306 (1.99 GB) [7.11 GB >> 16.1 GB]

Size: 15.3 GB >> 29.0 GB >> 13.0 GB

Done!!!
13GB is the size that srep is expecting, so you change duplication preset to srep, then set input size to at least 15GB then enable compression, set desired level and dictionary.

Code:
Streams: 1415335 / 1415335
Time: 00:04:36 (CPU 00:34:05)
Duplicates: 1134306 (1.99 GB) [7.11 GB >> 16.1 GB]
Srep decompression memory: 751 MB [5.15 GB*]

Size: 15.3 GB >> 29.0 GB >> 13.0 GB >> 9.03 GB >> 4.65 GB

Done!!!
So then you know that 15.3 GB becomes 4.65 GB in less than 5 mins but without creating any temp files as the whole compression takes place in memory. You also know srep decompression memory too.

_________________________________

The other thing, as you know how much I tried to make xtool to perform as fast as possible, the thing that always bothered me was that lzma was slow and that's why I added fast-lzma2. I noticed something interesting about this compression library in the sense that it's able to increase the number of threads used for compression without increasing memory usage.

Here's a few results

4x4:lzma (via fazip) (b128mb:t6), ultra, 64mb dictionary, 12 threads used 2781 MB ram
Code:
Compressed 288 files, 16,391,993,193 => 4,869,896,897 bytes. Ratio 29.71%
Compression time: cpu 13.50 sec/real 662.85 sec = 2%. Speed 24.73 mB/s
fast lzma2, level 10, 64mb dictionary, 12 threads used 403 MB ram
Code:
Compressed 288 files, 16,391,993,193 => 4,929,451,310 bytes. Ratio 30.07%
Compression time: cpu 11.84 sec/real 425.39 sec = 3%. Speed 38.53 mB/s
Not only is memory used by fast lzma2 low, but it's much faster while producing similar results and what is impressive is, if you had like 32 thread cpu, you can increase its speed even further without increasing memory usage by too much but if you use the 4x4 method, the memory usage will increase even more.
Reply With Quote
The Following 7 Users Say Thank You to Razor12911 For This Useful Post:
BLACKFIRE69 (29-04-2023), Cesar82 (28-04-2023), ffmla (31-05-2023), Gehrman (29-04-2023), hdneo (29-04-2023), Tihiy_Don (28-04-2023), ZAZA4EVER (29-04-2023)
  #8  
Old 30-04-2023, 00:13
infovs infovs is offline
Registered User
 
Join Date: Feb 2005
Location: Home
Posts: 50
Thanks: 2
Thanked 10 Times in 7 Posts
infovs is on a distinguished road
Red face

Thank you Razor12911 for this fantastic tool...have one question, if it is not too much trouble, can you please consider naming x64 srep.exe (since xtool is hardcoded using this exact name) like Bulat original named it as srep64.exe?
I'm using original naming for many years, I need 32bit srep.exe for some compatibility reasons of my own...and your renaming 64bit srep64.exe as srep.exe is causing problems.
Maybe at least consider making xtool using srep64.exe name first, if found, then if not found use srep.exe or whatever srep name you consider acceptable.

Thanks in advance,
best regards

Last edited by infovs; 30-04-2023 at 00:26.
Reply With Quote
  #9  
Old 13-05-2023, 01:37
Wanterlude's Avatar
Wanterlude Wanterlude is offline
Registered User
 
Join Date: Apr 2017
Location: Swamp in Russia
Posts: 38
Thanks: 242
Thanked 70 Times in 24 Posts
Wanterlude is on a distinguished road
Guys, does anyone know how to fix this?
Game: A Plague Tale Requiem
Files: *.DPC
Xtool: last ver 0.7.0 hotfix
Problem: after unpacking 1 file (28.9gb) xtool goes beyond its allocated memory. (x4)
The picture shows the information from windows resource monitoring. (I have 16 GB RAM)

Code:
[External compressor:xtool]
header = 0
unpackcmd = "xtool.exe" decode -t100p -dm20p -sm20p - - <stdin> <stdout>

[External compressor:xtool]
header = 0
unpackcmd = "xtool.exe" decode -t100p -sm20p --mem=20p - - <stdin> <stdout>
In 1 case it happens as shown in the picture. In 2, the memory increase can be seen even in the windows task manager.

arc.ini:
Code:
[External compressor:xtool]
header    = 0
default   = -c128mb -t100p
packcmd   = xtool.exe precomp -mzlib -d1 -db -dd5 - - <stdin> <stdout>
-----------------------
upd. (14 may): preflate has the same problem | xtool 0.6.9 - same
-----------------------
upd. (15 may): fixed by 2nd xtool and -dm20p -sm20p parameters.
I think the problem was that I used 1 xtool for both zlib and dedup
-----------------------

Last edited by Wanterlude; 15-05-2023 at 08:04.
Reply With Quote
  #10  
Old 22-05-2023, 04:47
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,223 Times in 2,312 Posts
Razor12911 is on a distinguished road
Update available

Changes

- fixed issues with fast-lzma2 being unable to set correct compression level
- updated deflate stream scanner
Reply With Quote
The Following 14 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (22-05-2023), cradames (22-05-2023), dixen (22-05-2023), ffmla (31-05-2023), Gehrman (23-05-2023), hdneo (22-05-2023), kuyhaa (22-05-2023), L0v3craft (25-05-2023), Masquerade (22-05-2023), Pantsi (25-05-2023), ScOOt3r (22-05-2023), shazzla (22-05-2023), vint56 (22-05-2023), Wanterlude (22-05-2023)
  #11  
Old 03-06-2023, 07:49
huluwizard huluwizard is offline
Registered User
 
Join Date: May 2023
Location: Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
huluwizard is on a distinguished road
Forgive me if I have missed something obvious, but the first post in this thread mentions documentation, but I'm not able to locate any documentation for xtool. Specifically, I'm trying to figure out the command line. I can get the results I want from the GUI plus a plugin, but ultimately I'd like to pair it with a batch file that does the same thing.
Reply With Quote
  #12  
Old 03-06-2023, 08:07
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,704
Thanks: 1,106
Thanked 7,354 Times in 2,848 Posts
KaktoR is on a distinguished road
xtool.chm is what you are looking for.
__________________
Haters gonna hate
Reply With Quote
  #13  
Old 03-06-2023, 08:12
huluwizard huluwizard is offline
Registered User
 
Join Date: May 2023
Location: Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
huluwizard is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
xtool.chm is what you are looking for.
Oh wow, it really was right there all along. Thanks!
Reply With Quote
  #14  
Old 08-06-2023, 02:17
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 413
Thanks: 454
Thanked 444 Times in 204 Posts
dixen is on a distinguished road
And yet I don't understand how to use the memory limit in the -dd# function. The --srepmem=# parameter does not give anything at all. Maybe I'm doing something wrong?
Reply With Quote
  #15  
Old 08-06-2023, 03:10
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,077
Thanks: 1,828
Thanked 2,311 Times in 789 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by dixen View Post
And yet I don't understand how to use the memory limit in the -dd# function. The --srepmem=# parameter does not give anything at all. Maybe I'm doing something wrong?
I think the parameter for srep memory usage in XTool 0.70 is "-sm#" and not anymore "--srepmem=#".
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
[Dev]XTool Razor12911 Conversion Tutorials 180 23-10-2020 06:26
Project Cars Digital Edition (3xDVD5) (srep+lzma) GTX590 PC Games - CD/DVD Conversions 10 28-08-2017 08:34
Project IGI Anthology 1xCD700 CIUV2 2039 mausschieber PC Games - CD/DVD Conversions 0 24-07-2017 15:12
Space Channel 5 Part 2 Translation Project Christuserloeser DC Games 0 21-06-2004 18:16



All times are GMT -7. The time now is 10:44.


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