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

Cursor Issue #62

Closed
Nhawks1717 opened this issue May 25, 2014 · 10 comments
Closed

Cursor Issue #62

Nhawks1717 opened this issue May 25, 2014 · 10 comments

Comments

@Nhawks1717
Copy link

This is probably just per game but I am using this on Civilization 5 and I have noticed that when this is applied the cursor that is provided in game by Civilization 5 is not positioned correctly to where the actual selection is taking place on the UI. Its not a bid deal since its only offset by a little but it is a big enough problem to where it is effecting clicking on certain things. Like I said this is probably just an issue with Civ 5 because of their curosr but I'm not sure. I don't really have any other games to test this on that don't already have their own version of Borderless Window.

@ghost
Copy link

ghost commented May 31, 2014

Hi, I'm having this same issue in Lord of the Rings Online, the offset is maybe a 1 cm.

@ShanKanis
Copy link

Same issue here in few visual novels. It's kind of pain :P

@gabeseltzer
Copy link

I have the same issue with Neverwinter Nights 2, but not any other game (so far) that I've used this with

@Chromana
Copy link

Chromana commented Jul 8, 2014

To fix the Civ V issue, as noted here http://pcgamingwiki.com/wiki/Civilization_V#Borderless_fullscreen_windowed :

  1. Launch Game with Borderless Gaming.
  2. Go to settings and change to some other resolution and apply.
  3. Change back to desired resolution setting and apply.

Similar steps may work in other games. You could check the wiki pages of other games too.

@Nhawks1717
Copy link
Author

ah! Perfect, thanks!!

Sent from my iPhone

On Jul 7, 2014, at 10:26 PM, Alex notifications@github.com wrote:

To fix the Civ V issue, as noted here
http://pcgamingwiki.com/wiki/Civilization_V#Borderless_fullscreen_windowed :

  1. Launch Game with Borderless Gaming.
  2. Go to settings and change to some other resolution and apply.
  3. Change back to desired resolution setting and apply.


Reply to this email directly or view it on GitHub
#62 (comment)
.

@ZwaanME
Copy link

ZwaanME commented Jul 24, 2015

I have a similar problem using Borderless Gaming with games like Empress of the Deep (hidden object game) that run in a low resolution (800x600 or 1024x768). When I run games like these without a border they no longer scale the position of the mouse cursor which makes it almost impossible to play. The middle of my screen is interpreted as the lower right corner making it hard to click buttons. Is there any way to correct this? I can't change the resolution as suggested because these games only run in one resolution setting.

@psouza4
Copy link
Contributor

psouza4 commented Jul 25, 2015

Unfortunately, some games are incompatible as they don't check their resolution or use scaling techniques to understand screen coordinate translations. So when the window size is changed, the mouse position offset is wrong. There's nothing Borderless Gaming or other window-resizing applications can do to fix this, I'm afraid. You can run it borderless without resizing the window if you just want a clean feel to the game, but it's just an oversight in how the game translates mouse inputs to on-screen game elements by not accounting for smooth resolution sizing.

@ZwaanME
Copy link

ZwaanME commented Jul 27, 2015

Dear Peter,

Thank you for your swift reply. I thought it would be something like
this but I'm glad I didn't miss an obvious or advanced feature of the
program. I have managed to get the software to work with a variety of
games and when it works it's great to be able to do something on my
second monitor without losing focus.


Kind regards,

MARK ZWAAN

Peter Souza schreef op 2015-07-25 18:22:

Unfortunately, some games are incompatible as they don't check their
resolution or use scaling techniques to understand screen coordinate
translations. So when the window size is changed, the mouse position
offset is wrong. There's nothing Borderless Gaming or other
window-resizing applications can do to fix this, I'm afraid. You can
run it borderless without resizing the window if you just want a clean
feel to the game, but it's just an oversight in how the game
translates mouse inputs to on-screen game elements by not accounting
for smooth resolution sizing.

Reply to this email directly or view it on GitHub [1].

Links:

[1]
#62 (comment)

@psouza4
Copy link
Contributor

psouza4 commented Jul 27, 2015

Glad that works for you!

@psouza4 psouza4 closed this as completed Jul 27, 2015
@Nucleoprotein
Copy link

Hello,

Sorry for writing in this old issue, but you wrong about:

There's nothing Borderless Gaming or other window-resizing applications can do to fix this, I'm afraid.

You can fix this by injecting custom DLL into game process and hook CreateWindowEx and SetWindowLong. This is aggressive method, but I have working d3d9.dll wrapper for Civilization 5 (also work for DX11 because executable loads d3d9.dll too) that overcomes cursor offset bug. I think something similar is doing GeDoSaTo but it have more advanced injection schema.

My code is here: http://www24.zippyshare.com/v/sW2NUY9l/file.html I need to create github project for it someday ...

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

7 participants