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
fix(gameenginedevice): let Patch*.big override the base archives
Olcay Seygan6f0edc44140b
diff --git a/GeneralsMD/Code/GameEngineDevice/Source/Win32Device/Common/Win32BIGFileSystem.cpp b/GeneralsMD/Code/GameEngineDevice/Source/Win32Device/Common/Win32BIGFileSystem.cppindex cf6ea4e2c..da2eed559 100644--- a/GeneralsMD/Code/GameEngineDevice/Source/Win32Device/Common/Win32BIGFileSystem.cpp+++ b/GeneralsMD/Code/GameEngineDevice/Source/Win32Device/Common/Win32BIGFileSystem.cpp@@ -60,6 +60,12 @@ void Win32BIGFileSystem::init() {loadBigFilesFromDirectory("", "*.big");+ // loadIntoDirectoryTree keeps the FIRST archive that claims a path and the plain+ // *.big pass above enumerates case-insensitively alphabetically, so INIZH.big claims+ // Data\INI\... before PatchINI.big is even looked at and the 1.04 patch content is+ // unreachable. Re-load the patch archives with overwrite so they win, like retail.+ loadBigFilesFromDirectory("", "Patch*.big", TRUE);+// load original Generals assetsAsciiString installPath;GetStringFromGeneralsRegistry("", "InstallPath", installPath );