-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yuri's Revenge Inaccessible Random Map Generator and other UI Glitches #220
Comments
That looks like a issue related to DPI settings, the window is clearly upscaled, it's supposed to be 800x600 but it isn't. Does it work in fullscreen? |
Thank you for responding so quickly. I should have posted my ini settings:
Yes, it also happens in full screen. However my system DPI settings are set to 100% (standard scaling). |
BTW, if I set |
Did you maybe remove the preset for the game or do you maybe use a custom named game executable? These settings here are required for the game to work properly in the menus: noactivateapp=true |
I did not remove the preset. I just compressed all the settings from the ini for ease of presentation here. |
I just tested the game again here with the latest cnc-ddraw build and everything is working fine for me, so it's not a new bug. I don't really have a solution for this bug yet (there were a few others having similar bugs) - I didn't manage to reproduce anything like this yet |
Thank you for looking into this and your suggestions. Yes, I am pretty sure it is somehow related to high DPI, but the problem is how? I mean I am on standard 100% DPI on all monitors, and all monitors have native 1080p resolution - pretty standard setup these days. Yet, apparently the game behaves as if I had 125% or 150% scaling or some such thing. Incidentally another UI issue is that in-game tooltips (when you hover over buildings or units on the map) are not shown, despite the Tooltips option being set. Strangely the tooltips for the construction queue items are displayed. I am sure it must be related to this issue too. Driver-wise - they are standard latest NVidia drivers. I suspect it may have something to do with Windows 11 (presumably most people are still on 10 and so the issue has not manifested itself for them). Unfortunately I cannot test it on Windows 10 to verify this hypothesis. One last point is perhaps there could be some option regarding DPI settings too that can be added, so that it is possible to override system defaults or present "fake" DPI settings to the game or some such thing? |
Latest being 5.1.0.0 or some internal build? Could you please share your config just in case? |
Yeah,5.1.0.0 with default settings (Also tried windowed mode as well) |
Thank you for clarifying. I guess it is something to do with Windows 11 then. |
I got a fresh installed win11 now and managed to reproduce it (but only with High DPI enabled though) Does seem to work with this build: Make sure you dot have any compatibility modes related to high DPI settigns enabled |
Thank you so much for looking into this! I have tested the new version but on my end there is absolutely no difference. All the issues are still there (improperly drawn sliders, missing buttons like Random Map Generator button, and missing tooltips). Btw I am using only windowed mode, not the full screen. I have tried with both default-for-the-game ini settings that you provided as well as a few custom settings and all produce the same results. I also tried setting Windows High DPI compatibility flag as you showed - again this made no difference at all. The strange part is that I do have 100% (no high DPI) scaling on all my monitors! But could multiple monitors somehow break something? All mine are identical 1080p resolution and 100% scaling though. |
@fitdev I had similar problems when I set this option in windows regional settings. Check if you have it installed |
@Belonit |
nice one @Belonit , I got the same issue too once I enable it |
How to fix Red Alert 2 and Yuri's Revenge UI glitches https://github.com/FunkyFr3sh/cnc-ddraw/wiki/How-to-fix-Red-Alert-2-and-Yuri's-Revenge-UI-glitches |
I am using the latest 5.1.0.0 version on Windows 11 22H2. Everything generally works except for the fact that Random Map Generator is not working. The button in the menu is displayed, however in reality it is the other button which simply returns you back to the previous screen, and the "real" Random Map button is nowhere to be found.
According to a thread I found, the issue may have to do with DPI settings However my system DPI is set to standard 100%, plus I tried various compatibility settings in the DPI regard to no avail.
Additionally, there are various UI glitches which persist no matter what ddraw settings I use:
Here the sliders overlap the values.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: