Page 1 of 2
Some questions about usermaps...
Posted: Sat Jun 07, 2008 2:03 pm
by Nuklear
How big is the CON header in bytes of an usermap because I can't seem to find out exactly. I've tried Google, experimenting, and others.
Also, in the structure for the usermaps, shade45 mentioned that BLF header is 48 bytes while in this
thread, it's mentioned that BLF header is always 68 bytes long. I'm confused now. Which one is correct?
Finally, what is CHMD header?
Posted: Sat Jun 07, 2008 4:11 pm
by haxalot88
A con file header is 0xA000 bytes long.
Posted: Sat Jun 07, 2008 4:49 pm
by Nuklear
Thank you very much. Can someone answer the other questions please?
Posted: Sat Jun 07, 2008 4:55 pm
by haxalot88
From what I saw, it's not either 48 bytes or 68 bytes =/
In both the screenshots and usermaps, It's much bigger than that.
Posted: Sat Jun 07, 2008 6:45 pm
by grimdoomer
For Content the blf header is 48 bytes long. In actual BLF images the header is 68 bytes long.
Posted: Sat Jun 07, 2008 7:51 pm
by Supermodder911
The size of the header is the first 32-bit int after the '_blf'...
Posted: Sat Jun 07, 2008 10:31 pm
by shade45
yeah the _blf is 48 bytes long, after that is the chdr header.
Posted: Sun Jun 08, 2008 9:15 am
by Nuklear
Thank you for the answers.
Shade, I've noticed that you use Hex Workshop. I've found out that you count 2 bytes as 1 byte because Hex workshops groups 2 bytes from other bytes.
So, for this reason I have to divide your length by half in structures because I use another hex editor that does not do this.
I don't know if you did this intentionally, but I believe a byte consists of 2 hex characters such as 0x00, etc.
Posted: Sun Jun 08, 2008 10:51 am
by shade45
Trust me its 48 bytes, it's like that in other editors to...

Posted: Sun Jun 08, 2008 11:41 am
by Nuklear
Really? How come one time I've looked it was wrong. I think it must be my mind because it was late last night maybe been seeing numbers wrong or wasn't thinking. xD
Thanks for your answers.
Posted: Sun Jun 08, 2008 11:44 am
by haxalot88
heh, i never noticed the chdr section =/ I just assumed that was a part of the _blf header. My bad xD
Posted: Mon Jun 09, 2008 8:08 am
by loveandhatejw
eh 68 I assumed they were both the same but you know what they say about assuming
Posted: Mon Jun 09, 2008 12:04 pm
by neodos
After the GT, is that the xbox id or user id that kind of stuff?
Posted: Mon Jun 09, 2008 12:24 pm
by Supermodder911
No.
Posted: Mon Jun 09, 2008 12:56 pm
by Nuklear
Hello. I would like people to confirm the following offsets (all are in decimal):
map_id_1 - 53802
spawned_object_count - 53831
map_boundary_x_min - 53836
max_budget - 53864
cur_budget - 53868
Are the offsets correct? I've opened several usermaps and it seems like it's right. But, I want to know it's actually right.
Posted: Mon Jun 09, 2008 1:12 pm
by Supermodder911
Not technically... the location of the user map inside of the container varies...
Shade released his white paper...
http://forums.halomods.com/viewtopic.ph ... 425#785425
Posted: Mon Jun 09, 2008 2:11 pm
by Nuklear
How come it's right in 3 usermaps I've opened. And isn't CON always A000 like haxalot says.
And, I know that whitepaper. I'm studying it.
If not, how would I be able to find the location inside the CON file?
Posted: Mon Jun 09, 2008 2:38 pm
by grimdoomer
neodos wrote:After the GT, is that the xbox id or user id that kind of stuff?
ProfileID is 8 bytes long and is at 881, DeviceID is at 1021 and is 20 bytes long.
Posted: Mon Jun 09, 2008 6:49 pm
by Nuklear
Nuklear wrote:Hello. I would like people to confirm the following offsets (all are in decimal):
map_id_1 - 53802
spawned_object_count - 53831
map_boundary_x_min - 53836
max_budget - 53864
cur_budget - 53868
Are the offsets correct? I've opened several usermaps and it seems like it's right. But, I want to know it's actually right.
I forgot to mention that the offsets are in 116kb files. I assume it's correct because it's right in 3 116kb usermaps I've opened.
Also, how come the max budget is too low? In Ghost Town usermap, it says the max budget is 205 when it's really bigger than that. I've tried switching endians, etc. What's the correct way to read it? C#'s ReadInt32 says it's way too big.
Posted: Wed Jun 11, 2008 8:45 am
by miinaturvat
What does BLF actually stand for?