ammaarreshi GitHub avatar

Generals-Mac-iOS-iPad

ammaarreshi

This repository ports Command & Conquer Generals: Zero Hour to run natively on Apple Silicon Macs, iPhones, and iPads without emulation, adding touch controls and modern rendering.

Stars

1,523

7-day growth

No data

Forks

126

Open issues

9

License

NOASSERTION

Last updated

2026-07-05

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It demonstrates a full, native port of a 2003 Windows RTS to iOS and macOS using a chain of open-source translation layers (DXVK, MoltenVK, SDL3), with custom touch input and extensive engineering documentation.

Who it is for

  • Command & Conquer fans wanting to play on modern Apple devices
  • Game porting enthusiasts interested in cross-platform techniques
  • iOS and macOS developers seeking patterns for porting legacy games
  • Open-source contributors working on game engine modernization

Use cases

  • Play Zero Hour campaign, skirmish, or Generals Challenge on a Mac, iPhone, or iPad
  • Learn about porting a DirectX 8 game to Metal via Vulkan translation layers
  • Study the engineering log to understand iOS-specific porting pitfalls and fixes
  • Use the provided patterns to port other classic Windows games to Apple platforms

Strengths

  • Native performance on Apple Silicon (no emulation overhead)
  • Touch controls built for RTS (tap-select, drag-box, pinch zoom, long-press right-click)
  • Thorough engineering documentation (porting playbook, patterns, bug archaeology)
  • Builds on a well-credited chain of open-source projects (GeneralsX, DXVK, MoltenVK)

Considerations

  • Requires own game assets (not included; ~$5 on Steam)
  • Long sessions on iPad may be killed by iOS for memory (~3 GB+ resident)
  • Backgrounding can occasionally cause crashes on iOS; saving frequently advised

README quick start

Quick start — macOS

Description

Command & Conquer Generals: Zero Hour running natively on macOS, iPhone & iPad — real engine (EA GPL v3 source, via GeneralsX), DXVK/MoltenVK renderer, RTS touch controls. No game assets included.

Related repositories

Similar projects matched by category, topics, and programming language.

makecindy
Featured
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI & Machine LearningLarge Language Models
958
didriksg
didriksg GitHub avatar

Crisp

Crisp is a free, open-source macOS menu bar app that adds HiDPI scaling, brightness control, and other display management features for external monitors, serving as an alternative to paid tools like BetterDisplay and Lunar.

Swift
476
drumih
drumih GitHub avatar

turbo-fieldfare

TurboFieldfare is a custom Swift and Metal runtime that runs the Gemma 4 26B-A4B instruction-tuned model in about 2 GB of RAM on Apple Silicon Macs, including 8 GB models, by streaming experts from SSD.

Swift
256