Closed A1ca7raz closed 8 months ago
That seems to be a bug in wine, you're the second one to report it. This does not happen on windows.
What wine version is it?
What wine version is it?
Proton-GE 8.16
I'm not sure if there's anything I can do. I could possibly add a temporary workaround, but in the end, they'll have to fix it.
Apparently they broke "ClipCursor" in a way that you can't move the cursor to the very right and the very bottom anymore. C&C games don't handle such issues very well, they need the cursor to reach the very last line/row to trigger the scroll. Other games are a bit smarter, there's often between 2-5 lines/rows that trigger the scroll
Just to verify, here's a test build that logs the ClipCursor calls to cnc-ddraw-*.log:
If you want, do a test run and upload the log and and I can double check just to be sure it's really a problem within ClipCursor
Yeah, that confirms what I thought. They broke "ClipCursor".
Not sure where to report the issue, no idea if it's specific to Proton GE or regular Proton or wine... You probably have to use a older build for now until they've fixed it.
They're probably not even aware of the issue yet, in most games you wouldn't notice that there's something wrong.
This here probably works (increased width/height of the rectangle by 1):
It doesn't work on fullscreen mode and fullscreen upscaled mode. On borderless mode I can move the cursor to bottom, but right is still broken. This is the log of ra2md on fullscreen upscaled mode. cnc-ddraw-1.log This is the log on borderless mode. cnc-ddraw-1.log
Ah okay, so their bug is that they check the size of the window and subtract 1 from it. That's why borderless works (it does add +1 to the height)
Closing this as it's not a cnc-ddraw related bug
I use Linux and multiple monitors, so I need to lock my cursor to screen. But with devmode on I cannot move my view right or bottom just like the picture below. Top and left works fine.
The red arrow points to my cursor. It didn't turn to navigating cursor.
The blue arrows point to top-right and bottom-left corner where right or bottom navigating can be triggled.
![Screenshot_20231029_000448](https://github.com/FunkyFr3sh/cnc-ddraw/assets/7345998/e5cf0141-5fac-4071-9bd5-fbfd56b1c403)
When devmode is off, everything works fine but my cursor would move out of the screen.
This is my monitor layout, and the 1440p one is my primary monitor.![图片](https://github.com/FunkyFr3sh/cnc-ddraw/assets/7345998/d1eb2992-9440-41c6-9d05-b284597aa3f7)