mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Add translation directory to pipeline setup
This commit is contained in:
parent
25ee7f2595
commit
62a4bec18c
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