Create PAK files for mods
So I'm trying to create a PAK file of some content that I want to load into my game as a mod. I've created a separate project and added a couple of textures, materials and blueprints to it. Now I need to create a PAK file of this content with the matching AssetRegistry.bin file so I can load it at runtime and add it into the project's main AssetRegistry. The problem is that UE4 does not seem to have any option to "cook to pak file" that I can find anywhere.
The closest thing I can find is in the "Store all content in a single file (UnrealPak)" option under Cook in the Project Launcher. However, I can't seem to get it to cook just the few assets I have in my content folder. It seems to produce a pak file that is up over 20MB in size for what is only a few assets that should only be a few hundred KBs. So it seems it is cooking a whole lot more as well as building an executable for the project that I don't need.
So it seems like the next best option is to try and cook as DLC. By using this option it seems to only cook the projects content and the resulting pak is just 800KB, which is much better. BUT! The problem is that to use the "Build DLC" option requires the project to have access to the original release files of the main project that the mod is being added to.
Ultimately, it will be end users that will be creating mods, so I have a few questions regarding this.
asked Mar 28 '17 at 04:20 AM in Packaging & Deployment
Follow this question
Once you sign in you will be able to subscribe for any updates here