mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 05:36:13 +00:00
Add translation directory to pipeline setup
This commit is contained in:
parent
c7a85d7191
commit
1599f7c9ec
2 changed files with 8 additions and 0 deletions
|
@ -147,6 +147,10 @@ if not args.noconf:
|
|||
LeveldesignDataCommonDirectory
|
||||
except NameError:
|
||||
LeveldesignDataCommonDirectory = "L:/data_common"
|
||||
try:
|
||||
TranslationDirectory
|
||||
except NameError:
|
||||
TranslationDirectory = "L:/translation"
|
||||
try:
|
||||
WorldEditorFilesDirectory
|
||||
except NameError:
|
||||
|
@ -204,6 +208,7 @@ if not args.noconf:
|
|||
GamedevDirectory = askVar(log, "Gamedev Directory", GamedevDirectory).replace("\\", "/")
|
||||
DataShardDirectory = askVar(log, "Data Shard Directory", DataShardDirectory).replace("\\", "/")
|
||||
DataCommonDirectory = askVar(log, "Data Common Directory", DataCommonDirectory).replace("\\", "/")
|
||||
TranslationDirectory = askVar(log, "Translation Directory", TranslationDirectory).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("\\", "/")
|
||||
|
@ -287,6 +292,7 @@ if not args.noconf:
|
|||
sf.write("PrimitivesDirectory = \"" + str(PrimitivesDirectory) + "\"\n")
|
||||
sf.write("LeveldesignDataCommonDirectory = \"" + str(LeveldesignDataCommonDirectory) + "\"\n")
|
||||
sf.write("LeveldesignDataShardDirectory = \"" + str(LeveldesignDataShardDirectory) + "\"\n")
|
||||
sf.write("TranslationDirectory = \"" + str(TranslationDirectory) + "\"\n")
|
||||
sf.write("\n")
|
||||
sf.write("# Misc data directories\n")
|
||||
sf.write("GamedevDirectory = \"" + str(GamedevDirectory) + "\"\n")
|
||||
|
@ -391,6 +397,7 @@ if not args.noverify:
|
|||
findTool(log, ToolDirectories, AiBuildWmapTool, ToolSuffix)
|
||||
findTool(log, ToolDirectories, TgaCutTool, ToolSuffix)
|
||||
findTool(log, ToolDirectories, PatchGenTool, ToolSuffix)
|
||||
findTool(log, ToolDirectories, TranslationToolsTool, ToolSuffix)
|
||||
|
||||
log.close()
|
||||
if os.path.isfile("0_setup.log"):
|
||||
|
|
|
@ -89,3 +89,4 @@ BnpMakeTool = "bnp_make"
|
|||
AiBuildWmapTool = "ai_build_wmap"
|
||||
TgaCutTool = "tga_cut"
|
||||
PatchGenTool = "patch_gen"
|
||||
TranslationToolsTool = "translation_tools"
|
||||
|
|
Loading…
Reference in a new issue