import json with open('extracted/project.json', 'rb') as f: data = json.loads(f.read().decode('utf-8', 'ignore')) # Find the Level sprite and map costume names to asset IDs for target in data.get('targets', []): if target.get('name') == 'Level': costumes = target.get('costumes', []) print(f"Total level costumes: {len(costumes)}") print("\n=== Level 1 (first 5) ===") for c in costumes[:5]: print(f" {c.get('name')}: {c.get('md5ext')}") print("\n=== Level 2 (first 3) ===") for c in costumes[36:39]: print(f" {c.get('name')}: {c.get('md5ext')}") print("\n=== Level 3 (first 3) ===") for c in costumes[74:77]: print(f" {c.get('name')}: {c.get('md5ext')}")