# PakBlacklist-Development.txt

**URL:** <https://forums.unrealengine.com/t/pakblacklist-development-txt/345010>\
**Category:** Platform & Builds\
**Tags:** pak, unreal-engine, bug-report, question\
**Created:** [January 23, 2016, 8:53pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010 "2016-01-23T20:53:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [January 23, 2016, 6:03am UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/1 "2016-01-23T06:03:18Z")

</div>

I worked out how to cook the DLC (cunning use of all new Eye Technology applied against the output from the profile launcher).

SessionName below matches the custom launch profile name created in the ProjectLauncher.

“C:\Program Files (x86)\Epic Games\4.10\Engine\Build\BatchFiles\RunUAT.bat” BuildCookRun -project=“C:/Users//Documents/Unreal Projects/UE4Cooker/UE4Cooker.uproject” -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -rocket -utf8output -platform=Win64+Win64 -targetplatform=Win64 -cook -map= -unversionedcookedcontent -pak -dlcname=DLC -basedonreleaseversion=1.0 -compressed -stage -package -cmdline= -Messaging -addcmdline=-SessionId=54E658F4468616D31A34EEB8C0D85FE1 -SessionOwner=ThomasShepherd -SessionName=‘DLC’

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [January 23, 2016, 8:53pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/2 "2016-01-23T20:53:59Z")

</div>

My blacklist files seem to be being ignored.

[EDIT: Still a problem] Attached is a sample project - very small - that I’m trying to strip to an absolute minimal spec. I’ve tried a few different paths but none of them seem to work - if someone could tell me what’s wrong I’d be very grateful!

[EDIT: Worked out!] A second question is how to get RunUAT or similar to build only the DLC plugin (that’s what cookDLC is **meant** to be doing).

[link text][1]

[75604-ue4cooker.zip](https://forums.unrealengine.com/uploads/short-url/p3ul3OSW9KKXd8JKQ4Ta8VvjK8o.zip) (87 KB)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [January 26, 2016, 10:07pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/3 "2016-01-26T22:07:34Z")

</div>

Hey TheOneCalledTom,

I’d like to verify that you’ve resolved your issue that you were originally having?

Thanks!

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [January 26, 2016, 10:51pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/4 "2016-01-26T22:51:29Z")

</div>

Hey !

Nope. I’ll probably be back testing in that area later in the week. Is there anything obviously wrong with the blacklists I have in the zip attached to my first post?

The success post above was to confirm I could build DLC.

-

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [January 28, 2016, 7:47pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/5 "2016-01-28T19:47:27Z")

</div>

So, I was able to run your RunUAT without any trouble, once I changed the location to match what’s on my computer. So hopefully that isn’t an issue you’re experiencing any longer.

Looking into the Pakblacklist issue you’re running in to, I was unable to find much information on it. However, I did find an [AnswerHub post][1] which has a suggestion that may actually help you. Please try their suggestion and let me know.

Thanks!

[How do you use PakBlacklist-Shipping.txt? - Mobile - Epic Developer Community Forums](https://answers.unrealengine.com/questions/305354/how-do-you-use-pakblacklist-shippingtxt.html)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [February 1, 2016, 8:05pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/6 "2016-02-01T20:05:49Z")

</div>

Hey TheOneCalledTom,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [February 4, 2016, 6:36pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/7 "2016-02-04T18:36:09Z")

</div>

I’ve followed that post - and a couple of others but have yet to reduce the created pak file size.

For instance, I’d like to remove all Engine/Content/Slate files from my WindowsNoEditor build. I’ve created a PakBlackList-Development.txt file in my Build/WindowsNoEditor folder and put the fully qualified path in it:

C:/Program Files (x86)/Epic Games/4.11/Engine/Content/Slate/

Then I delete:

- MyProject/Build/WindowsNoEditor anything that isn’t a black list file
- MyProject/Saved/Cooked
- MyProject/Saved/StagedBuilds
- MyProject/Intermediate/Staging

And build.

Looking at the built pak file using UnrealPak pakname -List (where pakname is MyProject\Saved\StagedBuilds\WindowsNoEditor\MyProject\Content\Paks\MyProject-WindowsNoEditor.pak) I can see that there’s a lot of Engine/Content/Slate files in there.

Which makes me think the blacklist isn’t working.

Note that RunUAT works fine in that the pak file created is valid and there are no errors, it’s just 13MB for a completely empty project and I’d like to reduce that to the bare minimum which is what I thought the black lists were meant to help with.

-

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [February 4, 2016, 6:42pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/8 "2016-02-04T18:42:31Z")

</div>

I’ve also tried this (relative path from Engine/Binaroes/Win64 binaries)

…/…/…/Engine/Content/Slate/

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [February 4, 2016, 6:44pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/9 "2016-02-04T18:44:04Z")

</div>

So one question it would be good to get info on is:

Is there anyway to tell if the blacklist file is being picked up? For instance some reassuring output that says “Found PakBlacklist-Development.txt”.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [February 5, 2016, 9:36pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/10 "2016-02-05T21:36:01Z")

</div>

Do you have ‘use pak file’ selected in your packaging settings?

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [February 8, 2016, 6:33pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/11 "2016-02-08T18:33:44Z")

</div>

Yes - I’m building pak files. What would help would be clarification from the devs on two points:

1. Supported path formats (relative to what, etc)
2. How do we know if the system is even using the file (output).

Thank for following up !

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [February 8, 2016, 9:18pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/12 "2016-02-08T21:18:22Z")

</div>

I packaged your project using the format …/…/…/Engine/Content/EditorMeshes/ColorCalibrator/ (example) and noticed that files were excluded from the build. It went from 217 megabytes originally to 174 megabytes once packaged using the method above to exclude files.

If you’re using 4.9 or above, you can place a text file in your projects **Build/Platform/(TargetPlatformFolder)** directory which tells the cooker to exclude partial or complete file-paths from being packaged into your project.

Example - **Blacklist Text File Location & Name:** TappyChicken/Build/Android/ **PakBlacklist-Shipping.txt** :  
…/…/…/Engine/Content/EditorMeshes/ColorCalibrator/  
…/…/…/Engine/Content/EngineDebugMaterials/  
…/…/…/Engine/Plugins/Runtime/LeapMotionController/

The first three entries should be safe for any project, but there may be cases were the **AssetRegistry.bin** is needed at runtime depending on your project. It is highly recommend that you thoroughly test to ensure that the content you are removing will not negatively impact your project.

Please check out the following links:

- [Packaging Blacklist Documentation](https://docs.unrealengine.com/latest/INT/Platforms/Android/ReducingAPKSize/index.html#packageblacklist)
- [Large package sizes - AnswerHub](https://answers.unrealengine.com/questions/70842/why-are-android-file-sizes-so-big.html)

Thanks!

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [February 8, 2016, 10:12pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/13 "2016-02-08T22:12:06Z")

</div>

Yep - 'fraid to say I’ve followed those directions with multiple variations and not been able to remove files from my pak that I’m trying to nuke.

Given the process as outlined is pretty simple either I’m missing something silly, or there’s a issue with the process that prevents it working in my environment.

Before we continue though perhaps you could confirm that you can remove slate content from your pak file.

1. Add this line to your black list file: …/…/…/Engine/Content/Slate/
2. Build the pak file (perhaps delete intermediate, saved and anything that isn’t a blacklist file under your build directory before approaching this? I read that someone needed to so I’ve been doing it religiously each attempt).
3. Confirm that your pak file does not contain Engine/Content/Slate content

To do this last step use UnrealPak to list the files within the resultant pak file. For instance:

```
Unrealpak "C:\Users\\Documents\Unreal Projects\StagingTest\Releases\1.0\WindowsNoEditor\StagingTest-WindowsNoEditor.pak" -List > FileList.txt

```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [February 9, 2016, 9:59pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/14 "2016-02-09T21:59:16Z")

</div>

I am looking into this, I will respond back once I have finished investigating.

Thank you! 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [February 10, 2016, 7:45pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/15 "2016-02-10T19:45:10Z")

</div>

So, I have looked into this further, and I have noticed that the Project\WindowsNoEditor\Engine\Content\Slate stays behind once it’s packaged, even when you use the UnrealPak to verify. With that being said, I have submitted a bug report to our Developers. I will update this post when UE-26771 has been fixed, or if there has been clarification provided that wasn’t included in our documentation.

Thanks!

---

<div class="post-metadata">

**Author:** ![MrFred](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrFred](https://forums.unrealengine.com/u/MrFred)\
**Post date:** [February 12, 2016, 8:27pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/16 "2016-02-12T20:27:20Z")

</div>

Hi

I’m looking into this however everything seems to be working correctly for me.  
I see in the log

Project.CreatePakResponseFileFromStagingManifest: Applying PAK blacklist file E:\stream1\Samples\Games\MemoryGame\Build\Win64\PakBlacklist-Development.txt  
Project.CreatePakResponseFileFromStagingManifest: Excluding E:\stream1\Samples\Games\MemoryGame\Saved\Cooked\WindowsNoEditor\Engine\Content\EditorMeshes\EditorPlane.uasset  
Project.CreatePakResponseFileFromStagingManifest: Excluding E:\stream1\Samples\Games\MemoryGame\Saved\Cooked\WindowsNoEditor\Engine\Content\EditorMeshes\ColorCalibrator\M\_ChromeBall.uasset  
Project.CreatePakResponseFileFromStagingManifest: Excluding E:\stream1\Samples\Games\MemoryGame\Saved\Cooked\WindowsNoEditor\Engine\Content\EditorMeshes\ColorCalibrator\M\_ClearCoat.uasset  
Project.CreatePakResponseFileFromStagingManifest: Excluding E:\stream1\Samples\Games\MemoryGame\Saved\Cooked\WindowsNoEditor\Engine\Content\EditorMeshes\ColorCalibrator\M\_ClearCoatBlack.uasset  
Project.CreatePakResponseFileFromStagingManifest: Excluding E:\stream1\Samples\Games\MemoryGame\Saved\Cooked\WindowsNoEditor\Engine\Content\EditorMeshes\ColorCalibrator\M\_ColorGrid.uasset  
Project.CreatePakResponseFileFromStagingManifest: Excluding E:\stream1\Samples\Games\MemoryGame\Saved\Cooked\WindowsNoEditor\Engine\Content\EditorMeshes\ColorCalibrator\M\_GreyBall.uasset  
Project.CreatePakResponseFileFromStagingManifest: Excluding E:\stream1\Samples\Games\MemoryGame\Saved\Cooked\WindowsNoEditor\Engine\Content\EditorMeshes\ColorCalibrator\SM\_ColorCalibrator.uasset  
Project.CreatePakResponseFileFromStagingManifest: Excluding E:\stream1\Samples\Games\MemoryGame\Saved\Cooked\WindowsNoEditor\Engine\Content\EditorMeshes\ColorCalibrator\T\_ColorGrid.uasset

then when I test the pak file those files are missing.

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [February 12, 2016, 9:40pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/17 "2016-02-12T21:40:54Z")

</div>

MrFred you are a genius 🙂

Win64, I had my black list files in WindowsNoEditor and Windows.

Also you answered the question about what output to be looking for.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_31ce2672](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_31ce2672](https://forums.unrealengine.com/u/anonymous_user_31ce2672)\
**Post date:** [February 15, 2016, 6:21pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/18 "2016-02-15T18:21:47Z")

</div>

The thing that I don’t see answered here or on any of the documentation is where the paths are relative to defined in the blacklist file. Does anyone know?

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [February 15, 2016, 6:49pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/19 "2016-02-15T18:49:04Z")

</div>

UnrealUAT.exe I suspect - so C:\Program Files (x86)\Epic Games\4.11\Engine\Binaries\Win64 in my case. However it maybe that your own project directories are mounted relative to this somehow - also I’m not sure why you would need the extra …/ and Engine/ in the below example so maybe I’m just wrong…

…/…/…/Engine/Content/EditorMeshes/ColorCalibrator/

Clarification on this front would be awesome!

---

<div class="post-metadata">

**Author:** ![LouDilbert](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LouDilbert](https://forums.unrealengine.com/u/LouDilbert)\
**Post date:** [May 17, 2016, 2:30pm UTC](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010/20 "2016-05-17T14:30:25Z")

</div>

I also used WindowsNoEditor and failed, the correct path for a Win64 game is:

_GameName_/Build/Win64

[Next page](https://forums.unrealengine.com/t/pakblacklist-development-txt/345010.md?page=2)
