|
|
@ -57,6 +57,11 @@ else:
|
|
|
|
mkPath(log, ExportBuildDirectory + "/" + VisualSlotTabBuildDirectory)
|
|
|
|
mkPath(log, ExportBuildDirectory + "/" + VisualSlotTabBuildDirectory)
|
|
|
|
mkPath(log, DataShardDirectory + "/mirror_sheets") # FIXME: Hardcoded path mirror_sheets
|
|
|
|
mkPath(log, DataShardDirectory + "/mirror_sheets") # FIXME: Hardcoded path mirror_sheets
|
|
|
|
mkPath(log, ExportBuildDirectory + "/" + SheetsShardBuildDirectory)
|
|
|
|
mkPath(log, ExportBuildDirectory + "/" + SheetsShardBuildDirectory)
|
|
|
|
|
|
|
|
# Wipe all sheets older than visual_slot.tab
|
|
|
|
|
|
|
|
for p in os.listdir(ExportBuildDirectory + "/" + SheetsShardBuildDirectory):
|
|
|
|
|
|
|
|
fp = ExportBuildDirectory + "/" + SheetsShardBuildDirectory + "/" + p
|
|
|
|
|
|
|
|
if os.path.isfile(fp) and p.endswith(".packed_sheets"):
|
|
|
|
|
|
|
|
needUpdateLogRemoveDestSilentSkip(log, ExportBuildDirectory + "/" + VisualSlotTabBuildDirectory + "/visual_slot.tab", fp)
|
|
|
|
# sheets_packer_shard <leveldesign> <dfn> <datasets> <tab> <build_packed_sheets>
|
|
|
|
# sheets_packer_shard <leveldesign> <dfn> <datasets> <tab> <build_packed_sheets>
|
|
|
|
subprocess.call([ SheetsPackerShard, LeveldesignDirectory, LeveldesignDfnDirectory, DataShardDirectory + "/mirror_sheets", ExportBuildDirectory + "/" + VisualSlotTabBuildDirectory, ExportBuildDirectory + "/" + SheetsShardBuildDirectory ])
|
|
|
|
subprocess.call([ SheetsPackerShard, LeveldesignDirectory, LeveldesignDfnDirectory, DataShardDirectory + "/mirror_sheets", ExportBuildDirectory + "/" + VisualSlotTabBuildDirectory, ExportBuildDirectory + "/" + SheetsShardBuildDirectory ])
|
|
|
|
printLog(log, "")
|
|
|
|
printLog(log, "")
|
|
|
|