P3RFix icon indicating copy to clipboard operation
P3RFix copied to clipboard

[Bug]: HUD/UI still show up on black bars when put to false in settings (ultrawide fix)

Open PsychOwnZ opened this issue 3 months ago • 10 comments

Issue Summary:

HUD is still appearing above and below my screen even when I set all ultrawide settings to false. I'm using a computer with a 16:10 resolution, and I prefer to have black bars above and below the screen while still using the other features.

P3RFix & Game Version Numbers:

P3RFix v1.1.6 Steam Latest Steam version

Log Files:

[2024-03-06 02:06:48.789] [P3RFix] [info] ---------- [2024-03-06 02:06:48.790] [P3RFix] [info] P3RFix v1.1.6 loaded. [2024-03-06 02:06:48.790] [P3RFix] [info] ---------- [2024-03-06 02:06:48.790] [P3RFix] [info] Path to logfile: C:\Program Files (x86)\Steam\steamapps\common\P3R\P3R\Binaries\Win64\P3RFix.log [2024-03-06 02:06:48.790] [P3RFix] [info] ---------- [2024-03-06 02:06:48.790] [P3RFix] [info] Module Name: P3R.exe [2024-03-06 02:06:48.790] [P3RFix] [info] Module Path: C:\Program Files (x86)\Steam\steamapps\common\P3R\P3R\Binaries\Win64
[2024-03-06 02:06:48.790] [P3RFix] [info] Module Address: 0x140000000 [2024-03-06 02:06:48.790] [P3RFix] [info] Module Timestamp: 1704862230 [2024-03-06 02:06:48.790] [P3RFix] [info] ---------- [2024-03-06 02:06:48.794] [P3RFix] [info] Path to config file: C:\Program Files (x86)\Steam\steamapps\common\P3R\P3R\Binaries\Win64\P3RFix.ini [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: iInjectionDelay: 1000ms [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: bCustomResolution: false [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: iCustomResX: 0 [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: iCustomResY: 0 [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: bSkipLogos: false [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: iSkipLogos: 2 [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: bUncapMenuFPS: true [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: bPauseOnFocusLoss: true [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: bHUDFix: false [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: bAspectFix: false [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: bFOVFix: false [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: bScreenPercentage: false [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: fScreenPercentage: 100 [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: bRenTexResMulti: true [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: fRenTexResUserMulti = 1 [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: bAdjustFPSCap: false [2024-03-06 02:06:48.794] [P3RFix] [info] Config Parse: fFramerateCap: 120 [2024-03-06 02:06:48.794] [P3RFix] [info] ---------- [2024-03-06 02:06:48.794] [P3RFix] [info] Custom Resolution: Desktop Width: 2560 [2024-03-06 02:06:48.794] [P3RFix] [info] Custom Resolution: Desktop Height: 1600 [2024-03-06 02:06:48.794] [P3RFix] [info] Custom Resolution: fAspectRatio: 1.6 [2024-03-06 02:06:48.794] [P3RFix] [info] Custom Resolution: fAspectMultiplier: 0.90000004 [2024-03-06 02:06:48.794] [P3RFix] [info] Custom Resolution: fHUDWidth: 2560 [2024-03-06 02:06:48.794] [P3RFix] [info] Custom Resolution: fHUDHeight: 1440 [2024-03-06 02:06:48.794] [P3RFix] [info] Custom Resolution: fHUDWidthOffset: 0 [2024-03-06 02:06:48.794] [P3RFix] [info] Custom Resolution: fHUDHeightOffset: 80 [2024-03-06 02:06:48.794] [P3RFix] [info] ---------- [2024-03-06 02:06:49.805] [P3RFix] [info] HUD Constraints: Address is P3R.exe+ccbc6c [2024-03-06 02:06:49.861] [P3RFix] [info] Screen Percentage: Address is P3R.exe+315957c [2024-03-06 02:06:49.915] [P3RFix] [info] Render Texture 2D Resolution: Address is P3R.exe+347c1d0 [2024-03-06 02:06:49.922] [P3RFix] [info] RT_Capture: Address is P3R.exe+cab8f4 [2024-03-06 02:06:49.933] [P3RFix] [info] Menu FPS Cap: Address is P3R.exe+1069507 [2024-03-06 02:06:49.933] [P3RFix] [info] Menu FPS Cap: Patched instruction. [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.4814814 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2844x1600 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.4814814 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2844x1600 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.4814814 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2844x1600 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.4814814 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080 [2024-03-06 02:06:50.388] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2844x1600 [2024-03-06 02:06:50.389] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.4814814 [2024-03-06 02:06:50.389] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080 [2024-03-06 02:06:50.389] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2844x1600 [2024-03-06 02:06:51.855] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.4814814 [2024-03-06 02:06:51.855] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080 [2024-03-06 02:06:51.855] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2844x1600 [2024-03-06 02:06:51.855] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.4814814 [2024-03-06 02:06:51.855] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1920x1080 [2024-03-06 02:06:51.855] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 2844x1600 [2024-03-06 02:10:53.008] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.4814814 [2024-03-06 02:10:53.008] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1024x1024 [2024-03-06 02:10:53.008] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 1517x1517 [2024-03-06 02:15:23.308] [P3RFix] [info] Render Texture 2D Resolution: fRenTexResMulti = 1.4814814 [2024-03-06 02:15:23.308] [P3RFix] [info] Render Texture 2D Resolution: Old render texture resolution = 1024x1024 [2024-03-06 02:15:23.308] [P3RFix] [info] Render Texture 2D Resolution: New render texture resolution = 1517x1517

Reproduction:

Just open any menu, dialogues, fade-in animations, or cinematics.

screen1 screen2 screen3 screen4 screen5 screen6

PsychOwnZ avatar Mar 06 '24 01:03 PsychOwnZ

Are you using borderless mode or windowed/fullscreen? If you use borderless, the game will always display at your desktop resolution.

Lyall avatar Mar 10 '24 20:03 Lyall

Yes, I've already tried both fullscreen and borderless modes. Only windowed mode works (obviously). I think I took the screenshots in fullscreen mode here.

PsychOwnZ avatar Mar 10 '24 21:03 PsychOwnZ

I'm also having this issue playing at 3440x1440 - I only want P3RFix for the intro skip and render texture fix, so this makes it unusable for me since setting a custom resolution to 2560x1440 in the ini did not work.

Fune3 avatar Mar 11 '24 03:03 Fune3

Hmm it should be applying the custom resolution correctly in fullscreen and windowed mode. Can you try running in windowed mode and then pressing alt+enter to switch to fullscreen? If that doesn't work I'll probably have to take a look at a different approach for applying the custom resolution.

Lyall avatar Mar 12 '24 11:03 Lyall

I just tried it. With custom resolution off, it stretches the screen really badly. I can provide some screenshots if you'd like to see, or if you're unsure what I mean by "stretch." With custom resolution on and put to 0, it doesn't change; it's the same as the fullscreen screenshots I posted.

PsychOwnZ avatar Mar 12 '24 16:03 PsychOwnZ

Looking at this more, it seems to be a quirk of UE4. When in fullscreen mode it stretches based on your desktops aspect ratio. Even setting scaling options in your driver control panel does not bypass this.

Lyall avatar Mar 13 '24 12:03 Lyall

Any idea on how we can fix it ?

PsychOwnZ avatar Mar 15 '24 17:03 PsychOwnZ

Sorry for the late reply. I can only suggest either changing your desktop resolution and scaling before starting the game. Or you could use something like SpecialK which has excellent features for aspect ratio correction and resolution overriding.

Lyall avatar Mar 21 '24 12:03 Lyall

No problem! Well, will look at that, thanks.

PsychOwnZ avatar Mar 23 '24 15:03 PsychOwnZ

Alright, so I tested by tweaking some settings on Special K. It works correctly by overriding the aspect ratio to 16:9 and changing the resolution accordingly. Thanks! I didn't test by changing the desktop resolution, but I guess it would work the same.

PsychOwnZ avatar Mar 23 '24 22:03 PsychOwnZ