Changed: #1093 Build pacs prim list to correct location.
This commit is contained in:
parent
7f229a1c0f
commit
143556b098
7 changed files with 21 additions and 25 deletions
|
@ -1,16 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
printLog(log, ">>> List %PreGenFileExtension% <<<")
|
# Remove bad file from previous script version
|
||||||
outDirPacsPrim = ExportBuildDirectory + "/" + %PreGenExportDirectoryVariable%
|
|
||||||
mkPath(log, outDirPacsPrim)
|
|
||||||
listPath = ExportBuildDirectory + "/" + %PreGenExportDirectoryVariable% + "/landscape_col_prim_pacs_list.txt"
|
listPath = ExportBuildDirectory + "/" + %PreGenExportDirectoryVariable% + "/landscape_col_prim_pacs_list.txt"
|
||||||
if os.path.isfile(listPath):
|
if os.path.isfile(listPath):
|
||||||
os.remove(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()
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
# \file 1_export.py
|
# \file 1_export.py
|
||||||
# \brief Export pacs_prim
|
# \brief Export pacs_prim
|
||||||
# \date 2010-09-19-14-19-GMT
|
# \date 2011-09-28-07-42-GMT
|
||||||
# \author Jan Boon (Kaetemi)
|
# \author Jan Boon (Kaetemi)
|
||||||
# Python port of game data build pipeline.
|
# Python port of game data build pipeline.
|
||||||
# Export pacs_prim
|
# Export pacs_prim
|
||||||
|
@ -92,19 +92,10 @@ if MaxAvailable:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
printLog(log, ">>> List pacs_prim <<<")
|
# Remove bad file from previous script version
|
||||||
outDirPacsPrim = ExportBuildDirectory + "/" + PacsPrimExportDirectory
|
|
||||||
mkPath(log, outDirPacsPrim)
|
|
||||||
listPath = ExportBuildDirectory + "/" + PacsPrimExportDirectory + "/landscape_col_prim_pacs_list.txt"
|
listPath = ExportBuildDirectory + "/" + PacsPrimExportDirectory + "/landscape_col_prim_pacs_list.txt"
|
||||||
if os.path.isfile(listPath):
|
if os.path.isfile(listPath):
|
||||||
os.remove(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()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
# \file 1_export.py
|
# \file 1_export.py
|
||||||
# \brief Export skel
|
# \brief Export skel
|
||||||
# \date 2010-09-19-14-19-GMT
|
# \date 2011-09-28-07-42-GMT
|
||||||
# \author Jan Boon (Kaetemi)
|
# \author Jan Boon (Kaetemi)
|
||||||
# Python port of game data build pipeline.
|
# Python port of game data build pipeline.
|
||||||
# Export skel
|
# Export skel
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
# \file 1_export.py
|
# \file 1_export.py
|
||||||
# \brief Export swt
|
# \brief Export swt
|
||||||
# \date 2010-09-19-14-19-GMT
|
# \date 2011-09-28-07-42-GMT
|
||||||
# \author Jan Boon (Kaetemi)
|
# \author Jan Boon (Kaetemi)
|
||||||
# Python port of game data build pipeline.
|
# Python port of game data build pipeline.
|
||||||
# Export swt
|
# Export swt
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
# \file 1_export.py
|
# \file 1_export.py
|
||||||
# \brief Export zone
|
# \brief Export zone
|
||||||
# \date 2010-09-19-14-19-GMT
|
# \date 2011-09-28-07-42-GMT
|
||||||
# \author Jan Boon (Kaetemi)
|
# \author Jan Boon (Kaetemi)
|
||||||
# Python port of game data build pipeline.
|
# Python port of game data build pipeline.
|
||||||
# Export zone
|
# Export zone
|
||||||
|
|
|
@ -57,7 +57,17 @@ CopyDatabaseSourceDirectories = [ ]
|
||||||
CopyDatabaseSourceFiles = [ ]
|
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 ***
|
# *** INSTALL DIRECTORIES IN THE CLIENT DATA ***
|
||||||
|
|
||||||
# Particule system directory
|
# Common data install directory
|
||||||
CopyInstallDirectory = CommonName
|
CopyInstallDirectory = CommonName
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
# *** PROCESS CONFIG ***
|
# *** PROCESS CONFIG ***
|
||||||
ProcessToComplete = [ ]
|
ProcessToComplete = [ ]
|
||||||
|
ProcessToComplete += [ "pacs_prim_list" ]
|
||||||
ProcessToComplete += [ "copy" ]
|
ProcessToComplete += [ "copy" ]
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,6 +37,9 @@ CommonName = "data_common"
|
||||||
CommonPath = "common/" + CommonName
|
CommonPath = "common/" + CommonName
|
||||||
|
|
||||||
|
|
||||||
|
# *** PACS PRIM LIST OPTIONS ***
|
||||||
|
|
||||||
|
|
||||||
# *** COPY DIR OPTIONS ***
|
# *** COPY DIR OPTIONS ***
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue