# OpenAoK: an open-source engine for Age of Empires II on phones and Switch

> OpenAoK is a new open-source engine that plays Age of Empires II from your own CD on macOS, Linux, Android and Switch.

- Published: 2026-10-31T05:28:15Z
- Score: 7/10
- Tags: port, homebrew, switch
- Port / platforms: PC (Windows) -> PC (Windows), Mac, Linux / Steam Deck, Android, Switch (Port)
- Web page: https://emu-radar.customfw.xyz/news/openaok-open-source-age-of-kings-engine/
- Sources: https://github.com/Zaydme/openaok

OpenAoK is a new open-source engine for Age of Empires II: The Age of Kings, the 1999 strategy game from Microsoft. It runs the original game on macOS, Linux, Android phones and the Nintendo Switch. The repository describes the Switch build as homebrew, so expect a modded console.

The developer, Zaydme, wrote the engine from scratch in C++20 on SDL 2. The repo has no code or data from the original. You supply the game: the build reads your own CD and prepares what it needs from it.

The README lists random maps, all 426 technologies, the economy, war and water, computer players running the original AI scripts, and campaigns with a scenario editor. The excerpt does not mention multiplayer, so that part is unclear.

On Android, touch works like a mouse: tap to click, hold to right-click, drag one finger to select, two fingers to scroll. On Switch, the left stick moves the pointer, the right stick scrolls the map, A and B act as the mouse buttons, and plus opens the game menu.

To try it, as the README describes:

1. Get your own copy of the 1999 CD.
2. Copy it into the folder the build expects. The excerpt does not name that folder.
3. Build for your platform.

For the Switch, the README does not say which firmware or setup is needed. At 26 stars, this is a young project, so watch for the first release builds.
