-
Notifications
You must be signed in to change notification settings - Fork 152
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
Mouse cursor missing in King's Quest V (SCIKQ5.EXE) #1118
Comments
This is the same problem as #1030, it draws into the cursor memory which isn't supported in nt which is why it doesn't work in ntvdm either. |
So then is there a way to detect when a program is trying to do this without polling cursor memory 60 times per second? |
It's not hard to detect, it uses LockResource(hicon) when starting to draw and GlobalUnlock(hicon) when done. As I said in the other thread it's quite possible to do, just the code to make it happen isn't trivial. |
Describe the bug
It is possible to get the Windows 3.1 version of King's Quest V to run on Windows 10 with OTDVM if you change two settings in "Properties" for SCIKQ5.EXE:
If you do these, the game will start. Windows doesn't actually change your video mode to 640x480x256, it leaves it alone. The game's window will be maximized, and the game screen will appear in the top-left corner of the window. Restore the window and it will be the correct size.
However, the mouse cursor is completely missing, as if there was a problem loading all the custom mouse cursors.
Expected behavior
Mouse cursor should appear. The game uses custom cursors for everything, and these are missing or not loaded correctly.
Screenshots
Screenshots usually don't include the mouse cursor anyway
Environment (please complete the following information):
Tracelog
https://www.dwedit.org/files/.tracelog/Tracelog%20OTVDM%20SCIKQ5.7z
The text was updated successfully, but these errors were encountered: