Basic Hex Helper Information
Basic Hex Helper Information
Can we sticky this?
Post 1 - Formatting, finding, calculating hex values. (WIP)
Post 2 - List of Common hex values for resolutions.
Post 3 - List of Common hex values for aspect ratios.
Post 4 - Calculating fov in hexadecimal format.
*TBA*
Post 1 - Formatting, finding, calculating hex values. (WIP)
Post 2 - List of Common hex values for resolutions.
Post 3 - List of Common hex values for aspect ratios.
Post 4 - Calculating fov in hexadecimal format.
*TBA*
Re: Basic Hex Helper Information
Value******Hex Value******Formatted Value
---------------------------------------------------------------
200**********0x0C8*****************C800
---------------------------------------------------------------
240**********0x0F0*****************F000
---------------------------------------------------------------
320**********0x140*****************4001
---------------------------------------------------------------
480**********0x1E0*****************E001
---------------------------------------------------------------
525**********0x20D*****************0D02
---------------------------------------------------------------
540**********0x21C*****************1C02
---------------------------------------------------------------
576**********0x240*****************4002
---------------------------------------------------------------
600**********0x258*****************5802
---------------------------------------------------------------
640**********0x280*****************8002
---------------------------------------------------------------
704**********0x2C0*****************C002
---------------------------------------------------------------
720**********0x2D0*****************D002
---------------------------------------------------------------
768**********0x300*****************0003
---------------------------------------------------------------
800**********0x320*****************2003
---------------------------------------------------------------
840**********0x348*****************4803
---------------------------------------------------------------
848**********0x350*****************5003
---------------------------------------------------------------
854**********0x356*****************5603
---------------------------------------------------------------
900**********0x384*****************8403
---------------------------------------------------------------
960**********0x3C0*****************C003
---------------------------------------------------------------
992**********0x3E0*****************E003
---------------------------------------------------------------
1000*********0x3E8*****************E803
---------------------------------------------------------------
1024*********0x400*****************0004
---------------------------------------------------------------
1050*********0x41A*****************1A04
---------------------------------------------------------------
1080*********0x438*****************3804
---------------------------------------------------------------
1152*********0x480*****************8004
---------------------------------------------------------------
1200*********0x4B0*****************B004
---------------------------------------------------------------
1280*********0x500*****************0005
---------------------------------------------------------------
1360*********0x550*****************5005
---------------------------------------------------------------
1366*********0x556*****************5605
---------------------------------------------------------------
1368*********0x558*****************5805
---------------------------------------------------------------
1440*********0x5A0*****************A005
---------------------------------------------------------------
1536*********0x600*****************0006
---------------------------------------------------------------
1600*********0x640*****************4006
---------------------------------------------------------------
1680*********0x690*****************9006
---------------------------------------------------------------
1768*********0x6E8*****************E806
---------------------------------------------------------------
1776*********0x6F0*****************F006
---------------------------------------------------------------
1800*********0x708*****************0807
---------------------------------------------------------------
1920*********0x780*****************8007
---------------------------------------------------------------
2048*********0x800*****************0008
---------------------------------------------------------------
2400*********0x960*****************6009
---------------------------------------------------------------
2560*********0xA00*****************000A
---------------------------------------------------------------
2720*********0xAA0*****************A00A
---------------------------------------------------------------
2880*********0xB40*****************400B
---------------------------------------------------------------
3072*********0xC00*****************000C
---------------------------------------------------------------
3200*********0xC80*****************800C
---------------------------------------------------------------
3360*********0xD20*****************200D
---------------------------------------------------------------
3840*********0xF00*****************000F
---------------------------------------------------------------
4080*********0xFF0*****************F00F
---------------------------------------------------------------
4320*********0x10E0***************E010
---------------------------------------------------------------
5040*********0x13B0***************B013
---------------------------------------------------------------
5760*********0x1680***************8016
---------------------------------------------------------------
Re: Basic Hex Helper Information
Decimal AR******Common Name******Formatted Value
---------------------------------------------------------------
1.25*********************(5:4)**************00 00 A0 3F
---------------------------------------------------------------
1.33~*******************(4:3)**************AB AA AA 3F
---------------------------------------------------------------
1.5**********************(3:2)**************00 00 C0 3F
---------------------------------------------------------------
1.6*********************(16:10)************CD CC CC 3F
---------------------------------------------------------------
1.66~*******************(15:9)*************55 55 D5 3F
---------------------------------------------------------------
1.77~*******************(16:9)*************39 8E E3 3F
---------------------------------------------------------------
1.85********************(1.85:1)***********CD CC EC 3F
---------------------------------------------------------------
2.39********************(2.39:1)***********C3 F5 18 40
---------------------------------------------------------------
2.76********************(2.76:1)***********D7 A3 30 40
---------------------------------------------------------------
3.75********************(3x5:4)************00 00 70 40
---------------------------------------------------------------
4************************(3x4:3)************00 00 80 40
---------------------------------------------------------------
4.8*********************(3x16:10)**********9A 99 99 40
---------------------------------------------------------------
5************************(3x15:9)***********00 00 A0 40
---------------------------------------------------------------
5.33~*******************(3x16:9)***********AB AA AA 40
---------------------------------------------------------------
Re: Basic Hex Helper Information
Sometimes the field of view (fov) for a game can be found in hexadecimal form in one of the game's files. The format you will most likely see is the IEEE 754 standard which is comprised of four hexadecimal pairs.
For example a fov of 60.0 would be the following in hexadecimal.
42 70 00 00
This will almost always be formatted to be read from right to left in the game's files. So 42 70 00 00 becomes the following in the file.
00 00 70 42
You can use a IEEE 754 calculator like this one to get your fov value into hexadecimal format. Simply paste your fov in the decimal field and click the Rounded or Not Rounded button (should not matter) and look at the hexadecimal result under the single precision fields.
Think of the hexadecimal value in this format.
ST UV WX YZ
You will be using it in this format.
YZ WX UV ST
Remember you can calculate the field of view by using the FOV Calc tool on this site along with any of several other methods for calculating the field of view.
For example a fov of 60.0 would be the following in hexadecimal.
42 70 00 00
This will almost always be formatted to be read from right to left in the game's files. So 42 70 00 00 becomes the following in the file.
00 00 70 42
You can use a IEEE 754 calculator like this one to get your fov value into hexadecimal format. Simply paste your fov in the decimal field and click the Rounded or Not Rounded button (should not matter) and look at the hexadecimal result under the single precision fields.
Think of the hexadecimal value in this format.
ST UV WX YZ
You will be using it in this format.
YZ WX UV ST
Remember you can calculate the field of view by using the FOV Calc tool on this site along with any of several other methods for calculating the field of view.
Re: Basic Hex Helper Information
If there is something you do not understand you can ask it here. Chances are if you don't get it others may not as well. This also cuts down on redundancy on my end.
If I add another info post I will just ask a mod to bump it up with the others.
If I add another info post I will just ask a mod to bump it up with the others.
-
2011Michael
- Posts: 2
- Joined: 20 Jan 2011, 14:42
Re: Basic Hex Helper Information
Hi~
you say ''Simply paste your fov in the decimal field ''.how to get the fov of ''Silent Hill 4''?
my english is so poor
or can you just tell me the Hex string like ''40 06 00 00 BF B0 04'',please? I mean ''Silent Hill 4''. :wink:
you say ''Simply paste your fov in the decimal field ''.how to get the fov of ''Silent Hill 4''?
my english is so poor
or can you just tell me the Hex string like ''40 06 00 00 BF B0 04'',please? I mean ''Silent Hill 4''. :wink:
Re: Basic Hex Helper Information
Sorry about the late reply. I don't know what Silent Hill 4 does in widescreen. If you are looking to change the fov it really helps to know what the default value is.
From searching the forums it looks like you might actually be looking for the resolution which values are listed in the posts above.
From searching the forums it looks like you might actually be looking for the resolution which values are listed in the posts above.
Re: Basic Hex Helper Information
Thanks Tanuki for this amazing page! I cannot believe not encountered it before. I really want to learn all this. But I have some questions:
First: I know how use the hex editor but the only thing I know to do is look for the string "80 02 00 00 E0 01" and replace with "80 07 00 00 38 04" (I have 1920x1080).
It works in some games and not others, because I do not know what else to do. Some games (like Toy Story 3) you have to replace that string 5 times, and in others games the string is about 100 times! So in these cases usually I leave defeated.
The case is, could you make a dumb-proof tutorial of each step?
Such as taking a imaginary standard game that only supports 4:3?
What you wrote above is great but still do not understand where to begin.
What string should look to replace? Or is it just a matter of choosing which resolution I want to change? For example, I can choose randomly find and change the string of 1024x768 resolution only because I want that when you choose that resolution in-game will result in my 1920x1080? Or should always seek the minimum resolution for each game? Shit, I feel that every time I'm confusing myself more!
And in the case of games that not only have a .exe, but also a exe for settings, it have to be changed both?
Advanced thanks and forgiveness for my english and the chaotic way that express my self.
First: I know how use the hex editor but the only thing I know to do is look for the string "80 02 00 00 E0 01" and replace with "80 07 00 00 38 04" (I have 1920x1080).
It works in some games and not others, because I do not know what else to do. Some games (like Toy Story 3) you have to replace that string 5 times, and in others games the string is about 100 times! So in these cases usually I leave defeated.
The case is, could you make a dumb-proof tutorial of each step?
Such as taking a imaginary standard game that only supports 4:3?
What you wrote above is great but still do not understand where to begin.
What string should look to replace? Or is it just a matter of choosing which resolution I want to change? For example, I can choose randomly find and change the string of 1024x768 resolution only because I want that when you choose that resolution in-game will result in my 1920x1080? Or should always seek the minimum resolution for each game? Shit, I feel that every time I'm confusing myself more!
And in the case of games that not only have a .exe, but also a exe for settings, it have to be changed both?
Advanced thanks and forgiveness for my english and the chaotic way that express my self.
- skipclarke
- Founder

- Posts: 7358
- Joined: 13 Oct 2003, 05:00
I found this page doing some
I found this page doing some clean-up on the site. I've added all this info to the HEX Editing Tutorial.
http://widescreengamingforum.com/article/common-hex-values
http://widescreengamingforum.com/article/common-hex-values
Re: Basic Hex Helper Information
Is this the right Value for 21:9 Aspect Ratio?
Decimal AR Common Name Formatted Value
-----------------------------------------------------------------------
2.33 (21:9) C3 F5 10 40
-----------------------------------------------------------------------
The new Resolution ist 3440 x 1440 -> 700D x A005
Correct me if i am wrong.
Decimal AR Common Name Formatted Value
-----------------------------------------------------------------------
2.33 (21:9) C3 F5 10 40
-----------------------------------------------------------------------
The new Resolution ist 3440 x 1440 -> 700D x A005
Correct me if i am wrong.
CZARMAN aka 彼得爸爸
- GeneralAdmission
- Editors

- Posts: 1560
- Joined: 12 Sep 2007, 19:14
Re: Basic Hex Helper Information
zeyrok wrote:Is this the right Value for 21:9 Aspect Ratio?
Decimal AR Common Name Formatted Value
-----------------------------------------------------------------------
2.33 (21:9) C3 F5 10 40
-----------------------------------------------------------------------
The new Resolution ist 3440 x 1440 -> 700D x A005
Correct me if i am wrong.
Hex C3 F5 10 40 = 2.265
2.33 AR should be = hex B8 1E 15 40
Resolution looks correct
Re: Basic Hex Helper Information
Since I'm not having any luck with Spellforce (might be a tougher cookie) I tried my luck with another request I made some time ago, Kult: Heretic Kingdoms, a game with 3 resolutions, 4:3 and 5:4 AR. I searched for the res. values and after a couple of trials and errors I managed to find the correct ones, changed them to fit my resolution but the image/hud is not scaling properly.
http://i.minus.com/iHHCeBmN4fK6m.png
http://i.minus.com/iLGcrJe7jytNE.png
http://i.minus.com/iDXlTh342p8lF.png
The tutorial also mentions that I need to change the AR to fit WS resolutions but I cannot change what I cannot find. 1600x1200 = 4:3 AR = AB AA AA 3F
What should I do?
http://i.minus.com/iHHCeBmN4fK6m.png
http://i.minus.com/iLGcrJe7jytNE.png
http://i.minus.com/iDXlTh342p8lF.png
The tutorial also mentions that I need to change the AR to fit WS resolutions but I cannot change what I cannot find. 1600x1200 = 4:3 AR = AB AA AA 3F
What should I do?
Re: Basic Hex Helper Information
I've been scouring the net trying to find answers to my questions regarding HEX editing, however I fear I'm just too dumb to figure this out on my own.
Unfortunately the links to the FOV calculators that are listed in this post no longer work, nor do the images that Apolodoro posted.
I was hoping someone would be able to make up a guide with screenshots on how to locate the proper hex line in order to change the FOV and the proper hex line to adjust the resolution
Preferably I'm trying to figure out how to adjust the HEX code for a 21:9 3440x1440p monitor.
My hope is that one day I can help out others by modifying the exe files of these games in order to correct what the developers have broken/forgotten.
Unfortunately the links to the FOV calculators that are listed in this post no longer work, nor do the images that Apolodoro posted.
I was hoping someone would be able to make up a guide with screenshots on how to locate the proper hex line in order to change the FOV and the proper hex line to adjust the resolution
Preferably I'm trying to figure out how to adjust the HEX code for a 21:9 3440x1440p monitor.
My hope is that one day I can help out others by modifying the exe files of these games in order to correct what the developers have broken/forgotten.
- GeneralAdmission
- Editors

- Posts: 1560
- Joined: 12 Sep 2007, 19:14
Re: Basic Hex Helper Information
Hello Strata,
The FOV Tool link still works for me:
http://www.wsgf.org/fovcalc.php
Regarding hex editing, the locations to change in an executable will be different with every game. Did you have any particular games in mind, or are you looking for more general instructions?
GA
The FOV Tool link still works for me:
http://www.wsgf.org/fovcalc.php
Regarding hex editing, the locations to change in an executable will be different with every game. Did you have any particular games in mind, or are you looking for more general instructions?
GA
Re: Basic Hex Helper Information
Thanks for the Link to the FOV calculator, it looks like the Links Tanuki provided are just broken now.
In this particular instance I was trying to figure out how to edit the hex code for Assassin's Creed Liberation (Uplay Version) and Ghost Recon Future Soldier (Uplay version).
But I also was just trying to learn a bit more about Hex editing so that I can fix any other games I may run across in my library. My hope is that I could make fixes for others and ease the pain of early adoption thus allowing more people to make the leap. This site was a huge help to me back when 16:10 aspects were starting to emerge back in 2003(2005?) and I'd like to give back and help out those moving forward with the new 21:9 aspect which I'm sure will be common place five years from now just like 16:10 was (granted five years later 16:9 became the norm).
In this particular instance I was trying to figure out how to edit the hex code for Assassin's Creed Liberation (Uplay Version) and Ghost Recon Future Soldier (Uplay version).
But I also was just trying to learn a bit more about Hex editing so that I can fix any other games I may run across in my library. My hope is that I could make fixes for others and ease the pain of early adoption thus allowing more people to make the leap. This site was a huge help to me back when 16:10 aspects were starting to emerge back in 2003(2005?) and I'd like to give back and help out those moving forward with the new 21:9 aspect which I'm sure will be common place five years from now just like 16:10 was (granted five years later 16:9 became the norm).
-
wickedsick
- Posts: 8
- Joined: 22 Jun 2011, 15:45
Re: Basic Hex Helper Information
Is it possible to use this to try to make God Eater to run in 21:9?
Die young or suffer
Re: Basic Hex Helper Information
I understand how the HEX resolutions are created. I can't understand though how the aspect ratios are converted to HEX. I have a 32:10 display with a 3840x1200 resolution, and I want to replace the "398EE33F" value in MGS V with the one that corresponds to my 32:10 ratio.
Could someone explain this to me please?
Could someone explain this to me please?
Who is online
Users browsing this forum: Semrush [Bot] and 5 guests

