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,456

7-day growth

No data

Forks

122

Open issues

9

License

NOASSERTION

Last updated

2026-07-05

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.

dk8827
dk8827 GitHub avatar

cnc-port

A native source port of Command & Conquer: Tiberian Dawn that runs on modern macOS, Android, and iOS devices without emulation.

C++
34
ParthJadhav
ParthJadhav GitHub avatar

noop

A fully offline, account-free companion for WHOOP straps that computes recovery, strain, and sleep on your own device with no cloud dependency.

Swift
37
uzairansaruzi
Featured
uzairansaruzi GitHub avatar

hermex

A native SwiftUI iPhone app that lets you control your self-hosted AI agent directly from your phone, keeping data and compute entirely on your own hardware.

AI & Machine LearningMobile
241