AI War 2

Arcen Games, LLC · Strategy

AI War 2 patch notes · May 23, 2026

Experiment

5.808 Memory Inferno

What's new in 5.808 Memory Inferno: 37 changes to AI War 2, released May 23, 2026.

Balance · 8

  • Spheres can no longer be built adjacent to each other.

    sphere placement
  • Korlarh can no longer be zombified.

    korlarh zombification
  • Reaper difficulty tunables now scale meaningfully at higher difficulty levels instead of only at difficulty 5, with higher AIP cost for drilling planets.

    reaper difficulty tunable
  • The Tyderian abomination gives the armada more resources.

    tyderian abomination resource output
  • The Jrathek can no longer paralyze elderlings.

    jrathek paralysis ability
  • Zenith and templar turrets of the DZ Empire were nerfed.

    dz empire turret strength
  • Neinzul Moon drones now attrition more readily.

    neinzul moon drone attrition
  • The mass of some Tyderian ships was increased as an additional Jrathek nerf.

    tyderian ship mass

Content · 1

  • The AI King cannot be targeted until the dire guard posts are dead, making the Imperial Spire slightly more efficient at ending the game.

    imperial spire targeting

Economy · 2

  • Armada mine drilling uses tiers, requiring a higher tier every X drills, which yields more resources but costs much more metal.

    armada mine drilling yield tier
  • Science mines cost more metal, a flat 200K increase.

    science mine cost

System · 16

  • All Sorts were updated to static sorts in the main game and working mods, sharply reducing memory pressure.

    sorts memory pressure
  • Threading control improvements from Heart of the Machine were backported so long-running threads spin up faster and are reused more efficiently.

    thread spin-up and reuse
  • Small structs now implement IEquatable so dictionary keys and values no longer get boxed.

    struct dictionary boxing
  • A closure-less struct-based enumerable surface allows foreach iteration with no garbage, replacing DoForEach callers over time.

    struct-based enumerable iteration
  • The custom StringBuilder class was retired in favor of the official one, which has hardware acceleration.

    custom stringbuilder
  • Per-frame peak GC allocation dropped from 900 KB to 416 KB after fully converting GameCommands to ChainList, with smaller frames dropping 50-100 KB.

    per-frame gc peak
  • ConcurrentDictionary uses a zero-GC enumerator that is 1.9x faster with entries and 4x faster when empty.

    concurrentdictionary enumerator
  • Enumerators for most collections are now obtained without boxing, eliminating GC churn.

    collection enumerator boxing
  • FunctorComparer is now a struct, so sorting lists no longer allocates.

    functorcomparer allocation
  • The game is now set to use C# 13 as its language while still targeting .net 4.7.1.

    c# language version
  • A new ChainList backed by BucketedArrayPool lets GameCommands reuse memory, with a roughly 32 MB pool cap and 16/32-entry arrays.

    chainlist gamecommand memory pooling
  • IP addresses are now retrieved from a Cloudflare-run service that avoids the delays and outages of the previous one.

    ip address lookup service
  • A new Python program recompiles all mods and skips those explicitly disabled as nonfunctional.

    mod recompilation script
  • EnumIndexedArray no longer boxes, saving 17 bytes per call across several hundred calls per frame.

    enumindexedarray boxing
  • Much code was converted from closure-style iteration to foreach to avoid heap garbage in both mods and external code.

    foreach closure conversion
  • Some Heart of the Machine ArcenDoubleCharacterBuffer improvements were ported, reducing memory pressure in no-op situations.

    arcendoublecharacterbuffer memory pressure

UI · 3

  • The description of the Tyderian summoning hacks now indicates the resource in question.

    tyderian summoning hacks description
  • The About section uses expandable sections so it no longer causes large GC allocation when open.

    system menu about section
  • The Escape Menu shows memory, framerate, and sim speed in two lines, with extra details moved into expandable subsections.

    escape menu stats display

Fix · 7

  • ArcenInput no longer calls multiple times per frame to check textboxes when they are on screen, removing slowness and memory pressure.

    arceninput textbox polling
  • Thread Abort Exceptions are now quietly handled since they are normal operation and not player-facing problems.

    thread abort exception logging
  • About 55 additional boxing sites relating to value types in collections were fixed.

    value type boxing in collection
  • The ongoing message display recalculates its text size only when the text changes instead of every frame.

    ongoing message text sizing
  • Eighteen of nineteen identified spots where ForEach/DoForEach threw memory due to data passing were fixed; about 2800 similar spots remain unchanged.

    foreach memory throw
  • Tooltips no longer recalculate with unrestricted update speed, removing 200-400 KB per frame of CPU and memory use.

    tooltip update cost
  • A debugging closure in network/serialization code was refactored to avoid boxing, removing at least 200 KB of GC churn per network frame.

    network serialization debug path garbage