For the complete documentation index, see llms.txt. This page is also available as Markdown.

Videos: .bk2

Editing and Replacing videos in CyberPunk 2077 with RAD Video Tools

Viktor in his shop watching a modified video edit

This wiki page is about the .bk2 file format used in the game, and how to edit them.

TL;DR

The .bk2 file format is used in many games including Cyberpunk 2077. It stands for Bink 2 By Rad Tools and needs to be used to extract and recompress the video that you want to replace.

Converting to back to .bk2 requires a byte offset for the video to appear in the game.

Prerequisites

  • WolvenKit (obviously)

  • RAD Video Tools (available here)

  • Video Editor of Choice

Selecting A Video File

Searching in the asset browser for .bk2 files will get you every video in the game. For this tutorial we will be using the boxing video (q001_boxinggame.bk2)

Visit Viktor's RipperDoc, the boxing video consistently plays on his screen for easy testing.

asset browser

Add q001_boxinggame.bk2 to your project

Locating Video File on Your Computer

Click: Open In Windows Explorer

project file selection
windows explorer

Give it a Play

preview video

Converting to MP4 file format

RAD Tools
  1. Open RAD Video Editor and browse to: \source\archive\base\movies\fluff

  2. Select File

  3. Convert

Note: you can batch convert files in both directions by selecting multiple files.

Output Options

RAD Tools
  1. Convert

  2. Defaults to MP4, keep it.

Video Specifications:

Length: Should match the converted .mp4

Export: MP4

Size: 480p

FPS: 15fps is the game speed, 30fps is possible, but not recommended.

RAD Tools
RAD Tools

You must export to Bink 2.

Byte Offset Requirement

For reasons unknown, CyberPunk requires the 4th byte of your .bk2 file to to be changed to: 6A

Once your bk2 file has been created, you will need to edit the file with a hex editor.

HxD is a good windows solution that is free.

hxd byte offset

Change the 4th byte to 6A and save to: source\archive\base\movies\fluff

Install Your Mod

Since the working directory is Archive, there is no need to import.

Resources:

YouTube Video for more on RAD Tools.

Discord community.

Python Script: Automate byte offset all .bk2 files

This will automatically change the byte offset in all your .bk2 files at once in the working directory and subdirs.

Authors note: Thank you to Dark Fortune Teller on Discord for doing the hard work finding about the Byte offset

Last updated