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

Reply
 
Thread Tools Display Modes
  #451  
Old 27-02-2022, 04:01
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,625
Thanks: 956
Thanked 5,909 Times in 2,184 Posts
KaktoR is on a distinguished road
How to use verbose mode

Code:
@echo off
xtool.exe precomp -mcodec -c32mb -t100p --zlib=filename, lz4=filename, lzo=filename, zstd=filename, oodle=filename --verbose - - < %1 > %1.out1
pause
xtool.exe decode -t100p - - < %1.out > %1.res
del /q %1.out
fc /b %1 %1.res
del /q %1.res
pause
Drag&Drop a file on batch
__________________
Haters gonna hate
Reply With Quote
The Following 3 Users Say Thank You to KaktoR For This Useful Post:
Gehrman (28-02-2022), Razor12911 (27-02-2022), seryogakms (27-02-2022)
Sponsored Links
  #452  
Old 27-02-2022, 04:14
:( Sad8669 :( Sad8669 is offline
Registered User
 
Join Date: Oct 2020
Location: -
Posts: 203
Thanks: 97
Thanked 185 Times in 101 Posts
:( Sad8669 is on a distinguished road
ELDEN RING - XTool Update Test (Data3.bdt)

Old XTool - xtool:kraken,l6
Code:
Compressed 1 file, 2,655,357,776 => 4,668,458,345 bytes. Ratio 175.81%
Compression time: cpu 4.09 sec/real 673.02 sec = 1%. Speed 3.95 mB/s
All OK
New XTool- xtool:kraken,l6
Code:
Compressed 1 file, 2,655,357,776 => 4,551,696,149 bytes. Ratio 171.42%
Compression time: cpu 3.72 sec/real 564.25 sec = 1%. Speed 4.71 mB/s
All OK
New XTool - xtool:kraken,l6,n1
Code:
Compressed 1 file, 2,655,357,776 => 4,673,342,606 bytes. Ratio 176.00%
Compression time: cpu 4.59 sec/real 706.91 sec = 1%. Speed 3.76 mB/s
All OK
New XTool - xtool:kraken,l6,n2
Code:
Compressed 1 file, 2,655,357,776 => 4,673,136,986 bytes. Ratio 175.99%
Compression time: cpu 4.05 sec/real 672.64 sec = 1%. Speed 3.95 mB/s
All OK
Library Used : oo2core_4_win64.dll

Check previous page and download the library from there.
__________________
Adios amigo, adios my friend
The road we have travelled has come to an end.
Reply With Quote
The Following 3 Users Say Thank You to :( Sad8669 For This Useful Post:
Gehrman (28-02-2022), Razor12911 (27-02-2022), seryogakms (27-02-2022)
  #453  
Old 28-02-2022, 05:38
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 41
Thanks: 812
Thanked 50 Times in 22 Posts
Gehrman is on a distinguished road
External executable!!!

resident evil 4 HD project "*.lfs" Precompressor
https://github.com/emoose/re4-research

Arc.ini
Code:
[External compressor:re4-lfs]
header    = 0
solid=0
packcmd   = re4lfs.exe files.lfs files.pack
unpackcmd = re4lfs.exe files.pack files.lfs
datafile   = files.lfs
packedfile = files.pack



--------------------------------------------------------
But it does not work with XTool
XTool.ini
Code:
[re4lfs]
Encode=re4lfs.exe files.lfs files.pack
Decode=re4lfs.exe files.pack files.lfs
Continous=0




Is there a way to solve it?

Last edited by Gehrman; 28-02-2022 at 05:44.
Reply With Quote
The Following User Says Thank You to Gehrman For This Useful Post:
Razor12911 (28-02-2022)
  #454  
Old 28-02-2022, 15:31
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,649
Thanks: 2,028
Thanked 10,443 Times in 2,214 Posts
Razor12911 is on a distinguished road
can you send sample and the exe?
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Gehrman (01-03-2022)
  #455  
Old 28-02-2022, 21:30
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 310
Thanks: 368
Thanked 339 Times in 159 Posts
dixen is on a distinguished road
Razor12911
Is it possible to make lz2k-plugin for XTool?
Reply With Quote
  #456  
Old 01-03-2022, 00:23
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 779
Thanks: 184
Thanked 855 Times in 417 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by dixen View Post
Razor12911
Is it possible to make lz2k-plugin for XTool?
There's no recompression code for this algorithm, not even QuickBMS can compress LZ2K.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
dixen (01-03-2022)
  #457  
Old 01-03-2022, 23:34
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 41
Thanks: 812
Thanked 50 Times in 22 Posts
Gehrman is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
can you send sample and the exe?
https://github.com/emoose/re4-resear...build-0.1a.zip
Attached Files
File Type: rar lfs.rar (2.72 MB, 22 views)

Last edited by Gehrman; 02-03-2022 at 03:16.
Reply With Quote
  #458  
Old 05-03-2022, 18:03
Dark0226 Dark0226 is offline
Registered User
 
Join Date: Feb 2021
Location: Russia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Dark0226 is on a distinguished road
How to decompress unity files? What dlls are needed? And if possible examples?
Reply With Quote
  #459  
Old 05-03-2022, 20:18
Hexagon123 Hexagon123 is offline
Registered User
 
Join Date: Dec 2016
Location: IOWA
Posts: 56
Thanks: 4
Thanked 33 Times in 21 Posts
Hexagon123 is on a distinguished road
Quote:
Originally Posted by Dark0226 View Post
How to decompress unity files? What dlls are needed? And if possible examples?
Some use 1.8.0 version of liblz4.dll

SMBBHD works like XTool v12
Cris Tales, has some LZMA doesn't work due to use of LZ4, use UBT
SMBBM, similar to Cris Tales
Trollhunters, not much, use UBT
Tin & Kuna, not much, use UBT
NSLT, possibly that much unlike XTool v12

Last edited by Hexagon123; 14-03-2022 at 22:45.
Reply With Quote
  #460  
Old 09-03-2022, 08:23
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 779
Thanks: 184
Thanked 855 Times in 417 Posts
Masquerade is on a distinguished road
I understand the Leviathan codec isn't to be used directly and instead by plugins, so I am attempting to create a database for Wolfenstein Youngblood using a modified BMS script.

The script dumps the leviathan streams to disk and that should be enough to generate a DB, however I recieve an error that the filename of the database I made is not a valid method if I attempt to precompress.

I have attached below a sample file + BMS script if anyone would like to have a look.

The leviathan stream is signified by the 0x8C0C header.

https://www43.zippyshare.com/v/fCNMmXpB/file.html
Reply With Quote
  #461  
Old 09-03-2022, 15:03
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 255
Thanks: 180
Thanked 315 Times in 113 Posts
elit is on a distinguished road
Thank you for last update, it solved zstd crash for me.
Would it be possible for xtool to additionally print its version when run without parameters? So that it does not rely on file name.

Also, additionally to direct dll loading, I would suggest automatic multi lib query like this:
1_zstd.dll, 2_zstd.dll...
1_lz4.dll, 2_lz4.dll...
1_oodle.dll, 2_oodle.dll...

With those files in xtool directory, *all* of them would be loaded and then sequentially tried up to certain point.
For example at the beginning all compression variation on all dll's would be tried until at least 1 valid chunk is found. Then dll's without result would be discarded and if multiple exist with different size then those with lower size also discarded. Those with same size could still be used up to certain number of chunks in parallel unless either different size is produced or simply all but 1 are discarded in case all kept producing same size.

This way user can just put all different versions of libraries and forget about manual "query and try".

In case different versions use different API, another naming alternative would be agreed naming convention, for example zstd_v1.2.dll, lz4_v1.2.dll or any other, where xtool would be aware of that version(or version range) and which names of API functions specific dll use.
Reply With Quote
  #462  
Old 10-03-2022, 07:43
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,649
Thanks: 2,028
Thanked 10,443 Times in 2,214 Posts
Razor12911 is on a distinguished road
Update available

Changes

- fixed issue of lz4 codec loading incorrect library
- fixed issue with handling endianess via configuration based plugins
- updated framework of library based plugins

@elit
For example at the beginning all compression variation on all dll's would be tried until at least 1 valid chunk is found.
- This cannot be done because versions closer to each other tend to produce the same result and in some streams especially on a small number of them, they produce different results.
- Example, version 1.4.3 and 1.4.4 of zstd, these two libraries can produce same result and would be considered valid chunk using either one of these libraries however this may not be the same for the rest of the input.

Those with same size could still be used up to certain number of chunks in parallel unless either different size is produced or simply all but 1 are discarded in case all kept producing same size.
- The issue with this is considering xtool processes data by chunks, if it processes version by version, it would need to store all results somewhere, most probably in memory and every single library would need its own memory set, coding this would be problematic at least from my end.

@Gehrman

Sorry for late reply, I checked out the sample and the only way this would work is by generating a database using generate function in xtool (which is currently broken), but it will probably be fixed in the next release.
I'll possibly upload the re4lfs configuration example.

Last edited by Razor12911; 10-03-2022 at 07:53.
Reply With Quote
The Following 7 Users Say Thank You to Razor12911 For This Useful Post:
dixen (10-03-2022), elit (10-03-2022), ffmla (10-03-2022), Gehrman (10-03-2022), hdneo (10-03-2022), KaktoR (10-03-2022), shazzla (10-03-2022)
  #463  
Old 10-03-2022, 09:12
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 310
Thanks: 368
Thanked 339 Times in 159 Posts
dixen is on a distinguished road
Thank for update..
But..Metro Exodus lz4 streams still not being searched for((
Reply With Quote
  #464  
Old 10-03-2022, 09:43
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,649
Thanks: 2,028
Thanked 10,443 Times in 2,214 Posts
Razor12911 is on a distinguished road
Metro Exodus lz4 support was never added to xtool, remember you cannot use lz4 codec directly in this program, only via plugins and a plugin for that game was never made.
https://fileforums.com/showthread.php?t=103563

Last edited by Razor12911; 10-03-2022 at 09:45.
Reply With Quote
  #465  
Old 10-03-2022, 15:40
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,649
Thanks: 2,028
Thanked 10,443 Times in 2,214 Posts
Razor12911 is on a distinguished road
Update available

Changes

- removed leviathan codec restriction

Notes

Xtool can "actually" detect leviathan streams however the only way it can process them is if they are divisible by the block size used by the new oodle compressors which is 262144, if a stream decompressed size cannot be divided by this value leaving no remainder then no way of predicting the stream size (at least that I know of) is possible hence why plugins are the only ones that were allowed to use the leviathan codec.

Code:
-mleviathan
If you are not satisfied with the results produced then find a way to make a plugin for proper support for that particular game.

Last edited by Razor12911; 10-03-2022 at 15:43.
Reply With Quote
The Following 5 Users Say Thank You to Razor12911 For This Useful Post:
elit (10-03-2022), Gehrman (11-03-2022), KaktoR (11-03-2022), L0v3craft (10-03-2022), Masquerade (11-03-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 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 12:31.


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