|
|
@ -30,6 +30,7 @@ sys.path.append("configuration")
|
|
|
|
parser = argparse.ArgumentParser(description='Ryzom Core - Build Gamedata - Setup')
|
|
|
|
parser = argparse.ArgumentParser(description='Ryzom Core - Build Gamedata - Setup')
|
|
|
|
parser.add_argument('--noconf', '-nc', action='store_true')
|
|
|
|
parser.add_argument('--noconf', '-nc', action='store_true')
|
|
|
|
parser.add_argument('--noverify', '-nv', action='store_true')
|
|
|
|
parser.add_argument('--noverify', '-nv', action='store_true')
|
|
|
|
|
|
|
|
parser.add_argument('--preset', '-p', action='store_true')
|
|
|
|
# parser.add_argument('--haltonerror', '-eh', action='store_true')
|
|
|
|
# parser.add_argument('--haltonerror', '-eh', action='store_true')
|
|
|
|
parser.add_argument('--includeproject', '-ipj', nargs='+')
|
|
|
|
parser.add_argument('--includeproject', '-ipj', nargs='+')
|
|
|
|
parser.add_argument('--excludeproject', '-epj', nargs='+')
|
|
|
|
parser.add_argument('--excludeproject', '-epj', nargs='+')
|
|
|
@ -64,129 +65,222 @@ if not args.noconf:
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
BuildQuality = 1
|
|
|
|
BuildQuality = 1
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
RemapLocalFrom
|
|
|
|
|
|
|
|
except NameError:
|
|
|
|
|
|
|
|
RemapLocalFrom = 'R:'
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
RemapLocalTo
|
|
|
|
|
|
|
|
except NameError:
|
|
|
|
|
|
|
|
RemapLocalTo = os.getenv('RC_ROOT').replace('\\', '/')
|
|
|
|
|
|
|
|
if (not RemapLocalTo) or (not ':' in RemapLocalTo):
|
|
|
|
|
|
|
|
RemapLocalTo = 'R:'
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
ToolDirectories
|
|
|
|
ToolDirectories
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
ToolDirectories = [ 'R:/build/dev/bin/Release', 'D:/libraries/external/bin' ]
|
|
|
|
ToolDirectories = [ 'R:/distribution/nel_tools_win_x64', 'R:/distribution/ryzom_tools_win_x64' ]
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
ToolSuffix
|
|
|
|
ToolSuffix
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
ToolSuffix = ".exe"
|
|
|
|
ToolSuffix = ".exe"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
ScriptDirectory
|
|
|
|
ScriptDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
ScriptDirectory = "R:/code/nel/tools/build_gamedata"
|
|
|
|
ScriptDirectory = "R:/code/nel/tools/build_gamedata"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
WorkspaceDirectory
|
|
|
|
WorkspaceDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
WorkspaceDirectory = "L:/workspace"
|
|
|
|
WorkspaceDirectory = "R:/leveldesign/workspace"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
DatabaseDirectory
|
|
|
|
DatabaseDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
DatabaseDirectory = "W:/database"
|
|
|
|
DatabaseDirectory = "R:/graphics"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
SoundDirectory
|
|
|
|
SoundDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
SoundDirectory = "V:"
|
|
|
|
SoundDirectory = "R:/sound"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
SoundDfnDirectory
|
|
|
|
SoundDfnDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
SoundDfnDirectory = "V:/DFN"
|
|
|
|
SoundDfnDirectory = "R:/sound/DFN"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
ExportBuildDirectory
|
|
|
|
ExportBuildDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
ExportBuildDirectory = "T:/export"
|
|
|
|
ExportBuildDirectory = "R:/pipeline/export"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
InstallDirectory
|
|
|
|
InstallDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
InstallDirectory = "T:/install"
|
|
|
|
InstallDirectory = "R:/pipeline/install"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
ClientDevDirectory
|
|
|
|
ClientDevDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
ClientDevDirectory = "T:/client_dev"
|
|
|
|
ClientDevDirectory = "R:/pipeline/client_dev"
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
ClientDevLiveDirectory
|
|
|
|
|
|
|
|
except NameError:
|
|
|
|
|
|
|
|
ClientDevLiveDirectory = "R:/pipeline/client_dev_live"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
ClientPatchDirectory
|
|
|
|
ClientPatchDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
ClientPatchDirectory = "T:/client_patch"
|
|
|
|
ClientPatchDirectory = "R:/pipeline/client_patch"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
ClientInstallDirectory
|
|
|
|
ClientInstallDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
ClientInstallDirectory = "T:/client_install"
|
|
|
|
ClientInstallDirectory = "R:/pipeline/client_install"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
ShardInstallDirectory
|
|
|
|
ShardInstallDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
ShardInstallDirectory = "T:/shard"
|
|
|
|
ShardInstallDirectory = "R:/pipeline/shard"
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
ShardDevDirectory
|
|
|
|
|
|
|
|
except NameError:
|
|
|
|
|
|
|
|
ShardDevDirectory = "R:/pipeline/shard_dev"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
WorldEditInstallDirectory
|
|
|
|
WorldEditInstallDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
WorldEditInstallDirectory = "T:/worldedit"
|
|
|
|
WorldEditInstallDirectory = "R:/pipeline/worldedit"
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
WorldEditorFilesDirectory
|
|
|
|
|
|
|
|
except NameError:
|
|
|
|
|
|
|
|
WorldEditorFilesDirectory = "R:/code/ryzom/common/data_leveldesign/leveldesign/world_editor_files"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
LeveldesignDirectory
|
|
|
|
LeveldesignDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
LeveldesignDirectory = "L:/leveldesign"
|
|
|
|
LeveldesignDirectory = "R:/leveldesign"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
LeveldesignDfnDirectory
|
|
|
|
LeveldesignDfnDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
LeveldesignDfnDirectory = "L:/leveldesign/DFN"
|
|
|
|
LeveldesignDfnDirectory = "R:/leveldesign/DFN"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
LeveldesignWorldDirectory
|
|
|
|
LeveldesignWorldDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
LeveldesignWorldDirectory = "L:/leveldesign/world"
|
|
|
|
LeveldesignWorldDirectory = "R:/leveldesign/world"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
PrimitivesDirectory
|
|
|
|
PrimitivesDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
PrimitivesDirectory = "L:/primitives"
|
|
|
|
PrimitivesDirectory = "R:/leveldesign/primitives"
|
|
|
|
try:
|
|
|
|
|
|
|
|
GamedevDirectory
|
|
|
|
|
|
|
|
except NameError:
|
|
|
|
|
|
|
|
GamedevDirectory = "R:/code/ryzom/client/data/gamedev"
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
DataShardDirectory
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
LeveldesignDataCommonDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
DataShardDirectory = "R:/code/ryzom/server/data_shard"
|
|
|
|
LeveldesignDataCommonDirectory = "R:/leveldesign/common"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
DataCommonDirectory
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
LeveldesignDataShardDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
DataCommonDirectory = "R:/code/ryzom/common/data_common"
|
|
|
|
LeveldesignDataShardDirectory = "R:/leveldesign/shard"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
LeveldesignDataShardDirectory
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
TranslationDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
LeveldesignDataShardDirectory = "L:/shard"
|
|
|
|
TranslationDirectory = "R:/leveldesign/translation"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
LeveldesignDataCommonDirectory
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
GamedevDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
LeveldesignDataCommonDirectory = "L:/common"
|
|
|
|
GamedevDirectory = "R:/code/ryzom/client/data/gamedev"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
TranslationDirectory
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
DataCommonDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
TranslationDirectory = "L:/translation"
|
|
|
|
DataCommonDirectory = "R:/code/ryzom/common/data_common"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
WorldEditorFilesDirectory
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
DataShardDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
WorldEditorFilesDirectory = "R:/code/ryzom/common/data_leveldesign/leveldesign/world_editor_files"
|
|
|
|
DataShardDirectory = "R:/code/ryzom/server/data_shard"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
WindowsExeDllCfgDirectories
|
|
|
|
WindowsExeDllCfgDirectories
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
WindowsExeDllCfgDirectories = [ 'C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/redist/x86', 'D:/libraries/external/bin', 'R:/build/dev/bin/Release', 'R:/code/ryzom/client', 'R:/code/nel/lib', 'R:/code/ryzom/bin', 'R:/code/ryzom/tools/client/client_config/bin' ]
|
|
|
|
# TODO: Separate 64bit and 32bit
|
|
|
|
|
|
|
|
WindowsExeDllCfgDirectories = [ '', 'R:/build/fv_x64/bin/Release', 'R:/distribution/external_x64', 'R:/code/ryzom/client', '', '', '' ]
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
LinuxServiceExecutableDirectory
|
|
|
|
LinuxServiceExecutableDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
LinuxServiceExecutableDirectory = "S:/devls_x64/bin"
|
|
|
|
LinuxServiceExecutableDirectory = "R:/build/server_gcc/bin"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
LinuxClientExecutableDirectory
|
|
|
|
LinuxClientExecutableDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
LinuxClientExecutableDirectory = "S:/devl_x64/bin"
|
|
|
|
LinuxClientExecutableDirectory = "R:/build/client_gcc/bin"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
|
|
|
|
PatchmanDevDirectory
|
|
|
|
|
|
|
|
except NameError:
|
|
|
|
|
|
|
|
PatchmanDevDirectory = "R:/patchman/terminal_dev"
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
PatchmanCfgAdminDirectory
|
|
|
|
PatchmanCfgAdminDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
PatchmanCfgAdminDirectory = "R:/code/ryzom/server/patchman_cfg/admin_install"
|
|
|
|
PatchmanCfgAdminDirectory = "R:/patchman/admin_install"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
PatchmanCfgDefaultDirectory
|
|
|
|
PatchmanCfgDefaultDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
PatchmanCfgDefaultDirectory = "R:/code/ryzom/server/patchman_cfg/default"
|
|
|
|
PatchmanCfgDefaultDirectory = "R:/patchman/default"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
if args.preset:
|
|
|
|
|
|
|
|
DummyUnknownName
|
|
|
|
PatchmanBridgeServerDirectory
|
|
|
|
PatchmanBridgeServerDirectory
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
|
PatchmanBridgeServerDirectory = "T:/bridge_server"
|
|
|
|
PatchmanBridgeServerDirectory = "R:/pipeline/bridge_server"
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
SignToolExecutable
|
|
|
|
SignToolExecutable
|
|
|
|
except NameError:
|
|
|
|
except NameError:
|
|
|
@ -232,6 +326,7 @@ if not args.noconf:
|
|
|
|
printLog(log, "Use -- if you need to insert an empty value.")
|
|
|
|
printLog(log, "Use -- if you need to insert an empty value.")
|
|
|
|
printLog(log, "")
|
|
|
|
printLog(log, "")
|
|
|
|
BuildQuality = int(askVar(log, "Build Quality", str(BuildQuality)))
|
|
|
|
BuildQuality = int(askVar(log, "Build Quality", str(BuildQuality)))
|
|
|
|
|
|
|
|
if not args.preset:
|
|
|
|
ToolDirectories[0] = askVar(log, "[IN] Primary Tool Directory", ToolDirectories[0]).replace("\\", "/")
|
|
|
|
ToolDirectories[0] = askVar(log, "[IN] Primary Tool Directory", ToolDirectories[0]).replace("\\", "/")
|
|
|
|
ToolDirectories[1] = askVar(log, "[IN] Secondary Tool Directory", ToolDirectories[1]).replace("\\", "/")
|
|
|
|
ToolDirectories[1] = askVar(log, "[IN] Secondary Tool Directory", ToolDirectories[1]).replace("\\", "/")
|
|
|
|
ToolSuffix = askVar(log, "Tool Suffix", ToolSuffix)
|
|
|
|
ToolSuffix = askVar(log, "Tool Suffix", ToolSuffix)
|
|
|
@ -243,9 +338,11 @@ if not args.noconf:
|
|
|
|
ExportBuildDirectory = askVar(log, "[OUT] Export Build Directory", ExportBuildDirectory).replace("\\", "/")
|
|
|
|
ExportBuildDirectory = askVar(log, "[OUT] Export Build Directory", ExportBuildDirectory).replace("\\", "/")
|
|
|
|
InstallDirectory = askVar(log, "[OUT] Install Directory", InstallDirectory).replace("\\", "/")
|
|
|
|
InstallDirectory = askVar(log, "[OUT] Install Directory", InstallDirectory).replace("\\", "/")
|
|
|
|
ClientDevDirectory = askVar(log, "[OUT] Client Dev Directory", ClientDevDirectory).replace("\\", "/")
|
|
|
|
ClientDevDirectory = askVar(log, "[OUT] Client Dev Directory", ClientDevDirectory).replace("\\", "/")
|
|
|
|
|
|
|
|
ClientDevLiveDirectory = askVar(log, "[OUT] Client Dev Live Directory", ClientDevLiveDirectory).replace("\\", "/")
|
|
|
|
ClientPatchDirectory = askVar(log, "[OUT] Client Patch Directory", ClientPatchDirectory).replace("\\", "/")
|
|
|
|
ClientPatchDirectory = askVar(log, "[OUT] Client Patch Directory", ClientPatchDirectory).replace("\\", "/")
|
|
|
|
ClientInstallDirectory = askVar(log, "[OUT] Client Install Directory", ClientInstallDirectory).replace("\\", "/")
|
|
|
|
ClientInstallDirectory = askVar(log, "[OUT] Client Install Directory", ClientInstallDirectory).replace("\\", "/")
|
|
|
|
ShardInstallDirectory = askVar(log, "[OUT] Shard Data Install Directory", ShardInstallDirectory).replace("\\", "/")
|
|
|
|
ShardInstallDirectory = askVar(log, "[OUT] Shard Data Install Directory", ShardInstallDirectory).replace("\\", "/")
|
|
|
|
|
|
|
|
ShardDevDirectory = askVar(log, "[OUT] Shard Dev Directory", ShardDevDirectory).replace("\\", "/")
|
|
|
|
WorldEditInstallDirectory = askVar(log, "[OUT] World Edit Data Install Directory", WorldEditInstallDirectory).replace("\\", "/")
|
|
|
|
WorldEditInstallDirectory = askVar(log, "[OUT] World Edit Data Install Directory", WorldEditInstallDirectory).replace("\\", "/")
|
|
|
|
LeveldesignDirectory = askVar(log, "[IN] Leveldesign Directory", LeveldesignDirectory).replace("\\", "/")
|
|
|
|
LeveldesignDirectory = askVar(log, "[IN] Leveldesign Directory", LeveldesignDirectory).replace("\\", "/")
|
|
|
|
LeveldesignDfnDirectory = askVar(log, "[IN] Leveldesign DFN Directory", LeveldesignDfnDirectory).replace("\\", "/")
|
|
|
|
LeveldesignDfnDirectory = askVar(log, "[IN] Leveldesign DFN Directory", LeveldesignDfnDirectory).replace("\\", "/")
|
|
|
@ -267,6 +364,7 @@ if not args.noconf:
|
|
|
|
WindowsExeDllCfgDirectories[6] = askVar(log, "[IN] Septenary Windows exe/dll/cfg Directory", WindowsExeDllCfgDirectories[6]).replace("\\", "/")
|
|
|
|
WindowsExeDllCfgDirectories[6] = askVar(log, "[IN] Septenary Windows exe/dll/cfg Directory", WindowsExeDllCfgDirectories[6]).replace("\\", "/")
|
|
|
|
LinuxServiceExecutableDirectory = askVar(log, "[IN] Linux Service Executable Directory", LinuxServiceExecutableDirectory).replace("\\", "/")
|
|
|
|
LinuxServiceExecutableDirectory = askVar(log, "[IN] Linux Service Executable Directory", LinuxServiceExecutableDirectory).replace("\\", "/")
|
|
|
|
LinuxClientExecutableDirectory = askVar(log, "[IN] Linux Client Executable Directory", LinuxClientExecutableDirectory).replace("\\", "/")
|
|
|
|
LinuxClientExecutableDirectory = askVar(log, "[IN] Linux Client Executable Directory", LinuxClientExecutableDirectory).replace("\\", "/")
|
|
|
|
|
|
|
|
PatchmanDevDirectory = askVar(log, "[IN] Patchman Directory", PatchmanDevDirectory).replace("\\", "/")
|
|
|
|
PatchmanCfgAdminDirectory = askVar(log, "[IN] Patchman Cfg Admin Directory", PatchmanCfgAdminDirectory).replace("\\", "/")
|
|
|
|
PatchmanCfgAdminDirectory = askVar(log, "[IN] Patchman Cfg Admin Directory", PatchmanCfgAdminDirectory).replace("\\", "/")
|
|
|
|
PatchmanCfgDefaultDirectory = askVar(log, "[IN] Patchman Cfg Default Directory", PatchmanCfgDefaultDirectory).replace("\\", "/")
|
|
|
|
PatchmanCfgDefaultDirectory = askVar(log, "[IN] Patchman Cfg Default Directory", PatchmanCfgDefaultDirectory).replace("\\", "/")
|
|
|
|
PatchmanBridgeServerDirectory = askVar(log, "[OUT] Patchman Bridge Server Patch Directory", PatchmanBridgeServerDirectory).replace("\\", "/")
|
|
|
|
PatchmanBridgeServerDirectory = askVar(log, "[OUT] Patchman Bridge Server Patch Directory", PatchmanBridgeServerDirectory).replace("\\", "/")
|
|
|
@ -317,6 +415,9 @@ if not args.noconf:
|
|
|
|
sf.write("# Quality option for this site (1 for BEST, 0 for DRAFT)\n")
|
|
|
|
sf.write("# Quality option for this site (1 for BEST, 0 for DRAFT)\n")
|
|
|
|
sf.write("BuildQuality = " + str(BuildQuality) + "\n")
|
|
|
|
sf.write("BuildQuality = " + str(BuildQuality) + "\n")
|
|
|
|
sf.write("\n")
|
|
|
|
sf.write("\n")
|
|
|
|
|
|
|
|
sf.write("RemapLocalFrom = \"" + str(RemapLocalFrom) + "\"\n")
|
|
|
|
|
|
|
|
sf.write("RemapLocalTo = \"" + str(RemapLocalTo) + "\"\n")
|
|
|
|
|
|
|
|
sf.write("\n")
|
|
|
|
sf.write("ToolDirectories = " + str(ToolDirectories) + "\n")
|
|
|
|
sf.write("ToolDirectories = " + str(ToolDirectories) + "\n")
|
|
|
|
sf.write("ToolSuffix = \"" + str(ToolSuffix) + "\"\n")
|
|
|
|
sf.write("ToolSuffix = \"" + str(ToolSuffix) + "\"\n")
|
|
|
|
sf.write("\n")
|
|
|
|
sf.write("\n")
|
|
|
@ -333,9 +434,11 @@ if not args.noconf:
|
|
|
|
sf.write("# Install directories\n")
|
|
|
|
sf.write("# Install directories\n")
|
|
|
|
sf.write("InstallDirectory = \"" + str(InstallDirectory) + "\"\n")
|
|
|
|
sf.write("InstallDirectory = \"" + str(InstallDirectory) + "\"\n")
|
|
|
|
sf.write("ClientDevDirectory = \"" + str(ClientDevDirectory) + "\"\n")
|
|
|
|
sf.write("ClientDevDirectory = \"" + str(ClientDevDirectory) + "\"\n")
|
|
|
|
|
|
|
|
sf.write("ClientDevLiveDirectory = \"" + str(ClientDevLiveDirectory) + "\"\n")
|
|
|
|
sf.write("ClientPatchDirectory = \"" + str(ClientPatchDirectory) + "\"\n")
|
|
|
|
sf.write("ClientPatchDirectory = \"" + str(ClientPatchDirectory) + "\"\n")
|
|
|
|
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("ShardDevDirectory = \"" + str(ShardDevDirectory) + "\"\n")
|
|
|
|
sf.write("WorldEditInstallDirectory = \"" + str(WorldEditInstallDirectory) + "\"\n")
|
|
|
|
sf.write("WorldEditInstallDirectory = \"" + str(WorldEditInstallDirectory) + "\"\n")
|
|
|
|
sf.write("\n")
|
|
|
|
sf.write("\n")
|
|
|
|
sf.write("# Utility directories\n")
|
|
|
|
sf.write("# Utility directories\n")
|
|
|
@ -357,6 +460,7 @@ if not args.noconf:
|
|
|
|
sf.write("WindowsExeDllCfgDirectories = " + str(WindowsExeDllCfgDirectories) + "\n")
|
|
|
|
sf.write("WindowsExeDllCfgDirectories = " + str(WindowsExeDllCfgDirectories) + "\n")
|
|
|
|
sf.write("LinuxServiceExecutableDirectory = \"" + str(LinuxServiceExecutableDirectory) + "\"\n")
|
|
|
|
sf.write("LinuxServiceExecutableDirectory = \"" + str(LinuxServiceExecutableDirectory) + "\"\n")
|
|
|
|
sf.write("LinuxClientExecutableDirectory = \"" + str(LinuxClientExecutableDirectory) + "\"\n")
|
|
|
|
sf.write("LinuxClientExecutableDirectory = \"" + str(LinuxClientExecutableDirectory) + "\"\n")
|
|
|
|
|
|
|
|
sf.write("PatchmanDevDirectory = \"" + str(PatchmanDevDirectory) + "\"\n")
|
|
|
|
sf.write("PatchmanCfgAdminDirectory = \"" + str(PatchmanCfgAdminDirectory) + "\"\n")
|
|
|
|
sf.write("PatchmanCfgAdminDirectory = \"" + str(PatchmanCfgAdminDirectory) + "\"\n")
|
|
|
|
sf.write("PatchmanCfgDefaultDirectory = \"" + str(PatchmanCfgDefaultDirectory) + "\"\n")
|
|
|
|
sf.write("PatchmanCfgDefaultDirectory = \"" + str(PatchmanCfgDefaultDirectory) + "\"\n")
|
|
|
|
sf.write("PatchmanBridgeServerDirectory = \"" + str(PatchmanBridgeServerDirectory) + "\"\n")
|
|
|
|
sf.write("PatchmanBridgeServerDirectory = \"" + str(PatchmanBridgeServerDirectory) + "\"\n")
|
|
|
@ -374,7 +478,17 @@ if not args.noconf:
|
|
|
|
sf.write("\n")
|
|
|
|
sf.write("\n")
|
|
|
|
sf.write("\n")
|
|
|
|
sf.write("\n")
|
|
|
|
sf.write("# end of file\n")
|
|
|
|
sf.write("# end of file\n")
|
|
|
|
|
|
|
|
sf.flush()
|
|
|
|
sf.close()
|
|
|
|
sf.close()
|
|
|
|
|
|
|
|
sf = open("configuration/buildsite_local.py", "w")
|
|
|
|
|
|
|
|
sfr = open("configuration/buildsite.py", "r")
|
|
|
|
|
|
|
|
for l in sfr:
|
|
|
|
|
|
|
|
sf.write(l.replace(RemapLocalFrom + '/', RemapLocalTo + '/'))
|
|
|
|
|
|
|
|
sf.flush()
|
|
|
|
|
|
|
|
sfr.close()
|
|
|
|
|
|
|
|
sf.close()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from buildsite_local import *
|
|
|
|
|
|
|
|
|
|
|
|
sys.path.append(WorkspaceDirectory)
|
|
|
|
sys.path.append(WorkspaceDirectory)
|
|
|
|
from projects import *
|
|
|
|
from projects import *
|
|
|
@ -415,6 +529,7 @@ printLog(log, "")
|
|
|
|
# Additional directories
|
|
|
|
# Additional directories
|
|
|
|
printLog(log, ">>> Setup additional directories <<<")
|
|
|
|
printLog(log, ">>> Setup additional directories <<<")
|
|
|
|
mkPath(log, ClientDevDirectory)
|
|
|
|
mkPath(log, ClientDevDirectory)
|
|
|
|
|
|
|
|
mkPath(log, ClientDevLiveDirectory)
|
|
|
|
mkPath(log, ClientPatchDirectory)
|
|
|
|
mkPath(log, ClientPatchDirectory)
|
|
|
|
mkPath(log, ClientInstallDirectory)
|
|
|
|
mkPath(log, ClientInstallDirectory)
|
|
|
|
|
|
|
|
|
|
|
@ -470,6 +585,7 @@ if not args.noverify:
|
|
|
|
findTool(log, ToolDirectories, TranslationToolsTool, ToolSuffix)
|
|
|
|
findTool(log, ToolDirectories, TranslationToolsTool, ToolSuffix)
|
|
|
|
findTool(log, ToolDirectories, BuildWorldPackedColTool, ToolSuffix)
|
|
|
|
findTool(log, ToolDirectories, BuildWorldPackedColTool, ToolSuffix)
|
|
|
|
findTool(log, ToolDirectories, R2IslandsTexturesTool, ToolSuffix)
|
|
|
|
findTool(log, ToolDirectories, R2IslandsTexturesTool, ToolSuffix)
|
|
|
|
|
|
|
|
findTool(log, ToolDirectories, PatchmanServiceTool, ToolSuffix)
|
|
|
|
|
|
|
|
|
|
|
|
log.close()
|
|
|
|
log.close()
|
|
|
|
if os.path.isfile("0_setup.log"):
|
|
|
|
if os.path.isfile("0_setup.log"):
|
|
|
|