Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

HITMAN 3 Mod Framework

A tool to dynamically assemble mods to handle inter-mod dependencies and reduce conflict potential. · By onionsquid

Weird error when patching

A topic by Bnememe created Oct 30, 2021 Views: 3,299 Replies: 1
Viewing posts 1 to 2
(1 edit)

Hello, when patching I get this error:

Please wait while the framework updates your game.   
Preparing...
Something went wrong: Traceback (most recent call last):  
File "E:\Games\Hitman 3\Runtime\Framework\tools\main.py", line 33, in <module>    
packagedefinition = tools.packagedefinition.PackageDefinitionResource(  
File "E:\Games\Hitman 3\Runtime\Framework\tools\..\tools\packagedefinition.py", line 20, in __init__    
with open(path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'E:\\Games\\Hitman 3\\Runtime\\Framework\\tools\\..\\.\\packagedefinition.txt.framework-original' If you don't understand the error message above, try uninstalling non-framework mods or remove the mod or content pack listed directly before the error occured. Press any key to continue . . .

Any ideas on how to fix it? I've tried a clean install but nothing happens, same error

EDIT: ok, so after some backtracking it turns out the packagedefinition.txt-framework-original went missing or got accidentally deleted. I keep backups of everything so I just put a backup of that file in the runtime folder and all is well.

Developer

In case others run into the same error: the error is about the framework not finding an unaltered version of packagedefinition.txt. You can either restore packagedefinition.txt-framework-original from a recent backup or verify your game files through Epic games to fix it.