diff --git a/workspace/projects.py b/workspace/projects.py index 6584bd9..c4ac9c8 100644 --- a/workspace/projects.py +++ b/workspace/projects.py @@ -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" ] diff --git a/workspace/shard/data_game_share/directories.py b/workspace/shard/data_game_share/directories.py new file mode 100644 index 0000000..4001699 --- /dev/null +++ b/workspace/shard/data_game_share/directories.py @@ -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 +# 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 . +# + +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 diff --git a/workspace/shard/data_game_share/process.py b/workspace/shard/data_game_share/process.py new file mode 100644 index 0000000..cf707f0 --- /dev/null +++ b/workspace/shard/data_game_share/process.py @@ -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 +# 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 . +# + +# *** 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 *** + + diff --git a/workspace/shard/data_leveldesign/directories.py b/workspace/shard/data_leveldesign/directories.py index d342132..c365c58 100644 --- a/workspace/shard/data_leveldesign/directories.py +++ b/workspace/shard/data_leveldesign/directories.py @@ -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 ***