Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
docs(readme): where the mac and linux game looks for zero hour
Andreas Bergera9be39e7fbe5
diff --git a/README.md b/README.mdindex 6651e8196..cf63ba960 100644--- a/README.md+++ b/README.md@@ -195,6 +195,35 @@ because Zero Hour mounts both. Saves and replays go to`~/Library/Application Support/Command and Conquer Generals Zero Hour Data` on a Mac and`~/.local/share/Command and Conquer Generals Zero Hour Data` on Linux.+<details>+<summary>Where it looks for Zero Hour</summary>++<br>++First match wins (`PosixInstallRoot.cpp`, `PosixChooseInstallRoot`):++1. `-root <folder>` on the command line+2. `InstallPath` in `Registry.ini` in the data folder above, while it still holds the game+3. The known places below, for the staged build (`build-linux/ZeroHourReforged/bin/generals`) and the packages.+ A bare `build-linux/generals` uses its own folder instead+4. A folder chooser, asked until the choice holds Zero Hour. The answer goes into `Registry.ini`++| Where | Linux | macOS |+|:--|:--|:--|+| `~/Games/<name>` | ✓ | ✓ |+| `<library>/steamapps/common/<name>` for every Steam library: `~/.local/share/Steam`, `~/.steam/steam`, `~/.steam/root`, Flatpak's `~/.var/app/com.valvesoftware.Steam/.local/share/Steam`, and each library their `libraryfolders.vdf` lists (an SD card's too) | ✓ | |+| `/Applications/<name>` | | ✓ |+| CrossOver and Whisky bottles: `drive_c/Program Files*/` (`EA Games`, `Origin Games`, `Steam/steamapps/common`, `Command & Conquer The First Decade`, or the folder itself) `/<name>` | | ✓ |++`<name>` is any of `Command & Conquer Generals Zero Hour`, `Command and Conquer Generals Zero Hour`,+`Command & Conquer Generals - Zero Hour`, `Command & Conquer(tm) Generals Zero Hour` or `Zero Hour`,+spelled exactly. A folder counts when it holds `INIZH.big` and the original Generals' `Textures.big`+is in it, in `ZH_Generals/`, in `../Command & Conquer Generals` or `../Command & Conquer(tm) Generals`+beside it, or in the folder `Generals\InstallPath` in `Registry.ini` names. File names inside these+folders match in any case. When only Generals is missing, the chooser asks for its folder too.++</details>+The upscaled art has no download there. Copy the `Reforged*.big` files into `ReforgedArt/` in thatfolder by hand, or play at the original textures.