-
Notifications
You must be signed in to change notification settings - Fork 69
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
Cursor disappear problem in version 0.4.0 #152
Comments
There is also a problem that my anti-virus software said that dll is a virus... When I move the dll, the software delete it immidiately. |
I don't know, the cursor works fine for me at DisplayResolution=desktop. Is that what you're referring to? Please attach your DDrawCompat-game.log file so I can check your exact config. System specs would also be useful. I can't do much about antivirus software here. You'll have to consult its documentation on how to add an exception or something. Out of curiosity, what are you using? I checked virustotal and nothing suspicious was reported: I'm also a little confused, if it's deleted immediately, how did you test the different resolution settings? |
Hi there, when antivirus aoftware delete it, I set the file to the whitelist, and the software doesn't delete it anymore. Well, I'll attach the DDrawCompat-game.log now. If you got something wrong, please tell me. Thx a lot!!! |
My PC's spec is there: Hope it helps you :) |
I just realized you may have been talking about changing the resolution in ra2.ini, not in DDrawCompat settings. But even if I change the resolution there, the cursor is fine. Windows seems to apply some compatibility shims by default, including enabling exclusive fullscreen mode. I think this currently takes precedence over the FullscreenMode=borderless setting of DDrawCompat. The easiest way to get rid of the default Windows compatibility settings is to rename the executable to something other than game.exe, like game2.exe and launch the game through that, if possible (doesn't work in the Origin version of the game). If exclusive fullscreen mode is the problem (renaming the executable should confirm it), then I remember some other user had problems with some 3rd party software called f.lux making the cursor invisible in another game. If you have something like that running, try closing it too. See this other issue for details: #85 The reason why it might work in non-native resolutions is that DDrawCompat emulates hardware cursors in software when it has to perform display scaling, i.e. when the DisplayResolution setting doesn't match the application's internal resolution. It seems that in your case the software cursor works correctly, only the hardware cursor has issues. There is currently no way to force using software cursors from DDrawCompat, other than changing DisplayResolution to something different than the game's resolution (or vice versa). But I'm hoping one of the above tips will fix the issue without having to add such a setting. Does the issue also happen when not using DDrawCompat? |
When I use older DDrawCompat, this issue didn't happen. In v0.4.0, every resolution the cursor appear and work fine, except 1920x1080. But curiously, when I exited the game, and moduled ra2.ini, let "ScreenWidth=1920""ScreenHeight=1080", and cursor be normal again! Although if I set resolution to other size, next set the resolution to 1920x1080 (in the game option, not ra2.ini, the issue happened base on it) again, the cursor disappear again...... It's a great work, of course :D |
Ok, thanks for the details! I can finally reproduce the issue now by changing the resolution setting in the game. I didn't realize there was an in-game setting for it too (didn't think there would be). It's definitely a bug in DDrawCompat then, hopefully I can fix it soon. I'll post a test release here when I do. |
Thanks for your work! Wish you can repair it soon :) |
Fixed in v0.5.0. |
I put the dll into RA2 directory, but when I set the screen solution from 800x600 to 1920x1080, the cursor disappear! But in other screen solution my cursor is OK. And in window mode my cursor is OK too(1920x1080). Why it happened?
The text was updated successfully, but these errors were encountered: