Pages

Enable and use supported DLL behavior

How to mount a TA mod so the DLL features AEX supports work, and how the script-reference adapter, manifest and file precedence affect them.

Supported DLL features work through the normal content path once the mod is mounted; there is no separate DLL compatibility switch. Use this page when you set up a TA mod, such as Escalation, to play in AEX.

The worked example

Register the mod folder in Options > Install > ADD MOD... (choose the folder), then SET ACTIVE. Or launch with the mod named on the command line:

aex_engine --data-path <ta-data-folder> --mod <mod-folder>

AEX's log, aex.log, then reads:

[mods] --mod: <mod-folder>

or, for a mod set active in the menus,

[mods] active mod: <mod name> (<mod folder>)

Steps

  1. Keep the mod's original archives and loose content in its mod folder. Choose that folder over your base TA data using the menus above, or launch with aex_engine --data-path <ta-data-folder> --mod <mod-folder>.
  2. Use the feature's original data fields, menu entries and scripts. Supported readers and script operations work through the normal content path; there is no separate DLL compatibility switch to turn on.
  3. For features exposed as AEX match rules, choose the documented rule in the lobby. A simulation rule must agree across multiplayer peers. A TA patch's INI setting or chat command is not automatically an AEX setting.
  4. Check the feature's entry in the DLL feature inventory and, for upgrades, the native upgrade library. Check support notes as well as the feature name before relying on it.
  5. Play the actual build, research or combat sequence from a normal skirmish. A unit appearing in a menu does not prove its later script effect works.

The script-reference adapter

The script-reference adapter needs the mod to match a documented identity. A mod that does not match, such as a different version, retains the baseline policy unless native script-references.toml explicitly selects another policy. The compatibility library reference describes selection and native overrides; the COB register records the evidence and the negotiated namespace and ownership-transfer limits. Save, replay and rejoin identity checks use the effective selection.

The manifest is optional

A legacy TA mod needs no mod.toml. An optional manifest supplies identity and presentation defaults; see the manifest reference. Dependency resolution and allowed_features enforcement are planned. They are not a way to enable missing DLL behavior today. Only the selected mod is mounted; AEX does not resolve a manifest's dependency list into additional mods.

File precedence

File precedence and renamed TA folders are covered in Making a mod. A loose file can shadow an archive's copy, so check for development overrides when a changed definition seems to have no effect.

AI settings need no patch

Factory-opening requirements, income thresholds and AI profile settings can be configured in a mod's ai.toml, without an executable patch. These tune AEX's own AI; their semantics are documented independently of TA's original build-selection formula.

What goes wrong

If the mod did not mount, the log reads one of:

[mods] no active mod: stock TA
[mods] <reason>; playing stock TA

and every DLL feature is missing because the match is stock TA. When a profile applies to a mod version the library was not checked against, the log warns and applies it anyway:

mod compatibility: <mod> <version> has not been tested with AEX's compatibility profiles; they apply anyway

A changed definition with no effect usually means a loose file is shadowing it (see File precedence).

Next