Rollback of DefaultGame.ini
Solve FILE_NAME never used change if mkdir for mkdir -f in a couple of files
This commit is contained in:
parent
7612757f8a
commit
488a56fcab
|
@ -27,7 +27,7 @@ ForDistribution=False
|
|||
IncludeDebugFiles=False
|
||||
BlueprintNativizationMethod=Disabled
|
||||
bIncludeNativizedAssetsInProjectGeneration=False
|
||||
UsePakFile=False
|
||||
UsePakFile=True
|
||||
bGenerateChunks=False
|
||||
bGenerateNoChunks=False
|
||||
bChunkHardReferencesOnly=False
|
||||
|
@ -48,11 +48,11 @@ bCookMapsOnly=False
|
|||
bCompressed=False
|
||||
bEncryptIniFiles=False
|
||||
bEncryptPakIndex=False
|
||||
bSkipEditorContent=False
|
||||
+MapsToCook=(FilePath="/Game/Carla/Maps/Town01")
|
||||
+MapsToCook=(FilePath="/Game/Carla/Maps/Town02")
|
||||
+MapsToCook=(FilePath="/Game/Carla/Maps/Town03")
|
||||
+DirectoriesToAlwaysCook=(Path="Carla/Static/GenericMaterials/Licenseplates/Textures")
|
||||
bSkipEditorContent=True
|
||||
+DirectoriesToAlwaysStageAsUFS=(Path="Carla/Maps/OpenDrive")
|
||||
bNativizeBlueprintAssets=False
|
||||
bNativizeOnlySelectedBlueprints=False
|
||||
|
|
|
@ -121,9 +121,7 @@ if ${BUILD_CARLAUE4} ; then
|
|||
|
||||
#Providing the user with the ExportedMaps folder
|
||||
EXPORTED_MAPS="${CARLAUE4_ROOT_FOLDER}/Content/Carla/ExportedMaps"
|
||||
if [ ! -d "${EXPORTED_MAPS}" ]; then
|
||||
mkdir "${EXPORTED_MAPS}"
|
||||
fi
|
||||
mkdir -p "${EXPORTED_MAPS}"
|
||||
|
||||
|
||||
fi
|
||||
|
|
|
@ -93,7 +93,7 @@ if $DO_COPY_FILES ; then
|
|||
|
||||
pushd ${CARLA_ROOT_FOLDER} >/dev/null
|
||||
|
||||
mkdir "${DESTINATION}/ExportedMaps"
|
||||
mkdir -p "${DESTINATION}/ExportedMaps"
|
||||
|
||||
copy_if_changed "./LICENSE" "${DESTINATION}/LICENSE"
|
||||
copy_if_changed "./CHANGELOG.md" "${DESTINATION}/CHANGELOG"
|
||||
|
|
|
@ -6,12 +6,11 @@
|
|||
|
||||
DOC_STRING="Unpack and copy over CarlaUE4's Exported Maps"
|
||||
|
||||
USAGE_STRING="Usage: $0 [-h|--help] [-d|--dir] <outdir> [-f|--file] <filename>"
|
||||
USAGE_STRING="Usage: $0 [-h|--help] [-d|--dir] <outdir>"
|
||||
|
||||
OUTPUT_DIRECTORY=""
|
||||
FILE_NAME=""
|
||||
|
||||
OPTS=`getopt -o h,d::,f --long help,dir::,file:: -n 'parse-options' -- "$@"`
|
||||
OPTS=`getopt -o h,d:: --long help,dir:: -n 'parse-options' -- "$@"`
|
||||
|
||||
if [ $? != 0 ] ; then echo "$USAGE_STRING" ; exit 2; fi
|
||||
|
||||
|
@ -22,9 +21,6 @@ while true; do
|
|||
--dir )
|
||||
OUTPUT_DIRECTORY="$2"
|
||||
shift ;;
|
||||
--file )
|
||||
FILE_NAME="$2"
|
||||
shift ;;
|
||||
-h | --help )
|
||||
echo "$DOC_STRING"
|
||||
echo "$USAGE_STRING"
|
||||
|
@ -35,10 +31,6 @@ while true; do
|
|||
esac
|
||||
done
|
||||
|
||||
if [ -z "${FILE_NAME}" ]; then
|
||||
FILE_NAME="CookedExportedMaps"
|
||||
fi
|
||||
|
||||
#Tar.gz the stuff
|
||||
for filepath in `find ExportedMaps/ -type f -name "*.tar.gz"`; do
|
||||
tar --keep-newer-files -xvf ${filepath}
|
||||
|
|
Loading…
Reference in New Issue