Claude Fable 5 AI Helps Port Command & Conquer: Generals Zero Hour to iPhone, iPad

A 23-year-old PC strategy game is now running natively on iPhones and iPads, thanks to an unusual pairing of open-source code and a rival company’s AI model. Ammaar Reshi, Lead Product and Design for Google’s AI Studio, says he used Anthropic’s Claude Code running the Fable 5 model to compile Command & Conquer: Generals Zero Hour for Apple Silicon devices, using Anthropic’s Claude Code with Fable 5, running natively on ARM64 with no emulator. The project, released as open source, has quickly become a talking point in AI coding circles.
According to the project’s own GitHub repository, this is Command & Conquer Generals: Zero Hour running natively on macOS, iPhone and iPad, using EA’s GPL v3 source via the community GeneralsX project, with no game assets included. Reshi describes it as a genuine human-and-machine effort rather than a solo AI stunt: “the engineering — the C++, the cross-builds, the device debugging — was done by Claude Code (Anthropic’s Claude, Fable model), directed and playtested by a human who described symptoms like ‘the minimap is black’ and ‘I hear chirping’ and owned every decision,” with neither side able to ship the project alone.
Cracking a 2003 DirectX 8 Engine for Apple Silicon
Getting a game built around Microsoft’s DirectX 8 to run on modern Apple hardware is not a trivial rewrite. Reporting from BigGo Finance notes the original Generals: Zero Hour engine contains roughly 1.6 million lines of C++ code built on DirectX 8, requiring a translation chain running through DXVK, Vulkan and MoltenVK before reaching Apple’s Metal graphics API, with each conversion layer risking artefacts or crashes. Windows-only components for audio, video and font rendering also had to be swapped for cross-platform alternatives, per the same report.
Digital Trends confirms the same underlying architecture, describing how the project routes DirectX 8 through DXVK and MoltenVK, translating the old renderer through Vulkan and then to Metal, since Zero Hour was built around DirectX 8 while Apple devices use Metal. Because an RTS built for a mouse needed reworking for touchscreens, Reshi’s build also adds touch controls built around strategy gameplay, including tap selection, drag-box selection, two-finger scrolling, pinch zoom and long-press actions, since an RTS needs a mouse which the iPhone does not have.
Opus 4.8 Couldn’t Finish the Task, Fable 5 Could
Perhaps the most striking claim in Reshi’s account is a direct comparison between Anthropic’s own models. The Decoder reports that the first build took about 40 minutes, followed by “a few hours” of debugging, and over two days Reshi burned through his entire Claude Max quota. Multiple outlets note Reshi says the more established Opus 4.8 model stalled on the job even at its highest “ultra” reasoning setting, while the newer Fable 5 model completed the port.
Asked why a Google executive would lean on a competitor’s AI tool rather than one of Google’s own, Reshi was candid. The Decoder quotes him saying “you can love the AI space and respect the competition while still being fully focused on building the best answer. It’s a long game.”
EA’s GPL v3 Release Made the Port Legally Possible
None of this would exist without Electronic Arts’ own decision to open its vaults. BigGo Finance, citing a report from 36Kr’s Synced, notes that in February 2025, driven by a game preservation project led by Luke Feenan, EA open-sourced the source code for multiple Command & Conquer titles under GPL v3, including Tiberian Dawn, Red Alert, Renegade and Generals/Zero Hour. Notably absent from that release was Red Alert 2, and the same report explains why: EA lost the source code for that title, ruling out a similar native port for one of the series’ most-requested entries.
Reshi’s iOS and iPadOS build did not start from a blank slate, either. It forks GeneralsX, a community project that had already ported the engine to macOS and Linux, with credit distributed across a chain of contributors documented in the repository’s own “Lineage & credits” notes. That layered heritage — publisher open-source release, community engine port, then an AI-assisted mobile layer — is itself being discussed as a template other legacy titles could follow.
What You’ll Need to Try It, and Its Rough Edges
The port doesn’t ship with any game files. Per the GitHub repository, players need their own copy of the game purchased on Steam, at roughly $5 on sale, with a bundled script pulling the necessary data from that existing purchase. Once running, the build reportedly supports Campaign, Skirmish and Generals Challenge modes with the full audio pack intact, according to multiple outlets covering the release.
It isn’t glitch-free. The GitHub documentation warns that long sessions on iPad can be killed by iOS for memory, since resident use runs above roughly 3GB, with the app exiting to the home screen with no dialog. Backgrounding the app mid-session can also occasionally cause a crash, per the same source, with the team advising players to save often.
For strategy fans in New Zealand and Australia who already own Generals Zero Hour on Steam, trying the port is mostly a matter of technical patience rather than extra cost — it demands Xcode, Homebrew and Apple developer tools rather than a purchase, and works on hardware most local PC gamers already have sitting on a desk. Whether Apple or EA take any formal position on fan-built ports using officially open-sourced code remains an open question, but for now the project stands as a genuinely community-driven case study in AI-assisted software preservation rather than a polished commercial release.






Join the Conversation