Ammaar Reshi · 2026-07-04 · major
Generals: Zero Hour on Mac & iOS — Ammaar Reshi's Claude Fable port
Ammaar Reshi shipped a native macOS, iPhone, and iPad port of Command & Conquer Generals: Zero Hour built with Claude Code on the Fable model, with the 2003 engine rendering through DXVK and MoltenVK to Metal.
A 2003 RTS classic runs natively on Apple Silicon and touch — engineered by Claude Code on the Fable model.
Quick facts
| Platforms | macOS (Apple Silicon), iPhone, iPad |
|---|---|
| Base engine | EA's 2003 GPL v3 source, via fbraz3/GeneralsX |
| Renderer | DirectX 8 → DXVK → Vulkan → MoltenVK → Metal |
| Built with | Claude Code on the Fable model |
| Modes working | Campaign, skirmish, Generals Challenge |
| Game assets | Not included — owner brings a Steam copy (~$5) |
| Repo license | Follows GeneralsX / EA GPL v3 upstream |
What is it?
Ammaar Reshi's Generals port takes Command & Conquer Generals: Zero Hour, EA's 2003 real-time strategy game, and runs it natively on macOS, iPhone, and iPad. Campaign, skirmish, and Generals Challenge modes work, with tap-select, drag-box, long-press deselect, two-finger scroll, and pinch zoom on touch devices.
How does it work?
The port keeps EA's original 2003 engine, compiled for ARM64, and pipes its DirectX 8 calls through DXVK to Vulkan, then MoltenVK to Metal so Apple GPUs can draw the frames. Claude Code, using the Fable model, wrote the port code and logged every failure mode, root cause, and fix in a PORTING_PLAYBOOK document while Reshi playtested on real devices.
Why does it matter?
This is a public, checkable case study of a single developer plus one AI coding agent shipping a working native port of a 20-year-old game across three Apple platforms. It moves the AI-assisted engineering conversation from toy demos to a signed, runnable app with real graphics and input work behind it.
Who is it for?
AI-assisted-engineering watchers, retro-gaming ports fans, RTS players on Apple Silicon
Frequently asked questions
- What did Claude Fable actually write in Ammaar Reshi's Generals port?
- Ammaar Reshi's repo credits Claude Code on the Fable model with the engineering work — wiring the 2003 DirectX 8 engine through DXVK, Vulkan, MoltenVK and Metal, adding RTS touch controls for iPhone and iPad, and logging every failure mode and fix in a PORTING_PLAYBOOK doc. Reshi directed the work and playtested on real devices.
- Does the Generals: Zero Hour Fable port include the game files?
- No. Ammaar Reshi's repo ships only the engine, build scripts and touch-controls layer. Users must own Command & Conquer Generals: Zero Hour on Steam (about $5) and supply their own assets through the deploy scripts before the app will run.
- How does this port differ from GeneralsX?
- GeneralsX is fbraz3's existing macOS and Linux port of EA's GPL v3 Generals source. Ammaar Reshi's Fable port builds on that base and adds iOS and iPadOS support, RTS-native touch controls (tap-select, drag-box, long-press deselect, pinch zoom), and further engine fixes documented in the porting playbook.
- Can I install the Generals port on iPhone or iPad today?
- Yes, if you have an Apple developer setup. Ammaar Reshi's repo ships build and deploy scripts, but iOS and iPad installs need Xcode, an Apple Developer team ID, local signing, and your own Generals: Zero Hour assets copied in. The macOS build uses simpler shell scripts.
Try it
git clone https://github.com/ammaarreshi/Generals-Mac-iOS-iPad