Changed: #1093 Build pacs prim list to correct location.

This commit is contained in:
kaetemi 2011-09-28 09:49:16 +02:00
parent 7f229a1c0f
commit 143556b098
7 changed files with 21 additions and 25 deletions

View file

@ -1,16 +1,7 @@
printLog(log, ">>> List %PreGenFileExtension% <<<")
outDirPacsPrim = ExportBuildDirectory + "/" + %PreGenExportDirectoryVariable%
mkPath(log, outDirPacsPrim)
# Remove bad file from previous script version
listPath = ExportBuildDirectory + "/" + %PreGenExportDirectoryVariable% + "/landscape_col_prim_pacs_list.txt"
if os.path.isfile(listPath):
os.remove(listPath)
if WantLandscapeColPrimPacsList:
exportedPacsPrims = findFiles(log, outDirPacsPrim, "", ".%PreGenFileExtension%")
printLog(log, "WRITE " + listPath)
listFile = open(listPath, "w")
for exported in exportedPacsPrims:
listFile.write(exported + "\n")
listFile.close()

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export pacs_prim
# \date 2010-09-19-14-19-GMT
# \date 2011-09-28-07-42-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export pacs_prim
@ -92,19 +92,10 @@ if MaxAvailable:
printLog(log, ">>> List pacs_prim <<<")
outDirPacsPrim = ExportBuildDirectory + "/" + PacsPrimExportDirectory
mkPath(log, outDirPacsPrim)
# Remove bad file from previous script version
listPath = ExportBuildDirectory + "/" + PacsPrimExportDirectory + "/landscape_col_prim_pacs_list.txt"
if os.path.isfile(listPath):
os.remove(listPath)
if WantLandscapeColPrimPacsList:
exportedPacsPrims = findFiles(log, outDirPacsPrim, "", ".pacs_prim")
printLog(log, "WRITE " + listPath)
listFile = open(listPath, "w")
for exported in exportedPacsPrims:
listFile.write(exported + "\n")
listFile.close()

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export skel
# \date 2010-09-19-14-19-GMT
# \date 2011-09-28-07-42-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export skel

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export swt
# \date 2010-09-19-14-19-GMT
# \date 2011-09-28-07-42-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export swt

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export zone
# \date 2010-09-19-14-19-GMT
# \date 2011-09-28-07-42-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export zone

View file

@ -57,7 +57,17 @@ CopyDatabaseSourceDirectories = [ ]
CopyDatabaseSourceFiles = [ ]
# *** SOURCE DIRECTORIES IN THE EXPORT/BUILD ***
# Pacs prim list source directories
PacsPrimExportSourceDirectories = [ ]
PacsPrimExportSourceDirectories += [ "ecosystems/desert/pacs_prim" ]
PacsPrimExportSourceDirectories += [ "ecosystems/jungle/pacs_prim" ]
PacsPrimExportSourceDirectories += [ "ecosystems/lacustre/pacs_prim" ]
PacsPrimExportSourceDirectories += [ "ecosystems/primes_racines/pacs_prim" ]
# *** INSTALL DIRECTORIES IN THE CLIENT DATA ***
# Particule system directory
# Common data install directory
CopyInstallDirectory = CommonName

View file

@ -28,6 +28,7 @@
# *** PROCESS CONFIG ***
ProcessToComplete = [ ]
ProcessToComplete += [ "pacs_prim_list" ]
ProcessToComplete += [ "copy" ]
@ -36,6 +37,9 @@ CommonName = "data_common"
CommonPath = "common/" + CommonName
# *** PACS PRIM LIST OPTIONS ***
# *** COPY DIR OPTIONS ***