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 gets a cover, four screenshots and a help-out section
Olcay Seygan77e7ec84e467
diff --git a/.github/media/ai-base.jpg b/.github/media/ai-base.jpgnew file mode 100644index 000000000..a30033c68Binary files /dev/null and b/.github/media/ai-base.jpg differdiff --git a/.github/media/hero.jpg b/.github/media/hero.jpgnew file mode 100644index 000000000..6a9ce81d6Binary files /dev/null and b/.github/media/hero.jpg differdiff --git a/.github/media/lobby.jpg b/.github/media/lobby.jpgnew file mode 100644index 000000000..6adbe7572Binary files /dev/null and b/.github/media/lobby.jpg differdiff --git a/.github/media/night-fire.jpg b/.github/media/night-fire.jpgnew file mode 100644index 000000000..54332b65eBinary files /dev/null and b/.github/media/night-fire.jpg differdiff --git a/.github/media/turkish.jpg b/.github/media/turkish.jpgnew file mode 100644index 000000000..c88ca7a10Binary files /dev/null and b/.github/media/turkish.jpg differdiff --git a/README.md b/README.mdindex b39c1db1c..227dd7880 100644--- a/README.md+++ b/README.md@@ -4,12 +4,16 @@Command & Conquer: Generals Zero Hour, rebuilt from the source EA opened and played as a game again.+<img src=".github/media/hero.jpg" alt="American tanks cross a stone bridge into a German village under an A-10 strike, long morning shadows over the stream" width="100%">+[](https://github.com/olcayseygan/CnCGeneralsZH-Reforged/releases/latest)+[](https://github.com/olcayseygan/CnCGeneralsZH-Reforged/stargazers)+[](https://github.com/olcayseygan/CnCGeneralsZH-Reforged/labels/good%20first%20issue)-[Download](https://github.com/olcayseygan/CnCGeneralsZH-Reforged/releases/latest) · [Every change](CHANGELOG.md) · [Build it](#build-it)+[Download](https://github.com/olcayseygan/CnCGeneralsZH-Reforged/releases/latest) · [Every change](CHANGELOG.md) · [Build it](#build-it) · [Help out](#help-out) · [Discussions](https://github.com/olcayseygan/CnCGeneralsZH-Reforged/discussions)</div>@@ -69,6 +73,8 @@ Easy, Medium and Hard differ in what the computer is allowed to decide. No levelcheaper units, faster building or longer sight. Measured over 32 headless matches with the seats swapped both ways,Hard beats Easy 15-0.++### Orders that happenAttack-move fights what it meets. Aircraft make their pass, fly home, rearm and pick your order back@@ -94,6 +100,8 @@ a fixed list of units and tricks out of every network match. Your ally's mouse spool of their colour with their name on it. Two copies of the game on one machine can play each otherover the LAN screen.++### A picture that holds upThe game draws through Direct3D 11 by default, with glow and edge smoothing over the battlefield.@@ -101,6 +109,8 @@ The game draws through Direct3D 11 by default, with glow and edge smoothing overcast theirs. Eighty-nine kinds of explosion light the ground around them, and every smoke and firesprite is drawn: 101,000 of them at 8.3 ms a frame.++Wide screens get a command bar in three pieces instead of one stretched strip, and text that growswith the monitor. On an ultrawide the view opens sideways, so a wider screen shows more battlefield.@@ -110,6 +120,8 @@ Options > Gameplay > Language. Menus, the command bar, briefings, tooltips and t3,853 lines of Turkish, written against one glossary of more than 1,400 terms. Voices and videos stayas your install has them.++> [!NOTE]> [CHANGELOG.md](CHANGELOG.md) is the whole record: every change with the numbers behind it, and the> work that was tried and taken back out.@@ -118,7 +130,7 @@ as your install has them.There is no CI and no debugger on the machine this is built on. The game tests itself instead.-- 38 automated test suites run on every build.+- 39 automated test binaries run on every build.- Headless, a 23-minute skirmish plays out in 38 seconds, the same way on every run.- An AI change is argued with 20 headless matches on the same seeds, win rate and match lengthbefore and after.@@ -192,6 +204,20 @@ without its finishing passes.- Random maps generate and play, and they are out of the skirmish list until the generator stopsdealing seeds that should not be played. `-randommap <seed>` starts one.+## Help out++Two PCs and an evening are the most useful thing anyone can give this right now.+[#27](https://github.com/olcayseygan/CnCGeneralsZH-Reforged/issues/27) says what to play and what+to send back, and a clean match counts as much as a broken one.++For code, the+[good first issues](https://github.com/olcayseygan/CnCGeneralsZH-Reforged/labels/good%20first%20issue)+are client-side changes that cannot desync a match, each with the files to open and what done looks+like. The [help wanted](https://github.com/olcayseygan/CnCGeneralsZH-Reforged/labels/help%20wanted)+ones are bigger. [CONTRIBUTING.md](CONTRIBUTING.md) has the commit format and the checks a pull+request runs, and [Discussions](https://github.com/olcayseygan/CnCGeneralsZH-Reforged/discussions)+is open for anything that is not an issue yet.+---<details>