SAGE
University of TwenteStudio Platypus

From Full Game State to Live Commentary

A Data-to-Text Pipeline and Corpus for Age of Empires II
Siewart van Wingerden¹ · Mariët Theune² · Lorenzo Gatti² — ¹ Studio Platypus · ² Human Media Interaction, University of Twente · INLG 2026, Utrecht

Age of Empires II Esports

Esports viewers rely on commentators to explain the intricacies of a match, but live commentary is scarce and focused on top-level matches. Because the game engine mediates every action, the full match state is available as data. Age of Empires II (AoE2) is a complex case: a large, partly hidden map where economies and large individually controlled armies evolve in parallel, so the data cannot fit in a Large Language Model’s context window. However, matches can be rewatched and compared with human commentary, which makes the game a good case for research. Our aim is to automatically generate live text commentary for AoE2 from game data.

Age of Empires II is a real-time strategy game: two players, each with one of 53 civilizations, gather resources with villagers, advance through four Ages and build armies to raid each other’s economy. The random map is hidden by fog of war, so players must scout and adapt. This is the King of the Desert IV grand final, TheViper vs Vinchester, cast by MembTV. This tournament formed the basis for the first dataset in our corpus, which we paired with live video commentary from NOVA.

Video: MembTV on YouTube. SAGE reads the game state behind matches like this one and writes minute-by-minute text updates.

Hybrid Pipeline

SAGE follows a hybrid four-stage architecture (Reiter 2007), with an LLM for realization. It runs online, without future knowledge.

The animated graph below shows game events streaming into the system and flowing through the four stages into a summary of the recent events. Click a stage to zoom in on what it does. Switch the modules to see which steps they change (colored borders).

Click a stage to see details

    Key combat event entity lifecycle event other event synthetic event battle cluster {…} internal data«…» human-readable state query strategy event (Expert Insights) step changed by a module (both: split border)

    Expert Insightsstrategic context module

    During interpretation, a fuzzy-logic strategy detector labels plans such as “Fast Castle” from units, buildings and research, and wiki facts about civilizations and players are attached. During realization, causal context explains why events matter (e.g. exposed gold mines are vulnerable to archers). We previously found that professional casters draw on such knowledge for 86% of strategy talk (van Wingerden 2026).

    Event Structuringparallel events module

    AoE2 runs several fights at once. During planning, events are buffered for up to 180s and overlapping ones become grouped parallel events, so the realizer can link causes and effects. During realization, information asymmetry contrasts what each player can see with the all-seeing viewer, which drives suspense in StarCraft casts (Cheung & Huang 2011).

    From data to text: A-E-P+S

    Each event is enriched from the current snapshot using A-E-P+S, a framework that describes the way commentators forage for information (Dodge et al. 2018; Penney et al. 2021; van Wingerden 2026). Pick a part to see which phrases draw on it, or pick the style tab to see how the text is worded.

    Content · A-E-P+S
    Style
    16:32 — With Forging now in, Red’s three scouts waste no time — they spot a Villager on the forward woodline! Red surges ahead with a three-Villager advantage. Meanwhile Blue raids Red’s gold mine, unseen by Red.

    One minute-by-minute text update (online sports commentary) summarizing the recent events.

    Limitations: Generation Gap

    SAGE does not report events the moment they happen. Signal Analysis first collects damage and death events into battles, and Event Structuring can hold events for up to 180s to group parallel ones. Details such as unit types and positions are only looked up from the game state when an event is reported, so anything that changed in the meantime is reported in its latest form. One example is a technology upgrade. When a player researches one, every archer on the map becomes a crossbowman and keeps the same ID, so a battle fought mostly by archers is reported as a battle between crossbowmen. Another is a moving battle, such as a chase across the map, which is reported at the mean position of all its events, somewhere between where it started and where it ended. Both are cases of the Generation Gap described by Gatt & Krahmer (2018): early commitments that later processing would revise. Looking details up at the moment of each event would avoid this, but each battle would then also need to track how its state changes over time. After the study, we added the full effects of each technology and the units it applies to, so the text can explain what an upgrade in progress will change; we have not yet evaluated this with readers. Live commentary alongside video, one of our future directions, would make this less of an issue, because events would wait in the pipeline for less time.

    Compare the texts

    Study design

    We generated commentary for four King of the Desert IV matches, once with each set-up: neither module, Expert Insights, Event Structuring, or both. That gives 16 texts of 500 to 800 words. Each participant read four of them, seeing every match and every set-up once, in random order. The texts were pseudonymized to reduce rater bias and kept generation mistakes.

    Texts and match video

    Pick a match and two set-ups to compare. Click an update to see its moment in the match video.

    Match videos cast by MembTV. Each update jumps to where its content starts in the video, aligned from the game clock, so it can be a few seconds off. The camera and the casters’ commentary may focus on other events not surfaced by our pipeline. While the video plays, the current update is marked in both texts.

    databaseFull Game-State Corpus

    Continuous full game state at 1s and 60s resolution, extracted with CaptureAge, a match-analysis tool that rerenders a match from its replay and extracts every data point (e.g., unit, research, fog of war), plus the engine’s event stream and player commands. Released into the public domain* (CC0) alongside the pipeline. It comprises a dataset of the King of the Desert IV tournament (KotD IV); this smaller set is matched with 142 commentary videos provided by NOVA. The May 2026 set is larger with newer game features but has no commentary available.

    Two sets

    MetricKotD IVMay 2026
    Matches (total / with video)176 / 1423,100
    Video: solo / co-cast118 / 24—
    Game minutes6,919112,713
    Commands issued1.09 M15.1 M
    Unique players30888
    Player matchups422,735
    Civs picked / total31 / 3553 / 53
    Civ matchups1211,266
    MapsArabia only16 (70% Arabia)

    KotD IV: King of the Desert IV tournament. May 2026: anonymized ranked 1v1 ladder matches of the top 1,000 players.

    Eleven tables per match

    TableKindContents

    Windowed tables are snapshots every 1s or every 60s; series are timestamped streams. Shared window, player, entity and string IDs, like a relational database. Apache Arrow or Parquet. Uncompressed, as laid out in game memory, a single match is gigabytes at 1s resolution and hundreds of megabytes at 60s (the released files are compressed Arrow IPC streams and Parquet), so systems must search the dataset to select the right information to put into an LLM’s context window.

    * Data derived from game content falls under Xbox’s Game Content Usage Rules.

    groupsStudy with Active Spectators

    flagFindings

    We built a hybrid pipeline that turns dense game data into commentary, and tested it with the target audience of 33 active AoE2 spectators. The modules made a modest but significant difference, yet overall engagement stayed low.

    Expert Insights lifts three engagement motivations

    With detected strategies, wiki facts and causal explanations, readers enjoyed the competition more (Competitive Nature, β = .20), felt they learned more about playing (Skill Improvement, β = .19) and felt more as if they were playing themselves (Vicarious Sensation, β = .25). The amount of detail also moved closer to “just right” (Detail Level, β = −.24).

    Event Structuring only improves the order

    Grouping parallel events raised only Logicality (β = .22): the updates came in a more sensible order. Readers still missed why events were important. Our grouping follows simple heuristics and is a clear candidate for improvement.

    Low engagement, adequate quality

    Every engagement motivation except Game Knowledge stayed below the scale midpoint (means 2.5 to 3.9 of 7), while quality ratings were moderate to good (Logicality 5.6, Readability 4.6). We found no interaction between the modules, and their effects are small next to how much readers differ from each other.

    Readers want analysis and context

    Open feedback (96 of 132 ratings) asked for strategic importance and high-level context in a dry, analytical tone, and called the live-update register noise, possibly because the updates were read as one text after the match. Trust in the texts was low: open feedback often called them “AI slop”, and readers took correct events for hallucinations, perhaps because the text did not say how they came about. One example is Aztec cavalry, normally unobtainable, which the text mentioned without saying how the player got it.

    Acknowledgments

    We thank CaptureAge for the technology, MembTV and DonDinardoni for the KotD IV matches, and NOVA for the commentary videos.

    Cite

    @inproceedings{vanwingerden2026sage,
      title     = {From Full Game State to Live Commentary: A Data-to-Text Pipeline
                   and Corpus for {Age of Empires II}},
      author    = {van Wingerden, Siewart and Theune, Mari{\"e}t and Gatti, Lorenzo},
      booktitle = {Proceedings of the 19th International Natural Language Generation Conference},
      year      = {2026}
    }

    References

    1. Birant, D. & Kut, A. (2007). ST-DBSCAN: An algorithm for clustering spatial–temporal data. Data & Knowledge Engineering, 60(1), 208–221. doi:10.1016/j.datak.2006.01.013
    2. Callaway, C. B. & Lester, J. C. (2002). Narrative prose generation. Artificial Intelligence, 139(2), 213–252. doi:10.1016/S0004-3702(02)00230-8
    3. Cheung, G. & Huang, J. (2011). Starcraft from the stands: Understanding the game spectator. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, 763–772. doi:10.1145/1978942.1979053
    4. Dodge, J., Penney, S., Hilderbrand, C., Anderson, A. & Burnett, M. (2018). How the experts do it: Assessing and explaining agent behaviors in real-time strategy games. In Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems, 1–12. doi:10.1145/3173574.3174136
    5. Gatt, A. & Krahmer, E. (2018). Survey of the state of the art in natural language generation: Core tasks, applications and evaluation. Journal of Artificial Intelligence Research, 61, 65–170. doi:10.1613/jair.5477
    6. Lewandowski, M. (2012). The language of online sports commentary in a comparative perspective. Lingua Posnaniensis, 54(1), 65–76. doi:10.2478/v10122-012-0006-0
    7. Penney, S., Dodge, J., Anderson, A., Hilderbrand, C., Simpson, L. & Burnett, M. (2021). The shoutcasters, the game enthusiasts, and the AI: Foraging for explanations of real-time strategy players. ACM Transactions on Interactive Intelligent Systems, 11(1), 2. doi:10.1145/3396047
    8. Qian, T. Y., Wang, J. J., Zhang, J. J. & Lu, L. Z. (2020). It is in the game: Dimensions of esports online spectator motivation and development of a scale. European Sport Management Quarterly, 20(4), 458–479. doi:10.1080/16184742.2019.1630464
    9. Reiter, E. (2007). An architecture for data-to-text systems. In Proceedings of the Eleventh European Workshop on Natural Language Generation (ENLG 07), 97–104. doi:10.3115/1610163.1610180
    10. van Wingerden, S. (2026). One Thousand and One Tales: Automated Age of Empires II eSports Reports from Raw Real-time Game Data. MSc thesis, University of Twente.