|
|
|
#1
|
|||
|
|||
|
Bink Video
Last edited by Masquerade; 06-03-2023 at 01:34. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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) | ||
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
|||
|
|||
|
Xtool 0.71 dont compress Bink video
Quote:
Directly use Binkpack.exe or Freearc usaged whole Bink*.exe file and or CLS-based (de)compressors its works in (de)compress in vice versa... Packed 3.07GB huge BIK file correctly to 2.4GB size with Binkpack. Use Xtool 0.71 directly or Arc with configurations, don't compress smaller. |
|
#6
|
||||
|
||||
|
Quote:
Basically the 'MessageBoxA' was patched out and replaced with some other function from User32.dll. On some bink2 inputs you had encountered some error messages like 'MotionData_warn' or 'err'. I have included two samples for which it is the case. You shouldn't receive error messages anymore with this patched plugin. Inputs which would give these types of errors are just ignored but processed still, but not compressed with binkpack. Thanks to masquerade and Razor12911.
__________________
Haters gonna hate
|
| The Following 8 Users Say Thank You to KaktoR For This Useful Post: | ||
Abbat (26-01-2024), Gehrman (12-03-2024), kj911 (10-09-2023), L0v3craft (11-09-2023), Lord.Freddy (09-09-2023), murphy78 (15-09-2023), shazzla (09-09-2023), Wanterlude (10-09-2023) | ||
|
#7
|
|||
|
|||
|
Plugin Update
Added STDIN/STDOUT support for Bink Video plugin (thanks to Gehrman for idea). Thanks to 78372 for cls wrapper. Usage has not changed, but its significantly faster. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| XTool 2020 (Main Project) | Razor12911 | Conversion Tutorials | 714 | 19-07-2026 03:11 |
| 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 |