View Single Post
  #61  
Old 18-02-2022, 21:37
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,116 Times in 2,296 Posts
Razor12911 is on a distinguished road
Bink Compressor Patch

Some cls I created after my first use of bpk... which was on Watch Dogs videos and it produced some error and from what I understand is that some videos cause bpk to bug out so this cls-bpt (bpk patch) just tries to filter out the videos that cause these errors. (You do not gain ratio from these videos as they are just skipped)

If the code used in cls-bpk.dll is the same as bink_pack.exe then this should work without problems (same goes for the decoder).

The principle of cls-bpt is bk2 videos are scanned and, both encoded and decoded by bink_pack.exe and bink_unpack.exe respectively, if either one of them fail then the data is not passed through the original cls-bpk.
This will avoid the "motion data" error message and a possible crash afterwards.

Given the involvement of bink_pack.exe and bink_unpack.exe, this means that every single video is at least encoded twice and decoded once when compressing and this will probably more than half the speed performance than when using bpk originally however when decompressing, the speed remains the same

Required files when compressing
Code:
bink_pack.exe
bink_unpack.exe
cls-bpk.dll
cls-bpt.dll
Required files when decompressing
Code:
cls-bpk_u.dll
cls-bpt.dll
You can get bpk from here.

Notes

Only use this cls when you are having issues with bpk as there is no telling if bpt will produce errors of its own or if it will affect ratio.
This only focuses on bk2 videos.
Attached Files
File Type: 7z cls-bpt_R1.7z (416.9 KB, 353 views)

Last edited by Razor12911; 18-02-2022 at 21:42.
Reply With Quote
The Following 16 Users Say Thank You to Razor12911 For This Useful Post:
Abbat (28-11-2024), Cesar82 (20-02-2022), ffmla (19-02-2022), Gehrman (19-02-2022), Guravkov2010 (06-07-2022), hdneo (28-02-2022), L0v3craft (18-02-2022), Lord.Freddy (16-08-2022), Masquerade (20-02-2022), ramydarkness (19-03-2022), sathex (30-08-2023), ScOOt3r (19-02-2022), shazzla (18-02-2022), st0rm (19-02-2022), Vladislav989 (01-01-2023), Wanterlude (09-12-2022)
Sponsored Links