User:Maffblaster/Drafts/Unreal Engine

From Gentoo Wiki
Jump to:navigation Jump to:search

Unreal Engine 4 (UE4) is a cross-platform, next-generation game engine created by Epic Games. Although the Engine itself proprietary, development is performed in an open fashion with full code sources hosted on GitHub.

Those interested in the source must register by creating a user account with Epic Games, link their GitHub accounts, and abide by all the rules outlined in the EULA. Redistribution is not permitted since each user must individually acknowledge and agree to the End User License Agreement (EULA).

Installation

Prerequisites

Manually clone and build the sources

As mentioned in the summary, a few steps are necessary for each user to take in order to obtain the Unreal Engine sources:

  1. Create a user account with Epic Games.
  2. Link a GitHub profile.
  3. Manually clone the 4.9.x sources.

The remainder of this article will presume the 4.9.2 sources will be used for the build process.

See official upstream documentation for the latest details of the build process.

In short, from the base of the sources directory, run:

user $./Setup.sh
user $./GenerateProjectFiles.sh # This is the equivalent of make configure

Finally, once all the binary assets have been acquired, run build the project:

user $make

Usage

From the base of the sources directory, start the engine via:

user $./Engine/Binaries/Linux/UE4Editor

Troubleshooting

Clean and rebuild

As the upstream document says, if the project needs to be cleaned, run the following command:

user $make ARGS=-clean

Then rebuild the project with make.

Unreal Engine 4 build time

v4.9.2:

Build time for Engine on a i7-4790 CPU @ 3.60GHz, using all 8 cores:

CODE Build time
'"`UNIQ--pre-00000000-QINU`"'

Unreal Tournament 4 build time

Build time for Tournament on a i3770, using all 8 cores:

CODE Build time
'"`UNIQ--pre-00000003-QINU`"'

External resources