Skip to content

Conversation

@bobtista
Copy link

This change skips loading any BIG file matching Data\INI\INIZH.big during archive initialization.

Testing

  1. Install the game from EA App/Origin
  2. Observe two INIZH.big files, one in the root folder and one in Data/INI
  3. Run the game; notice that DeleteFile/cleanup code does not successfully delete it (this is expected and acceptable now)
  4. Try to join a multiplayer game which performs CRC checks — CRC should now match
  5. Play the multiplayer game — no mismatches should occur (From this issue)

@bobtista bobtista self-assigned this Nov 18, 2025
@xezon
Copy link

xezon commented Nov 19, 2025

Where is the Delete code? Can that be removed if it does not work anyway?

@xezon xezon added Bug Something is not working right, typically is user facing Major Severity: Minor < Major < Critical < Blocker labels Nov 19, 2025
@bobtista
Copy link
Author

Where is the Delete code? Can that be removed if it does not work anyway?

GeneralsMD/Code/GameEngine/Source/Common/GameEngine.cpp line 402, and we can remove it yes. I'm unsure if it works on other installs eg the original CD, but we don't need it in any case. Remove it?

@xezon
Copy link

xezon commented Nov 25, 2025

I would say if this new change avoids all trouble, then remove the hack from Kris and transfer his original comment to the new hack to clarify the intention.

@xezon
Copy link

xezon commented Nov 25, 2025

notice that DeleteFile/cleanup code does not successfully delete it (this is expected and acceptable now)

Why does it not delete it? Does it fail because it does not have Admin privileges?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something is not working right, typically is user facing Major Severity: Minor < Major < Critical < Blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Duplicate and outdated INIZH.big file is not cleaned up on EA app/origin installs and is loaded

2 participants