How to reduce the size of Windows Package for a project?

A few things:

  • Sorry about my UnrealPak command line, the wiki stripped out my brackets, so is missing the filename. It should read:

    Engine/Binaries/Win64/UnrealPak :ProjectDirectory:/Content/Paks/:PakFilename: -List > PakList1.txt

(Replacing the bits between colons with your particular stuff)

  • There is some basic engine packages that are always added to the pak files. Once you use the UnrealPak command on your .pak file, you can see what is large in there. It may be some localization data files, and slate content (are you using Slate in your game?)

  • You can see what is in packages with:

    UE4Editor -run=PkgInfo PathToPackage

HOWEVER, that does not seem to work with maps right now. I am tracking that down now to see if there’s a way.

  • You can compress your .pak file with a manual command line. In 4.8 we are planning to have a checkbox for that in the editor for packaging settings. If you want to try it now, I can help you with the manual packaging command line.

Josh