This PR adds support for Bink video (version 1) to Tiberian Sun. Sidebar video support is not implemented in this PR.
This system is optional, three conditions must be met for the game to play a Bink video;
The .BIK video must exist (for example, WWLOGO.BIK).
The user's resolution must be at least 800x600.
The Bink library is found, BINKW32.DLL.
It is suggested you create videos at a resolution of no larger than 800x600. The game will attempt to show an error message when the video is larger than the users resolution, but may also crash. Please keep this in mind.
The implementation is based on the same version that Red Alert 2 uses, thus only works with Bink V1.0~.
Some additional notes:
Due to the use of the older version of the BINKW32.DLL, please make sure any .BIK video you produce sets the "Compress level" to the desired compression level +100. For example; A level of 4 should be 104, this makes the encoder produce the BIK video file with the older audio format which is required by the older DLL. Otherwise, you will not hear any audio when your video is played back by the game. See attached screenshot for the best options to use when creating the Bink video.
Also, an optional compile option can be used if you wish to make the Bink video playback interface exit on failure to play or find the .BIK, just compile the project with BINK_REQUIRED.
This PR adds support for Bink video (version 1) to Tiberian Sun. Sidebar video support is not implemented in this PR.
This system is optional, three conditions must be met for the game to play a Bink video;
It is suggested you create videos at a resolution of no larger than 800x600. The game will attempt to show an error message when the video is larger than the users resolution, but may also crash. Please keep this in mind.
The implementation is based on the same version that Red Alert 2 uses, thus only works with Bink V1.0~.
Some additional notes: Due to the use of the older version of the BINKW32.DLL, please make sure any .BIK video you produce sets the "Compress level" to the desired compression level +100. For example; A level of 4 should be 104, this makes the encoder produce the BIK video file with the older audio format which is required by the older DLL. Otherwise, you will not hear any audio when your video is played back by the game. See attached screenshot for the best options to use when creating the Bink video.
Also, an optional compile option can be used if you wish to make the Bink video playback interface exit on failure to play or find the .BIK, just compile the project with BINK_REQUIRED.
Optional settings for creating .BIK;