# Anybody Successfully Packaging DLC in 4.17+?

**URL:** <https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215>\
**Category:** Modding\
**Tags:** unreal-engine\
**Created:** [December 22, 2017, 6:48pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215 "2017-12-22T18:48:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![calembendell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@calembendell](https://forums.unrealengine.com/u/calembendell)\
**Post date:** [December 22, 2017, 6:48pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/1 "2017-12-22T18:48:10Z")

</div>

Hey everyone,

I’m having a lot of troubles packaging DLC as a pak file for my game compatible with 4.17+.  
I’m hitting a couple different issues being tracked by the developer team ([Unreal Engine Issues and Bug Tracker (UE-42880)](https://issues.unrealengine.com/issue/UE-42880), [Unreal Engine Issues and Bug Tracker (UE-53636)](https://issues.unrealengine.com/issue/UE-53636)).  
However, it’s extremely surprising that packaging DLC isn’t working.  
I can’t imagine there’s **nobody** packaging DLC for recent version of Unreal engine, which makes me think other groups have found workarounds.

Is anybody successfully packaging DLC in these Unreal versions?  
Can you share your workarounds?

Thank you!!!

---

<div class="post-metadata">

**Author:** ![calembendell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@calembendell](https://forums.unrealengine.com/u/calembendell)\
**Post date:** [February 5, 2018, 9:20pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/2 "2018-02-05T21:20:14Z")

</div>

Wellp, I’m going to give this a wee hopeful bump because a little over a month later I still haven’t managed to solve this pickle…

---

<div class="post-metadata">

**Author:** ![Makis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Makis](https://forums.unrealengine.com/u/Makis)\
**Post date:** [February 26, 2018, 9:45am UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/3 "2018-02-26T09:45:13Z")

</div>

Hello calembendell,

I was trying to see how a simple mod could work using the workflow by Tom Looman. But when packaging the mod from project launcher i could never get the game load the map.

I always get : **Packaging a DLC Plugin Fails with “Couldn’t Update Resources” Error.**

I see the mod pak file, i added it to my game pak folder, but never get loaded.

Are you using the version of unreal from the launcher too,or are you building from the source.

I am using the 4.18.3 version.

---

<div class="post-metadata">

**Author:** ![calembendell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@calembendell](https://forums.unrealengine.com/u/calembendell)\
**Post date:** [February 26, 2018, 8:27pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/4 "2018-02-26T20:27:53Z")

</div>

I still don’t have anything working.  
Neither with the 4.18.3 build, nor with 4.19 preview, nor with source build on the promoted branch.  
I’m working on the problem now.

---

<div class="post-metadata">

**Author:** ![Makis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Makis](https://forums.unrealengine.com/u/Makis)\
**Post date:** [February 27, 2018, 12:07pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/5 "2018-02-27T12:07:21Z")

</div>

> [@calembendell](#):
>
> I still don’t have anything working.  
> Neither with the 4.18.3 build, nor with 4.19 preview, nor with source build on the promoted branch.  
> I’m working on the problem now.

I don’t have the engine build from source to check it but since you build it from source, have you checked the WinPlatform.Automation.cs file mentioned in this thread:

---

<div class="post-metadata">

**Author:** ![calembendell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@calembendell](https://forums.unrealengine.com/u/calembendell)\
**Post date:** [February 27, 2018, 10:29pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/6 "2018-02-27T22:29:17Z")

</div>

> [@Makis](#):
>
> I don’t have the engine build from source to check it but since you build it from source, have you checked the WinPlatform.Automation.cs file mentioned in this thread:

The code has changed a little since then, so the fix from the answers forum doesn’t quite apply anymore, I think.  
However, you’ll find that even though the process is ending with an error message, a pak file will still be spat out by the system.  
The process that is failing should not to my knowledge actually affect the final pak file.  
Something else is causing paks to not load properly.

I’ve asked about it on the UDN a few business days ago, and I’m hoping to get a response soon 🙂

---

<div class="post-metadata">

**Author:** ![Makis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Makis](https://forums.unrealengine.com/u/Makis)\
**Post date:** [February 28, 2018, 7:57am UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/7 "2018-02-28T07:57:45Z")

</div>

Yesterday i noticed that this issue, UE-42880, was resolved. The target fix though is 4.20.

---

<div class="post-metadata">

**Author:** ![calembendell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@calembendell](https://forums.unrealengine.com/u/calembendell)\
**Post date:** [February 28, 2018, 9:37pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/8 "2018-02-28T21:37:11Z")

</div>

> [@Makis](#):
>
> Yesterday i noticed that this issue, UE-42880, was resolved. The target fix though is 4.20.

Thanks for catching that!  
It doesn’t look like it’s made its way onto the promoted branch just yet, but I’ll check for it every morning until it does and I’ll let you know if it makes a difference with the overall pak problems.

---

<div class="post-metadata">

**Author:** ![Fitz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fitz/32/1078894_2.png) [@Fitz](https://forums.unrealengine.com/u/Fitz)\
**Post date:** [March 2, 2018, 7:48pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/9 "2018-03-02T19:48:46Z")

</div>

Hi everyone,

I haven’t looked into this issue so I don’t have specific advice for how to address it, but If you need the fix from UE-42880 I can post it here.

it was fixed by calling WindowsExports.PrepForUATPackageOrDeploy() in BaseWinPlatform.Build only when not building DLC. The fix (CL 3909255) also renamed PrepForUATPackageOrDeploy to SetApplicationIcon to better reflect what the method actually does, which affected WindowsDeploy.cs, WindowsExports.cs and WinPlatform.Automation.cs.

WinPlatform.Automation.cs BaseWinPlatfor.Build() was:

[FONT=courier new] WindowsExports.PrepForUATPackageOrDeploy(Params.RawProjectPath, Params.ShortProjectName, SC.ProjectRoot, TargetConfigs, ExeNames, SC.EngineRoot);

and is now changed to:

**[FONT=courier new] if (!Params.HasDLCName)  
{  
WindowsExports.SetApplicationIcon(Params.RawProjectPath, Params.ShortProjectName, SC.ProjectRoot, TargetConfigs, ExeNames, SC.EngineRoot);  
}**

Cheers,

Jonathan

---

<div class="post-metadata">

**Author:** ![Makis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Makis](https://forums.unrealengine.com/u/Makis)\
**Post date:** [March 19, 2018, 8:01am UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/10 "2018-03-19T08:01:13Z")

</div>

> [@calembendell](#):
>
> Thanks for catching that!  
> It doesn’t look like it’s made its way onto the promoted branch just yet, but I’ll check for it every morning until it does and I’ll let you know if it makes a difference with the overall pak problems.

Hello calembendell,

Have you managed to package a dlc/plugin?

---

<div class="post-metadata">

**Author:** ![calembendell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@calembendell](https://forums.unrealengine.com/u/calembendell)\
**Post date:** [March 22, 2018, 6:33pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/11 "2018-03-22T18:33:28Z")

</div>

Hey @Makis ,

Good news.  
Try using 4.19 to package your DLC using the regular profiler method.  
You’ll still hit the error at the end but the package itself will work well.  
I am using a plugin developed by another gentleman to load the pak files at runtime.  
I’ll talk to him about open sourcing it somewhere 🙂

---

<div class="post-metadata">

**Author:** ![Makis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Makis](https://forums.unrealengine.com/u/Makis)\
**Post date:** [March 23, 2018, 7:14am UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/12 "2018-03-23T07:14:36Z")

</div>

> [@calembendell](#):
>
> Hey @Makis ,
> 
> Good news.  
> Try using 4.19 to package your DLC using the regular profiler method.  
> You’ll still hit the error at the end but the package itself will work well.  
> I am using a plugin developed by another gentleman to load the pak files at runtime.  
> I’ll talk to him about open sourcing it somewhere 🙂

Great news calembendell!

Thanks a lot.

I will give it a try later.

---

<div class="post-metadata">

**Author:** ![calembendell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@calembendell](https://forums.unrealengine.com/u/calembendell)\
**Post date:** [March 23, 2018, 6:15pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/13 "2018-03-23T18:15:30Z")

</div>

Ah! Forgot something @Makis .  
If you want to generate from the command line, you may find this project to be a good reference.

> **[GitHub - calben/CharacterPluginGenerator](https://github.com/calben/CharacterPluginGenerator)**
>
> Contribute to calben/CharacterPluginGenerator development by creating an account on GitHub.

In this file: [CharacterPluginGenerator/Program.cs at master · calben/CharacterPluginGenerator · GitHub](https://github.com/calben/CharacterPluginGenerator/blob/master/CreatePluginFromTemplate.Automation/Program.cs)  
Find function RunBuildDlcPackageProcess.  
That includes the command I’m using to build character packages.

---

<div class="post-metadata">

**Author:** ![Makis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Makis](https://forums.unrealengine.com/u/Makis)\
**Post date:** [March 24, 2018, 6:29am UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/14 "2018-03-24T06:29:43Z")

</div>

Thanks for the tip @calembendell .

I tried a few simple dlcs yesterday seems to work with 4.19. I need to check again how multiple patches work together.

But still no no luck adding a mod from a content plugin.

I added a simple map at one point(not in the plugin content folder, in the main’s game content folder) and build a dlc like i was building a mod in profile launcher, without being a patch and i could open it in game.

But with this approach i couldn’t load a blueprint or any changes in a blueprint doesn’t work.

---

<div class="post-metadata">

**Author:** ![TestyRabbit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TestyRabbit](https://forums.unrealengine.com/u/TestyRabbit)\
**Post date:** [May 9, 2018, 1:49am UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/15 "2018-05-09T01:49:49Z")

</div>

> [@NaturalPanic](#):
>
> Hi everyone,
> 
> I haven’t looked into this issue so I don’t have specific advice for how to address it, but If you need the fix from UE-42880 I can post it here.
> 
> it was fixed by calling WindowsExports.PrepForUATPackageOrDeploy() in BaseWinPlatform.Build only when not building DLC. The fix (CL 3909255) also renamed PrepForUATPackageOrDeploy to SetApplicationIcon to better reflect what the method actually does, which affected WindowsDeploy.cs, WindowsExports.cs and WinPlatform.Automation.cs.
> 
> WinPlatform.Automation.cs BaseWinPlatfor.Build() was:
> 
> [FONT=courier new] WindowsExports.PrepForUATPackageOrDeploy(Params.RawProjectPath, Params.ShortProjectName, SC.ProjectRoot, TargetConfigs, ExeNames, SC.EngineRoot);
> 
> and is now changed to:
> 
> **[FONT=courier new] if (!Params.HasDLCName)  
> {  
> WindowsExports.SetApplicationIcon(Params.RawProjectPath, Params.ShortProjectName, SC.ProjectRoot, TargetConfigs, ExeNames, SC.EngineRoot);  
> }**
> 
> Cheers,
> 
> Jonathan

Thank you very much Jonathan, I was searching for this fix and it works! Looking forward to it being native in 4.20.

Thanks,  
Testy

---

<div class="post-metadata">

**Author:** ![FanOfUE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FanOfUE](https://forums.unrealengine.com/u/FanOfUE)\
**Post date:** [May 9, 2018, 3:11pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/16 "2018-05-09T15:11:56Z")

</div>

I did it with 4.19.2, launcher version. I have to say that settings on launcher profiles are quite confusing, and the reference is [A new, community-hosted Unreal Engine Wiki - Announcements and Releases - Unreal Engine Forums](https://wiki.unrealengine.com/Modding:_Adding_mod-support_to_your_Unreal_Engine_4_project)

---

<div class="post-metadata">

**Author:** ![Makis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Makis](https://forums.unrealengine.com/u/Makis)\
**Post date:** [May 11, 2018, 10:29am UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/17 "2018-05-11T10:29:15Z")

</div>

> [@PatrickHC](#):
>
> I did it with 4.19.2, launcher version. I have to say that settings on launcher profiles are quite confusing, and the reference is [A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums](https://wiki.unrealengine.com/Modding:_Adding_mod-support_to_your_Unreal_Engine_4_project)

Hi PatrickHC,

Did you manage to pack and load successfully the map from the mod or did you just made a patch for the game?

Could you open the mod example map in the Tom Looman’s project?

If that’s the case, could you please share the launcher profiles or how you made it work?

---

<div class="post-metadata">

**Author:** ![FanOfUE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FanOfUE](https://forums.unrealengine.com/u/FanOfUE)\
**Post date:** [May 12, 2018, 6:33am UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/18 "2018-05-12T06:33:23Z")

</div>

> [@Makis](#):
>
> Hi PatrickHC,
> 
> Did you manage to pack and load successfully the map from the mod or did you just made a patch for the game?
> 
> Could you open the mod example map in the Tom Looman’s project?
> 
> If that’s the case, could you please share the launcher profiles or how you made it work?

Hi Makis, mine is the same as the settings shared by Looman’s project, although I use 4.19.2. Please do compile the project via launcher, and compile DLC via launcher.

---

<div class="post-metadata">

**Author:** ![Makis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Makis](https://forums.unrealengine.com/u/Makis)\
**Post date:** [May 12, 2018, 7:19am UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/19 "2018-05-12T07:19:45Z")

</div>

> [@PatrickHC](#):
>
> Hi Makis, mine is the same as the settings shared by Looman’s project, although I use 4.19.2. Please do compile the project via launcher, and compile DLC via launcher.

Hi Patrick,  
Thanks for your reply.

I found it yesterday. I made new launcher profiles and totally forgot to enable the build configuration option.

Now it works with Tom’s project.

I will try some other projects too and try to make a simple plugin to read the mod name/info and load the map from a UI menu.

I will make a new post/tutorial about it when is ready and upload it to github too.

---

<div class="post-metadata">

**Author:** ![Naitguolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Naitguolf](https://forums.unrealengine.com/u/Naitguolf)\
**Post date:** [September 11, 2018, 12:53pm UTC](https://forums.unrealengine.com/t/anybody-successfully-packaging-dlc-in-4-17/104215/20 "2018-09-11T12:53:42Z")

</div>

Hi! I am using 4.19. I am able to generate the APK app, but the DLC is generated only inside the /save project, instead of HTTPchunks folder. The HTTPchunks is created, but is empty. Besides, I cannot find the manifest file! Anyone can help with this please?

Thanks!

EDIT: To make it work with 4.19, you need to untick generate chunks from Edit - Project Settings - Packaging - Generate Chunks
