#!/usr/bin/env python3 """Generate 'Pressing District' — 64x64 4-player skirmish map (yaml + bin + preview).""" import os, struct from PIL import Image W = H = 66 # 64 playable + 1 border each side MAP = os.path.join(os.path.dirname(__file__), '..', 'mods', 'vinylgod', 'maps', 'district') os.makedirs(MAP, exist_ok=True) SPAWNS = [(8, 8), (57, 8), (8, 57), (57, 57)] WAX = [(16, 16, 5), (49, 16, 5), (16, 49, 5), (49, 49, 5), (32, 32, 7), (32, 10, 3), (32, 55, 3), (10, 32, 3), (55, 32, 3)] # map.bin: fmt2 header, tiles (template 255 idx 0), resources data = bytearray() data += struct.pack('