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

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

Open
PsychOwnZ opened this issue Mar 6, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@PsychOwnZ
Copy link

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 PsychOwnZ added the bug Something isn't working label Mar 6, 2024
@PsychOwnZ PsychOwnZ changed the title [Bug]: HUD/UI still show up when put to false in settings (ultrawide fix) [Bug]: HUD/UI still show up on black bars when put to false in settings (ultrawide fix) Mar 6, 2024
@Lyall
Copy link
Owner

Lyall commented Mar 10, 2024

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

@PsychOwnZ
Copy link
Author

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 PsychOwnZ reopened this Mar 10, 2024
@Fune3
Copy link

Fune3 commented Mar 11, 2024

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.

@Lyall
Copy link
Owner

Lyall commented Mar 12, 2024

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.

@PsychOwnZ
Copy link
Author

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.

@Lyall
Copy link
Owner

Lyall commented Mar 13, 2024

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.

@PsychOwnZ
Copy link
Author

Any idea on how we can fix it ?

@Lyall
Copy link
Owner

Lyall commented Mar 21, 2024

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.

@PsychOwnZ
Copy link
Author

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

@PsychOwnZ
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants