PakBlacklist-Development.txt

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.