Add configuration for shard data used with patchman

This commit is contained in:
kaetemi 2014-02-13 22:03:02 +01:00
parent b9a2a0023d
commit de4aff6d9c
5 changed files with 130 additions and 18 deletions

View file

@ -46,10 +46,13 @@ ProjectsToProcess += [ "common/fonts" ]
ProjectsToProcess += [ "common/gamedev" ] ProjectsToProcess += [ "common/gamedev" ]
ProjectsToProcess += [ "common/leveldesign" ] ProjectsToProcess += [ "common/leveldesign" ]
ProjectsToProcess += [ "common/data_common" ] ProjectsToProcess += [ "common/data_common" ]
ProjectsToProcess += [ "common/data_shard" ]
ProjectsToProcess += [ "common/exedll" ] ProjectsToProcess += [ "common/exedll" ]
ProjectsToProcess += [ "common/cfg" ] ProjectsToProcess += [ "common/cfg" ]
# Shard specific
ProjectsToProcess += [ "shard/data_shard" ]
ProjectsToProcess += [ "shard/data_language" ]
# Ecosystem projects # Ecosystem projects
ProjectsToProcess += [ "ecosystems/desert" ] ProjectsToProcess += [ "ecosystems/desert" ]
ProjectsToProcess += [ "ecosystems/jungle" ] ProjectsToProcess += [ "ecosystems/jungle" ]
@ -66,17 +69,18 @@ ProjectsToProcess += [ "continents/indoors" ] # Note: must be after other contin
InstallShardDataDirectories = [ ] InstallShardDataDirectories = [ ]
InstallShardDataDirectories += [ "data_shard" ]
InstallShardDataDirectories += [ "data_common" ] InstallShardDataDirectories += [ "data_common" ]
InstallShardDataDirectories += [ "data_language" ]
InstallShardDataCollisionsDirectory = "data_shard/collisions" InstallShardDataMultiDirectories = [ ]
InstallShardDataCollisionsDirectories = [ ] InstallShardDataMultiDirectories += [ [ "cfg", [ "data_shard" ] ] ]
InstallShardDataCollisionsDirectories += [ "newbieland_ai" ] InstallShardDataMultiDirectories += [ [ "data_newbieland", [ "newbieland_ai", "newbieland_ig", "newbieland_pacs" ] ] ]
InstallShardDataCollisionsDirectories += [ "newbieland_ig" ] InstallShardDataMultiDirectories += [ [ "data_indoors", [ "indoors_ai", "indoors_ig", "indoors_pacs" ] ] ]
InstallShardDataCollisionsDirectories += [ "newbieland_pacs" ] InstallShardDataMultiDirectories += [ [ "data_pacs_prim", [ "desert_pacs_prim", "jungle_pacs_prim", "lacustre_pacs_prim", "primes_racines_pacs_prim" ] ] ]
InstallShardDataCollisionsDirectories += [ "indoors_ai" ]
InstallShardDataCollisionsDirectories += [ "indoors_ig" ] InstallShardDataPrimitivesDirectories = [ ]
InstallShardDataCollisionsDirectories += [ "indoors_pacs" ] InstallShardDataPrimitivesDirectories += [ [ "data_mainland_common_primitives", [ "" ] ] ]
InstallShardDataPrimitivesDirectories += [ [ "data_newbieland_primitives", [ "newbieland" ] ] ]
InstallClientData = [ ] InstallClientData = [ ]

View 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

View 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 ***

View file

@ -2,15 +2,13 @@
# #
# \file directories.py # \file directories.py
# \brief Directories configuration # \brief Directories configuration
# \date 2010-08-27 17:13GMT # \date 2014-02-13 20:32GMT
# \author Jan Boon (Kaetemi) # \author Jan Boon (Kaetemi)
# \date 2001-2005
# \author Nevrax
# Python port of game data build pipeline. # Python port of game data build pipeline.
# Directories configuration. # Directories configuration.
# #
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/> # 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 # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
@ -31,7 +29,7 @@ import os
# *** COMMON NAMES AND PATHS *** # *** COMMON NAMES AND PATHS ***
CommonName = "data_shard" CommonName = "data_shard"
CommonPath = "common/" + CommonName CommonPath = "shard/" + CommonName
# *** DIRECT SOURCE DIRECTORIES *** # *** DIRECT SOURCE DIRECTORIES ***

View file

@ -2,13 +2,13 @@
# #
# \file config.py # \file config.py
# \brief Process configuration # \brief Process configuration
# \date 2010-08-27 17:02GMT # \date 2014-02-13 20:32GMT
# \author Jan Boon (Kaetemi) # \author Jan Boon (Kaetemi)
# Python port of game data build pipeline. # Python port of game data build pipeline.
# Process configuration. # Process configuration.
# #
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/> # 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 # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
@ -33,7 +33,7 @@ ProcessToComplete += [ "copy" ]
# *** COMMON NAMES AND PATHS *** # *** COMMON NAMES AND PATHS ***
CommonName = "data_shard" CommonName = "data_shard"
CommonPath = "common/" + CommonName CommonPath = "shard/" + CommonName
# *** PACS PRIM LIST OPTIONS *** # *** PACS PRIM LIST OPTIONS ***