Hexidecimal Questions

Discussion about modding Halo 3.
Post Reply
Domnio





Posts: 199
Joined: Sun Jul 16, 2006 3:44 pm
Location: Earth
Contact:

Hexidecimal Questions

Post by Domnio »

I know there's already a topic like this but my question can't be answered by reading that topic
-----------------------------------------------------------------------------------------

I have a few questions about Hex I've been messing around with hex workshop v5 someone said that if you modify a file and compare it in hex workshop v5, hex workshop has a feature that points out the change for you here are the following my questions:

1.) What is an offset and what does it do what prpose does it serve and if you can change it how would that effect the file can it even be changed? what does it define?

2.) How do I really understand the mathematical side of hex? if you can explain or link me to a website they can explain it very well(i dont want a crappy wikipidea link) and if you can explain it please atleast tell me about it before you post a link

3.)I saw some people post some stuff about "converting" hex or something what does that mean and how would a person do that?

thnx in advance

-Domino
RaVNzCRoFT removed my signature because it contained too many lines of text. I'll read the rules next time.
ares-erus





Posts: 224
Joined: Mon Apr 28, 2008 8:51 am

Post by ares-erus »

1) a offset [correct me if im wrong] is a hex title if you will noting where a tag starts and is unique to that tag.
its purpose is for the games code to call up just the title but with that the entire tag is called up.
bit like calling someone by their name and telling them to walk to you.

2) hex is hexidecial digits unlike normal decimals hex uses letters and goes from "0,1,2,3,4,5,6,7,a,b,c,d,e,f" so for instance "ff" would be 1313 or "4c" would be 410.
ImageImage
User avatar
LuxuriousMeat





Posts: 824
Joined: Thu Nov 03, 2005 6:43 pm
Location: zzzzzzzzzzzzzzzz
Contact:

Post by LuxuriousMeat »

An offset is the position in a file where something is found. And you can convert hex to dec in Windows calculator.
Image
Domnio





Posts: 199
Joined: Sun Jul 16, 2006 3:44 pm
Location: Earth
Contact:

Post by Domnio »

o ic :)


thnx for explaining that! i understood it very well

so C+C = 20?
RaVNzCRoFT removed my signature because it contained too many lines of text. I'll read the rules next time.
User avatar
miinaturvat
Readers Club





Posts: 75
Joined: Thu Apr 10, 2008 10:04 am

Post by miinaturvat »

so for instance "ff" would be 1313 or "4c" would be 410.
That guy can't count!

Hex is short for hexidecimal.

We normally count in decimal, using characters 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.

Hexidecimal uses 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e and f.

It works in base 16 instead of base 10.

a = 10
b = 11
c = 12
d = 13
e = 14
f = 15

for example:

1 + 1 = 2
9 + 1 = a
f + 1 = 10
ff + 1 = 100
fe + 1 = ff = 255

It's the exact same as counting normally, except instead of using 10, use 16 and replace double numbers with letters :D
Image
OwnZ joO




Articulatist 500

Posts: 980
Joined: Thu Nov 10, 2005 4:24 pm

Post by OwnZ joO »

Hex is just like you normally count except it goes to F(or 15) instead of 9. Just like all the others the far right number how many of the base to the zero power you have(anything to the zero power is 1).
So:
9 means you have 9 * (16 to the zero).

Then each additional number you have is how many you have to the next power.
So:
A6
means
A(10) * (16 to the 1 which is 16) + 6 * (16 to the zero)
so in our number system it's 166

ABCD
So each additional digit is 16 to the next power
A B C D
4096 256 16 1
16^3 16^2 16^1 16^0

A = 10
B = 11
C = 12
D = 13

D * 1 = 13
C * 16 = 192
B * 256 = 2816
A * 4096 = 40960

40960
2816
192
+ 13
--------
43981
Post Reply