|
Once your game is complete, you can package a release version for distribution. Whether you go through the Project Launcher in the editor or the Project Launcher tab in Unreal Frontend,the steps are the same for packaging a release-versioned project. However, depending on if you are creating a Windows game and need to create your own installer, shipping a mobile project,or targeting another platform, the steps you take with the finished packaged content will be different.
This is an example of packaging a 1.0 release of ShooterGame, aimed at Windows 64-bit, localized in English.
Open the Project Launcher, either within Unreal Editor or using Unreal Frontend.
Create a new Custom Launch Profile using the + button.
Set a name and description for your profile.
There are a number of settings for the release process.
Project
You can set the specific project to use, or use Any Project to patch the current project.
Build
Set the build configuration to Shipping.
Optionally, expand Advanced Settings if you need to build UAT as part of the release.
Cook
Select By the Book as the cooking method in the dropdown menu.
Check the boxes for all platforms you would like to cook content for. In this example for Windows testing, we have selected WindowsNoEditor.
Check the boxes for all cultures to cook localizations for.
Check the boxes for which maps to cook.
In Release/DLC/Patching Settings:
Check the Create a release version of the game for distribution. checkbox.
Enter a version number for this release.
Expand Advanced Settings and make sure the following options are enabled, as well as any others you need for your specific project's distribution method:
Compress content
Save packages without versions
Store all content in a single file (UnrealPak)
Also under Advanced Settings, set the cooker configuration to Shipping.
Package
Set the build to Package store locally.
Deploy
Set the build to Do Not Deploy.
Once you have set all the above settings, navigate back to the main profile window using the Back button in the top right corner.
Click on the launch icon next to your Release profile.
The project launcher will go through the building, cooking, and packaging process. This may take some time depending on the complexity of your project.
Once the operation is complete, close the window or click on Done. You can test the patch now with the steps below.
Save the asset registry and pak file from [ProjectName]\Releases[ReleaseVersion][Platform]</code>. In this example, this is ShooterGame\Releases\1.0\WindowsNoEditor</code>.
The asset registry and pak file will be needed for any future patches or DLC to check against.
On Windows, you can test running the project from [ProjectName]\Saved\StagedBuilds\WindowsNoEditor</code>.
While Steam will allow you to upload full packages of your game and do the updating process for you, using release versions as outlined here is still the recommended practicewhen distributing through Steam. This will make the process smoother if you decide to add additional supported platforms or distribution methods later on.
|
|