Hi, thank you very much for your answer. I searched the net for encrypted paks and modify a package/mesh formats but unfortunately I couldn’t find any document. Do you know any doc or tutorial about encrypted paks and modify a package/mesh formats?
Again, Glidor, thanks a lot for your helpful answer
Add #define AES_KEY “Some_Long_Key_String”
to the project’s build settings or to AES.h file.
Force “-encrypt” option for UnrealPak in some way (there’s no GUI for that). Either modify UAT call to UnrealPak, or modify UnrealPak itself (look for “bNeedEncryption” in UnrealPak.cpp). Also you may execute UnrealPak with this option using the command line.
I see from the source code that UnrealPak tool requires a command line option “-encrypt”. I’m unsure how it could be passed there from UnrealEd’s GUI, perhaps you will need to modify engine’s source code to include it.
One of possible places for modifications is UnrealPak tool itself. Modify it so it will think about all produced paks as encrypted. See “ProcessCommandLine” function, look for “Input.bNeedEncryption |= bEncrypt;” code there.
Just in case, source file location is: