Widescreen Gaming Forum

[-noun] Web community dedicated to ensuring PC games run properly on your tablet, netbook, personal computer, HDTV and multi-monitor gaming rig.
It is currently 05 Nov 2024, 09:46

All times are UTC [ DST ]




Post new topic Reply to topic  [ 308 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 31  Next
Author Message
PostPosted: 01 Feb 2017, 00:12 
Offline
User avatar

Joined: 31 Jan 2017, 08:43
Posts: 62
User01 wrote:
But how does one calculate the hex codes for any given resolution? Like for 3360x2100. How does one translate that, or any other resolution, to, for example, 00 AA 40 01?
Both for the removal of black bars and the resolution configs, its intimidating lol.


The way I do it is:

Get your"surround aspect ratio" from http://www.wsgf.org/fovcalc.php


Bezel Compensation Resolution: 6020x1080
"Surround aspect ratio = 301 : 54 or 5.574074 (inc bezel comp.)"

Decimal Form: 5.574074
Ratio Form: 301:54


Get "Black Bar" HEX:

Take the decimal form of your ratio and input it into an IEE 754 converter, I used: https://www.h-schmidt.net/FloatConverter/IEEE754.html

You will get something like: 0x40b25ed0
Remove the "0x" and reverse the order in pairs of two.
40b25ed0 = D0 5E B2 40

D0 5E B2 40 is the "Black Bars" HEX



Get "Ratio" HEX:
Take the RATIO FORM of your ratio and input it into a the A and B boxes of a Ratio Calculator, I used: http://www.calculatorsoup.com/calculators/math/ratios.php

Put "9" in D and calculate for the missing C variable;

Take the "C" result and input it into an IEE 754 converter, I used: https://www.h-schmidt.net/FloatConverter/IEEE754.html

It will give you something like: 0x4248aaab
Remove the "0x" and reverse the order in pairs of two.
4248aaab = AB AA 48 42

AB AA 48 42 is the "Ratio" HEX

Hope this is correct and helps. I am kind of in a rush.


Last edited by CivilWolf on 01 Feb 2017, 00:42, edited 7 times in total.

Top
 Profile  
 


PostPosted: 01 Feb 2017, 00:16 
Offline

Joined: 08 Jan 2015, 15:03
Posts: 13
frankfarina wrote:
CivilWolf wrote:
20mchop wrote:
For some reason the fix doesn't work for me, my game doesn't launch. I do the following:

1. Load exe file into hex editor
2. Find 39 8E E3 3F and replace it with AA AA AA 40 (For 5760 x 1080)
3. Find 9A 99 19 40 and replace it with 00 00 40 42 (For 5760 x 1080)
4. Click save in Hexd
5. See that hexd has placed a file.Bak in my RE7 folder
6. try to launch game, doesn't do anything

Please can someone let me know if i am doing it wrong, i have never used a hex editor in my life.


Just tested it out on mine and it worked fine for me. Make sure the offset and hexadecimals match this:
Image



Can you post a screenshot of the game with resolution 5760x1080? tks


What does it mean if those hex values are different - this is an image of mine:


Attachments:
Untitled.png
Untitled.png [ 9.65 KiB | Viewed 5564 times ]
Top
 Profile  
 
PostPosted: 01 Feb 2017, 01:29 
Offline

Joined: 31 Jan 2017, 18:43
Posts: 8
CivilWolf wrote:
User01 wrote:
But how does one calculate the hex codes for any given resolution? Like for 3360x2100. How does one translate that, or any other resolution, to, for example, 00 AA 40 01?
Both for the removal of black bars and the resolution configs, its intimidating lol.


The way I do it is:

Get your"surround aspect ratio" from http://www.wsgf.org/fovcalc.php


Bezel Compensation Resolution: 6020x1080
"Surround aspect ratio = 301 : 54 or 5.574074 (inc bezel comp.)"

Decimal Form: 5.574074
Ratio Form: 301:54


Get "Black Bar" HEX:

Take the decimal form of your ratio and input it into an IEE 754 converter, I used: https://www.h-schmidt.net/FloatConverter/IEEE754.html

You will get something like: 0x40b25ed0
Remove the "0x" and reverse the order in pairs of two.
40b25ed0 = D0 5E B2 40

D0 5E B2 40 is the "Black Bars" HEX



Get "Ratio" HEX:
Take the RATIO FORM of your ratio and input it into a the A and B boxes of a Ratio Calculator, I used: http://www.calculatorsoup.com/calculators/math/ratios.php

Put "9" in D and calculate for the missing C variable;

Take the "C" result and input it into an IEE 754 converter, I used: https://www.h-schmidt.net/FloatConverter/IEEE754.html

It will give you something like: 0x4248aaab
Remove the "0x" and reverse the order in pairs of two.
4248aaab = AB AA 48 42

AB AA 48 42 is the "Ratio" HEX

Hope this is correct and helps. I am kind of in a rush.


Thank you for taking the time to share this. Sadly, it did not work for me. The game does not start up. I rechecked everything and got the same result, after changing the hex codes and saving, once I try to start the game, it just gives me an error, cannot run the game, no leaving the desktop at all.

I think it might have to do with the fact that the hex codes that zens mentioned we have to change, are not on the same offset on my computer, which, seems to be the case for the poster above me, matthias as well. I will borrow his screenshot as it looks exactly like on mine.

0000FC50 and 0000FC60 look like this:

Attachment:
Untitled.png
Untitled.png [ 9.65 KiB | Viewed 5528 times ]


I can search for the black bar code, 39 8E E3 3F and found it, but on the following offset:

Attachment:
1.JPG
1.JPG [ 21.1 KiB | Viewed 5526 times ]


While the ratio offset, 9A 99 19 40 is found over here:

Attachment:
2.JPG
2.JPG [ 12.85 KiB | Viewed 5526 times ]


Still, I changed those hex codes for the ones for my ratio/resolution and cannot boot the game. Any tips?

Also, here are the results of the ratio translation to hex code, just in case:

3360 x 2100

8:5

1.6

0x3fcccccd

CD CC CC 3F

0x41666666

66 66 66 41


Top
 Profile  
 
PostPosted: 01 Feb 2017, 01:35 
Offline
User avatar

Joined: 21 Oct 2014, 22:56
Posts: 6
Location: Rio de Janeiro
User01 wrote:
Thank you for taking the time to share this. Sadly, it did not work for me. The game does not start up. I rechecked everything and got the same result, after changing the hex codes and saving, once I try to start the game, it just gives me an error, cannot run the game, no leaving the desktop at all.

I think it might have to do with the fact that the hex codes that zens mentioned we have to change, are not on the same offset on my computer, which, seems to be the case for the poster above me, matthias as well. I will borrow his screenshot as it looks exactly like on mine.

0000FC50 and 0000FC60 look like this:

Attachment:
Untitled.png


I can search for the black bar code, 39 8E E3 3F and found it, but on the following offset:

Attachment:
1.JPG


While the ratio offset, 9A 99 19 40 is found over here:

Attachment:
2.JPG


Still, I changed those hex codes for the ones for my ratio/resolution and cannot boot the game. Any tips?

Also, here are the results of the ratio translation to hex code, just in case:

3360 x 2100

8:5

1.6

0x3fcccccd

CD CC CC 3F

0x41666666

66 66 66 41

You're supposed to change this value to 00 00 A8 41 (for 21:9, or whatever the correct value for your case is)
Image
This is the "ratio offset" value.

The one you highlighted is indeed the one that will fix the black bars. You have to change both of these values accordingly.

As to why your addresses are different, my guess is that it has something to do with some Denuvo bollocks... (though I find it kinda odd that it would self-modify).
That or you're running an outdated version for some reason.


Top
 Profile  
 
PostPosted: 01 Feb 2017, 01:49 
Offline
User avatar

Joined: 14 Mar 2016, 17:42
Posts: 10
The 21:9 hex edit didn't work for me either, the game won't start.
Rechecked the hex values but it's not working.


Top
 Profile  
 
PostPosted: 01 Feb 2017, 01:52 
Offline
User avatar

Joined: 21 Oct 2014, 22:56
Posts: 6
Location: Rio de Janeiro
Deh wrote:
The 21:9 hex edit didn't work for me either, the game won't start.
Rechecked the hex values but it's not working.

Try restarting Steam.
For some reason I had to do it, I think Steam somehow notices a difference in the executable and kills it.

After I tampered with it, even my original backup wouldn't work anymore, until I restarted Steam.


Top
 Profile  
 
PostPosted: 01 Feb 2017, 02:02 
Offline
User avatar

Joined: 14 Mar 2016, 17:42
Posts: 10
vittau wrote:
Deh wrote:
The 21:9 hex edit didn't work for me either, the game won't start.
Rechecked the hex values but it's not working.

Try restarting Steam.
For some reason I had to do it, I think Steam somehow notices a difference in the executable and kills it.

After I tampered with it, even my original backup wouldn't work anymore, until I restarted Steam.


I feel so dumb right now, restarting Steam fixed it!
Nice, thank you!


Top
 Profile  
 
PostPosted: 01 Feb 2017, 02:11 
Offline
User avatar

Joined: 21 Oct 2014, 22:56
Posts: 6
Location: Rio de Janeiro
Deh wrote:
vittau wrote:
Deh wrote:
The 21:9 hex edit didn't work for me either, the game won't start.
Rechecked the hex values but it's not working.

Try restarting Steam.
For some reason I had to do it, I think Steam somehow notices a difference in the executable and kills it.

After I tampered with it, even my original backup wouldn't work anymore, until I restarted Steam.


I feel so dumb right now, restarting Steam fixed it!
Nice, thank you!
No problem.

I find it really odd that this happens though.
Does anyone knows what Steam is actually doing here? Does it calculate hashes for every binary when it bootstraps or something?


Top
 Profile  
 
PostPosted: 01 Feb 2017, 02:24 
Offline

Joined: 31 Jan 2017, 18:43
Posts: 8
vittau wrote:
User01 wrote:
Thank you for taking the time to share this. Sadly, it did not work for me. The game does not start up. I rechecked everything and got the same result, after changing the hex codes and saving, once I try to start the game, it just gives me an error, cannot run the game, no leaving the desktop at all.

I think it might have to do with the fact that the hex codes that zens mentioned we have to change, are not on the same offset on my computer, which, seems to be the case for the poster above me, matthias as well. I will borrow his screenshot as it looks exactly like on mine.

0000FC50 and 0000FC60 look like this:

Attachment:
Untitled.png


I can search for the black bar code, 39 8E E3 3F and found it, but on the following offset:

Attachment:
1.JPG


While the ratio offset, 9A 99 19 40 is found over here:

Attachment:
2.JPG


Still, I changed those hex codes for the ones for my ratio/resolution and cannot boot the game. Any tips?

Also, here are the results of the ratio translation to hex code, just in case:

3360 x 2100

8:5

1.6

0x3fcccccd

CD CC CC 3F

0x41666666

66 66 66 41

You're supposed to change this value to 00 00 A8 41 (for 21:9, or whatever the correct value for your case is)
Image
This is the "ratio offset" value.

The one you highlighted is indeed the one that will fix the black bars. You have to change both of these values accordingly.

As to why your addresses are different, my guess is that it has something to do with some Denuvo bollocks... (though I find it kinda odd that it would self-modify).
That or you're running an outdated version for some reason.


Thanks a lot! So many numbers i jumbled some of it...heh. Still, I was having a hard time even after I fixed that, the game ran, but still saw no changes, even restarting steam, offline, online, nothing.

Found out that I had on the ingame options, set it to full screen...needed it to be on borderless window of course...now it looks good!

Also, found an even easier and faster way to fix the FOV. On the same forum where the initial fov was discovered, someone further down uploaded a fov unlock script, its better.

Here is the link for the forum, scroll all the way down and look for the poster, JDimensional, and FOV unlock:

http://forum.cheatengine.org/viewtopic. ... highlight=

Here is a direct link for the script:

http://forum.cheatengine.org/download.php?id=120882


Last edited by User01 on 01 Feb 2017, 14:29, edited 2 times in total.

Top
 Profile  
 
PostPosted: 01 Feb 2017, 13:10 
For those who do not have a clue how to do this (like myself) I found this on YouTube. Its an .exe download with the Hex work already added. There is a fix for both 3440x1440 and 2560x1080

https://www.youtube.com/watch?v=yfawSFPuWwo

Also I have found the FOV unlocker script but do not know what to do with it


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 308 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 31  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: DotNetDotCom.org [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  




Powered by phpBB® Forum Software © phpBB Group