Age of Empires II: Definitive Edition
New civilization "San Franciscans" with unique units rendered from AI 3D into 8-heading directional sprites.
Anti-Cheat Safety Profile
Safe for Singleplayer & Casual Lobbies (Ranked checks checksum)
Environment & Binary Reconnaissance
Run `um recon --game aoe2-de` to detect Genie Engine (Enhanced) architecture and PE headers.
Headless Decompilation & Symbol Dump
Use genieutils-py to dump class schemas and method offsets.
Locate Minimal Hook Target
Leverage Data Mod / SLD Sprite Pipeline to attach to game tick and event lifecycle handlers.
Generative Asset Synthesis
Synthesize sprite textures, 3D meshes, or audio via fal.ai MCP integration.
Compile Delta & Run Offline Sandbox Loop
Compile the patch assembly and spawn game under strict offline sandbox boundaries.
A completely new playable civilization: self-driving Robotaxis, Delivery Drones, Transamerica Pyramid wonder, and custom tech tree. Reverse-engineered the binary SLD format with roundtrip MSE < 0.91/255.
# sld.py: AoE2 DE Proprietary .sld Frame Packing
# 4x4 Macroblocks with Skip/Draw Runs (BC1 & BC4 layers)
def pack_sld_layer(canvas_w, canvas_h, hotspot, blocks_rgba):
cmds = []
blocks_data = []
# Encodes 16 headings clockwise from east, with ground hotspot
for block in blocks_rgba:
if is_transparent(block):
cmds.append((skip_count, 0))
else:
compressed = compress_bc1_dxt1(block)
cmds.append((skip_count, 1))
blocks_data.append(compressed)
return pack_layer_record(cmds, blocks_data)