Skip to content

Instantly share code, notes, and snippets.

@zr0n
Created October 3, 2023 19:46
Show Gist options
  • Save zr0n/9f41be8a9d750ad0ac7012dc460830a9 to your computer and use it in GitHub Desktop.
Save zr0n/9f41be8a9d750ad0ac7012dc460830a9 to your computer and use it in GitHub Desktop.
@echo off
SET "ProjectPath=%~dp0"
SET "EnginePath=F:\UnrealEngine"
call "%EnginePath%\Engine\Build\BatchFiles\Build.bat" -project="%ProjectPath%\Cigars.uproject" -Target="CigarsEditor Win64 Development" -Target="ShaderCompileWorker Win64 Development" -Quiet -WaitMutex -FromMsBuild"
call "%EnginePath%\Engine\Build\BatchFiles\RunUAT.bat" BuildCookRun -nocompileeditor -nop4 -project="%ProjectPath%\Cigars.uproject" -cook -stage -package -iterate -clientconfig=Development -ue4exe="%EnginePath%\Engine\Binaries\Win64\UE4Editor-Cmd.exe" -pak -targetplatform=PS4 -build -utf8output -verbose -cookmapsonly -FastCook -compressed -archive -archivedirectory="%ProjectPath%\Archive" -trace="cpu,gpu,frame"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment