praydog / REFramework

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

[DMC5] Ultrawide fix in-game UI issue #573

Open Aramerith opened 2 years ago

Aramerith commented 2 years ago

While the ultrawide fix is working properly for removing the black bars on the side, it scales UI alongside it, making your HP bar invisible, as it's beyond the screen region.

Would it be possible to force UI elements to move only on horizontal axis and prevent them moving in vertical axis?

If it's just a camera-zoom-esque fix, I understand that it's pretty much not possible.

ajhakra commented 1 year ago

Whilst not the perfect fix for this, I've found a workaround in the mean time.

Aramerith commented 1 year ago

Whilst not the perfect fix for this, I've found a workaround in the mean time.

  • In-game, set your resolution to be the NON-UW equivalent of your resolution, i.e 3440x1440 users set it to 2560x1440(Would also recommend increasing your "Render Scaling" to something like 120%+
  • Set your game to "Fullscreen" mode
  • Press the "Insert" button(REFramework default key)
  • Go to "Graphics" and toggle "Ultrawide/Aspect Ratio Fix" and "Ultrawide: Override FOV"
  • Set FOV value to something like 1.4/15(1.4 looked perfect to me)
  • Profit (Note that things like screen recorders or Steams screenshot thingy will record in the 16:9 res and not the 21:9 res)

Thanks, I didn't think about that. I'll try that asap

Zentheon commented 1 year ago

For me the resolution doesn't actually change when trying this. So far no combination of settings scales the GUI properly when the resolution is actually correct, but I'm also on a 32:9 aspect ratio if that's a problem?

plneappl commented 1 year ago

If you still want to try, I've fixed it for my setup, maybe that also helps you? https://github.com/praydog/REFramework/pull/864 I also implemented a UI scaler mod: https://www.nexusmods.com/devilmaycry5/mods/3184/ there's also a precompiled DLL of the PR if you're brave enough to trust a stranger's compiled code...