In this guide we'll look in more detail at PAK Builder's interface, inputs and options.
This guide is regularly updated to reflect changes in the application. The most recent version of KCD PAK Builder is v1.1.0.
The PAK Filename is the name that you want to give to your PAK File. PAK Builder will package up the contents, and then save it to a file with the name that you specify here. You can specify the full name including the .pak extension, or omit it. If you do omit it, PAK Builder will add the .pak extenson for you.
Note: Only letters, numbers, hypens and underscores are permitted characters for this field.
The PAK Output Directory is the folder that you want your PAK file to be saved to. Once the build is complete, open this directory to find your .pak file.
Note: This directory must exist
The Directory To Pack is the path to the directory/folder containing the contents that you want to package. If you open the .pak file once the build is complete, you'll immediately see the contents of the directory that you specified. For example, in our case we are pointing this field to a Data directory, which contains the following:
Once the build is complete, we will see this folder as soon as we open the .pak file in an archive tool like WinRAR.
Note: This directory must exist
Within the interface you'll find the button shown above. Clicking this button displays some additional options for PAK Builder, and clicking it again will hide them. As of v1.0.1, all of these options are ticked by default.
We'll take a look at these options in more detail.
Remembers the PAK Filename for the next time you open PAK Builder.
Remembers the PAK Output Directory for the next time you open PAK Builder.
Remembers the Directory To Pack for the next time you open PAK Builder.
Ticking this option will ensure that PAK Builder ignores any nested .pak files found in the Target Directory. KCD2 does not support nested PAK files, so this option is best left ticked.
In KCD2, PAK files have a size limit beyond which will the game will refuse to load it. If you take a look at the built-in PAK files in the game's Data directory, you'll see evidence of this. The single largest PAK file at the time of writing is around 1900-2000MB, and many PAK files are divided into multiple parts. There are 4 IPL_Objects PAK files for example, parts 0 to 4.
PAK Builder supports automatic splitting of PAK files with this option. Simply specify the maximum content size of a PAK file in MB, and PAK Builder will ensure that no PAK file exceeds this limit. If the directory being packed is larger than this number, PAK Builder will automatically begin splitting the data into multiple PAK files using the -partX.pak notation.
Initiates the PAK build. This button will be disabled if a build is currently in progress.
Cancels the current build. The button will be disabled if a PAK build is not currently running.
Displays the current build progress and stats.
Provides information and output concerning the build, including any errors.