Unify Iron Coast mission names and cinematic mission previews

This commit is contained in:
raptorreplica committed 2026-10-19 00:10:38 +11:00
1 parent 668b3ff86d
commit 2d95e145a5
406 files changed
+134963 -245

No files matched your search

+3 -3
View File
@@ -12,6 +12,7 @@ import random
import struct
import wave
from pathlib import Path
import runpy
from PIL import Image, ImageOps
ROOT = Path(__file__).resolve().parent
@@ -96,9 +97,8 @@ def main():
assert terrain_hd.crop((0, 1535, 1152, 1536)).tobytes() == ImageOps.flip(terrain_hd).crop((0, 0, 1152, 1)).tobytes()
terrain_sd.save(art / "terrain-preview-sd.png")
terrain_hd.save(art / "terrain-preview-hd.png")
briefing = Image.open(art / "briefing-source-hd.png").convert("RGBA")
sd(briefing, (320, 200), palette).save(art / "briefing_sd.png")
briefing.resize((1280, 800), Image.Resampling.LANCZOS).save(art / "briefing_hd.png")
# The cinematic briefing has its own unchanged generated master.
runpy.run_path(str(art / "build_cinematic_briefing.py"), run_name="__main__")
convoy = Image.open(art / "convoy-source-hd.png").convert("RGBA")
# Use the generated alpha bounds, then preserve its complete silhouette in
# the logical canvas with a small transparent border. This is packaging.