Fortnite Cook Procedure

How to Cook Fortnite and Create a Production Build


There are a few steps to the process of cooking Fortnite the way it is cooked by the builder for playtests. When Attempting to reproduce an issue with cooked Fortnite, follow these steps:

  1. Compile Development builds of the ForniteGame and FortniteEditor projects. (FortniteGame is Monolithic, pak files expect monolithic)

  2. Cook maps that are used by a full playtest using this command:

    UE4/Engine/Binaries/Win64/UE4Editor.exe FortniteGame -run=cook -mapinisection=allmaps -TargetPlatform=WindowsNoEditor -UnVersioned

    This will take about 20-35 minutes. The command goes back to the console prompt and works in the background without any status update.

  3. Build a pak file of the Fortnite content using this command:

  4. Distill the game into a shippable image (case sensitive!)

    UE4/Engine/Binaries/DotNET/distill -game=FortniteGame -platform=win32 -destination=c:\testimage\ -tagset=GameClient
  5. Launch Fortnite using the FortniteGame project and pak file:

    C:/TestImage/UE4/FortniteGame/Binaries/Win32/FortniteGame.exe -pak
  6. Use the UI to get into a level. Currently selecting Host New World, then selecting a zone on the left, and hitting Start Game will get you into a level to start testing.

  7. Perform some basic gameplay tests. Your character should be fully visible and animating. You should be able to knock down a tree or wall and gain a resource. You should be able to hit F1 to select a wall and place one somewhere in the world. If you pass that test, cooking is probably working well with your change.

Select Skin

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback