|
|
|
#1
|
||||
|
||||
|
Quote:
For me if I use --diff=* in arc.ini it doesn't work, return: ERROR: write error (disk full?) in compression algorithm xtool:c256mb:mbk2 Code:
Arc.ini
--cache=0
[External compressor:xtool]
header = 0
default = -c64mb -t100p
packcmd = "{compressor}.exe" precomp { -option} --diff=* - - <stdin> <stdout>
unpackcmd = "{compressor}.exe" decode -t100p - - <stdin> <stdout>
pack.bat
arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r -w.\temp -m"xtool:c256mb:mbk2" data.arc "pack\*"
xtool:c256mb:mbk2:-diff=* xtool:c256mb:mbk2:df* Code:
Arc.ini
--cache=0
[External compressor:xtool]
header = 0
default = -c64mb -t100p
packcmd = "{compressor}.exe" precomp { -option} - - <stdin> <stdout>
unpackcmd = "{compressor}.exe" decode -t100p - - <stdin> <stdout>
pack.bat
arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r -w.\temp -m"xtool:c256mb:mbk2:df*" data.arc "pack\*"
or
arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r -w.\temp -m"xtool:c256mb:mbk2:-diff=*" data.arc "pack\*"
Code:
FreeArc 0.67 (March 15 2014) using additional options: --cache=0 Creating archive: data.arc using xtool:c256mb:mbk2 Memory for compression 0b, decompression 0b, cache 0b Compressing 5 files, 336,582,396 bytes Compressing health_screen.bk2 Compressing ms_logo.bk2 Compressing ps_studios_long_strawberry_4k30_006.bk2 Compressing lt_outro_1080p.bk2 Compressing lt_intro_1080p.bk2 Compressed 5 files, 336,582,396 => 291,316,936 bytes. Ratio 86.55% Compression time: cpu 0.20 sec/real 29.95 sec = 1%. Speed 11.24 mB/s All OK |
| Sponsored Links |
|
#2
|
|||
|
|||
|
The --diff parameter in XTool sets a max size in bytes or percentage size of the stream in order for XTool to accept the stream.
The * character is just a placeholder (a wildcard effectively meaning anything/everything). My explanation meant you'd need to change this to an integer. By default, XTool will not accept a stream if the generated XDelta patch is greater in size than 5% of the stream, but using --diff= allows you to increase this threshold. You can use --diff=20p to set the max patch size to be less than or equal to 20% of the stream size for XTool to accept the stream. You can also use an integer to specify a max patch size in bytes (e.g. --diff=50000). |
| The Following User Says Thank You to Masquerade For This Useful Post: | ||
Cesar82 (18-02-2023) | ||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| XTool 2020 (Main Project) | Razor12911 | Conversion Tutorials | 713 | 01-06-2026 23:52 |
| XTool - Successor of ZTool | Razor12911 | Conversion Tutorials | 584 | 22-04-2023 18:16 |
| [Dev]XTool | Razor12911 | Conversion Tutorials | 180 | 23-10-2020 06:26 |
| XTool 2019 (Plugins) | Razor12911 | Conversion Tutorials | 50 | 16-05-2020 06:14 |