Create win_build.bat
This commit is contained in:
parent
57facf91ea
commit
c76525de3f
41
win_build.bat
Normal file
41
win_build.bat
Normal file
@ -0,0 +1,41 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
:: Set paths
|
||||
set "UE_PATH=C:\Program Files\UE_5.5"
|
||||
set "PROJECT_PATH=%~dp0"
|
||||
set "UAT_PATH=%UE_PATH%\Engine\Build\BatchFiles\RunUAT.bat"
|
||||
|
||||
:: Build and package command
|
||||
"%UAT_PATH%" ^
|
||||
-ScriptsForProject="%PROJECT_PATH%LuckyWorldV2.uproject" ^
|
||||
BuildCookRun ^
|
||||
-nop4 ^
|
||||
-utf8output ^
|
||||
-nocompileeditor ^
|
||||
-skipbuildeditor ^
|
||||
-cook ^
|
||||
-project="%PROJECT_PATH%LuckyWorldV2.uproject" ^
|
||||
-target=LuckyWorldV2 ^
|
||||
-unrealexe="%UE_PATH%\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" ^
|
||||
-platform=Win64 ^
|
||||
-installed ^
|
||||
-stage ^
|
||||
-archive ^
|
||||
-package ^
|
||||
-build ^
|
||||
-pak ^
|
||||
-iostore ^
|
||||
-compressed ^
|
||||
-prereqs ^
|
||||
-archivedirectory="%PROJECT_PATH%Build" ^
|
||||
-CrashReporter ^
|
||||
-clientconfig=Shipping
|
||||
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
echo Build failed!
|
||||
exit /b 1
|
||||
) else (
|
||||
echo Build successful!
|
||||
exit /b 0
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user