Created
August 31, 2014 22:48
-
-
Save anonymous/0bb32f9f5b74ff80d327 to your computer and use it in GitHub Desktop.
build-new.sh
This file contains hidden or 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 | |
# mono /home/salamanderrake/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe TutorialCodeRake Linux Development \ | |
# -editorrecompile -game -project="/home/salamanderrake/Documents/Unreal Projects/TutorialCodeRake/TutorialCodeRake.uproject" | |
PROJECT_NAME="${1%/}" | |
PROJECT_ROOT_DIR="/home/salamanderrake/Documents/Unreal Projects/" | |
#PROJECT_STAGING_ROOT_DIR="/home/salamanderrake/Documents/Unreal Staging/" | |
UNREAL_ENGINE_ROOT_DIR="/home/salamanderrake/UnrealEngine/" | |
PATH_TO_BIN_FOLDER="Binaries/Linux/" | |
echo "PROJECT_NAME:" ${PROJECT_NAME} | |
echo "PROJECT_ROOT_DIR:" ${PROJECT_ROOT_DIR} | |
echo "PROJECT_STAGING_ROOT_DIR:" ${PROJECT_STAGING_ROOT_DIR} | |
echo "UNREAL_ENGINE_ROOT_DIR:" ${UNREAL_ENGINE_ROOT_DIR} | |
echo "PROJECT_NAME.uproject" "${PROJECT_ROOT_DIR}/${PROJECT_NAME}/${PROJECT_NAME}.uproject" | |
# echo "PROJECT_STAGING_ROOT_DIR/PROJECT_NAME:" "${PROJECT_STAGING_ROOT_DIR}/${PROJECT_NAME}" | |
# echo "PATH_TO_BIN_FOLDER:" "${PROJECT_STAGING_ROOT_DIR}/${PROJECT_NAME}/${PATH_TO_BIN_FOLDER}" | |
# cd "${UNREAL_ENGINE_ROOT_DIR}" | |
cd "${PROJECT_ROOT_DIR}"/"${PROJECT_NAME}" | |
#Engine/Build/BatchFiles/RunUAT.sh BuildCookRun -nocompileeditor \ | |
#-nop4 -project="${PROJECT_ROOT_DIR}/${PROJECT_NAME}/${PROJECT_NAME}.uproject" \ | |
#-cook -compressed -allmaps -stage -archive \ | |
#-archivedirectory="${PROJECT_STAGING_ROOT_DIR}/${PROJECT_NAME}" \ | |
#-package -LinuxNoEditor -clientconfig=Development -ue4exe=UE4Editor \ | |
#-clean -pak -targetplatform=Linux -utf8output | |
mono ${UNREAL_ENGINE_ROOT_DIR}/Engine/Binaries/DotNET/UnrealBuildTool.exe \ | |
${PROJECT_NAME} Linux Development -game -enegine -progress -makefile \ | |
-project="`pwd`/${PROJECT_NAME}.uproject" | |
#cd "${PROJECT_STAGING_ROOT_DIR}/${PROJECT_NAME}/${PATH_TO_BIN_FOLDER}" | |
#cp -v UE4Game ${PROJECT_NAME} | |
#cp -v "${UNREAL_ENGINE_ROOT_DIR}/Engine/Source/ThirdParty/Steamworks/Steamv129a/sdk/redistributable_bin/linux64/libsteam_api.so" . | |
#cp -v "${UNREAL_ENGINE_ROOT_DIR}/Engine/Binaries/Linux/libjemalloc.so.1" . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment