Popover Menu get started
f.a.q discord
Menu
supported games setup guides f.a.q. generate game host game user content discord
Age of Empires IV Guide

Age of Empires IV Multiworld Setup Guide

Requirements

This integration does not install a game mod. It reads completed match data from AOE4World and applies the honor-system rules configured in your YAML.

Install the APWorld

  1. Close Archipelago.
  2. Open aoe4.apworld, or copy it into Archipelago's custom_worlds directory.
  3. Start the Archipelago Launcher again.
  4. Use Generate Template Options to create an up-to-date YAML, or start from the example in this project.

Configure a Slot

Civilizations and match modes are written with lower-case identifiers such as english, holy_roman_empire, and rm_solo. A rank goal needs its matching ranked queue (rm_solo or rm_team) enabled.

The selected goal determines the civilization unlock set and checks:

starting_civs controls how many civilizations from the goal's active list begin unlocked and accepts 1-5. A specifically selected starting_civilization must be in the active list and is guaranteed to be among those deterministic random unlocks. A non-empty starting_civilizations list instead supplies the exact 1-5 starting civilizations and overrides both other starting options.

Global and per-civilization win targets are divided into five cumulative, rounded-up 20% cap stages. The first global stage is available immediately. For each civilization, the first progressive tier, such as Progressive English Civilization, unlocks both the civilization and its initial stage, while later copies unlock later stages; targets below five advance one win per stage. The client continues recording eligible wins above a current cap, then retroactively sends unlocked checks and goal completion when the corresponding tier arrives. Configurations must generate enough locations for all progressive civilization and total-win cap items.

API keys and AOE4World profile IDs never belong in the YAML. Share only the YAML with the host.

Connect and Track

  1. Launch Age of Empires IV Client from the Archipelago Launcher, or use the room-page launch link.
  2. Connect to the AP room in the Archipelago tab.
  3. In the AOE4 tab, enter the numeric profile ID from the player's AOE4World URL. Optionally enter an API key for private/custom games.
  4. Select Start Tracking. When supplied, the key is held only in memory and displayed as masked text.

The Tracker tab updates automatically as progressive civilization and total-win cap items arrive and as AOE4World wins are credited. It shows total and per-civilization wins as earned versus currently attainable, including wins stored above the current cap. Its first section lists unlocked civilizations whose win or cap requirement is incomplete. The available section shows every civilization you may currently play for credit, and the locked section previews the rest of the active pool. The packaged flag artwork comes from AOE4World Explorer, so no separate image download is needed while playing.

API keys for private-game visibility are managed through the player's AOE4World account/profile settings. Public ranked and quick-match tracking needs only the profile ID. Enabling include_custom_games in the YAML also requires entering a key during each client launch; without one, standard public games continue tracking and the client reports custom tracking as inactive.

On the first successful AP and AOE4World connection, the profile ID and tracking start time are bound to that AP slot. A later client must use the same profile. Match progress is saved locally, but the API key is never saved.

Correct an Accidental Profile Binding

If a valid but incorrect profile ID was bound, enter the correct ID in the AOE4 tab and select Correct Bound Profile. The client validates the AOE4World profile and shows its name and ID before asking for explicit confirmation. The original tracking start time is preserved, so the corrected profile is backfilled from the same point.

Every correction is recorded in AP DataStorage with the old ID, new ID, time, team, and slot. Archipelago cannot retract checks, delivered items, DeathLinks, or goal completion that the wrong profile already caused; the confirmation dialog reports this before applying the correction. If the server does not confirm the replacement, reconnect so the client can reload the authoritative binding before trying again.

Use only one active client for an AP slot. Two clients can observe and send the same loss before their local state synchronizes, causing duplicate DeathLinks.

Rules and Limitations

When DeathLink is enabled, an eligible loss sends a death even if its civilization was locked. One received death arms a one-hour suppression; additional deaths do not stack. The first eligible match completed during that hour consumes it whether the result is a win or loss. A suppressed win earns no win-based progress, while a suppressed loss still sends its own death. Backfilled losses send only when first observed within one hour of completion.