Prepare Engine (Windows) - xavier150/MMVS GitHub Wiki

Get sources from GitHub

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

git clone [email protected]:EpicGames/UnrealEngine.git

Prepare Files

Open console from the M:\MMVS_EngineFiles\UnrealEngine folder or move to folder cd UnrealEngine 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 'Space' to move to the bottom of the page.
  • Press the 'q' button to exit 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

For disabling git check open BuildConfiguration.xml

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

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>

For speeding up Engine Compiling open BaseEngine.ini

notepad .\Engine\Config\BaseEngine.ini

Search for WorkerProcessPriority and change it from -1 to 1

Build Engine

Use command

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

OR

  • Open "UE5.sln"
  • Set Development Editor, Win64, UE5
    Build Output Info
  • Right Click Solution -> Build Solution

Then

Build UnrealLightmass

MMVS use CPU Lightmass.

./Engine/Build/BatchFiles/Build.bat UnrealLightmass Win64 Development -verbose

External Engine Plugins

MMVS use some external plugins. The following plugin need to be installed in the engine, not in the project.

Visual Studio Integration Tool Status (v2.5 for Unreal Engine 5.4) <- Can be installed from Visual Studio in the "Unreal Engine Integration Configuration" page.

CesiumForUnreal

  • Install it from GitHub in Unreal Engine 5.4 GitHub link Install the version v2.21.0 for Unreal Engine 5.4
  • then extract and copy the folder "CesiumForUnreal" to the source build in M:\MMVS_EngineFiles\UnrealEngine\Engine\Plugins

Assets Cleaner - Project Cleaning Tool

  • Install it from Fab in Unreal Engine 5.4 Fab link
  • then copy the folder "AssetsCleaner" from Unreal Engine 5.4 to the source build in M:\MMVS_EngineFiles\UnrealEngine\Engine\Plugins\Marketplace

Open Editor

./Engine/Binaries/Win64/UnrealEditor.exe

More Infos

https://github.com/EpicGames/UnrealEngine

⚠️ **GitHub.com Fallback** ⚠️