Configure shard patch

This commit is contained in:
kaetemi 2014-02-20 03:10:06 +01:00
parent 655d10cf4c
commit 23b4ff77fa
3 changed files with 117 additions and 1 deletions

View file

@ -56,6 +56,7 @@ ProjectsToProcess += [ "common/cfg" ]
# Shard specific # Shard specific
ProjectsToProcess += [ "shard/data_shard" ] ProjectsToProcess += [ "shard/data_shard" ]
ProjectsToProcess += [ "shard/data_language" ] ProjectsToProcess += [ "shard/data_language" ]
ProjectsToProcess += [ "shard/data_leveldesign" ]
# Ecosystem projects # Ecosystem projects
ProjectsToProcess += [ "ecosystems/desert" ] ProjectsToProcess += [ "ecosystems/desert" ]
@ -76,14 +77,24 @@ InstallShardDataDirectories = [ ]
InstallShardDataDirectories += [ "data_game_share" ] InstallShardDataDirectories += [ "data_game_share" ]
InstallShardDataDirectories += [ "data_common" ] InstallShardDataDirectories += [ "data_common" ]
InstallShardDataDirectories += [ "data_language" ] InstallShardDataDirectories += [ "data_language" ]
InstallShardDataDirectories += [ "data_leveldesign" ]
InstallShardDataDirectories += [ "data_www" ] # TODO
# [ [ "<target_package>", [ "<source_dir>", "<source_dir>" ] ] ] target_dir under shard data, source_dir under install # [ [ "<target_package>", [ "<source_file>", "<source_file>" ] ] ] target_package under shard data, source_file under install
InstallShardDataFiles = [ ]
# [ [ "<target_package>", [ "<source_dir>", "<source_dir>" ] ] ] target_package under shard data, source_dir under install
InstallShardDataMultiDirectories = [ ] InstallShardDataMultiDirectories = [ ]
InstallShardDataMultiDirectories += [ [ "cfg", [ ] ] ] InstallShardDataMultiDirectories += [ [ "cfg", [ ] ] ]
InstallShardDataMultiDirectories += [ [ "data_www", [ ] ] ] InstallShardDataMultiDirectories += [ [ "data_www", [ ] ] ]
InstallShardDataMultiDirectories += [ [ "data_newbieland", [ "newbieland_ai", "newbieland_ig", "newbieland_pacs" ] ] ] InstallShardDataMultiDirectories += [ [ "data_newbieland", [ "newbieland_ai", "newbieland_ig", "newbieland_pacs" ] ] ]
InstallShardDataMultiDirectories += [ [ "data_indoors", [ "indoors_ai", "indoors_ig", "indoors_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" ] ] ] InstallShardDataMultiDirectories += [ [ "data_pacs_prim", [ "desert_pacs_prim", "jungle_pacs_prim", "lacustre_pacs_prim", "primes_racines_pacs_prim" ] ] ]
InstallShardDataMultiDirectories += [ [ "data_r2_desert", [ ] ] ] # TODO
InstallShardDataMultiDirectories += [ [ "data_r2_forest", [ ] ] ] # TODO
InstallShardDataMultiDirectories += [ [ "data_r2_jungle", [ ] ] ] # TODO
InstallShardDataMultiDirectories += [ [ "data_r2_lakes", [ ] ] ] # TODO
InstallShardDataMultiDirectories += [ [ "data_r2_roots", [ ] ] ] # TODO
# [ [ "<target_package>", [ "<source_dir>", "<source_dir>" ] ] ] target_dir under shard data, source_dir under primitives # [ [ "<target_package>", [ "<source_dir>", "<source_dir>" ] ] ] target_dir under shard data, source_dir under primitives
InstallShardDataPrimitivesDirectories = [ ] InstallShardDataPrimitivesDirectories = [ ]

View file

@ -0,0 +1,61 @@
#!/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_leveldesign"
CommonPath = "shard/" + CommonName
# *** DIRECT SOURCE DIRECTORIES ***
# Copy dir directories
CopyDirectSourceDirectories = [ ]
CopyDirectSourceFiles = [ WorldEditorFilesDirectory + "/world_editor_classes.xml" ]
# *** SOURCE DIRECTORIES IN LEVELDESIGN ***
CopyLeveldesignSourceDirectories = [ "DFN" ]
CopyLeveldesignSourceFiles = [ "game_elem/sheet_id.bin", "game_elem/localisation.localisation_table" ]
CopyLeveldesignWorldSourceDirectories = [ ]
CopyLeveldesignWorldSourceFiles = [ "ryzom.light_cycle" ]
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_leveldesign"
CommonPath = "shard/" + CommonName
# *** PACS PRIM LIST OPTIONS ***
# *** COPY DIR OPTIONS ***