Skip to content

Prepare Engine (Windows)

BleuRaven edited this page Dec 20, 2024 · 20 revisions

Get sources from GitHub

Open console from M:\MMVS_EngineFiles (Skip if it already exists)

git clone git@github.com:EpicGames/UnrealEngine.git

Prepare Files

Open console from the M:\MMVS_EngineFiles\UnrealEngine folder. Update local references with the latest changes from the server:

git fetch

Reset all local changes and switch branches:

git clean -fdx
git reset --hard HEAD
git stash clear

Check is clean with:

git status

List available tags and update: Press the 'q' button to exit from interactive mode.

git tag
git checkout 5.4.4-release

Run the setup and project files generation scripts for Unreal Engine:

.\Setup.bat
.\GenerateProjectFiles.bat

Set Engine Config

Open BuildConfiguration.xml

notepad .\Engine\Saved\UnrealBuildTool\BuildConfiguration.xml

And replace its content with:

<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">

<SourceFileWorkingSet> 
<Provider>None</Provider> 
<RepositoryPath></RepositoryPath> 
<GitPath></GitPath> 
</SourceFileWorkingSet>
</Configuration>

Build Engine

.\Engine\Build\BatchFiles\Build.bat UnrealEditor Win64 Development -waitmutex

OR

  • Open "UE5.sln"
  • Set Development Editor
  • Right Click Solution -> Build Solution

Open Editor

./Engine/Binaries/Win64/UnrealEditor.exe

More Infos

https://github.com/EpicGames/UnrealEngine

Clone this wiki locally