Page 30 of 44

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 05 Feb 2016, 21:30
by K4sh
Phoeny wrote:I have updated it with your values and the Vertical is better now.

but they both shift outward now. When you Mark somthing and move your camera to the left the Marker goes faster to the right than the thing you marked.

i guess i have to fiddle a bit around with it

any vid scrineshot ?

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 05 Feb 2016, 21:48
by Phoeny
It works now ... when i am using 29 and 12 the marker stays where it should be .

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 05 Feb 2016, 21:57
by K4sh
Yeah, remember that these values are bounds.
You could set them to 63 & 9 (3 * 21/9). it would work.
Your CT is shared to any one that needs it.
Now next time an update is out please share it here.
And if you feel to go further more in ui size i can explain what to look for, for other players.

Remember that we have no idea what valve anti cheat is operating on this title. You may be banned for this memory hack.

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 05 Feb 2016, 22:24
by Phoeny
About the UI size, if you want to explain what to change and how to find it i think everyone would apprechiate that. I would try to apply those changes aswell.


As far as i understood it i only have to update the memory address in line 91, right? but how to find it?

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 05 Feb 2016, 23:23
by K4sh
Well, take a seat and prepare for the funniest part :D

Start your game,load your savegame and then alt+tab to W desktop.
Start Cheat engine.

Look for array of bytes F3 0f 10 8a.
you will probably find several values (28 for me in latest MGS single player).
these bytes are for opcode movss xmm1,[rdx+offset]
The 4 following bytes are for the offset exactly.
Rdx is a cpu register.Offset is the offset applied to that register.

Now go to Edit/settings/debugger options and ensure that "use VEHdebugger" is checked. Otherwise the following operations will terminate the mgo process and obviously the game.

For the first address you have found, right click and choose disassemble this memory region.
Now, to that following opcode line selected hit F5. this will set a breakpoint in game and pause it if the markers functions are called.
CE will ask you to attach debugger to process. Answer yes.
Keep in mind that it will slow down a litlle your CPU as resources are necessary.
Now try to alt+tab back to game. If you can't get back in it, that probably means the markers function has been called and though your game has been halted.

If so, you should see in that memory disassemble a registers state (right part).
Look at rdx value.
Look also at opcode offset
Now open Windows calculator in programmer mode.
Type in the rdx value and add the offset (respect hexadecimal values).
That will give you the adress where the ui size is probably stored.

In the lower part of the window right click and choose "go to adress".
Type in the adress calculated. Now right click again that part of window and "Display type/float".
If you see the value 64, you're probably good.
Try to change that value by double clicking it.
Set it to 86 (for your aspect ratio).

Now, in the upper part of window, remove the break point by selecting the opcode "movss xmm1,...." and by hitting F5 again.
The line color should be back to normal. Hit F9 to resume the game and alt+Tab back to it if necessary.

Looking at markers, if you have found the right position, you should be able to see the difference.

Now remind the value stored previously in rdx register.
Let's say it is 07 30 86 10 and reverse them so that it gives 10 86 30 07.

In the main Cheat engine window, start a new array of bytes search with these bytes reversed.
You should see many results with one particullary that is stored in MGO process adress. That one is easy to notice as it is the only one that should be written in green.

Again, disassemble that memory region and in the sub window check (if not done yet) the "View/Show module adresses".
Now that adress will be the one used to our pointer.

Now, back to main CE window, click the "add adress manually" (middle of window).
In the new popup window check pointer.
Select Type float.
In the offset just below type in whatever the previous offset you found.
Below type in "mgsvmgo.exe+address value previously found" without the quotes.
If you did the previous steps right, you should see in that popup window the UI size value that you've just modified.
Click Ok and then save your cheat table.

It's long and technical and to be honest with you, 2 weeks ago i had now idea how to do that.
But i have to admit i'm a programmer myself though i never program opcodes.
After trying hard i made it.

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 05 Feb 2016, 23:40
by Phoeny
Thanks ... i ll try that tomorow and report back

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 01:53
by shahidakaprince
HI I HAVE A 3440X 1440 MONITOR AND SINCE THE NEW PATCH I HAVE BEEN CLUELESS IN REGARDS TO WHAT TO DO. I HAD BEEN USING THE ORIGINAL METHOD ALL THE WAY THROUGH BY JACKFUSTE. ALL I WANT FIXED ARE THE MARKERS FOR SINGLE PLAYER. ANY IDEAS OR HELP/DIRECTION ON GETTING THIS FIXED. I HAVE BEEN TRYING TO FOLLOW PHEONY AND K4SH, BUT ITS A TAD TECHNICICAL. i KNOW IM A NOOB!! PLEASE HELP SOME1 I CAN FOLLOW INSTRUCTIONS.

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 10:18
by Phoeny
1. You should turn off caps.
2. i have updated the cheattable for mgo to fix markers a few posts back and k4sh provided the table for mgstpp. You just need to download it. If you have no idea how to do that wait, i will post a steo by step guide in the evening.

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 15:04
by shahidakaprince
thank you so much which post was it?

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 15:54
by shahidakaprince
ok so now I have tried to follow your old posts I am able to fix wind sonar and markers size but for the markers positions they still move around. What on earth am i doing wrong please help much aprreciated.

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 16:03
by shahidakaprince
all done now I just went back to the origjnal post from jackfuste it was wierd when it updates I was getting different values, I know now that is is essential to have the correct exe installed. ok thanks guys for the heads up!!!! 40 hours in 13 percent done and having a blast! man this game is so addicting!!

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 17:57
by Phoeny
This is how far i have come so far.

Spoiler:
Image

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 18:09
by K4sh
Seems you have found the right adress.
Double click the 64 float value to change it to 86.
If that changes your ui size then you're almost done.
Now your rdx pointer is 03 F0 8E 10 reverse them to 10 8E F0 03.

Now start a new array of byte search in mgo process with your reversed pointer.
You should find many addresses with one particulary in green indicating it's located in mgo process.

Select that one and disassemble it. Enlarge your address column in sub window (we don't see the whole adress).
Now that adress that looks like "mgsvmgo.exe+xxxxxxx" is the one you have to copy.
Back to main window click enter manually new address.

Follow the next part of my explanations given previously :D

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 18:49
by Phoeny
The UI size Wasnt broken. But i got it working too. Yay :rockout:

Can you check if i got your formula right in the tutorial?
I searched your Posts but i havent found how you calulate the number 86 for UI size. Can you post a formula so i can add it to the Tutorial?

Many Thanks K4sh


Working Table for Metal Gear Online 06.02.16

All credits go to Jackfuste :clap:
Thanks to K4sh for teaching me how to modify it

Step by Step Instructions for Cheat Engine

1. Modify the Cheat Table to Match your Setup according to the formula by K4sh
Spoiler:

Code: Select all

X_ratio:
  dd (float) YOUR_X_RATIO     // Here we set the correct X ratio
Y_ratio:
  dd (float) YOUR_Y_RATIO  // Here we set the correct Y ratio

Code: Select all

(Your_Pixels_Width * (16*Number_of_Horizontal_Monitors)) / (1920*Number_of_Horizontal_Monitors) = YOUR_X_RATIO

(Your_pixels_Height * (9*Number_of_Vertical_Monitors)) / (1080*Number_of_Vertical_Monitors) = YOUR_Y_RATIO

For a Standart 21:9 3440*1440 Monitor the Values are 28.6666 and 12

2. Start Metal Gear Online
3. Start Cheat Engine
4. Load the MGO process & the Cheattable into Cheatengine - Your Cheatengine Window should look like this
Spoiler:
Image

5. Tick the Box next to Marker Position Fix
6. Calculate the Value for your UI size
Spoiler:

Code: Select all

64 * ((width/height)/1.77777)
For example, 64 * ((6000/1080)/1.77777) = 200.00087
So, 64 should be changed to 200.00087

7. Doubleclick the Value at the end of the Markers Size Line to edit it and type in your Value
8. Close Cheat engine (Fix should stay but i have to test that)

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 18:56
by K4sh
Proper UI size formula is the following one :
jackfuste wrote:64 * ((width/height)/1.77777)
For example, 64 * ((6000/1080)/1.77777) = 200.00087
So, 64 should be changed to 200.00087


You don't have to check/uncheck your markers size. Once you modify the value addressed by the pointer it's written in memory.
You have to check/uncheck the markers position fix to make it work as it injects a brand new code function that will be processed instead of the orignal one.

A little more explanations about ui size pointer.
Why don't we inject code so that it access a new value initialised by a new code function ?
That's because many opcodes access that pointer. So modifying them would be a pain.
Instead, we target the unique pointer so that we don't miss any function that may need it.

Good job with your tutorial. Better explained than mine ;)

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 19:16
by Phoeny
Many thanks for the explanaition and everthing

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 19:23
by wazoo
:cheers: Thanks once again to an amazing community here at WSGF for their tremendous help and generosity in fixing this game continually.

Cheers!

:cheers:

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 06 Feb 2016, 21:16
by blake_n
Thanks K4sh for all the help. I was also able to follow your tutorial on updating the "markers position fix" script. I put together a quick "how-to" image that shows all of the relevant bits of the Cheat Engine interface and the location in script to change things. This should help anyone else who wants to understand and do this themselves. Now I should be able to update the script myself when the March update comes out. I haven't thoroughly gone through your "Markers size" tutorial but maybe I'll give that a shot next and put together another tutorial image (even though the address is still the same).

Image

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 11 Feb 2016, 19:32
by lteddy
I really hate to ask for this - but would anyone be willing to post a video tutorial on how to apply the marker fix with Cheat Engine?

I tried using cheat engine with the wonderful tutorials posted here, though I still don't understand how to use the program at all, even going over other basic Cheat Engine tutorials. v_v

Re: Metal Gear Solid 5: The Phantom Pain- 21:9 support broke

Posted: 11 Feb 2016, 20:05
by K4sh
Can't do this actually as my fai box has died.But it's easy mate.

Download cheat engine and install it.
Download the cheat table linked in previous post.

Start your game. Load your savegame.
Alt+Tab back to desktop.

Double click the cheat table file. This will open Cheat Engine.
Click the computer icon. Select the Metal gear process in the list and click open.

In the lower part of the CE window check the markers fix box.
Modify the UI size value (double click) to whatever the formula gives to you according to your resolution.
Alt+Tab back to game.

This fix must be done after you have patched your MG file. See previous posts on how to do this.