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(gameengine): disable copy protection so WinMain stops bailing
Olcay Seygan9ecec1192962
diff --git a/GeneralsMD/Code/GameEngine/Include/Common/CopyProtection.h b/GeneralsMD/Code/GameEngine/Include/Common/CopyProtection.hindex 7df7b8aed..8de591dd5 100644--- a/GeneralsMD/Code/GameEngine/Include/Common/CopyProtection.h+++ b/GeneralsMD/Code/GameEngine/Include/Common/CopyProtection.h@@ -33,7 +33,12 @@#define COPYPROTECTION_H// Comment out the following line to disable copy protection checks-#define DO_COPY_PROTECTION+// Off for this port: the checks talk to the EA/SafeDisc launcher over a window+// message, and without it WinMain creates the app window and then bails+// immediately ("Launcher is not running - about to bail"), which looks exactly+// like a splash screen that flashes and disappears. The launcher is not in the+// source release.+//#define DO_COPY_PROTECTION#ifdef DO_COPY_PROTECTION