Open
Description
Prerequisites
- I have searched for similar issues and confirmed this is not a duplicate
Game Version
- Command & Conquer Generals
- Command & Conquer Generals: Zero Hour
- Other (please specify below)
Bug Description
The game shipped with leftover outdated files (duplicate INIZH.big in Data/INI).
Line 342 in GameEngine.cpp tries to clean this up on startup, but this does not work on the EA app/origin version of the game because the folder is owned by the app and is not writable.
This results in the duplicate INI being loaded, which causes INI CRC not to match in multiplayer games, and can cause a mismatch if you do manage to get into game.
Reproduction Steps
- Install the game from EA App/Origin
- Observe two INIZH.big files, one in the root folder and one in Data/INI
- Run the game, notice that the DeleteFile/cleanup code does not successfully delete it (if you try to manually delete it via explorer, you'll need to give admin approval to do so
- Try to join a multiplayer game which performs CRC checks, notice the CRC doesn't match, despite a clean game install via EA app
- If you do manage to get past the CRC check, the game will eventually mismatch
Additional Context
In GeneralsOnline, we now skip this file during loading, but there is probably a better solution for the longer term