Understanding Hex - What is it?

Iamcoolz Nov 26, 2014

  1. Iamcoolz

    Iamcoolz Forum Administrator Staff Member XPG Administrator
    235/282

    Joined:
    Mar 30, 2012
    Messages:
    1,231
    Likes Received:
    509
    Trophy Points:
    205
    Gender:
    Male
    Location:
    XPG
    Console:
    Xbox One
    It is amazing what you can do by just knowing HEX, and how important it truthfully is to editor creation, and programming in general. So, let's start this off by saying what it actually is.

    Hex or Hexadecimal is an advanced "positional numerical system" and what this means in a dumb downed sense, a system of numbers in which the position you list them out, affects its value.

    This is completely the most important numerical system to really learn if you ever plan to make your own editors or even just edit a value inside of a .exe. This system is extremely confusing to those who are not mathematically challenged. Luckily for everyone on Earth, there are so many tools online that converts a normal number let's say 200 to hex.

    200 is a decimal to the calculator, when you input this into a Decimal to Hexadecimal converter, 200 equals C8. Why is that you ask? That my friends would take a long time to actually post about, let's put it this way, there is college courses where I go to college for learning Hex.. so.

    Now what is the importance of this? When editors or programmers go into a game, let's say... Diablo 3? Let's assume Diablo 3 doesn't encrypt or do anything spectacular, they just leave it plain and all nice for us! We would then go into HxD which is a program that opens a .exe and converts EVERYTHING and sometimes even SAVED userdata such as your character into Hex.

    So let's say you got 100,000 gold on your userdata, inside this program it would show it has 186A0, instead of 100,000. Let's say you wanted to change that to a different number, let's say 200,000, you would simply high light over that hex code and put in 30D40 which stands for 200,000 in hex. Save it. Thus giving you 200,000 gold, this is very similar to what most editors on this forum do. They simply find the offset, you input your number, the editor converts that number to hex, and puts it in place for you all nice and neat. This saves you time.

    If you have any questions, regarding Hex, feel free to reply below!
     
  2. losparo

    losparo Moderator Staff Member XPG Moderator TeamXPG
    380/564

    Joined:
    Dec 16, 2012
    Messages:
    2,060
    Likes Received:
    7,206
    Trophy Points:
    380
    Gender:
    Male
    Console:
    Playstation 4
    Amazing reading your guides as always, well written and should help members out, nice job ;)
     
  3. •Σиïgмλ•

    •Σиïgмλ• The Walrus Of Love XPG Developer Lifetime Gold
    235/282

    Joined:
    Jul 29, 2009
    Messages:
    5,017
    Likes Received:
    1,539
    Trophy Points:
    235
    Gender:
    Male
    Console:
    Xbox
    very well thought out post
    hex is a defenite to learn if you wanna go on and mod anything such as anything in life if you dont understand the basics ya wont grasp the complex

    i can safely say from learning hex to decompiling .xex files
    if you dont get the basics u not gonna grasp the concept of code nor encryption

    best way to learn is trial and error

    who knows who the next c4eva is

    might just be you so learn and adapt ;)


    *Edit*

    i will add this

    if in doubt ask the good folks of XPG we have a vast knowledge of many topics on here and if you dont ask ya will never know

    there is no such thing as a "No0b Question" :vinsent:
     

Share This Page

Close