ammaarreshi/RedAlert2-Mac-iOS-iPad
Red Alert 2 + Yuri's Revenge running natively on iPhone and iPad. EA never released RA2's source, so this builds on Chrono Divide's from-scratch TypeScript engine — proprietary, used with the author's permission, non-commercial only — wrapped in a Swift/WKWebView shell. Bring your own retail copy; no game assets included.
What it solves
This project provides a native-feeling port of Command & Conquer: Red Alert 2 and Yuri's Revenge for iPhone and iPad. It solves the problem of playing a complex real-time strategy (RTS) game on mobile devices by implementing custom touch controls, optimizing rendering for mobile GPUs, and rebuilding the AI to be challenging and varied on iOS.
How it works
Instead of using emulation or a rewrite, the project uses a TypeScript-based engine (from the Chrono Divide lineage) wrapped in a native Swift shell. Rendering is handled via a pipeline of WebGL $\rightarrow$ ANGLE $\rightarrow$ Metal via WebKit. The game assets are imported from a retail copy of the game and bundled into the app, ensuring no network dependency. It includes a custom gesture engine to translate touch inputs into RTS commands (like drag-boxing and pinch-zooming) and a deterministic simulation loop to allow for mid-match save/load functionality.
Who it’s for
Players of Red Alert 2 and Yuri's Revenge who own the retail game and want to experience the full skirmish mode on Apple mobile devices with native-resolution rendering and optimized performance.
Highlights
- RTS-specific touch controls: Includes tap-select, drag-box, two-finger map grab, and pinch zoom.
- Advanced Skirmish AI: A rebuilt AI system based on retail trigger databases, featuring distinct personalities, doctrines, and counter-composition logic.
- Retail-accurate lighting: A comprehensive audit and fix of voxel shading and palette lighting to match the original game.
- Mobile optimization: Frame-rate caps and GPU buffer optimizations to reduce thermal stress and on-device heat.
- Full Yuri's Revenge support: Complete implementation of the third faction, including slave-miners and specialized superweapons.
- Deterministic save/load: Mid-match saves based on the engine's action log for perfect resimulation.
Related
- Dispatch
- Project
- Project
- Project
- Project