- Generated new icon.png, logo.png with hexagon 'A' design - Updated app_icon.png and splash.png - Created Windows .ico files with AeThex branding - Added Python scripts to regenerate branding assets - All assets use AeThex colors (cyan #00D9FF, purple #8B5CF6) Rebuild the engine to see the new branding!
35 lines
1 KiB
Python
35 lines
1 KiB
Python
#!/usr/bin/env python3
|
|
"""
|
|
Generate Windows .ico files for AeThex Engine
|
|
"""
|
|
|
|
from PIL import Image
|
|
import os
|
|
|
|
def create_ico(source_png, output_ico, sizes=[16, 32, 48, 64, 128, 256]):
|
|
"""Create a multi-size .ico file"""
|
|
print(f"Creating {output_ico}...")
|
|
|
|
# Load source image
|
|
img = Image.open(source_png)
|
|
|
|
# Create different sizes
|
|
images = []
|
|
for size in sizes:
|
|
resized = img.resize((size, size), Image.Resampling.LANCZOS)
|
|
images.append(resized)
|
|
|
|
# Save as .ico
|
|
images[0].save(output_ico, format='ICO', sizes=[(img.width, img.height) for img in images], append_images=images[1:])
|
|
|
|
file_size = os.path.getsize(output_ico) / 1024
|
|
print(f"✓ Created {output_ico} ({file_size:.1f} KB)")
|
|
|
|
if __name__ == "__main__":
|
|
print("🪟 Generating Windows .ico files...\n")
|
|
|
|
# Create the .ico files
|
|
create_ico("icon.png", "platform/windows/godot.ico")
|
|
create_ico("icon.png", "platform/windows/godot_console.ico")
|
|
|
|
print("\n✅ Windows icon files generated!")
|