Skip to content

Conversation

@xezon
Copy link

@xezon xezon commented Jun 8, 2025

This change prevents evaluating and saving disabled options in the Options Menu when in-game.

Originally, the game evaluated disabled options. This most notably happened with the disabled Display Resolution settings, when a custom resolution forced the game to default its resolution to 800x600 and then crash the game when pressing the ACCEPT button.

TODO

  • Replicate in Generals

@xezon xezon added this to the Stability fixes milestone Jun 8, 2025
@xezon xezon added Bug Something is not working right, typically is user facing Critical Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour Crash This is a crash, very bad GUI For graphical user interface labels Jun 8, 2025
Copy link

@Mauller Mauller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works as expected.
A really nice improvement when coupled with the scrolling fixes

@xezon xezon force-pushed the xezon/fix-optionsmenu-disabled-options branch from 0b70511 to 2b6d5bd Compare June 11, 2025 20:33
@xezon xezon changed the title [GEN][ZH] Prevent evaluating and saving disabled options in the Options Menu [GEN][ZH] Prevent crashing from evaluating and saving disabled options in the Options Menu Jun 11, 2025
@xezon
Copy link
Author

xezon commented Jun 11, 2025

Replicated in Generals without conflicts.

@Mauller
Copy link

Mauller commented Jun 11, 2025

Copy across looks clean.

@xezon xezon merged commit 0d713f2 into TheSuperHackers:main Jun 12, 2025
20 checks passed
@xezon xezon deleted the xezon/fix-optionsmenu-disabled-options branch June 12, 2025 16:04
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Nov 10, 2025
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 Crash This is a crash, very bad Critical Severity: Minor < Major < Critical < Blocker Gen Relates to Generals GUI For graphical user interface ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In-Game options change resets resolution to 800x600 and crashes the game

2 participants