Lyall / MGSHDFix

A fix that adds custom resolutions, ultrawide support and much more to the Metal Gear Solid Master Collection.
MIT License
376 stars 8 forks source link

Numerous issues on 5120x1440 monitors (MGS3) #19

Closed MrTwisT007 closed 8 months ago

MrTwisT007 commented 8 months ago

Edit: retracted (crossed out) some statements as they were not specific to the patch.

This is tested on MGS3 so far.

With a 32:9 monitor the patch seems to ignore the custom width setting. With width set to 2560 the game still runs at 5120 and stretches everything to the entire screen width. Aspect ratio setting does not have effect on this. Windowed causes the game to drop down to 2-3 FPS when the window is in focus and 60FPS when not in focus. Borderless does not work as the game tries to display on the left side of the screen , then proceeding to cause my monitor to lose signal and crash the game shortly after, restoring the signal (weird one).

Would really love to use this patch for the intro skip features, but have to fallback to MGSResolutionPatch for working pillarboxed solution. Can provide further info if needed.

Lyall commented 8 months ago

So I'm pretty sure the stretching issue when running for example 2560x1440 on a 3440x1440 display is due to the framebuffer fix. The fix stops pillarboxing if your maximum reported resolution is a different aspect ratio than 16:9.

MrTwisT007 commented 8 months ago

Updated initial comment: The signal loss and FPS drops were something completely unrelated as I started experiencing those in other software. A machine restart fixed that. As such, I've crossed out those statements. Would love for there to be a pillarboxed borderless option.

Lyall commented 8 months ago

Updated initial comment: The signal loss and FPS drops were something completely unrelated as I started experiencing those in other software. A machine restart fixed that. As such, I've crossed out those statements. Would love for there to be a pillarboxed borderless option.

I've just added a potential fix for this issue. Can you try out this test build?

I've done some testing on my own end as I own an ultrawide display and it seems to work.

Edit: Reverted that and decided to just add a toggle in the ini to disable to the framebuffer fix if you want a pillarboxed/letterboxed output.

MrTwisT007 commented 8 months ago

Tried the test build - custom 2560x1440 borderless works in this one without stretching (pillarboxed).

Lyall commented 8 months ago

Tried the test build - custom 2560x1440 borderless works in this one without stretching (pillarboxed).

Can you try out v0.8? It should accomplish the same thing but you'll have to set

[Framebuffer Fix]
; Forces the framebuffer size to be the same as the custom resolution.
; Disable this if you want pillarboxing/letterboxing with your custom resolution.
Enabled = true

to false in MGSHDFix.ini.

MrTwisT007 commented 8 months ago

0.8 works as described. Thanks for getting this in!