UE4 Introduction (1)--source code acquisition and compilation

Source: Internet
Author: User

Preface
Recently, UE4 gradually has a tendency to look up, and because of its outstanding performance in VR Game design has been favored by developers, more amazing is that the source of the engine is open source, this is the hope to study the engine of the Code of the Yards of the farm, excellent is a bit too good. first, engine installation:

There are two ways of installing the engine:
-Download engines, tools and resources via the official laucher: After logging into Epic Games account, open Https://www.unrealengine.com/dashboard, Select the Epicgameslauncherinstaller required for the platform to download the installation engine in the first item;

-Download the GitHub official source code and use Visual Studio to compile the engine tools. Second, UE4 source download:

Open UE4 's website link to register for an epic games personal account. After logging in to your account, refer to the official how to link your GitHub account with the description of Unreal Engine 4 source code to download the full Unreal Engine source from GitHub. Third, the source code compilation:

After downloading the source code, unzip to a local directory that does not contain Chinese :

-compilation requires Visual Studio programming tools, so you need to install 2013 or 2012 version of VS;
-Find the Setup.bat file in the solution directory:

-click the Generateprojectfiles.bat file after batch processing, double click this file to generate the ue4.sh file of the source project;
-Double click on the generated. sh file above, will open the source code in VS, with the import completed, select Ue4.sh, right-click Build, wait for the compilation to complete.
-After the build, in the current source root directory, open engine\binaries, there will be a folder for different platforms, open Win64, open UE4Editor.exe can open UE4 editor. Iv. Description of defects:

The

Engine tools compiled with source code is a bit inadequate, that is, access to marketplace must pass through Laucher, and as long as the official Laucher is installed and started, the latest engine kit (about 7G) is automatically downloaded. There will be two versions of UE4 on the machine at this time (the official laucher downloaded and compiled by itself), but the resources downloaded from the official laucher in marketplace can be used normally in the engine tools that you compile.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.