Page 40 of 44
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 01 Dec 2016, 19:52
by ChoGGi
I just tried it on the latest version and it's working fine
before:

- mgsvtppHEX1
- mgsvtppHEX1.png (7.27 KiB) Viewed 5250 times
and after hex edit:

- mgsvtppHEX2
- mgsvtppHEX2.png (6.93 KiB) Viewed 5246 times
if you can't use search then you should be able to use goto and enter that offset on the left side (blue text)
That AB AA AA 40 is for 5760x1080 replace with your value
Edit: yeah scopes work
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 01 Dec 2016, 22:17
by _Floppy_
Now the funny part....I can't find it in my mgsvtpp.exe but in my msgvtpp.exe.backup.
Now is the Question how can I use this backup instead of the one i am using...
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 01 Dec 2016, 22:36
by ChoGGi
That kinda sounds like you found and replaced it already, has it been changed to the hex value you need?
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 01 Dec 2016, 22:45
by _Floppy_
I changed it...now my Steam says
Could not start game (invalid platform) I just want to play

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 01 Dec 2016, 22:53
by ChoGGi
What happens when you double click the exe to start it?
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 01 Dec 2016, 23:21
by _Floppy_
Now it works, but the Scope isn,t ok like u told me ...
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 01 Dec 2016, 23:30
by ChoGGi
Better to have the proper ratio then be stretched out

Edit: btw Floppy I'm going to assume your 21:9 monitor is a new purchase, pretty much no game support overlays with ultra-wide (rain, blood, smoke effects and so on). Now that 21:9 displays are getting popular maybe developers will take the time to improve upon overlays.
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 03 Dec 2016, 21:15
by foodstuffs
Could someone please please please help me with making a 5:4 (1280x1024) executable? I've been slaving away at the EXE with hex edit for some time trying to find different solutions but with no personal success so far.
I know it isn't widescreen but I'm stuck with a 12 year old monitor currently.
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 03 Dec 2016, 21:27
by ChoGGi
Use those images I posted on the previous page as an example and swap AB AA AA 40 for 00 00 A0 3F
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 03 Dec 2016, 21:39
by foodstuffs
That's the first thing I tried but sadly no results. The only times it has worked is when I used an EXE someone else has made. There has to be something else to it than just that value.
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 03 Dec 2016, 22:04
by ChoGGi
Hmm you could be inserting rather than overwriting the values? You're not copying and pasting right? you're typing in the values?
Of course other than the hex edit you do need the cheat engine script to fix the marker positions.
Edit: This should give you a patched file with the correct hex values (for any mods here, it's a bin patch not the exe, 100MB is too much for me to bother uploading).
https://choggi.org/games/mgsvtppBinpatch.7zJust extract it to steamapps\Common\MGS_TPP and run the batch file.
This won't work on updated version of MGSV, so you should learn to edit files.
I'm not sure what hex editor you use, but HxD is a decent one
https://mh-nexus.de/en/hxd/
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 05 Dec 2016, 07:12
by yahway666
Hello all. Just made an account to say thank you to everyone for all the work they've put in(!) and to ask a few questions.
I am on the current version of MGSV:TPP (1.10) and only care about TPP; MGO isn't relevant to me. I'm running Win10 64-bit (if that't relevant), and my resolution is 5915x1200 (3x16:10 with bezel corrected nVidia Surround). This is my first time trying to edit a game like this, and using Cheat Engine in particular so it's entirely possible I just made silly mistakes.
I edited the hex values for my aspect ratio without a problem. However, I'm having difficulty with the markers and scopes. I downloaded Cheat Engine (6.6) and used the CT posted by k4sh on page 70 of this thread. Markers are now locking horizontally as they should, but still float around vertically. Also, when using a scope or binoculars the world sticks out around the edges, and the shape of the scope is ovular. Another problem I'm having that I haven't seen anyone else post about is my fps dropped from 60 to 20-30 after changing the hex values. Is this common?
I'm also posting a picture of my Cheat Engine window. Let me know if I'm simply using Cheat Engine wrong. Thanks!
EDIT: Sorry. Meant the CT posted in page 76 not 70. The new link after the issue with the youtuber.
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 05 Dec 2016, 07:44
by ChoGGi
foodstuffs wrote:I'm definitely doing it right.
That is the correct hex value, dunno maybe MSGV just doesn't work with 5:4, hopefully someone else will chime in?
btw what does it look like?
yahway666 wrote:I'm also posting a picture of my Cheat Engine window. Let me know if I'm simply using Cheat Engine wrong. Thanks!
Something's wrong, the values for CE aren't showing up properly.

^ That's what it looks like for me with a 5.333333 (48:9) aspect ratio
I guess the ?? means it can't find the memory address? It does look like you've set it up correctly, not sure why you're getting the ??
I assume you used 9A 99 99 40 for the hex edit? Try using BC BB 9D 40 (since you're using a funky res you need to calculate the correct aspect ratio and convert it over).
yahway666 wrote:Another problem I'm having that I haven't seen anyone else post about is my fps dropped from 60 to 20-30 after changing the hex values. Is this common?
Going from 1920x1200 to 5915x1200 would make you lose some FPS.
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 05 Dec 2016, 07:55
by yahway666
yahway666 wrote:I'm also posting a picture of my Cheat Engine window. Let me know if I'm simply using Cheat Engine wrong. Thanks!
Something's wrong, the values for CE aren't showing up properly.

^ That's what it looks like for me with a 5.33333 (48:9) aspect ratio
I guess the ?? means it can't find the memory address? It does look like you've set it up correctly, not sure why you're getting the ??
I assume you used 9A 99 99 40 for the hex edit? I doubt it'll help, but you could try without bezel correction?
yahway666 wrote:Another problem I'm having that I haven't seen anyone else post about is my fps dropped from 60 to 20-30 after changing the hex values. Is this common?
Going from 1920x1200 to 5915x1200 would make you lose some FPS[/quote]
I was playing with bezel correction awhile back and turning it off caused my fps to hit 10 on all my steam games for some reason (only steam though. it was weird). So I think i have to keep it on? I guess I could try messing with it again. Anyway, I did the math and plugged it all into one of the IEEE-754 converters and got a custom hex value for my aspect ratio. Using 9A 99 99 40 left about an inch of black on either side.
My resolution setting was always 5915x1200 though. I thought that the game was already rendering the stuff off camera (since all those objects still exist and are still moving) and all changing the hex value did was increasing the amount that was actually displayed? I didn't realize this actually changed the resolution.
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 05 Dec 2016, 07:59
by ChoGGi
Not sure how you got 9A 99 99 40?
http://www.wsgf.org/fovcalc.phpgave me 4.929167
then
https://www.h-schmidt.net/FloatConverter/IEEE754.html gave me
BC BB 9D 40
I edited my post above after you replied I think, so try that hex value
Edit: "I was playing with bezel correction awhile back and turning it off caused my fps to hit 10 on all my steam games for some reason (only steam though. it was weird). So I think i have to keep it on?"
Not sure why turning off bezel correction would lower your FPS, technically it would have slightly less to render so it should be faster
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 05 Dec 2016, 08:01
by yahway666
That's the hex value I had already calculated. That part seems to be working fine. My issues are coming up when I try to use CE for the marker fix.
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 05 Dec 2016, 08:02
by ChoGGi
Okay then, you want to run through the steps you take to apply the cheat table?
You shouldn't normally need to be this cautious about starting it, but
start MSGV and let it load into a level, alt-tab out, start CE, click the pulsating button, select mgsvtpp.exe, drag and drop mgsvtpp_1.0.7.1+.CT on the window, click markers fix and it should hopefully show your aspect ratio.
Oh not sure if it matters, but run it as admin?
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 05 Dec 2016, 08:06
by yahway666
ChoGGi wrote:Okay then, you want to run through the steps you take to apply the cheat table?
I downloaded the CT from k4sh on page 76. Then I installed CE 6.6. I open the CT using CE (ignoring the pop up about lua that was posted about earlier). After that I open MGS (hex value has already been edited). After loading my save and entering the world I Alt-Tab back to CE and click the flashy computer icon to attach to the MGS process, and then check the boxes with the scripts. Then everything gets all funky and the only thing that gets fixed is the markers now lock horizontally.
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 05 Dec 2016, 08:08
by yahway666
I have to go to bed now (work in the morning). Thanks for your help! I'll take another crack at this tomorrow evening (probably 16 hours from now)
Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke
Posted: 05 Dec 2016, 08:08
by ChoGGi
yeah

goodnight