View topic - Basic Hex Helper Information

Tanuki
Offline
 
Forum Posts: 3007
Joined: 07 Jul 2007, 23:55
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*
Tanuki
Offline
 
Forum Posts: 3007
Joined: 07 Jul 2007, 23:55


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
---------------------------------------------------------------

Tanuki
Offline
 
Forum Posts: 3007
Joined: 07 Jul 2007, 23:55


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
---------------------------------------------------------------

Tanuki
Offline
 
Forum Posts: 3007
Joined: 07 Jul 2007, 23:55
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.
Tanuki
Offline
 
Forum Posts: 3007
Joined: 07 Jul 2007, 23:55
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.
2011Michael
Offline
 
Forum Posts: 2
Joined: 20 Jan 2011, 14:42
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:
Tanuki
Offline
 
Forum Posts: 3007
Joined: 07 Jul 2007, 23:55
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.
blackpill
Offline
 
Forum Posts: 48
Joined: 21 Apr 2010, 20:43
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.
skipclarke
Founder
Administrators
Like a Boss
21x9 Users
AMD Eyefinity Users
NVIDIA Surround Users
User avatar
Offline
 
Forum Posts: 7548
Articles: 518
Blogs: 21
Game Reports: 161
Joined: 13 Oct 2003, 05:00
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
czarman
Insiders
21x9 Users
User avatar
Offline
 
Forum Posts: 601
Game Reports: 378
Joined: 11 Dec 2008, 23:51
Location: Germany
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.
CZARMAN aka 彼得爸爸
Next

Return to Request/Discuss Game Solutions

Who is online

Users browsing this forum: CommonCrawl [Bot] and 6 guests