Skip to content

Instantly share code, notes, and snippets.

@benaclejames
Last active November 11, 2022 01:05
Show Gist options
  • Save benaclejames/d2182281c97bfbf49770b12199d1ea36 to your computer and use it in GitHub Desktop.
Save benaclejames/d2182281c97bfbf49770b12199d1ea36 to your computer and use it in GitHub Desktop.
set UE4_DIR=E:\\Unreal\\UE4.26
set BUILD_ROOT=E:\\Mentalpuppy-Workspace
set OUTPUT_DIR=C:\\Users\\Ben\\Downloads
set SERVER_CONF=Development
set UPLOAD_REGION=us-east-1
set BUILD_VERSION=0.5.0
set BUILD_NAME=WhateverName
%UE4_DIR%\\Engine\\Build\\BatchFiles\\RunUAT.bat BuildCookRun -project=%BUILD_ROOT%\\Trove.uproject -nop4 -cook -stage -archive -archivedirectory=%OUTPUT_DIR% -package -ddc=DerivedDataBackendGraph -pak -prereqs -nodebuginfo -targetplatform=Linux -build -target=TroveServer -serverconfig=%SERVER_CONF% -utf8output -compile
aws gamelift upload-build --build-root %OUTPUT_DIR%\\LinuxServer --build-version %BUILD_VERSION% --name %BUILD_NAME% --operating-system AMAZON_LINUX_2 --region %UPLOAD_REGION%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment