-
Notifications
You must be signed in to change notification settings - Fork 38
Prepare Engine (Linux)
- Dev Notes: Dev Notes
- Windows: Prepare Engine (Windows)
Open console from /media/[USER]/MMVS_EngineFiles
(Skip if it already exists)
git clone [email protected]:EpicGames/UnrealEngine.git
Open console from the /media/[USER]/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 at the down of the page.
- Press the 'q' button to exit from interactive mode.
git tag
git checkout 5.4.4-release
Prepare Linux
sudo apt update
sudo apt install mono-complete
Run the setup and project files generation scripts for Unreal Engine:
./Setup.sh;
./GenerateProjectFiles.sh ~vscode;
./Engine/Build/BatchFiles/Linux/SetupToolchain.sh;
For disable git check open BuildConfiguration.xml
nano ./Engine/Saved/UnrealBuildTool/BuildConfiguration.xml
And replace its content with:
<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
<ProjectFileGenerator>
<Format>VisualStudioCode</Format>
</ProjectFileGenerator>
<SourceFileWorkingSet>
<Provider>None</Provider>
<RepositoryPath></RepositoryPath>
<GitPath></GitPath>
</SourceFileWorkingSet>
</Configuration>
For set IDE on Linux open BaseEngine.ini
nano ./Engine/Config/BaseEngine.ini
And include the following:
[/Script/SourceCodeAccess.SourceCodeAccessSettings]
PreferredAccessor=VisualStudioCode
For speed up Engine Compiling open BaseEngine.ini
nano ./Engine/Config/BaseEngine.ini
Search and WorkerProcessPriority
and change it from -1
to 1
Use command
make
OR
- Open "UE5.code-workspace"
- Set Launch UnrealEditor (Development)
- Run Build (Ctrl+F5)
Open Editor
./Engine/Binaries/Linux/UnrealEditor
https://github.com/EpicGames/UnrealEngine https://youtu.be/Pt8oudvCPUA?si=CVZyrb8ixdmLFTGG https://voithos.io/articles/building-unreal-engine-from-source-for-vscode/