Adjust sheets configuration

This commit is contained in:
kaetemi 2014-02-20 20:14:32 +01:00
parent a8a75f48d2
commit 96ac6a8c0e
4 changed files with 115 additions and 4 deletions

View file

@ -57,6 +57,7 @@ ProjectsToProcess += [ "common/cfg" ]
ProjectsToProcess += [ "shard/data_shard" ]
ProjectsToProcess += [ "shard/data_language" ]
ProjectsToProcess += [ "shard/data_leveldesign" ]
ProjectsToProcess += [ "shard/data_game_share" ]
# Ecosystem projects
ProjectsToProcess += [ "ecosystems/desert" ]
@ -105,7 +106,7 @@ InstallShardDataPrimitivesDirectories += [ [ "data_newbieland_primitives", [ "ne
psFileList = [ ]
if os.path.isdir(InstallDirectory + "/data_shard"):
psFileList = os.listdir(InstallDirectory + "/data_shard")
psDatasets = [ "data_shard/datasets.packed_sheets" ]
psDatasets = [ ] # [ "data_shard/datasets.packed_sheets" ]
psIOS = [ "data_shard/ios_sheets.packed_sheets" ]
psGPMS = [ "data_shard/gpms.packed_sheets" ]
psContinents = [ "data_shard/continents.packed_sheets" ]

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_game_share"
CommonPath = "shard/" + CommonName
# *** DIRECT SOURCE DIRECTORIES ***
# Copy dir directories
CopyDirectSourceDirectories = [ ]
CopyDirectSourceFiles = [ ]
fileList = os.listdir(DataShardDirectory + "/mirror_sheets")
for fileName in fileList:
if fileName != ".svn" and fileName != ".." and fileName != "." and fileName != "*.*":
if fileName.endswith(".dataset"):
CopyDirectSourceFiles += [ DataShardDirectory + "/mirror_sheets/" + 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_game_share"
CommonPath = "shard/" + CommonName
# *** PACS PRIM LIST OPTIONS ***
# *** COPY DIR OPTIONS ***

View file

@ -40,12 +40,12 @@ CopyDirectSourceFiles = [ WorldEditorFilesDirectory + "/world_editor_classes.xml
# *** SOURCE DIRECTORIES IN LEVELDESIGN ***
CopyLeveldesignSourceDirectories = [ "DFN" ]
CopyLeveldesignSourceDirectories = [ ]
CopyLeveldesignSourceFiles = [ "game_elem/sheet_id.bin", "game_elem/localisation.localisation_table" ]
CopyLeveldesignWorldSourceDirectories = [ ]
CopyLeveldesignWorldSourceFiles = [ "ryzom.light_cycle" ]
CopyLeveldesignDfnSourceDirectories = [ ]
CopyLeveldesignDfnSourceFiles = [ ]
CopyLeveldesignDfnSourceDirectories = [ "basics", "game_elem/_item" ]
CopyLeveldesignDfnSourceFiles = [ "game_elem/light_cycle.dfn", "game_elem/_season_light_cycle.dfn", "game_elem/localisation_table.dfn", "game_elem/_localisation_table_line.dfn" ]
# *** SOURCE DIRECTORIES IN THE DATABASE ***