Other user's assetsSome assets in this file belong to other authors. You will need to seek permission from these authors before you can use their assets
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou must get permission to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
h6xtea made by A.W. Stanley. h6xtea is released under the Zlib licence and is a modern variant of the old `h6xxtea` made in 2016.
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.4.0
Use a more reliable way to find Hitman 2's location
Version 1.3.1
Add a note about smartscreen protection
Version 1.3.0
Change the execution policy to Bypass
Version 1.2.2
Add a fallback to find the current directory
Version 1.2.1
Launch script from the local scope (dot-sourced)
Version 1.2.0
Set all patchlevel values to 10000, not only for the chunk0 one, to allow DLC patching as well
Version 1.1.0
Use h6xtea instead of h6xxtea, a refactored and re-tuned 2019 version written in Rust by A.W. Stanley
Version 1.0.1
Add support for paths containing spaces
Version 1.0
Initial release
HITMAN 2 - PACKAGE DEFINITION PATCHER
This tool automatically updates the packagedefinition.txt encrypted file to use extra mods patches in HITMAN 2.
The packagedefinition.txt encrypted file tells how many patches the base game and DLCs should be recognised when playing. Patchlevel settings are usually set to a low value, but in order to play with mods, these settings must be higher to allow the game to recognise extra mods patches provided by the community.
This tool makes a copy of the original packagedefinition.txt file and sets all patchlevel values to 10000.
Package Definition Patcher is intended to work through the game updates without having to re-download it each time, unless if a future game update introduces a breaking change.
REQUIREMENTS
HITMAN 2
Microsoft Windows 7 or above (64 bits)
Powershell 3 or above. Included by default since Windows 8, for old Windows 7 computers who still uses Powershell 2, download a more recent version.
if you're running this game on Linux, you can use this online editor, drag or drop your packagedefinition.txt file and click on "Set Patch Levels", then save this file into Hitman 2's Runtime folder.