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

Reply
 
Thread Tools Display Modes
  #556  
Old 14-10-2022, 12:17
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,172
Thanks: 284
Thanked 1,370 Times in 618 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
Quick question, or I guess just asking for some clarification, in regards to "bms2xtl", can you only process a given file with your generated database, if the codec is one that xtool supports? So for example xtool wouldn't be able to process a COMTYPE if it isn't deflate, lz4(hc/x/f)... etc.? I guess what I'm asking in essence is am I correct in saying external, quickbms-native COMTYPEs aren't supported.
Use xtool.ini to add COMTYPEs that QuickBMS supports. Bear in mind that QuickBMS built in compression can vary wildly from that of what the original input file is compressed with so this is really only suitable for encryption algorithms where you're more likely to get a correct output.

Also, not every algorithm that QBMS can decompress it can also compress - such as LZ2K, of which no compression code exists publicly.

You also have totally different implementations of algos althogether such as LZSS where it's basically different every time you see it.

In short xtool.ini compression with QuickBMS is hit/miss.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
L33THAK0R (15-10-2022)
Sponsored Links
  #557  
Old 15-10-2022, 05:59
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 273
Thanks: 503
Thanked 95 Times in 72 Posts
shazzla is on a distinguished road
Hi!

How can i pass the --dedup parameter into the -m chain ?
Reply With Quote
  #558  
Old 15-10-2022, 06:31
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,172
Thanks: 284
Thanked 1,370 Times in 618 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by shazzla View Post
Hi!

How can i pass the --dedup parameter into the -m chain ?
Just put --dedup into XTool packcmd in arc.ini.
Reply With Quote
  #559  
Old 15-10-2022, 07:40
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 273
Thanks: 503
Thanked 95 Times in 72 Posts
shazzla is on a distinguished road
Currently using that method. Is it possible to pass --dedup ?!
Reply With Quote
  #560  
Old 15-10-2022, 08:24
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 396
Thanks: 450
Thanked 438 Times in 200 Posts
dixen is on a distinguished road
Quote:
Originally Posted by shazzla View Post
Currently using that method. Is it possible to pass --dedup ?!
Just delete --dedup
Reply With Quote
  #561  
Old 15-10-2022, 08:37
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 273
Thanks: 503
Thanked 95 Times in 72 Posts
shazzla is on a distinguished road
Delete ?!
Why ?
Not really understand....

Edit:
I mean pass --dedup parameter to chain. I dont want a new arc.ini section.

Last edited by shazzla; 15-10-2022 at 10:25.
Reply With Quote
  #562  
Old 15-10-2022, 15:40
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,101 Times in 2,296 Posts
Razor12911 is on a distinguished road
There were undocumented changes in xtool 0.6.5, --dedup can be used as -dd so you are able to pass this via freearc provided your arc.ini looks like this

Code:
[External compressor:xtool]
header    = 0
packcmd   = xtool.exe precomp { -option} -c32mb -t100p - - <stdin> <stdout>
unpackcmd = xtool.exe decode -t100p - - <stdin> <stdout>
then your method will be something like -mxtool:mzlib:dd
Reply With Quote
The Following 5 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (15-10-2022), Gehrman (15-10-2022), L0v3craft (17-10-2022), ScOOt3r (15-10-2022), shazzla (16-10-2022)
  #563  
Old 16-10-2022, 00:46
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 273
Thanks: 503
Thanked 95 Times in 72 Posts
shazzla is on a distinguished road
Thanks ,Z !
If there are other undocumented changes ,it would be nice to publish!
Reply With Quote
The Following User Says Thank You to shazzla For This Useful Post:
L0v3craft (17-10-2022)
  #564  
Old 03-11-2022, 00:21
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 168 Times in 61 Posts
bunti_o4u is on a distinguished road
help with Unreal Engine

I am trying to compress Madel of Honor Airborne with xtool but it's not inflating the input files.

Here is the sample:

https://www62.zippyshare.com/v/3b32KZZm/file.html

Result with uelr:
Code:
Compressing 2 files, 177,974,335 bytes using uelr:uv

Compressed 2 files, 177,974,335 => 181,783,854 bytes. Ratio 102.1%         
Compression time: cpu 0.13 secs, real 2.30 secs. Speed 77,496 kB/s
All OK

[External compressor:uelr]
header = 0
packcmd = uelr {option} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
Result with xtool:
Code:
Compressing 2 files, 177,974,335 bytes using XTool2K20:mue3:c128m:t75p

Compressed 2 files, 177,974,335 => 177,974,456 bytes. Ratio 100.0%         
Compression time: cpu 0.13 secs, real 3.12 secs. Speed 57,116 kB/s
All OK

[External compressor:XTool2K20]
header    = 0
packcmd   = XTool precomp {-option } - - <stdin> <stdout>
IDK what is wrong with xtool compression.

Last edited by bunti_o4u; 03-11-2022 at 00:44.
Reply With Quote
  #565  
Old 03-11-2022, 01:48
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 396
Thanks: 450
Thanked 438 Times in 200 Posts
dixen is on a distinguished road
Quote:
Originally Posted by bunti_o4u View Post
IDK what is wrong with xtool compression.
XTool niot supported decompress ue3 lzo files
Reply With Quote
  #566  
Old 08-11-2022, 08:54
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,101 Times in 2,296 Posts
Razor12911 is on a distinguished road
Update available

Changes

- fixed issues with exporting precompression database
- fixed issues with deduplication feature consuming a lot of system memory
- fixed oodle codec from auto enabling selkie method
- fixed reflate related checksum issues due to false positives
Reply With Quote
The Following 12 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (08-11-2022), dixen (08-11-2022), emadmoner (11-11-2022), Gehrman (25-11-2022), hdneo (08-11-2022), KaktoR (08-11-2022), L0v3craft (08-11-2022), L33THAK0R (09-11-2022), Masquerade (08-11-2022), NERV (08-11-2022), shazzla (08-11-2022), Wanterlude (08-11-2022)
  #567  
Old 08-11-2022, 09:39
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 396
Thanks: 450
Thanked 438 Times in 200 Posts
dixen is on a distinguished road
XTool 0.6.6

Test Psychonauts 2

Quote:
Tested 1 file, 69,667,416,567 => 31,496,410,866 bytes. Ratio 221.19%
Testing time: cpu 11.56 sec/real 443.22 sec = 3%. Speed 71.06 mB/s
All OK
Before that, absolutely all versions issued CRC ERROR in zlib+reflate mode.
@Razor12911, thank you for fix
Reply With Quote
The Following 2 Users Say Thank You to dixen For This Useful Post:
L0v3craft (09-11-2022), Razor12911 (09-11-2022)
  #568  
Old 08-11-2022, 09:58
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,172
Thanks: 284
Thanked 1,370 Times in 618 Posts
Masquerade is on a distinguished road
@Razor
Thanks for the update and your continued work
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
Razor12911 (09-11-2022)
  #569  
Old 13-11-2022, 23:41
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 273
Thanks: 503
Thanked 95 Times in 72 Posts
shazzla is on a distinguished road
@Razor12911 :

Xtool 066 bug.

xtool.exe precomp -mreflate -c32mb -t100p --verbose - - < %1 > %1.out

Streams: 11678/11678
Time: 00:00:25 (00:00:22)
Memory: 291 MB (291 MB)

arc.ini :

xtool066\xtool.exe precomp { -option} {options} -t100p - - <stdin> <stdout>

cmd :

arc a -mxtool:mreflate:c32mb p:\output.arc "p:\input.pak"
FreeArc 0.67 (March 15 2014) creating archive: p:\dd.arc
Compressed 1 file, 185,868,230 => 516,491,144 bytes. Ratio 277.88%
Compression time: cpu 0.17 sec/real 6.18 sec = 3%. Speed 30.10 mB/s
All OK

But when dedup enabled: --dedup, -dd, :dd (via arc.ini ,cmd line pararmeter ,etc. Same effect):

xtool.exe precomp -mreflate -c32mb -dd -t100p --verbose - - < %1 > %1.out

EStreamError: TBufferedStream.Seek not implemented

arc.ini :

xtool066\xtool.exe precomp { -option} {options} -dd -t100p - - <stdin> <stdout>

cmd :

$ arc a -mxtool:mreflate:c32mb p:\output.arc "p:\input.pak"
FreeArc 0.67 (March 15 2014) updating archive: p:\dd.arc
Compressing 1 file, 185,868,230 bytes. Processed 100%
ERROR: general (de)compression error in xtool:mreflate:c32mb

P/Reflate,Zlib ,it doesnt matter ,same error.

Last edited by shazzla; 13-11-2022 at 23:50.
Reply With Quote
The Following User Says Thank You to shazzla For This Useful Post:
Razor12911 (14-11-2022)
  #570  
Old 14-11-2022, 23:07
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,101 Times in 2,296 Posts
Razor12911 is on a distinguished road
Update available

Changes

- fixed oodle scanner exceptions when incorrect library is used
- fixed issues with deduplication feature
Reply With Quote
The Following 8 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (15-11-2022), L0v3craft (16-11-2022), L33THAK0R (15-11-2022), Masquerade (15-11-2022), NERV (15-11-2022), ScOOt3r (15-11-2022), shazzla (14-11-2022), Wanterlude (15-11-2022)
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 15:28.


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