mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-04-29 16:25:49 +00:00
re-export new GameData folder from fresh QoL install, updated DynamixThreeSpaceBlenderAddon
This commit is contained in:
parent
7d10fb7dee
commit
27663875ea
7280 changed files with 105217 additions and 119370 deletions
|
|
@ -63,6 +63,8 @@ print(f"[dif2gltf] Processing {len(input_files)} file(s)...")
|
|||
|
||||
# ---- process each file ----
|
||||
total = len(input_files)
|
||||
success_count = 0
|
||||
failure_count = 0
|
||||
for i, in_path in enumerate(input_files, start=1):
|
||||
# Derive output path: same location, same name, but .glb/.gltf extension
|
||||
ext = ".gltf" if args.format == "GLTF_SEPARATE" else ".glb"
|
||||
|
|
@ -81,6 +83,7 @@ for i, in_path in enumerate(input_files, start=1):
|
|||
if "FINISHED" not in res:
|
||||
raise RuntimeError(f"Import failed via {op_id}")
|
||||
except Exception:
|
||||
failure_count += 1
|
||||
print(f"\n{RED}[dif2gltf] [{i}/{total}] FAIL:{RESET} {in_path}")
|
||||
continue
|
||||
|
||||
|
|
@ -95,9 +98,11 @@ for i, in_path in enumerate(input_files, start=1):
|
|||
export_yup=True,
|
||||
)
|
||||
if "FINISHED" not in res:
|
||||
failure_count += 1
|
||||
print(f"\n{RED}[dif2gltf] [{i}/{total}] FAIL (export):{RESET} {out_path}")
|
||||
continue
|
||||
|
||||
success_count += 1
|
||||
print(f"{GREEN}[dif2gltf] [{i}/{total}] OK:{RESET} {in_path} -> {out_path}")
|
||||
|
||||
print(f"[dif2gltf] Done! Converted {len(input_files)} file(s).")
|
||||
print(f"[dif2gltf] Done! Converted {success_count} file(s), {failure_count} failed.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue