Packing and shipping a project

From PSwiki
Revision as of 12:03, 2 January 2017 by Talad (talk | contribs)
Jump to navigation Jump to search

To package and ship a project you need to have AutomationTool and UnrealBuildTool compiled. You can find those under your project .sln in the "programs" group. Compiling these with DebugGame config gave me errors, so I had to compile those with "Development" config.

Example of packing the VehicleGame sample on my machine. This will compile and package in one command. Consider DebugGame is stilla debug Build. Total is 770Mb (without pdb file)

C:\Luca\UnrealEngine\Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -project="F:\Unreal Projects\VehicleGame\VehicleGame.uproject" -noP4 -platform=Win64 -clientconfig=DebugGame -serverconfig=DebugGame -cook -allmaps -build -stage -pak -archive -archivedirectory="F:\temp\vehicle_packaged"


Example of packing the VehicleGame in Shipping config (best optimized). Total is 680Mb (without pdb file)

C:\Luca\UnrealEngine\Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -project="F:\Unreal Projects\VehicleGame\VehicleGame.uproject" -noP4 -platform=Win64 -clientconfig=Shipping -serverconfig=Shipping -cook -allmaps -build -stage -pak -archive -archivedirectory="F:\temp\vehicle_packaged_shipping"

Example of packing MyProject2 in Development configuration.

C:\Luca\UnrealEngine\Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -project="D:\Unreal Projects\MyProject2\MyProject2.uproject" -noP4 -platform=Win64 -clientconfig=Development -serverconfig=Development -cook -allmaps -build -stage -pak -archive -archivedirectory="F:\temp\myproject2"