Repository navigation
v1.4.0: steadier frames, +1.5 FPS (FEX package aoe4-perf6)
Age of Empires IV on Android with GameNative: steadier frames and +1.5 FPS from a new FEX package and one container setting.
Download for AoE IV: fexcore-aoe4-perf6.wcp (the patched emulator, new) and turnip-main-c78a9e9.zip (the graphics driver, same as v1.3.0). For AoE II DE keep fexcore-aoe4-perf5.wcp (same as v1.2.0 and v1.3.0): the new package was not tested with AoE II. Setup: the README.
Upgrading from v1.3.0: import fexcore-aoe4-perf6.wcp in Menu → Settings → Contents Manager, pick aoe4-perf6-30 as the FEXCore Version in the AoE IV container (Emulation tab), and add the environment variable VKD3D_CONFIG = no_staggered_submit (Environment tab).
What changed since v1.3.0
- Patch 0017: the protection's exceptions without a host trap. The game's protection raises about 44,000 illegal-instruction exceptions per second. FEX turned each one into a host trap, Wine's signal handler, a dispatcher pass that only rethrew it, and Wine's unix
NtRaiseException. FEX now raises the guest exception directly. Switches, if you need the old path:FEX_EXP_FASTTRAP=0andFEX_EXP_FASTRAISE=0. Details: TUNING.md, "Exceptions without a host trap". VKD3D_CONFIG=no_staggered_submitin the setup. Turnip offers one Vulkan queue, so vkd3d-proton 2.14.1 held each GPU submission until the previous one finished. Turning that off gave 52 → 58 FPS in the skirmish benchmark. In the late game it gives 47 to 48.5 FPS instead of 46.1, but with more uneven frame times (57 to 86 frames over 50 ms per 90 s window, against 15). Details: TURNIP.md, "What the GPU waits for".
Patch 0017, measured on the AYN Thor, 120 Hz, skirmish benchmark, the same session in this order:
| Run | FPS (minutes 1 / 3) | frames of 25 ms (3 refreshes) |
|---|---|---|
| v1.3.0 package | 56.4 / 56.3 | 1,038 / 1,039 |
| v1.4.0 package | 58.3 / 57.8 | 813 / 825 |
| v1.3.0 package again | 56.6 / 56.5 | 999 / 1,014 |
Frames over 40 ms stayed within their spread (21 to 40 per 90 s window). A 15-minute run of the release package had no stop.
Tested with
| Device | AYN Thor (Snapdragon 8 Gen 2, Adreno 740, 16 GB, Android 13) |
| GameNative | 1.2.1 |
| Game | Age of Empires IV: Anniversary Edition (Steam), build 16.3.11308 |
| Not tested | Multiplayer, campaigns, other devices, AoE II DE with the new package, a full game by a person on this package |
What is inside
fexcore-aoe4-perf6.wcp(new):libarm64ecfex.dllfrom FEX7d3090fwith patches 0004, 0006, 0007, 0009, 0010, 0012, 0013, 0014, 0015, 0016 and 0017 frompatches/fex, DLL SHA-17e707379. SHA-25623bd9da0791d0310d551af25b0e82866600d8aadc4cf7ad699500bacbe09ff7b.fexcore-aoe4-perf5.wcp: the same file as in v1.2.0 (patches up to 0016), for AoE II DE. SHA-25620a32eabd5c3cb50082aa0a8f0fb835d66123b05339c48af4284364f6f90119f.turnip-main-c78a9e9.zip: the same driver as in v1.3.0. SHA-256b2e7bf9e81e400cc1511b5d9ada3ef654fe2f3567351cb1cb685e68364e69112.FEX-LICENSE.txtandMESA-LICENSE.txt: the licenses of the shipped binaries.