Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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.

  1. Is it possible to cook only the project's content to a pak file somehow?

  2. If users have to use the "Build DLC" option, how would I supply the required release files? Does it just need access to the main project's AssetRegistry.bin and pak file somehow?

  3. Is there anything coming out of Epic regarding this level of modding support? Should I be holding off and waiting?

Product Version: UE 4.15
more ▼

asked Mar 28 '17 at 04:20 AM in Packaging & Deployment

avatar image

298 29 45 48

avatar image Motanum Apr 05 '17 at 12:57 PM

I am having the same problem. The steps to create a pak file are so damn tedious.

I thought of having a folder called "ModName/Content/..." and then just drag that to UnrealPak.exe or maybe even try D:\UnrealEngine\UE_4.15\Engine\Binaries\Win64\UnrealPak.exe "D:\Dropbox\MusicalRange-Design\CDLC\TenaciousD-Beelzeboss" -Create=TenaciousD-Beelzeboss

But it doesn't work that way it seems.

I really hope Epic start tackling this issue soon. Beacsue having mods is a MUST for many games out there including mine.

EDIT, I also thought of creating an empty template project for DLC that I would share with users. But setting up the build for the project and then the DLC is such a mess and so complicated. It fails every single time I have tried, even with 2 different engine versions.

I just want to be able to select a folder and say "package that"

avatar image wilberolive Apr 06 '17 at 01:17 PM

I know how you feel. That's what I've been trying to do too.

avatar image David Gundry Sep 19 '18 at 01:10 PM

Any progress on this?

avatar image Xiloow_ Apr 23 '19 at 06:08 PM

Please found a fix, I want to build pak file mods :c

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question