What's new

How To: Hex Edit

  • Thread starter w0lfschild
  • Start date
  • Views 57,834
w0lfschild

w0lfschild

Enthusiast
Messages
1,193
Reaction score
216
Points
165
Sin$
0
Edit: 2/4/11
* major rework of thread
* adding video demonstration

This tuturial will show you how to hex edit the level of any ITEM in Borderlands. This will increase the damage of your guns and let you maximize damage/capacity of stock items. (Remember that damage is directly linked to level which is why stock weapons are so powerful)


 
VinnyHaw

VinnyHaw

Se7enSinner
Mythical Veteran Trifecta End of the Year 2015
Messages
14,055
Reaction score
5,501
Points
2,755
Sin$
7
submit this tutorial

http://www.se7ensins.com/forums/forum/102-submit-a-tutorial/
 
w0lfschild

w0lfschild

Enthusiast
Messages
1,193
Reaction score
216
Points
165
Sin$
0
submit this tutorial

http://www.se7ensins.com/forums/forum/102-submit-a-tutorial/
Didn't know that even existed, thx.

Much needed. Thanks alot man.
I try, I think I already spotted a few things I left out but thx for the Thanks :smile:

Pretty soon I'm gonna upload a nice clean working lvl 70 save with every manufacture for each type of gun that people can use as a starting point
 
w0lfschild

w0lfschild

Enthusiast
Messages
1,193
Reaction score
216
Points
165
Sin$
0
Nice tut :wink:
probably makes a nasty tediore as-well
What did you mean by this? :blink: i was confused.

I mean if you make it on any tediore item it will be evil (guns or shields)

for example:

Take a normal tediore quick regen shield (not stock)
Hex it to the specified hex and you should end up with a shield that when equipped will provide about -400 health regen
Thus when equipped it would put the character into an infinate death loop, downing them before they even spawn
Then if the game were to save that person would not be able to use that character again unless they have moxxi's DLC and could join a game in progress in the Underdome which has a mechanism that prevents health from going below 1 from -health regen
 
Zebedee

I2orschach

Est 2010
Seasoned Veteran
Messages
711
Reaction score
120
Points
145
Sin$
7
hey i tryed doind this ii got as far as searching for 00000000000000FFFF but i can find it any where and i have triple checked that iv done all the above any suggestions?
 
w0lfschild

w0lfschild

Enthusiast
Messages
1,193
Reaction score
216
Points
165
Sin$
0
hey i tryed doind this ii got as far as searching for 00000000000000FFFF but i can find it any where and i have triple checked that iv done all the above any suggestions?
haha thanks for this

So you got it working? I know that if you're on pc I think the hex is flopped so it might be different, this was designed with xbox people in mind.
 
G

Gorek

Newbie
Messages
9
Reaction score
0
Points
35
Sin$
0
Theres no need to do it his way, you can simply go onto willowtree and in the weapons section theres a button saying change all levels, just click that type the level you want and it will change them all for you
 
w0lfschild

w0lfschild

Enthusiast
Messages
1,193
Reaction score
216
Points
165
Sin$
0
Theres no need to do it his way, you can simply go onto willowtree and in the weapons section theres a button saying change all levels, just click that type the level you want and it will change them all for you
yeah why don't you just go try that and tell me when you get a gun to spawn in with 2billion damage.... seriously read up or gtfo. I mean have even played this game before or did you just buy it today?


 
G

Gorek

Newbie
Messages
9
Reaction score
0
Points
35
Sin$
0
Your tut up there is for changing the lev of the guns, correct? well there is a feature for that on willowtree. If however you mean guns that spawn in game (which i dont think you've specified then its worth it) however if its just your gun in inventory they can be changed in willowtree
 
w0lfschild

w0lfschild

Enthusiast
Messages
1,193
Reaction score
216
Points
165
Sin$
0
Your tut up there is for changing the lev of the guns, correct? well there is a feature for that on willowtree. If however you mean guns that spawn in game (which i dont think you've specified then its worth it) however if its just your gun in inventory they can be changed in willowtree
Try making a gun higher then level 61 in willowtree and come back here when that happens... WT has a 61 cap the game however doesn't so that means you can use lvl 70 guns and hold level 80 guns and make max level stock guns with this but you can't with willowtree...
 
Zebedee

I2orschach

Est 2010
Seasoned Veteran
Messages
711
Reaction score
120
Points
145
Sin$
7
Sweet well ill keep trying for now but if i cant ill pm you some time

iv got it now. sorry for being a pain
 
H

Harbinger1777

Enthusiast
Messages
38
Reaction score
8
Points
55
Sin$
0
W0lf,

It's about time I make good on this one...

Eh, sometimes I'm a *********,

-Harbinger1777 (XBL & PC)


This is only intended for the xbox 360 version of BL, since different platforms have different methods of storing the hex stuff (something about Indians? - J/K).

Hex bit locations & meanings for guns: Suppose you just set up this mixed-manufacturer part combat rifle in WillowTree# by adding the desired parts, setting the itemgrade to gd_itemgrades.Weapons.ItemGrade_Weapon_Scorpio, deleting the manufacturer part (line), and you remembered to slide the Quality and Level sliders in WT# all the way to the left (i.e., Quality = 0 and Level = disabled).Okay, screen shots:

WillowTree# Setup for a gun prior to the hex edit:

hexbitsgun1willowtreese.png


Hex editor view of the same gun, details below screen shot. (HxD is the hex editor I used here, it's is free -- download links: ftp http)

hexbitsgun1bluegreen.png


If you use HxD, click View > Visible columns > Hex and text to get the view I have above: Offset (in hex) on the left side, hex in the middle, and text on the right.
The highlighted portions (both the blue and green parts) together is the hex representation of the gun prepped in WillowTree# above (1[sup]st[/sup] screen shot). The hex portion at the end of the gun which is highlighted in green is 16 hex bits (a hex bit is two hex digits, so 3F is 1 hex bit and 0048 is 2 hex bits for example) and contains some important information for you as a modder:

hexbitsgun1bitsenumerat.png


I will attempt to map out for you which hex bits do what with and without scorpio as an item grade for both guns and class mods/items.

This assertion holds throughout: I haven't a clue what bits 1, 2, and 12 through 16 do, but they're always 00.

  1. Guns with the scorpio itemgrade (same gun as last two screen shots):
    • bit 3 is likewise a mystery to me on this one.
    • bits 4 and 5 are ammo remaining in the clip (not clip size) -- as far as I can tell these are useless for modding guns and WT# truncates a value entered here to 500 which is 01FC in hex.
    • bits 6, 7, 8 and 9 are gun level--this is one huge way the scorpio itemgrade changes a gun.
      You'll want to know that gun level = level requirement of the gun in game + 2 (and you'll want that in hex here).
    • bits 10 and 11 are 00 00 unless the gun is equipped in weapon slot # X, which case they are X in hex (so a gun in weapon slot # 26 would have these as 00 1A -- hey, it happens sometimes).
Guns without itemgrade scorpio (i.e. normal guns):
  • bit 3 is likewise a mystery to me on this one.
  • bits 4 and 5 are ammo remaining in the clip (not clip size) -- as far as I can tell these are useless for modding guns.
    note: WT# truncates a value entered here to 500 which is 01FC in hex.
  • bits 6 and 7 are gun level. You'll still want to know that gun level = level requirement of the gun in game + 2 (and you'll want that in hex here).
  • bits 8 and 9 are the quality level of the gun. So yeah, just what you might think.
  • bits 10 and 11 are 00 00 unless the gun is equipped in weapon slot # X, which case they are X in hex (so a gun in weapon slot # 26 would have these as 00 1A -- hey, it happens sometimes).
<li>Class MODs/items with itemgrade scorpio (yeah, that level 70 support gunner class MOD):
  • bits 3, 4 and 5 are item quantity (the number of copies of the item you can use or sell or drop off the one your modding).
  • bits 6, 7, 8 and 9 are item level--this is one huge way the scorpio itemgrade changes an item.
    You'll want to know that item level = level requirement of the item in game + 2 (and you'll want that in hex here).
  • bits 10 and 11 are 00 00 unless the item is equipped, which case they are 00 01.
    If you figure out to get more than one class mod or grenade mod or shield slot, tell me, sounds coll, and then I'll change this part up a bit.
<li>Class MODs/items without itemgrade scorpio (yep, the stuff you buy or that spawns in game):

  • bits 3, 4 and 5 are item quantity (the number of copies of the item you can use or sell or drop off the one your modding).
  • bits 6 and 7 are item level.
    You'll still want to know that item level = level requirement of the item in game + 2 (and you'll want that in hex here).
  • bits 8 and 9 are the quality level of the item. So yeah, just what you might think.
  • bits 10 and 11 are 00 00 unless the item is equipped, which case they are 00 01.
    If you figure out to get more than one class mod or grenade mod or shield slot, tell me, sounds coll, and then I'll change this part up a bit.
Eh, I'm done now save this one thing: For scorpio stuff, know these numbers, eh?

Code:
7FFF FFFF = 2147483647
8000 0000 = zero ? - post results. on stock grenade mod this is the most useless grenade mod in the game. ever. 0 dmg and a little puff. My Yorkshire Terrier farts with more fury than this thing, really? all that hex for puff?
8000 0001 = -2147483647
FFFF FFFF = -1
0000 0000 = zero again (but the bigger 0, cause this doesn't do no puff, just like kiddie-sizes whatever you put it on)?

The above diddy in the last code box might just be all wrong, but then again I'm out there couch fu*kin' 61's and 70's who are, whom? you? not anymore...



CF Brand Shottys ~ 36.5 billion damage per shell -

If this doesn't win the duel, you shouldn't have given the other guy that one shield yet--dumb-*ss!

"Fu*k your couch *****!" [sup]TM[/sup] - bartlebyostrich (XBL)
******************

This apology brought to you by Harbinger1777, this ought to take the challenge right out of everything.
 
w0lfschild

w0lfschild

Enthusiast
Messages
1,193
Reaction score
216
Points
165
Sin$
0
Code:
7FFF FFFF = 2147483647
OH Snap the number of doom... :lol:

So I found why the test guns will never spawn with texture.

Unfortunately none of them are linked to a mesh which is actually really easy to do. Also some of the alien guns don't have every part available.
But basically I found that you can make the guns with parts they just won't show up.

Did you ever find out any good use for the console. It seems like useless garbage to me... The best part is checking fps and a glitch I found with changeteam/suicide.

and of corse thanks for the apology.

oh and did I add you on pc yet? I'll have to do that if I haven't. You should start messing around with the editor, you could get hooked on editin ****.
 
C

Chimaira

Newbie
Messages
26
Reaction score
3
Points
45
Sin$
0
I vote this thread be stickied. BTW Nice guide w0lf, will rep when I can.
 
Top Bottom
Login
Register