GENIE实机验证Singleplayer Safe

Age of Empires II: Definitive Edition

New civilization "San Franciscans" with unique units rendered from AI 3D into 8-heading directional sprites.

Game EngineGenie Engine (Enhanced)
Primary Hook RouteData Mod / SLD Sprite Pipeline

Anti-Cheat Safety Profile

Safe for Singleplayer & Casual Lobbies (Ranked checks checksum)

Recommended Toolchain
genieutils-pyAoE2ScenarioParserfal (trellis 3D)Blendersld.py
AI Agent Reproduction Steps
1

Environment & Binary Reconnaissance

Run `um recon --game aoe2-de` to detect Genie Engine (Enhanced) architecture and PE headers.

2

Headless Decompilation & Symbol Dump

Use genieutils-py to dump class schemas and method offsets.

3

Locate Minimal Hook Target

Leverage Data Mod / SLD Sprite Pipeline to attach to game tick and event lifecycle handlers.

4

Generative Asset Synthesis

Synthesize sprite textures, 3D meshes, or audio via fal.ai MCP integration.

5

Compile Delta & Run Offline Sandbox Loop

Compile the patch assembly and spawn game under strict offline sandbox boundaries.

Code Example
PYTHON

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)
Engine Architecture Playbook

Genie Engine

View Playbook →