Page 4 of 16
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 00:12
by CivilWolf
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.phpBezel 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.htmlYou 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.phpPut "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.htmlIt 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.
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 00:16
by matthias
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:

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:
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 01:29
by User01
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.phpBezel 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.htmlYou 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.phpPut "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.htmlIt 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:

- Untitled.png (9.65 KiB) Viewed 8150 times
I can search for the black bar code, 39 8E E3 3F and found it, but on the following offset:

- 1.JPG (21.1 KiB) Viewed 8145 times
While the ratio offset, 9A 99 19 40 is found over here:

- 2.JPG (12.85 KiB) Viewed 8152 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
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 01:35
by vittau
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:
Untitled.png
I can search for the black bar code, 39 8E E3 3F and found it, but on the following offset:
1.JPG
While the ratio offset, 9A 99 19 40 is found over here:
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)

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.
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 01:49
by Deh
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.
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 01:52
by vittau
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.
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 02:02
by Deh
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!
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 02:11
by vittau
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?
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 02:24
by User01
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:
Untitled.png
I can search for the black bar code, 39 8E E3 3F and found it, but on the following offset:
1.JPG
While the ratio offset, 9A 99 19 40 is found over here:
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)

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
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 13:10
by Guest
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=yfawSFPuWwoAlso I have found the FOV unlocker script but do not know what to do with it
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 13:13
by Guest
How do I use this script please mate?

Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 13:33
by User01
How to use FOV unlock script:
To recap, download and install Cheat Engine, then download that script, run RE7, then alt+tab, run CE, on CE, click on the computer icon under “File”, choose re7 from the list and click on open. Then, on windows explorer, find the script file and drag it to CE. Check the box down on the left, click on the value area on the right and put down the FOV you want.
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 13:45
by Guest
User01 wrote:How to use FOV unlock script:
To recap, download and install Cheat Engine, then download that script, run RE7, then alt+tab, run CE, on CE, click on the computer icon under “File”, choose re7 from the list and click on open. Then, on windows explorer, find the script file and drag it to CE. Check the box down on the left, click on the value area on the right and put down the FOV you want.
Thank you I shall try to follow... What would be the recommended FOV for 3440x1440 if I may ask?
Thanks
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 14:31
by User01
Not sure. Pretty new to all this myself...I just changed it to what felt right for me.
Btw, that FOV unlock script has been updated due to an error in a cutscene.
"Updated Pointers and backup pointers for Unlock FOV as the original pointer changed to ???? after cutscene."
Here is the new one:
http://forum.cheatengine.org/download.php?id=120882
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 15:12
by kohen
With the fov unlocker, graphic is viberating. ><
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 16:18
by AsmodeusML
I managed to edit .exe but FOV script doesn't seem to do anything at all. Any ideas and what numbers should i put in value box?
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 16:37
by dok1or
Also, changing values in cheat engine does nothing...
After that only thing is that I cant change FOV with ingame menu anymore...
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 19:18
by rev0lt777
Hey guys, did anyone try the fix for the cpy version of the game and got it working?I have followed the steps meticulously it opens and then crashes right after checking dlc dialog.Any help here would be greatly appreciated.I can even post the exe for that matter.
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 19:56
by Guest
User01 wrote:How to use FOV unlock script:
To recap, download and install Cheat Engine, then download that script, run RE7, then alt+tab, run CE, on CE, click on the computer icon under “File”, choose re7 from the list and click on open. Then, on windows explorer, find the script file and drag it to CE. Check the box down on the left, click on the value area on the right and put down the FOV you want.
I've followed this but once the .exe is connected the address in the script remains ????? and I cannot edit the value. I see others have been having the same problem
http://steamcommunity.com/app/418370/discussions/0/133255957992053921/ . I notice without the FOV changing at 3440x1440 its just a little bit off when switching to full screen.
Re: Resident Evil 7 No 21:9 support
Posted: 01 Feb 2017, 21:12
by User01
Weird. Same thing just happened to me. You can fix it though. Once you are running RE7 and CE, added re7 to CE and dragged the script to CE, if you cannot do anything to it, then do this:
Right click on the script and on the list you get, put the mouse on top of "Group Config", then you get a new menu, once there left click on "Hide children when deactivated". You could also enable "Allow left and right to collapse and expand". Either way, it should fix it and you will be able to see the current FOV as well as edit it.
Also, once you have added the value for the FOV, make sure to tick the box on the middle, on the left, so that the FPS value doesn't change even if you have to reload.
Make sure that you are doing all this once you are in-game though, not on the game menu.
Also, be sure to get the new version of FOV Unlocker:
http://forum.cheatengine.org/download.php?id=120882