Skip to content
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

Tropico Mouse Scaling Native Resolution Issue #243

Closed
nickkeane opened this issue Dec 8, 2023 · 2 comments
Closed

Tropico Mouse Scaling Native Resolution Issue #243

nickkeane opened this issue Dec 8, 2023 · 2 comments

Comments

@nickkeane
Copy link

I have Tropico set up to use Dd7to9 with the following:

Dd7to9=1
DdrawFixByteAlignment=1
DdrawUseNativeResolution=1
DdrawIntegerScalingClamp=1
DdrawMaintainAspectRatio=1

And it creates a window fine, but when I move the mouse around, the menu is interacting as if there's a small area in the top left corner (like 0,0 to 640,480px or 800,600px) of the screen that's the active mouse area where I'll move the mouse around and it will select menu items. Actually moving my mouse over the menu items does not select them. So it looks like the screen-space range for my mouse is not scaling up to my computer's full native resolution (2560x1440px) + 4:3 aspect ratio + Intscaling with those settings.

image

Blue Circle is where mouse cursor is when "Exit" is selected.

@elishacloud
Copy link
Owner

I believe this is the same issue reported in #176. The fix for this is to hook the mouse cursor and adjust it to scale to the new screen resolution. I am not really planning to fix this anytime soon. dxwrapper has only best effort support for scaling. Best to run this game in the game's supported resolution.

@elishacloud
Copy link
Owner

Closing this as duplicate of #176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants