Pages

Native AEX authoring and performance

What AEX already does natively for TA content, the load cache and map bake, and what native authoring and export are still planned.

A working TA mod gets AEX's compatibility fixes and engine performance without being converted or repackaged. Read this when you wonder whether to port a DLL-dependent mod to native AEX content.

The worked example

Pre-bake a map's navigation data into the per-user AEX cache the engine reads, so the first match on it loads faster:

aex-asset-modernizer map <ta-data-dir> <map-name>

<map-name> is the map's file under maps/ or its mission name. Add --out <dir> to write the .aexbundle somewhere else. When a match loads, the log shows whether a cached bundle was used or built:

[bundle-cache] stored <path>

What TA content already gets

TA content already benefits from native parsing, normalized definitions and shared decoded COB programs. These optimizations do not require repackaging your mod. The compiler design explains the current owners and the further work; it is not a promise that every design stage is available. Performance improvements must preserve the script's gameplay and be measured on real content. AEX also caches compiled map and load data in versioned .aexbundle files; the asset modernizer can pre-bake a map. That existing cache path is distinct from exporting a complete playable native mod.

Native content and export

AEX-native TOML content has schemas and a validating loader. A native standalone game (base = "none") plays its native units and weapons in a match; a mod built on TA data still plays its content through the TA files. Complete native mod export, the AEX script-language round trip and further proven script lowering are planned. They are not an automatic conversion of arbitrary DLL code.

AEX Studio

AEX Studio provides the current editing store foundation, with originals kept read-only and deliberate versioning. Package export and the remaining editor integrations are separate work. The intended native workflow gives modders a portable, editable output while continuing to support the original TA assets; there is no requirement to convert a working TA mod to get compatibility fixes or engine performance improvements.

What goes wrong

A cached bundle from a different AEX build is not used; the log says so and the bundle is rebuilt:

[bundle-cache] ignoring <path>: built by compiler <n> checkpoint <n> build <hash> for inputs <hash>, this build wants compiler <n> checkpoint <n> build <hash> inputs <hash>; rebuilding it

With no bundle yet the log reads [bundle-cache] no <kind> bundle <key> cached; building it. Both only cost load time; the match plays the same. aex-asset-modernizer compile prints aex-asset-modernizer: compile is not implemented yet.

Next