Hex editing for n00bs like myself

Discuss general issues about modding HaloPC. Post ideas for mods here.
Post Reply
kRAyZZed





Posts: 9
Joined: Thu Oct 23, 2003 10:19 am

Hex editing for n00bs like myself

Post by kRAyZZed »

OK basically i have been doing as much research as possible to learn about hex editing etc and in the end i decided that there were almost no real guides out there to help out n00bs like myself get started so i knocked this up (originaly posted on halo-mods.com forums)

OK well most of you out there may have read about hex editing, offsets etc.

To be completely honest with you when I started reading all of those guides my head just exploded, I would scream aloud just at the thought of using a hex editor to make custom games aka mods.

Well I am here to show you that modding Halo neednt be complicated and can even be fun.

Right here we go.........

FIRST THING TO DO IS MAKE A COPY OF YOUR MAPS FOLDER AND PUT IT SOMEWHERE SAFE!!!! - I cannot stress the importance of having a backup around just in case, or even if you wish to play with no mod installed for a while you will need to use the original map files.

Get yourself a hex-editor program
There are literaly thousands of hex editors out there each with mainly the same features, however I had a few problems with many editors on my pc so I am using Hexplorer, and I have had no problems with it so far. Of course you may find another program that you feel more comfortable with - in the end they all do the same task.

Get yourself an offset list
Yes I know i have started with the complexity already - do not worry it sounds alot more complex than it actually is. I have found that the most concise and accurate collections of offsets comes from here.

Rights Lets begin
First thing you will need to do is decide which map to mod of course, now EVERYBODY mods bloodgulch so I think I will show you how to mod another map - shall we say hmmm Hang Em High......

Open up your hex editor
Image

and Click on the Open icon.

Browse to your Halo Maps folder and select hangemhigh.map
Image

ok now you have your map file loaded in your hex editor (this may look weird but dont worry its not as confusing as u think :) )

Now you have to decide what you would like to edit... I for one would like some gun turrets on my Hang Em High on top of the two towers. Now to make this work i have to replace the value for the flag base scenery with that of the turret gun....
heres how
Open up the offset files that you downloaded and open the hangemhigh file... now scroll down to the scenery section and you will see an identifier looking like...
Image

now 007619F8 is the hex number that we are interested here - this is the "address" to where the information is stored in the map file, with this "address" we can edit the map :)

next go back to your Hexplorer and press F5 and in the offset box type in that number
Image
and click OK
Image

now you will see that C4 is highlited basically if u look at your offset list again you will see that C42D4D40 is the number in the value column and as you can see its also the number you have there

now you need to get the value for the gun turret... go back to your offset list and scroll down to the vehicles section there you should see....
Image
now the number you are interested in is the value this time - 188A8940

now go back into hexplorer and overwrite C42D4D40 with 188A8940 (just type the new number in while at the beginning of C42D4D40)
Image

now goto file and save

Thats it!!

Fire up Halo and take a look at where the flags are usually (this mod still works in CTF mods)

BEFORE
Image

AFTER
Image

Any questions and/or queries about my post please just ask :)
Bubbasparxxxv69





Posts: 222
Joined: Wed Oct 15, 2003 5:01 pm
Location: Michigan

Post by Bubbasparxxxv69 »

there are already tons of Hex tuts but ok :lol:
kRAyZZed





Posts: 9
Joined: Thu Oct 23, 2003 10:19 am

Post by kRAyZZed »

really oh well lol

the only decent site i have found is halo-evolved site but whenever i point someone there i just end up getting more q.s thrown back at me than i do answers

lol Iron_Forges site may be good but its bloody complex and long winded lol
Bubbasparxxxv69





Posts: 222
Joined: Wed Oct 15, 2003 5:01 pm
Location: Michigan

Post by Bubbasparxxxv69 »

a good tut is the one at halomods.com
User avatar
Iron_Forge




Illusionist Socialist Decryptor System Engineer
ONI Golden Age Magic Era Bloodhound
Coagulator Omega Mad Hatter Eureka
Critic Tsunami Firestorm Literarian 250

Posts: 532
Joined: Sat Sep 20, 2003 9:21 pm

Post by Iron_Forge »

Not all hex editors are created equal...If your going to be hex editing maps, you *really* need one that supports a data inspector...
Image
...Thats right...I invented modding...So give me Wii Points...
kRAyZZed





Posts: 9
Joined: Thu Oct 23, 2003 10:19 am

Post by kRAyZZed »

Iron_Forge wrote:Not all hex editors are created equal...If your going to be hex editing maps, you *really* need one that supports a data inspector...
yeah i was using Hex Worshop and it worked just fine but all of a sudden it just stopped working :s

i would edit a map file save it and then when i opened it up again it would have reverted back to its original state, odd seeing as i was using Hex Workshop to begin with fine
Bubbasparxxxv69





Posts: 222
Joined: Wed Oct 15, 2003 5:01 pm
Location: Michigan

Post by Bubbasparxxxv69 »

are you sure you were overwriting the right file?
cr3am





Posts: 45
Joined: Sun Oct 19, 2003 8:28 pm
Location: Cali

Post by cr3am »

Meh, just reinstall :D
User avatar
Veegie




Socialist Architect Coroner Golden Age
Mad Hatter Acolyte Translator New Age
ONI

Posts: 3638
Joined: Wed Nov 26, 2003 2:28 pm
Location: Redmond, WA

Post by Veegie »

Image
Image
Hijikata wrote:The fact you love Jesus doesn't change the fact you're a *** mental patient. It just means you're a mental patient with a great imaginary friend.
Haloking





Posts: 239
Joined: Sat Nov 29, 2003 3:17 pm

Post by Haloking »

^^^^
lol
Image
Post Reply