View Single Post
Old 18-02-2022, 21:37
Razor12911's Avatar
Razor12911 Razor12911 is offline
Join Date: Jul 2012
Location: South Africa
Posts: 3,636
Thanks: 2,013
Thanked 10,339 Times in 2,202 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
Required files when decompressing
You can get bpk from here.


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, 126 views)

Last edited by Razor12911; 18-02-2022 at 21:42.
Reply With Quote
The Following 10 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (20-02-2022), ffmla (19-02-2022), Gehrman (19-02-2022), hdneo (28-02-2022), L0v3craft (18-02-2022), Masquerade (20-02-2022), ramydarkness (19-03-2022), ScOOt3r (19-02-2022), shazzla (18-02-2022), st0rm (19-02-2022)
Sponsored Links