mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
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% <<<")
|
||||
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()
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 ***
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue