Command & Conquer: Generals
3 ports
OpenSAGE
OpenSAGE/OpenSAGE
OpenSAGE: a free reimplementation, written in C#, of SAGE, the 3D real-time strategy engine EA Pacific used in Command & Conquer: Generals and other games. It focuses on Generals and its Zero Hour expansion, and it also has modules for The Lord of the Rings: The Battle for Middle-earth I and II. It started as a black-box reimplementation, written from the data files and from watching the game run; in March 2025 it switched its license from LGPL v3 to GPL v3 and began adapting parts of the Generals and Zero Hour source code EA released, such as map triggers, money, state machines, and locomotors. It isn’t playable yet: it loads most file formats from the first SAGE games, loads into maps, and shows the user interface, but it implements very little of the gameplay. It renders with Direct3D 11, OpenGL 4.3, or Metal on Windows, Linux, and macOS, and comes with a viewer for browsing the files of any installed SAGE game. The latest release is 0.3.0 (October 29, 2018); since April 2025 the code has barely changed beyond dependency updates. One of its more than 3,600 commits lists Copilot as a co-author.
You needAn installation of your own copy of Command & Conquer: Generals or Zero Hour, for example from The First Decade or The Ultimate Collection; on Linux and macOS, the game folder is set with the CNC_GENERALS_PATH environment variable. Plus 64-bit Windows, Linux, or macOS; to build the current code, .NET 8.
⑂ Fork of electronicarts/CnC_Generals_Zero_Hour
Command & Conquer: Generals / Zero Hour (GeneralsGameCode)
TheSuperHackers/GeneralsGameCode
GeneralsGameCode: TheSuperHackers’ community project to fix and improve Command & Conquer: Generals and its Zero Hour expansion, built on the source code of both games that Electronic Arts released in 2025; its main focus is Zero Hour. The code was moved from Visual Studio 6 and C++98 to Visual Studio 2022 and C++20, though the weekly builds are still compiled with Visual Studio 6. For now it keeps compatibility with Generals 1.08 and Zero Hour 1.04, leaving the fixes that would break it for later. It fixes critical bugs and many minor ones, and decouples the drawing of particles, animations, water, trees, and other effects from the logic step, with interpolation, so they move smoothly above 30 frames per second. It adds MSAA and anisotropic filtering, recovers 481 higher-resolution textures Zero Hour never ended up using, rotates the camera in 45-degree steps, shows frame rate, latency, and money per minute, adds a player info list, and improves replays with a replay archive and their dates. Fixes to the game’s data (INI files, interface, maps, textures) live in a separate project, GeneralsGamePatch. It publishes a build every week, the latest on October 16. 14 of its roughly 2,000 commits, all from September, list Claude as a co-author.
You needAn installation of your own copy of Command & Conquer: Generals and Zero Hour, such as the one in Command & Conquer: The Ultimate Collection on Steam; the weekly build’s files are extracted into the game folder. Plus Windows; on Linux it can be built with Docker and installed into the game with its scripts.
Command & Conquer: Generals / Zero Hour (Thyme)
TheAssemblyArmada/Thyme
Thyme: an open-source reimplementation of Generals: Zero Hour in C++. It’s a bottom-up rewrite of the game that uses the original executable for functions not yet implemented, with the intent of fixing bugs, adding features, and porting the game to platforms the original didn’t support. Today it only runs on Windows. Its own launcher only supports the English disc version of Generals: Zero Hour patched to 1.04; running it any other way means following the README’s instructions. It has no affiliation with EA. Licensed GPL-2.0; the “latest” tag and the last commit are from October 31, 2024.
You needYour own installation of Command & Conquer: Generals – Zero Hour; with the project’s launcher, the English Windows disc version patched to 1.04 (the README links the patch). Windows.
Questions
What projects are there for Command & Conquer: Generals?
The catalog has 3 ports for Command & Conquer: Generals, all on this page with their status.
What do I need to play it?
Your own copy of Command & Conquer: Generals (Windows). Recompendium only links projects that don’t distribute the game, and each entry says which version or region you need.
Which one is the most popular?
OpenSAGE, with 1,662 stars on GitHub.