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 24-02-2022, 12:14
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
i had the same Disk Full issue, remove libzstd.dll and it will work.
Reply With Quote
The Following User Says Thank You to daveyrob For This Useful Post:
Razor12911 (24-02-2022)
Sponsored Links
  #2  
Old 24-02-2022, 12:42
ScOOt3r ScOOt3r is online now
Registered User
 
Join Date: Jun 2019
Location: Canada
Posts: 79
Thanks: 696
Thanked 41 Times in 35 Posts
ScOOt3r is on a distinguished road
well i got it working compressing and decompression as someone posted above to remove libzstd.dll.. i did that and it works just fine now.. weird that it was that file
not sure how important libzstd.dll is...

ScOOt3r
Reply With Quote
  #3  
Old 25-02-2022, 02:23
seryogakms seryogakms is offline
Registered User
 
Join Date: Jun 2017
Location: Russia
Posts: 9
Thanks: 12
Thanked 3 Times in 2 Posts
seryogakms is on a distinguished road
Quote:
Originally Posted by ScOOt3r View Post
well i got it working compressing and decompression as someone posted above to remove libzstd.dll.. i did that and it works just fine now.. weird that it was that file
not sure how important libzstd.dll is...

ScOOt3r


arc.exe a -ep1 -r -ed -s; -i2 -w.\temp -mxt22+srep+lolz Packs\data.bin "DATAS\*"

[External compressor:xt22_zstd]
header = 0
packcmd = xtool\zlib\xt22.exe precomp -mzlib+zstd:l19,l22 -c32mb -t100p $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = xt22.exe decode -t100p - - <stdin> <stdout>

[External compressor:lolz]
header = 0
packcmd = lolz_x64.exe -d128 -mc1023 -dtb1 -tt4 -mtt1 -mt8 -mtb128 -fba1024 -oh14 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = lolz_x86.exe $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:srep]
header = 0
packcmd = srep64 -mem512m -l512 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

Last edited by seryogakms; 25-02-2022 at 02:40.
Reply With Quote
  #4  
Old 25-02-2022, 03:08
:( Sad8669 :( Sad8669 is offline
Registered User
 
Join Date: Oct 2020
Location: -
Posts: 203
Thanks: 97
Thanked 188 Times in 101 Posts
:( Sad8669 is on a distinguished road
ELDEN RING

Oodlerec Used
Code:
Compressing 1 file, 2,655,357,776 bytes
  Compressing Data3.bdt
Compressed 1 file, 2,655,357,776 => 4,549,448,231 bytes. Ratio 171.33%
Compression time: cpu 3.81 sec/real 615.49 sec = 1%. Speed 4.31 mB/s
All OK
From Masquerade.
use oodle core from Martha is Dead
Reply With Quote
The Following User Says Thank You to :( Sad8669 For This Useful Post:
Gehrman (25-02-2022)
  #5  
Old 25-02-2022, 03:29
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,688
Thanks: 1,106
Thanked 7,335 Times in 2,837 Posts
KaktoR is on a distinguished road
From a 100mb sample data0.bdt

Code:
xtool:kraken
Compressed 1 file, 104,857,600 => 213,800,403 bytes. Ratio 203.90%
Compression time: cpu 0.09 sec/real 15.75 sec = 1%. Speed 6.66 mB/s

xtool:kraken,l6
Compressed 1 file, 104,857,600 => 214,235,226 bytes. Ratio 204.31%
Compression time: cpu 0.09 sec/real 10.01 sec = 1%. Speed 10.48 mB/s
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Gehrman (25-02-2022)
  #6  
Old 27-02-2022, 03:42
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Update available

Changes

- added verbose mode
- added feature that allows you to enforce a different library to be loaded
- fixed issues related to imperfect stream patching
- fixed issues with old libraries with missing functions that cause xtool to crash on startup
- updated oodle codec
- updated reflate codec
- updated zstd codec

Notes

You can now enforce xtool to use a specific library rather than renaming the library for it to picked up by xtool.

Code:
[External compressor:xtool]
header    = 0
packcmd   = xtool.exe precomp { -moption} -c32mb -t100p --zstd=libzstd148.dll - - <stdin> <stdout>
unpackcmd = xtool.exe decode -t100p - - --zstd=libzstd148.dll <stdin> <stdout>
Available parameters for this are:
--zlib=filename, --lz4=filename, --lzo=filename, --zstd=filename, --oodle=filename

You can also use this to run multiple tests to see which zstd or oodle library gives the best output by running these commands on a small sample:
Code:
xtool.exe precomp -mkraken -c32mb -t100p --oodle=oo2core_7_win64.dll - - < %1 > %1.out1
xtool.exe precomp -mkraken -c32mb -t100p --oodle=oo2core_7_win64_2.dll - - < %1 > %1.out2
xtool.exe precomp -mkraken -c32mb -t100p --oodle=oo2core_8_win64.dll - - < %1 > %1.out3
xtool.exe precomp -mkraken -c32mb -t100p --oodle=oo2core_fifa22.dll - - < %1 > %1.out4
Then you can pick whichever produces the best results

___

Oodle code has been updated, if you having issues with stream detection you can use the parameter n1 (kraken,n1), where the old code will be used. it can also be n2 or n3, depending on how many times each stream should be redetected (for improved results but at a cost of speed)
If this doesn't help then use the side project.

___

Verbose mode was added to give information about input, as to what parameters are used for streams within the input and if you see a common trend then you directly use these parameters to speed up xtool and also give it the opportunity to patch streams if there are any invalid streams.

Verbose mode will enforce xtool to 1 thread thus it should not be used by default as it will slow now precompression.
Attached Images
File Type: jpg verbose.JPG (205.5 KB, 217 views)

Last edited by Razor12911; 27-02-2022 at 03:47.
Reply With Quote
The Following 12 Users Say Thank You to Razor12911 For This Useful Post:
:( Sad8669 (27-02-2022), Cesar82 (27-02-2022), elit (09-03-2022), Gehrman (28-02-2022), hdneo (28-02-2022), KaktoR (27-02-2022), kingkaos (01-03-2022), L0v3craft (01-03-2022), Masquerade (27-02-2022), ScOOt3r (27-02-2022), seryogakms (27-02-2022), Wanterlude (05-03-2022)
  #7  
Old 27-02-2022, 04:01
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,688
Thanks: 1,106
Thanked 7,335 Times in 2,837 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)
  #8  
Old 27-02-2022, 04:14
:( Sad8669 :( Sad8669 is offline
Registered User
 
Join Date: Oct 2020
Location: -
Posts: 203
Thanks: 97
Thanked 188 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.
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)
  #9  
Old 28-02-2022, 05:38
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,372
Thanked 89 Times in 48 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)
  #10  
Old 28-02-2022, 15:31
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 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)
  #11  
Old 01-03-2022, 23:34
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,372
Thanked 89 Times in 48 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, 27 views)

Last edited by Gehrman; 02-03-2022 at 03:16.
Reply With Quote
  #12  
Old 16-03-2022, 20:38
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Gehrman View Post
Sorry for late response but here's an example.

in the generate folder, you'll get the example of how database would be created.

Code:
xtool.exe generate -mre4lfs "game\*" "game\*" lfs.xtl
You'll notice that the unpacked data and the original data is the same, that's because this tool accepts game files as they are and doesn't need to extract additional streams.

Note: Chunk size is should be the same size as the largest stream/file

then in precompress folder is where you need to transfer the generated database file from generate folder to precompress folder (lfs.xtl)

Look in xtool.ini to see how the program should be configured based on the information you provided.

Code:
[re4lfs]
Encode=re4lfs.exe <filein>.lfs <fileout>.pack
Decode=re4lfs.exe <filein>.pack <fileout>.lfs
Results of the samples you provided
Code:
Compressed 5 files, 2,853,066 => 6,511,766 bytes. Ratio 228.24%
Compression time: cpu 0.02 sec/real 1.06 sec = 1%. Speed 2.70 mB/s
Attached Files
File Type: 7z example.7z (3.23 MB, 63 views)
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Gehrman (17-03-2022)
  #13  
Old 17-03-2022, 05:45
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Note: Chunk size is should be the same size as the largest stream/file
generate -c##
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Gehrman (17-03-2022)
  #14  
Old 17-03-2022, 06:51
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,372
Thanked 89 Times in 48 Posts
Gehrman is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
generate -c##
good work
Code:
@echo off
xtool.exe generate -mre4lfs -c512mb "game\*" "game\*" lfs.xtl 
pause
Thank you for this wonderful tool
Reply With Quote
  #15  
Old 28-02-2022, 21:30
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 410
Thanks: 453
Thanked 444 Times in 204 Posts
dixen is on a distinguished road
Razor12911
Is it possible to make lz2k-plugin for XTool?
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 13:08.


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