Read these before trying it so you get the basics of hex down!
http://halolegions.forumcircle.com/viewtopic.php?t=314
For defenitions of hex terms:
http://halolegions.forumcircle.com/viewtopic.php?t=311
For blam files
http://halolegions.forumcircle.com/viewtopic.php?t=33
Ok so open up a hex program. Use the list below to find the offsets of the code.
So open up a blam file.( I used 32 (CTF). )
So we look at the list and see from offset 00-2f is the string name of the game type.
So we can change the name from CTF to Halolegions Sniping (or whatever)
Read this if you dont know how to edit strings:
http://halolegions.forumcircle.com/viewtopic.php?t=248
Next we find offset 30. With CTF you should see 0100
If you look on the list you will see the value according to each game type. So im going to choose oddball. So im going to type 0300. So that changed it to oddball.
Next on the list is Team Play, and im going to keep it on at 0100 at offset 34.
The next list of things tells what do you want to add to help you. So you can add nav bars, radar, sheilds, and granade options. ( I kept Shields 0=ON, and other players on the radar)
So continue the rest of the blam file like this, and edit it to your liking.

Code: Select all
Edit Blam.lst in Hex
Read these before trying it so you get the basics of hex down!
http://halolegions.forumcircle.com/viewtopic.php?t=314
For defenitions of hex terms:
http://halolegions.forumcircle.com/viewtopic.php?t=311
For blam files
http://halolegions.forumcircle.com/viewtopic.php?t=33
Ok so open up a hex program. Use the list below to find the offsets of the code.
So open up a blam file.( I used 32 (CTF). )
So we look at the list and see from offset 00-2f is the string name of the game type.
So we can change the name from CTF to Halolegions Sniping (or whatever)
Read this if you dont know how to edit strings:
http://halolegions.forumcircle.com/viewtopic.php?t=248
Next we find offset 30. With CTF you should see 0100
If you look on the list you will see the value according to each game type. So im going to choose oddball. So im going to type 0300. So that changed it to oddball.
Next on the list is Team Play, and im going to keep it on at 0100 at offset 34.
The next list of things tells what do you want to add to help you. So you can add nav bars, radar, sheilds, and granade options. ( I kept Shields 0=ON, and other players on the radar)
So continue the rest of the blam file like this, and edit it to your liking.
BLAM.LST
FILE STRUCTURE (the "-" should be read as "through"):
-----------------------------------------------
(hex) (deci.) TYPE DESCRIPTION
-----------------------------------------------
00-2f 00-47 Unicode String Name of gametype
30-33 48-51 Word Gametype
1=CTF
2=Slayer
3=Oddball
4=KOTH
5=Race
34-37 52-55 Word Team play 0=Off; 1=On
38-3b 56-59 Word Parameters (binary)
bit 0=Other players on radar ON
bit 1=Friend indicators on screen ON
bit 2=Infinite grenades ON
bit 3=Shields 0=ON; 1=OFF
bit 4=Invisible players ON
bit 5=Starting Equipment 0=Generic, 1=Custom ***
bit 6=Only friends on Radar ON
bit 7=?
3c-3f 60-63 Word Objectives indicator
0=Motion tracker
1=Navpoints
2=None
40-43 64-67 Word Odd man out
0=No
1=Yes
44-47 68-71 Word Respawn time growth
0=off
150=5 secs
300=10 secs
450=15 secs
48-4b 72-75 Word Respawntime
0=Instant
150=5 secs
300=10 sec
450=15 secs
4c-4f 76-79 Word Suicide Penalty
0=Instant
150=5 secs
300=10 sec
450=15 secs
50-53 80-83 Word No. of lives
0=Unlimited
1=1 life
3=3 lives
5=5 lives
54-57 84-87 Word Unknown - used for something -
58-5b 88-91 Word Score limit (Caps for CTF, Laps for RACE, kills for Slayer)
any value you want can be specified
5c-5f 92-95 Word Weapon set
0=Normal
1=Pistols
2=Rifles
3=Plasma
4=Sniper
5=No sniping
6=Rockets
7=Shotguns
8=Shortrange
9=Human
10=convenant
11=Classic
12=Heavy
60-63 96-99 RED Vehicle settings \ See footnote
64-67 100-103 BLUE Vehicle settings / for settings.
68-6b 104-107 Vehicle Respawn time
6c-6f 108-111 Word Friendly fire
0=Off
1=On
70-73 112-115 Word TK penalty
0=off
150=5 secs
300=10 secs
450=15 secs
74-77 116-119 Word Team balance
0=off
1=on
78-7b 120-123 Word Time limit
0=No timelimit
18000=10 min
27000=15 min
36000=20 min
45000=25 min
54000=30 min
81000=45 min
*** ball games ***
7c-7f 124-127 Word Moving hill 0=off; 1=on (KOH)
Racetype 0=Normal; 1=any order; 2=Rally (Race)
Random start 0=No; 1=Yes (Oddball)
80-83 128-131 Word Team scoring 0=minimum; 1=Maximum; 2=Sum (Race)
Ballspeed 0=Slow; 1=Normal; 2=Fast (Oddball)
84-87 132-135 Word Trait with ball 0=None; 1=Invisible;
2=Extra damage; 3=Damage Resistent
88-8b 136-139 Word Trait without ball 0=None; 1=Invisible;
2=Extra damage; 3=Damage Resistent
8c-8f 140-143 Word Balltype 0=Normal; 1=Reverse Tag; 2=Juggernaut
90-93 144-147 Word Ballcount Spawn
*** ^ball games^ ***
94-95 148-149 16bit 01nn nn is the (hex)number of the game in the game list
0000 for a custom game type.
96-97 150-151 ????
98-9b 152-155 Word "CRC-32 1's complement of the first 0x098 bytes in the file."
Highlight the file from 0000 to 0097 inclusive and have
hexedit calculate the crc-32 with 1's complement. Remember
to reverse the byte order and insert it here.
*** Note: Vehicle settings ***
Using the following notation:
t turret
b banshee
r rocket hog
s scorpion
g ghost
h warthog
The bits are: 00000000 00tttbbb rrrsssgg ghhh1000
where the final 1000 denotes a custom vehicle set.
Then group it into bytes in reverse order:
ghhh 1000 rrrs ssgg 00tt tbbb 0000 0000
(reverse the bytes and not the bits) and plug it into
hex 60-63 and 64-67 using the hex editor. The maximum
number is 7 but only up to 4 is allowed and you only
get one banshee no matter how many you want. All max
is 48, 92, 24, 00 hex.





