How TA DLL features work in AEX
Why a feature added to TA by a patched executable or DLL works in AEX only when AEX implements its behavior natively, and why there is no DLL loader.
AEX reads your TA mod's content directly. Features added to TA by a patched executable or DLL work in AEX when AEX implements their behavior in its own engine. You do not need to patch an AEX executable or supply an AEX version of the DLL. Read this before you rely on a DLL feature in a mod you play in AEX.
The worked example
Escalation's DLL adds the weapon key nottoair. In AEX you keep the key in
the mod's own weapon file, exactly as TA used it; AEX reads it into its
weapon definition, and targeting and firing use that definition:
[ARTY_SHELL]
{
ID=150;
name=Plasma Shell;
rendertype=4;
ballistic=1;
range=1200;
reloadtime=3.2;
weaponvelocity=400;
areaofeffect=96;
nottoair=1;
[DAMAGE]
{
default=150;
}
}
A weapon with nottoair=1 never takes an aircraft as a target, ordered
attacks included. Nothing else is needed: no DLL, no patched TotalA.exe,
no switch.
Why DLL features matter
TA's DLL authors made substantial additions to an engine whose source was unavailable: new data fields, script queries, gameplay rules, interfaces and larger limits. That work defines behavior modders depend on. AEX's job is to understand and reproduce the behavior, while keeping the original content useful across platforms.
What happens to a DLL feature
In TA, a hook can redirect a particular executable instruction to new code. It may read extra FBI or weapon keys, answer a COB query, or change a gameplay rule. Those instruction addresses and Windows binary interfaces belong to TA. AEX has its own simulation, renderer and networking. Its legacy adapters connect supported patch inputs to the corresponding native engine definitions and operations, following rule 29. A supported COB extension enters through the script VM boundary; the engine does not execute the Windows hook.
For example, AEX reads the extended weapon keys nottoair,
nottounderwater and surfacefire into weapon definitions; targeting and firing
use those definitions. A supported COB extension is answered by the script VM's
unit-query owner. A larger TA allocation limit may need no equivalent patch
because AEX has different storage; player-facing unit limits remain match rules.
These are different kinds of compatibility, and none implies that every feature
in the same DLL works.
The mod compatibility library handles supported content conventions through versioned profiles and content guards. It includes the observed legacy stomp family and maps matching definitions to AEX's native ability at load time. Authors may add guarded profiles or explicitly bind and opt out of an ability. It also preserves explicitly nonblocking legacy heaps through native feature obstruction. These are documented mappings to existing engine behavior. A separate script-reference profile recognizes the mounted mod and selects the native owner-scoped retirement policy. That narrowly selected mapping does not imply support for the mod's other hooks.
No DLL loader
There is no general DLL loader or automatic DLL-to-AEX converter for mods.
Shipping a DLL, patched TotalA.exe or TAESC.ini does not itself enable its
features in AEX. A documented profile recognizes a mod by its mod.toml id,
or, for a copy without one, by the names of its mounted archives
(Mod identity); AEX never reads,
hashes, copies or executes a mod's executable or DLL.
Unknown hooks need investigation; their names or descriptions alone cannot
establish what the game should do.
Review legacy commands individually
The patch command list is an evidence inventory, not an implementation backlog. Review each underlying feature for usefulness in AEX, existing native coverage, TA-specific workarounds, authority and lifecycle before implementing it. A native setting, menu action or automatic invariant is the primary interface. A verified historical command spelling does not by itself justify adding a chat command.
Patch features use native controls and authoring. Do not add their historical
chat-command spellings as part of feature implementation. The compatibility
library supplies no dot-command aliases; .autopause is ordinary chat text.
Existing command interfaces elsewhere in AEX require their own review and are
not an approval to reproduce the patch command list.
What goes wrong
AEX logs nothing for a DLL feature it does not implement: a key it does not read is ignored, and the behavior simply does not happen in the match. A weapon fires at targets the key was meant to exclude, a script query has no effect, a rule plays as in stock TA.
When a compatibility profile does apply, the log names it, for example:
script compatibility: profile <id>@<revision> selected owner-scoped reference retirement; evidence: <evidence>
No such line means no profile selected that mapping for the mounted mod.