Add more paths to the build gamedata configuration
This commit is contained in:
parent
17d773b37b
commit
ebbfb6df75
1 changed files with 25 additions and 7 deletions
|
@ -123,18 +123,30 @@ if not args.noconf:
|
||||||
PrimitivesDirectory
|
PrimitivesDirectory
|
||||||
except NameError:
|
except NameError:
|
||||||
PrimitivesDirectory = "L:/primitives"
|
PrimitivesDirectory = "L:/primitives"
|
||||||
try:
|
|
||||||
DataShardDirectory
|
|
||||||
except NameError:
|
|
||||||
DataShardDirectory = "L:/shard"
|
|
||||||
try:
|
try:
|
||||||
GamedevDirectory
|
GamedevDirectory
|
||||||
except NameError:
|
except NameError:
|
||||||
GamedevDirectory = "R:/code/ryzom/client/data/gamedev"
|
GamedevDirectory = "R:/code/ryzom/client/data/gamedev"
|
||||||
|
try:
|
||||||
|
DataShardDirectory
|
||||||
|
except NameError:
|
||||||
|
DataShardDirectory = "R:/code/ryzom/common/data_shard"
|
||||||
try:
|
try:
|
||||||
DataCommonDirectory
|
DataCommonDirectory
|
||||||
except NameError:
|
except NameError:
|
||||||
DataCommonDirectory = "R:/code/ryzom/common/data_common"
|
DataCommonDirectory = "R:/code/ryzom/common/data_common"
|
||||||
|
try:
|
||||||
|
LeveldesignDataShardDirectory
|
||||||
|
except NameError:
|
||||||
|
LeveldesignDataShardDirectory = "L:/data_shard"
|
||||||
|
try:
|
||||||
|
LeveldesignDataCommonDirectory
|
||||||
|
except NameError:
|
||||||
|
LeveldesignDataCommonDirectory = "L:/data_common"
|
||||||
|
try:
|
||||||
|
WorldEditorFilesDirectory
|
||||||
|
except NameError:
|
||||||
|
WorldEditorFilesDirectory = "R:/code/ryzom/common/data_leveldesign/leveldesign/world_editor_files"
|
||||||
try:
|
try:
|
||||||
WindowsExeDllCfgDirectories
|
WindowsExeDllCfgDirectories
|
||||||
except NameError:
|
except NameError:
|
||||||
|
@ -183,10 +195,13 @@ if not args.noconf:
|
||||||
LeveldesignDirectory = askVar(log, "Leveldesign Directory", LeveldesignDirectory).replace("\\", "/")
|
LeveldesignDirectory = askVar(log, "Leveldesign Directory", LeveldesignDirectory).replace("\\", "/")
|
||||||
LeveldesignDfnDirectory = askVar(log, "Leveldesign DFN Directory", LeveldesignDfnDirectory).replace("\\", "/")
|
LeveldesignDfnDirectory = askVar(log, "Leveldesign DFN Directory", LeveldesignDfnDirectory).replace("\\", "/")
|
||||||
LeveldesignWorldDirectory = askVar(log, "Leveldesign World Directory", LeveldesignWorldDirectory).replace("\\", "/")
|
LeveldesignWorldDirectory = askVar(log, "Leveldesign World Directory", LeveldesignWorldDirectory).replace("\\", "/")
|
||||||
DataShardDirectory = askVar(log, "Data Shard Directory", DataShardDirectory).replace("\\", "/")
|
|
||||||
PrimitivesDirectory = askVar(log, "Primitives Directory", PrimitivesDirectory).replace("\\", "/")
|
PrimitivesDirectory = askVar(log, "Primitives Directory", PrimitivesDirectory).replace("\\", "/")
|
||||||
GamedevDirectory = askVar(log, "Gamedev Directory", GamedevDirectory).replace("\\", "/")
|
GamedevDirectory = askVar(log, "Gamedev Directory", GamedevDirectory).replace("\\", "/")
|
||||||
|
DataShardDirectory = askVar(log, "Data Shard Directory", DataShardDirectory).replace("\\", "/")
|
||||||
DataCommonDirectory = askVar(log, "Data Common Directory", DataCommonDirectory).replace("\\", "/")
|
DataCommonDirectory = askVar(log, "Data Common Directory", DataCommonDirectory).replace("\\", "/")
|
||||||
|
LeveldesignDataShardDirectory = askVar(log, "Leveldesign Data Shard Directory", LeveldesignDataShardDirectory).replace("\\", "/")
|
||||||
|
LeveldesignDataCommonDirectory = askVar(log, "Leveldesign Data Common Directory", LeveldesignDataCommonDirectory).replace("\\", "/")
|
||||||
|
WorldEditorFilesDirectory = askVar(log, "World Editor Files Directory", WorldEditorFilesDirectory).replace("\\", "/")
|
||||||
WindowsExeDllCfgDirectories[0] = askVar(log, "Primary Windows exe/dll/cfg Directory", WindowsExeDllCfgDirectories[0]).replace("\\", "/")
|
WindowsExeDllCfgDirectories[0] = askVar(log, "Primary Windows exe/dll/cfg Directory", WindowsExeDllCfgDirectories[0]).replace("\\", "/")
|
||||||
WindowsExeDllCfgDirectories[1] = askVar(log, "Secondary Windows exe/dll/cfg Directory", WindowsExeDllCfgDirectories[1]).replace("\\", "/")
|
WindowsExeDllCfgDirectories[1] = askVar(log, "Secondary Windows exe/dll/cfg Directory", WindowsExeDllCfgDirectories[1]).replace("\\", "/")
|
||||||
WindowsExeDllCfgDirectories[2] = askVar(log, "Tertiary Windows exe/dll/cfg Directory", WindowsExeDllCfgDirectories[2]).replace("\\", "/")
|
WindowsExeDllCfgDirectories[2] = askVar(log, "Tertiary Windows exe/dll/cfg Directory", WindowsExeDllCfgDirectories[2]).replace("\\", "/")
|
||||||
|
@ -256,18 +271,21 @@ if not args.noconf:
|
||||||
sf.write("ClientInstallDirectory = \"" + str(ClientInstallDirectory) + "\"\n")
|
sf.write("ClientInstallDirectory = \"" + str(ClientInstallDirectory) + "\"\n")
|
||||||
sf.write("ShardInstallDirectory = \"" + str(ShardInstallDirectory) + "\"\n")
|
sf.write("ShardInstallDirectory = \"" + str(ShardInstallDirectory) + "\"\n")
|
||||||
sf.write("\n")
|
sf.write("\n")
|
||||||
sf.write("# TODO: NETWORK RECONNECT NOT IMPLEMENTED :)\n")
|
sf.write("# Utility directories\n")
|
||||||
|
sf.write("WorldEditorFilesDirectory = \"" + str(WorldEditorFilesDirectory) + "\"\n")
|
||||||
sf.write("\n")
|
sf.write("\n")
|
||||||
sf.write("# Leveldesign directories\n")
|
sf.write("# Leveldesign directories\n")
|
||||||
sf.write("LeveldesignDirectory = \"" + str(LeveldesignDirectory) + "\"\n")
|
sf.write("LeveldesignDirectory = \"" + str(LeveldesignDirectory) + "\"\n")
|
||||||
sf.write("LeveldesignDfnDirectory = \"" + str(LeveldesignDfnDirectory) + "\"\n")
|
sf.write("LeveldesignDfnDirectory = \"" + str(LeveldesignDfnDirectory) + "\"\n")
|
||||||
sf.write("LeveldesignWorldDirectory = \"" + str(LeveldesignWorldDirectory) + "\"\n")
|
sf.write("LeveldesignWorldDirectory = \"" + str(LeveldesignWorldDirectory) + "\"\n")
|
||||||
sf.write("PrimitivesDirectory = \"" + str(PrimitivesDirectory) + "\"\n")
|
sf.write("PrimitivesDirectory = \"" + str(PrimitivesDirectory) + "\"\n")
|
||||||
sf.write("DataShardDirectory = \"" + str(DataShardDirectory) + "\"\n")
|
sf.write("LeveldesignDataCommonDirectory = \"" + str(LeveldesignDataCommonDirectory) + "\"\n")
|
||||||
|
sf.write("LeveldesignDataShardDirectory = \"" + str(LeveldesignDataShardDirectory) + "\"\n")
|
||||||
sf.write("\n")
|
sf.write("\n")
|
||||||
sf.write("# Misc data directories\n")
|
sf.write("# Misc data directories\n")
|
||||||
sf.write("GamedevDirectory = \"" + str(GamedevDirectory) + "\"\n")
|
sf.write("GamedevDirectory = \"" + str(GamedevDirectory) + "\"\n")
|
||||||
sf.write("DataCommonDirectory = \"" + str(DataCommonDirectory) + "\"\n")
|
sf.write("DataCommonDirectory = \"" + str(DataCommonDirectory) + "\"\n")
|
||||||
|
sf.write("DataShardDirectory = \"" + str(DataShardDirectory) + "\"\n")
|
||||||
sf.write("WindowsExeDllCfgDirectories = " + str(WindowsExeDllCfgDirectories) + "\n")
|
sf.write("WindowsExeDllCfgDirectories = " + str(WindowsExeDllCfgDirectories) + "\n")
|
||||||
sf.write("\n")
|
sf.write("\n")
|
||||||
sf.write("# 3dsMax directives\n")
|
sf.write("# 3dsMax directives\n")
|
||||||
|
|
Loading…
Reference in a new issue