protonscr

Underrail

protonclosed appid 250520
ValveSoftware/Proton#7821 · opened 2024-06-07 by Raikiri · updated 2024-06-07 · 2 comments · github · game page · search this game
RRaikiri 2024-06-07 github

Compatibility Report

  • Name of the game with compatibility issues: Underrail
  • Steam AppID of the game: 250520

System Information

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

Symptoms

In fullscreen mode when the game resolution does not match the resolution of the desktop, right mouse button teleports the cursor, effectively preventing interaction with items and dragging the view or the map.

Reproduction

  1. Use a high desktop resolution (>1080p)
  2. In-game use fullscreen mode, 1080p swapchain resolution
  3. Start a new game (skip dialogs until you can move with left mouse button)
  4. Observe that clicking right mouse button teleports the cursor to a lower-left corner

Note: the problem happens because the game is trying to hold the cursor at the position where RMB was clicked (to allow indefinite scrolling of the view or the minimap), presumably using something akin to GetCursorPos()+SetCursorPos(). However, something goes wrong in the fullscreen mouse position transformation code and the mouse cursor is set to a different position as to where it was clicked.

I assume it's related to the fact that proton does not change the actual desktop resolution in fullscreen mode and instead rescales the game's rendertarget to whatever the desktop resolution is.

This breaks dragging the in-game view, dragging the map (opened with M) and RMB interaction with certain in-game items (jets, ventilation shafts and a bunch of other things you interact with using RMB).

steam-250520.log

Kkisak-valve maintainer 2024-06-07 github

Hello @Raikiri, we're using one issue report per unofficially supported game title, so I've gone ahead and transferred this issue report to https://github.com/ValveSoftware/Proton/issues/115#issuecomment-2154792587.

RRaikiri 2024-06-07 github

Okay thank you, I did not find that one during searching. I hope it gets addressed.

Upstream links