Add configuration for shard data used with patchman
This commit is contained in:
parent
b9a2a0023d
commit
de4aff6d9c
5 changed files with 130 additions and 18 deletions
|
@ -46,10 +46,13 @@ ProjectsToProcess += [ "common/fonts" ]
|
|||
ProjectsToProcess += [ "common/gamedev" ]
|
||||
ProjectsToProcess += [ "common/leveldesign" ]
|
||||
ProjectsToProcess += [ "common/data_common" ]
|
||||
ProjectsToProcess += [ "common/data_shard" ]
|
||||
ProjectsToProcess += [ "common/exedll" ]
|
||||
ProjectsToProcess += [ "common/cfg" ]
|
||||
|
||||
# Shard specific
|
||||
ProjectsToProcess += [ "shard/data_shard" ]
|
||||
ProjectsToProcess += [ "shard/data_language" ]
|
||||
|
||||
# Ecosystem projects
|
||||
ProjectsToProcess += [ "ecosystems/desert" ]
|
||||
ProjectsToProcess += [ "ecosystems/jungle" ]
|
||||
|
@ -66,17 +69,18 @@ ProjectsToProcess += [ "continents/indoors" ] # Note: must be after other contin
|
|||
|
||||
|
||||
InstallShardDataDirectories = [ ]
|
||||
InstallShardDataDirectories += [ "data_shard" ]
|
||||
InstallShardDataDirectories += [ "data_common" ]
|
||||
InstallShardDataDirectories += [ "data_language" ]
|
||||
|
||||
InstallShardDataCollisionsDirectory = "data_shard/collisions"
|
||||
InstallShardDataCollisionsDirectories = [ ]
|
||||
InstallShardDataCollisionsDirectories += [ "newbieland_ai" ]
|
||||
InstallShardDataCollisionsDirectories += [ "newbieland_ig" ]
|
||||
InstallShardDataCollisionsDirectories += [ "newbieland_pacs" ]
|
||||
InstallShardDataCollisionsDirectories += [ "indoors_ai" ]
|
||||
InstallShardDataCollisionsDirectories += [ "indoors_ig" ]
|
||||
InstallShardDataCollisionsDirectories += [ "indoors_pacs" ]
|
||||
InstallShardDataMultiDirectories = [ ]
|
||||
InstallShardDataMultiDirectories += [ [ "cfg", [ "data_shard" ] ] ]
|
||||
InstallShardDataMultiDirectories += [ [ "data_newbieland", [ "newbieland_ai", "newbieland_ig", "newbieland_pacs" ] ] ]
|
||||
InstallShardDataMultiDirectories += [ [ "data_indoors", [ "indoors_ai", "indoors_ig", "indoors_pacs" ] ] ]
|
||||
InstallShardDataMultiDirectories += [ [ "data_pacs_prim", [ "desert_pacs_prim", "jungle_pacs_prim", "lacustre_pacs_prim", "primes_racines_pacs_prim" ] ] ]
|
||||
|
||||
InstallShardDataPrimitivesDirectories = [ ]
|
||||
InstallShardDataPrimitivesDirectories += [ [ "data_mainland_common_primitives", [ "" ] ] ]
|
||||
InstallShardDataPrimitivesDirectories += [ [ "data_newbieland_primitives", [ "newbieland" ] ] ]
|
||||
|
||||
|
||||
InstallClientData = [ ]
|
||||
|
|
66
workspace/shard/data_language/directories.py
Normal file
66
workspace/shard/data_language/directories.py
Normal file
|
@ -0,0 +1,66 @@
|
|||
#!/usr/bin/python
|
||||
#
|
||||
# \file directories.py
|
||||
# \brief Directories configuration
|
||||
# \date 2014-02-13 20:32GMT
|
||||
# \author Jan Boon (Kaetemi)
|
||||
# Python port of game data build pipeline.
|
||||
# Directories configuration.
|
||||
#
|
||||
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||
# Copyright (C) 2014 by authors
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from buildsite import *
|
||||
import os
|
||||
|
||||
# *** COMMON NAMES AND PATHS ***
|
||||
CommonName = "data_language"
|
||||
CommonPath = "shard/" + CommonName
|
||||
|
||||
|
||||
# *** DIRECT SOURCE DIRECTORIES ***
|
||||
|
||||
# Copy dir directories
|
||||
CopyDirectSourceDirectories = [ ]
|
||||
CopyDirectSourceFiles = [ ]
|
||||
translationFileList = os.listdir(TranslationDirectory + "/translated")
|
||||
for fileName in translationFileList:
|
||||
if fileName != ".svn" and fileName != ".." and fileName != "." and fileName != "*.*":
|
||||
if fileName.endswith(".txt"):
|
||||
CopyDirectSourceFiles += [ TranslationDirectory + "/translated/" + fileName ]
|
||||
|
||||
|
||||
# *** SOURCE DIRECTORIES IN LEVELDESIGN ***
|
||||
CopyLeveldesignSourceDirectories = [ ]
|
||||
CopyLeveldesignSourceFiles = [ ]
|
||||
CopyLeveldesignWorldSourceDirectories = [ ]
|
||||
CopyLeveldesignWorldSourceFiles = [ ]
|
||||
CopyLeveldesignDfnSourceDirectories = [ ]
|
||||
CopyLeveldesignDfnSourceFiles = [ ]
|
||||
|
||||
|
||||
# *** SOURCE DIRECTORIES IN THE DATABASE ***
|
||||
|
||||
# Copy dir directories
|
||||
CopyDatabaseSourceDirectories = [ ]
|
||||
CopyDatabaseSourceFiles = [ ]
|
||||
|
||||
|
||||
# *** INSTALL DIRECTORIES IN THE CLIENT DATA ***
|
||||
|
||||
# Common data install directory
|
||||
CopyInstallDirectory = CommonName
|
44
workspace/shard/data_language/process.py
Normal file
44
workspace/shard/data_language/process.py
Normal file
|
@ -0,0 +1,44 @@
|
|||
#!/usr/bin/python
|
||||
#
|
||||
# \file config.py
|
||||
# \brief Process configuration
|
||||
# \date 2014-02-13 20:32GMT
|
||||
# \author Jan Boon (Kaetemi)
|
||||
# Python port of game data build pipeline.
|
||||
# Process configuration.
|
||||
#
|
||||
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||
# Copyright (C) 2014 by authors
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# *** PROCESS CONFIGURATION ***
|
||||
|
||||
# *** PROCESS CONFIG ***
|
||||
ProcessToComplete = [ ]
|
||||
ProcessToComplete += [ "copy" ]
|
||||
|
||||
|
||||
# *** COMMON NAMES AND PATHS ***
|
||||
CommonName = "data_language"
|
||||
CommonPath = "shard/" + CommonName
|
||||
|
||||
|
||||
# *** PACS PRIM LIST OPTIONS ***
|
||||
|
||||
|
||||
# *** COPY DIR OPTIONS ***
|
||||
|
||||
|
|
@ -2,15 +2,13 @@
|
|||
#
|
||||
# \file directories.py
|
||||
# \brief Directories configuration
|
||||
# \date 2010-08-27 17:13GMT
|
||||
# \date 2014-02-13 20:32GMT
|
||||
# \author Jan Boon (Kaetemi)
|
||||
# \date 2001-2005
|
||||
# \author Nevrax
|
||||
# Python port of game data build pipeline.
|
||||
# Directories configuration.
|
||||
#
|
||||
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||
# Copyright (C) 2010 Winch Gate Property Limited
|
||||
# Copyright (C) 2014 by authors
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
|
@ -31,7 +29,7 @@ import os
|
|||
|
||||
# *** COMMON NAMES AND PATHS ***
|
||||
CommonName = "data_shard"
|
||||
CommonPath = "common/" + CommonName
|
||||
CommonPath = "shard/" + CommonName
|
||||
|
||||
|
||||
# *** DIRECT SOURCE DIRECTORIES ***
|
|
@ -2,13 +2,13 @@
|
|||
#
|
||||
# \file config.py
|
||||
# \brief Process configuration
|
||||
# \date 2010-08-27 17:02GMT
|
||||
# \date 2014-02-13 20:32GMT
|
||||
# \author Jan Boon (Kaetemi)
|
||||
# Python port of game data build pipeline.
|
||||
# Process configuration.
|
||||
#
|
||||
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||
# Copyright (C) 2010 Winch Gate Property Limited
|
||||
# Copyright (C) 2014 by authors
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
|
@ -33,7 +33,7 @@ ProcessToComplete += [ "copy" ]
|
|||
|
||||
# *** COMMON NAMES AND PATHS ***
|
||||
CommonName = "data_shard"
|
||||
CommonPath = "common/" + CommonName
|
||||
CommonPath = "shard/" + CommonName
|
||||
|
||||
|
||||
# *** PACS PRIM LIST OPTIONS ***
|
Loading…
Reference in a new issue