Swapping headers

Everything about HD, MD, and their mods.

Moderator: Halo Moderators

Chaos Barnaby
Newbie
Posts: 39
Joined: Sun Sep 17, 2006 7:04 pm

Swapping headers

Post by Chaos Barnaby » Fri Dec 29, 2006 11:37 pm

Okay guys, i have been trying to get into modding for quite a long time as i think it would be a more productive and educational (as well as fun) experience than video gaming, but lets not go off on a tangent here. My question is about swapping the headers on the halo demo bloodgulch.map file in order to open and edit it in HMT and HHK. I have tried many times to swap the header. Someone's tut, I'm not sure who's walked me through to doing this sucessfuly... Once. Now I have tried syperiums tut many times and it has done the same thing many more times. Heres what has happened. I follow the instructions to the letter and swap the 800 bytes, then I save, quit, and attempt to open the map in HMT's for editing. At this the application either crashes, or it will bring up the heat in my CPU and turn up the fans, (indicating a hard working computer) but it dosn't do anything after this point. Well after a month I decided to come back to this and try it again. Same results with HMT but i tried opening in HHK after the swap Heres what happens at this point: a dialogue box comes up stating that
The file size stored in the header is wrong. This map was probably hacked in a program other than HHK.

This message is to be expected and ignore as is stated in the tutorial by Syperium. All is well. But then I get another box that says

an error ocurred. That map files index header has an invalid footer.
I also get another window that says
loadintg the map into ram, this may take a minute
but i assume thats normal.

This has been very frustrating as i am a technologically inclined person and i am and have been (for the past year) dying (and trying ) to do this,

HELP! SOMEONE PLEASE HELP ME!
ImageImageImage

Yummy
Ranger
Posts: 684
Joined: Wed Jun 14, 2006 5:42 pm
Location: Near Pittsburgh, PA

Post by Yummy » Fri Dec 29, 2006 11:42 pm

Wow, so you are 100% sure that you have:
Copied full header.
Opened Demo map into Hexedit.
Highlighted the first 800 bytes (actually a bit more because I highlight until the end of the 800 line address in hex).
Pasted full header.
And, just as a check, make sure the LEN thing at the top left is still DCA368. If it isn't, then you have pasted too much or too little.
Saved.
Click Load, and make sure to select the newly saved map.
Image

mavrick06
Operative
Posts: 215
Joined: Thu Sep 21, 2006 4:32 pm

Post by mavrick06 » Fri Dec 29, 2006 11:53 pm

im assuming your using the wrong header....
you sure you got the halo FULL header.
and swapped the right amount?
Image
Image

Everyone on Macgamingmods.com wrote:WOOT for MAV!

Chaos Barnaby
Newbie
Posts: 39
Joined: Sun Sep 17, 2006 7:04 pm

Post by Chaos Barnaby » Sat Dec 30, 2006 9:57 am

Yummy wrote: And, just as a check, make sure the LEN thing at the top left is still DCA368. If it isn't, then you have pasted too much or too little.
Saved.
Click Load, and make sure to select the newly saved map.
I have done everything both of you mentioned, yes I'm sure I copied the full header into the demo header, and yes I'm sure I got the rigt number of bytes. But maybe that "LEN" thing will help if I can find it. As I have written, I have tried at least ten times . Literally. So this is getting on my nerves.
ImageImageImage

Chaos Barnaby
Newbie
Posts: 39
Joined: Sun Sep 17, 2006 7:04 pm

Post by Chaos Barnaby » Sat Dec 30, 2006 10:56 am

W00t!!!!!!!! YEAH WOOOHOO

Okay all, I got it to work in HHK, havent tried in HMT yet but i will. If anyone else ever has this problem then tell them this.

DO NOT double click or ctrl click>open with>HHK on your demo map with the swapped header to open it in HHK go into HHK and select "open from the file menu, then it should work.
ImageImageImage

Yummy
Ranger
Posts: 684
Joined: Wed Jun 14, 2006 5:42 pm
Location: Near Pittsburgh, PA

Post by Yummy » Sat Dec 30, 2006 1:48 pm

Lol good job :D
Image

User avatar
spida
SEAL
Posts: 500
Joined: Tue Aug 29, 2006 5:40 pm
Location: Sacramento, California

Post by spida » Sat Dec 30, 2006 2:17 pm

Wow. He must have a lot of time on his hands. He types so much and with great grammer and everything. Good Job!

Chaos Barnaby
Newbie
Posts: 39
Joined: Sun Sep 17, 2006 7:04 pm

Post by Chaos Barnaby » Sat Dec 30, 2006 8:39 pm

Yes, I do waste quite a bit of time but ya'know, waste is such a harsh word, I prefer to use spend, if I said Use it would just be a lie. Anyway, I suppose the proper response would be
Thank you "spidathemodda" you are the first person I have ever known to give a good honest non sarcastic compliment. Note that I am not discounting sarcasm and its place in the american language. The use of it correctly (which is also debateable) is a good thing.
Well, guess what. I have another question on what I am doing wrong with another tut. Here goes.

Alright, I went on to the halodev forums in the mac section and found this tut:
Tutorials:

Brief tutorial on how to swap offsets in HMT: By mac_user

Here we will swap the projectile of a tank with the sniper rifle.

1. First, back up your map you want to use.
2. Open the map you want to swap the projectile. Do this by clicking "Open Map" and navigate to your maps folder. It doesn't matter what map you choose, as long as the map has a sniper rifle in it, and its not the UI.map, sounds.map, or bitmaps.map.
3. Once you opened the map, there should be a list of odd looking things, including "bipd". Go down and find the one called "proj" and click the carrot, making a list of all of the projectiles in that certain map.
4. Go down to the tank projectile (should be something similar to vehicles\tank\tank projectile) select it, then click "Swap", which is located on the right side of the window.
5. In the swap window, scroll back down to the "proj" section. It should be highlighted. Open the part and search for the sniper rifle projectile. It should be called something similar to "weapons\sniper rifle\sniper projectile"
6. Click swap.
7. Click "Save Offsets" Located on the right side of the main window.
8. Load up halo and try it out!
I know this tut is not specifically for mac halo demo, its for mac halo full versionh however. The only odd thing I noticed was in step 2 where it says to click the "open" button. I followed the tutorial letter for letter and once again, I did not get the desired result. My mod crashed halo. No I did not forget to put the demo map header back in before running it on halo. I also didnt forget to put it in the map folder and change the name to "bloodgulch.map" As you know by now, I am getting very frustrated with this as I would love to be able to mod. Can anyone help me please?
ImageImageImage

User avatar
spida
SEAL
Posts: 500
Joined: Tue Aug 29, 2006 5:40 pm
Location: Sacramento, California

Post by spida » Sat Dec 30, 2006 9:28 pm

Just use hex. Sorry I am to lazy right now to tell you how but if you have the halo offset list just swap the codes in hex for the projectiles. would someone mind explaining how I am just so damn lazy right now. Sorry but tommorrow i will be hyper again. haha

Chaos Barnaby
Newbie
Posts: 39
Joined: Sun Sep 17, 2006 7:04 pm

Post by Chaos Barnaby » Sun Dec 31, 2006 10:34 am

Do you swap the whole row or just certain bytes?
And do you have to swap it? can you just copy and paste?
ex: say i wanna swap the sniper bullet with the tank shell but i still want the tank to fire shells (not sniper bullets). Would I copy the line after the tank shell's offset number and paste it in the line after the sniper rifle bullet's offset number.I guess what I am asking is where is the data on the prjectiles stored and What am I seeing when I go to the offset number for a projectile. The actual info on the projectile, or a string of code telling the computer to fetch the info on the projectile?
ImageImageImage

User avatar
spida
SEAL
Posts: 500
Joined: Tue Aug 29, 2006 5:40 pm
Location: Sacramento, California

Post by spida » Sun Dec 31, 2006 10:45 am

Than replace the 16 byte code(whole row) of the sniper rifle proj. with the tank shells proj. 16 byte code

Yummy
Ranger
Posts: 684
Joined: Wed Jun 14, 2006 5:42 pm
Location: Near Pittsburgh, PA

Post by Yummy » Sun Dec 31, 2006 10:53 am

Oh man I can write a 2 page essay on replacements and swaps and tags.

I will put it in short terms....Spida had it right, the difference between a swap and replacement is quite obvious. But.....the next question you're going to ask is how the hell can i find those 16 byte codes?

First of all, there's another place you can change to do replacements. All you have to do, is replace the Ident 8 bytes before the 4 byte meta reflexive. And, replace the reflexive that leads you to the text for the tag.....(4 bytes before the meta reflexive). Excuse me, a meta reflexive is just a "value" and that's what you would NORMALLY SWAP. Meta reflexives have to be swapped because of the fact that one object can't refer to two metas. So, the solution to that is to make them refer to different metas (swap them). For 16 byte (or 8 byte swaps as shown how to do above) the Ident and the "text" reflexive can be referred to more than once. Meh, more to say...but this is not the Dev Forum :P
Image

foxrun
Veteran
Posts: 337
Joined: Tue Mar 28, 2006 5:41 pm

Post by foxrun » Sun Dec 31, 2006 1:29 pm

oh phuck someone told me the header change was the fourbytes second line of full and swap with four bytes second line of demo.

it works though...

User avatar
spida
SEAL
Posts: 500
Joined: Tue Aug 29, 2006 5:40 pm
Location: Sacramento, California

Post by spida » Sun Dec 31, 2006 1:33 pm

NO. It is 008 of full to 5e8 of demo, 010 to 5ec, and 014 to 2c4. And all of those are offsets so just hit apple J and find them. For new models I believe you only have to change the 2nd line to 5ec and thats it but im not sure.

Proto
Newbie
Posts: 30
Joined: Fri Dec 01, 2006 9:13 pm

Post by Proto » Tue Jan 02, 2007 3:42 am

in hex edit just take the sniper projectile code and switch it witht he tanks projectile code sniper pojectile code :6A 6F 72 70 77 01 F3 4B 00 00 00 00 .. .. .. .. hit apple f the put that in the top box the put tank projectile code: 6A 6F 72 70 82 AC F2 4B 00 00 00 00 .. .. .. .. in the second box then hit find next then replace the find next then replace agian then save then quit then open it in halo and play it it shuld work



ps i think ppl would get mad if i told u the code so yeah i told u some of it but the last .. .. .. .. u have to find out

Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests