— ← Devblog

Akhenaten RA 0.29 — Five Months of Original Pharaoh Logic

RA 0.29 is out. Since RA 0.27 on June 14, 2026 the project has landed about 1,600 commits. RA 0.27 was the script migration wave. This release is mostly about parity: walkers, animals, plagues, monuments and mission events were ported from the original game's logic one by one and checked against it, replacing behaviour that used to be a remake approximation.

This post covers what changed for players, what changed under the hood, and how the test suite grew from 15 files to 549 along the way.

The Big Theme: Original Behaviour by Default

Every game feature flag now carries its original-game value next to its default, and the default profile is the original Pharaoh behaviour. Remake changes that used to be on silently (one-walker shortcuts, service caps, toothache, nearest-fort recruiting, random statue variants and many more) are now Enhanced options. Two new command-line flags pick a profile: --og forces original behaviour everywhere and --enhanced turns every Enhanced feature on.

The porting itself followed one pattern for each figure or building: read the original routine, rewrite ours to match it (action ids, timers, spawn delays, model costs, risks), keep any remake behaviour behind a flag, and add an integral test that drives the real game through the cycle.

Walkers and services

A hyena roaming near the city

Animals, predators and plagues

Invasions and the military

Economy, city life and events

Monuments

Most monuments were rebuilt from the original part layouts, stages and work spots, and the Cleopatra ones became playable for the first time.

The completed sphinx in a desert city

Missions and Campaign

UI and Quality of Life

Scenario Editor and Modding

The editor gained a seeded procedural map generator, the original 40 map flags (prey herds, disembark and sea invasion points among them), and stores requests, invasions, prices and win criteria in a *.meta.js file next to the map. Mods can be plain folders, keep a fixed id order with one conflict rule for scripts and sounds, and a broken mod script is dropped instead of stopping all scripts. Saves record which mods were active and offer to switch to them on load. --mods PATH points at a mods folder, and an unpacked Scripts/ folder is only used when it was unpacked for the running build.

Platforms and Distribution

Localization: Hungarian was added, Italian completed, Spanish got a bitmap font and a full set of files, and non-English TTF rendering now matches the original bitmaps.

Under the Hood: Tests and Load Times

The integral test suite grew from 15 files at RA 0.27 to 549. Most of the porting work above landed together with a test that drives the real game, and a regression test has to be seen failing on the old code first. Tests check save round trips and the state hash of drawn frames against headless ticks, and fail when they write to building or figure record 0.

Run one after another, the suite took about an hour. Now the executable starts its own shards (--integraltest-jobs N), each test writes a result file, and the runner collects failures and the slowest tests into a summary. Tests save and load in memory instead of writing files, and CI runs one shard per core, which brings the whole suite to about 75 seconds.

Map and mission loading got faster in the process. Clay, moisture and the six ore and stone grids used to compare every land tile with every water or rock tile; they are now computed from one distance pass over the map, which cuts about 3–4 seconds from each mission load, with identical grids on all 53 campaign missions.

Other gates: the include-layer check (core < grid < sim < presentation < app) was rewritten in C++, so the project no longer needs Python; a config-key gate fails on C++ defaults silently zeroed by a missing script key; building records that overflow their save slot are an error. Drawing no longer writes simulation state, sprite animations tick with the simulation, and our own random rolls no longer touch the original random stream.

Download

RA 0.29 (version 0.2.9) is available from GitHub Releases, itch.io and Flathub. The save format moved forward several versions in this release; report saves that do not load on GitHub or Discord.

Thank you to everyone who filed bugs, sent PRs and playtested nightly builds — especially sirkalmi, Joe Malott, Genroa, Agustin Pre, viidix, Alberto Tudela, Chase Shields and Ivan Anisimov.

← How to build a sphinx Akhenaten RA 0.27 Release Notes →