Skip to content
DevGeniusCode edited this page Mar 29, 2025 · 5 revisions

Welcome to the Generals: Zero Hour - Source Code Wiki

Warning

This wiki is a work in progress and not yet complete. Contributions are welcome!

Overview

Welcome to the Generals: Zero Hour Game Code repository! This project is dedicated to the game’s source code, which enables contributors to work on improvements, fixes, and new features. The Generals: Zero Hour - Asset Patch project focuses on improving the game's assets (textures, localizations, models), whereas this project centers on the underlying game mechanics and the technical aspects of Command & Conquer: Generals - Zero Hour. If you're interested in coding, modifying, or extending the game’s core functionality, you're in the right place!

Getting Started

To get started with the project, you will need a basic understanding of the source code and how to build it. If you're new to the project, here’s how you can contribute:

  • Check out the Build Guides for instructions on how to compile the game code on different platforms.
  • Learn about the project's dependencies and libraries in the Dependencies section.
  • Look through the community forks and other variations of the project in the Forks section.
  • If you're an experienced developer, you can start contributing by reviewing and submitting pull requests or opening issues.

Quick Links

Building the Game Code

Here you'll find detailed guides on how to compile and build Generals: Zero Hour from source code for various platforms:

  • Windows: Instructions for building on Windows using Visual Studio.
  • Linux: Instructions for building on Linux with the necessary tools and libraries.
  • macOS: Instructions for building on macOS, with support for cross-compiling where necessary.

These guides will help you get set up and running, so you can start working on the game code in no time.

Dependencies & Libraries

This section outlines all the essential dependencies and libraries you need in order to successfully build and run the source code. It includes:

  • External Libraries: Instructions on downloading and configuring the third-party libraries required by the project.
  • Codebase Structure: Understanding the layout and architecture of the game code.

Tools for Developers

As a developer, you will need a set of tools to interact with the codebase efficiently. Here are some tools that can assist you:

  • Code Editors/IDEs: Recommended editors/IDEs for working with the game’s code (e.g., Visual Studio, Eclipse, etc.).
  • Debugging Tools: Recommended tools for debugging and troubleshooting.
  • Version Control: Using Git for managing changes, commits, and collaboration.

Check out the Tools for Developers page for more information.

Community and Forks

The Generals: Zero Hour Game Code project has several community-driven forks. These forks often implement experimental features or enhancements, and it’s a great place to explore different approaches to the game code. You can also contribute to these forks or integrate them into the main codebase.

For a list of active forks, visit the Community Forks page.

Contact and Community

For any questions, discussions, or to get involved in the community, check out the Contact and Community Page. Join our forums, Discord channels, or GitHub discussions to communicate with other contributors and developers.