Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
A rather simple application that is designed to help create the necessary `.pak` files to assist with creating mods for Kingdom Come Deliverance 2.
Instructions
If you use the installer you can use this tool by right-clicking on your mod's folder and selecting the "PAK Mods" option. If your right-click context menu doesn't look like this you are using the new one and will have to click on "Show more options" to see the old menu. On newer versions of Windows you can go directly to the old menu by holding Shift and right-clicking.
If you are using the standalone application or don't want to use the right-click menu you can instead drag and drop your mod's folder onto the application itself.
Logic
This tool uses the below logic to determine how to pak your files.
1. It checks that you have a `mod.manifest` in the folder and contains a `<modid></modid>`. 2. It packages everything in `.\Data\*` , except for `.\Data\Levels\*`, into `.\Data\modid.pak`. 3. It packages everything in `.\Localization\**\*` into `.\Localization\**.pak`. 4. It packages everything in `.\Data\Levels\**\*` into `.\Data\Levels\**\modid.pak`