Created
August 7, 2024 17:23
-
-
Save kergalym/6b0a1e646bddc18d787f5db711e5d5e4 to your computer and use it in GitHub Desktop.
UE5 build notes on Linux 64 bit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PATH = "/media/FASTBIG" | |
TAR_DEST = "/media/FASTBIG" | |
# Rebuild | |
cd $PATH/UnrealEngine-release/ | |
rm -rf Engine/Binares Engine/Intermediate | |
# Configure engine with packaging platforms: only linux | |
./Setup.sh -exclude=WinRT -exclude=winrt -exclude=Mac -exclude=mac -exclude=osx \ | |
-exclude=osx64 -exclude=osx32 -exclude=Android -exclude=android -exclude=IOS \ | |
-exclude=ios -exclude=TVOS -exclude=tvos -exclude=HTML5 -exclude=html5 -exclude=PS4 -exclude=XboxOne -exclude=Switch \ | |
-exclude=Dingo -exclude=Windows -exclude=Win64 -exclude=Win32 -exclude=Windows64 -exclude=Windows32 \ | |
-exclude=windows -exclude=Win -exclude=win -exclude=win64 -exclude=win32 | |
# Configure engine with packaging platforms: only windows, linux and macos | |
./Setup.sh -exclude=WinRT -exclude=winrt -exclude=Android -exclude=android -exclude=IOS \ | |
-exclude=ios -exclude=TVOS -exclude=tvos -exclude=HTML5 -exclude=html5 -exclude=PS4 -exclude=XboxOne -exclude=Switch \ | |
-exclude=Dingo | |
./GenerateProjectFiles.sh | |
# Build the engine | |
make CrashReportClient ShaderCompileWorker UnrealLightmass UnrealPak UnrealEditor | |
# make UnrealEditor UnrealGame UnrealPak CrashReportClient ShaderCompileWorker UnrealLightmass -j1 | |
# make -j1 ShaderCompileWorker | |
# this sometimes doesn't work | |
# cd $PATH/UnrealEngine-release/Engine/Build/BatchFiles/Linux | |
#./Build.sh UnrealLightmass Linux Development -verbose | |
# run $PATH/UnrealEngine-release/Engine/Linux/UnrealEditor | |
# Backup | |
cd $PATH/UnrealEngine-release/ | |
tar cpf $TAR_DEST/UE5.tar Engine/Binaries Engine/Build Engine/Config Engine/Content Engine/Documentation \ | |
Engine/Extras Engine/Plugins Engine/Programs Engine/Shaders Engine/Source | |
cd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment