Skip to content

Instantly share code, notes, and snippets.

@sensvos
Last active May 2, 2021 00:04
Show Gist options
  • Save sensvos/24b9f90f4d5692ea288dbef84872dad9 to your computer and use it in GitHub Desktop.
Save sensvos/24b9f90f4d5692ea288dbef84872dad9 to your computer and use it in GitHub Desktop.
# pull engine source
$EngineVersion = "4.26.1-release"
git init
git remote add origin https://github.com/EpicGames/UnrealEngine.git
git pull origin $EngineVersion
# setup prerequisites (needs admin rights)
.\Setup.bat
# extract console platform SDKs
@("Switch", "PS4", "XboxOne") | % {
&"C:\Program Files\7-Zip\7z.exe" x ..\Archive\${_}_${EngineVersion}.zip -o".\" -aoa
}
# generate engine project
.\GenerateProjectFiles.bat
# compile editor
devenv .\UE4.sln /Build "Development Editor|Win64" /Project UE4
# create installed engine build
.\Build-Installed.ps1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment