praydog / REFramework

Scripting platform, modding framework and VR support for all RE Engine games
https://cursey.github.io/reframework-book/
MIT License
2.74k stars 340 forks source link

Mouse pointer is outside of highlight window for selecting options in 4:3 / 5:4 aspect ratios #739

Open TheDimensioner opened 1 year ago

TheDimensioner commented 1 year ago

Hey, just found out about this! You cannot imagine my joy at finally getting rid of black bars in 4:3 on RE8, and also getting a taste of what RE4R would look like in the "standard" aspect ratio through the demo. But, selecting options and managing the inventory with the mouse on those games becomes kinda hard, because when the "Ultrawide / FOV / Aspect Ratio" fix is enabled, it confines the mouse pointer to a "virtual" window at the top left corner of the screen, regardless of "fullscreen / windowed / borderless" settings. Options can still be selected, but the highlight window is off by a couple of inches. The aim reticle is correctly centered, though.

I'm using a 17" CRT monitor (I just love this beast), the fix works wonders on it, but regardless of the 4:3 resolution I choose (1024x768, 1280x960, 1440x1080, etc.), all of them confine the pointer to that small space. The same is true for a 5:4 resolution, like 1280x1024. Selecting a "pseudo" ultrawide resolution, like 1280x480 (a "super resolution" for CRTs, useful for integer scaling on emulators), options are then correctly highlighted by the pointer, but everything becomes squished on the small 4:3 screen. I also tried the "Force Render Resolution to Window Size" setting, but no luck there.

colorcrims0n commented 1 year ago

I have a similar issue with my 4:3 display, where the cursor becomes a problem, but it seems different from yours. The in-game cursor gets offset from the actual Windows cursor, which actually seems to be doing all of the selecting. The closer the resolution is to a widescreen resolution the closer to accurate it gets.

screenshot of what this looks like here

TheDimensioner commented 1 year ago

I have a similar issue with my 4:3 display, where the cursor becomes a problem, but it seems different from yours. The in-game cursor gets offset from the actual Windows cursor, which actually seems to be doing all of the selecting. The closer the resolution is to a widescreen resolution the closer to accurate it gets.

I'd say it's the same issue, but the Windows cursor is hidden on my games. I also just confirmed it happens on 16:10 resolutions, like 1280x800, the resolution of the Steam Deck, but perhaps that device is "safe", as one wouldn't use the pointer on that small screen, and use primarily the joypad buttons, or maybe the touchscreen directly (I don't have one, so I wouldn't know for sure XD).

RE7, RE2R and RE3R already had other options for 4:3, which work well, and I was already used to playing them with mouse and keyboard, combining items so fast, it was criminal. I see REFramework being better in many other aspects, but with the cursor trapped on that window virtually 70% the size of my monitor and offset where the options would virtually be on that window, it's not viable using it with other aspect ratios right now, ultrawide being the only "fine" option.

Clippy95 commented 1 year ago

This occurs on 16:10 resolutions as well like you said and happens on laptops

txzzqaz commented 3 weeks ago

This occurs on 3:2 resolutions (2880*1920)