Page 1 of 1

How do you find bsp magic?

Posted: Tue Jun 29, 2004 11:27 am
by Talin64
Hello all,
Does anyone know how to calculate from hand the bsp magic?
I know sparkedit will generate it for me but I would like to update the magic for myself. So I can attempt an xbox sp to mp conversion
Thanks, Talin64

Posted: Tue Jun 29, 2004 2:46 pm
by Grenadiac
BSP magic is at the end of the scenario.

Code: Select all

typedef struct STRUCT_SCENARIO_BSP_INFO
{
  UINT BspStart;
  UINT BspSize;
  UINT Magic;
  UINT Zero1;
  char bsptag[4];
  UINT NamePtr;
  UINT unknown2;
  UINT TagId;
}SCENARIO_BSP_INFO;
For single player maps, there is an array of these structs at the end of the scenario. For MP maps, there is only one.

Posted: Tue Jun 29, 2004 3:37 pm
by Talin64
As always you seem to have all the answers
I will check it out. I was investigating the scenario trying to figure out its
structure this really helps. I am just confused what is the funny hex at the end of the scenario. It starts with debug.mode.on..
Thanks for any help Talin64

Posted: Tue Jun 29, 2004 4:43 pm
by kaptainkommie
You shoulda read his mapfile tutorials before posting this. /me sighs.

Posted: Fri Jul 02, 2004 11:40 am
by Talin64
kaptainkommie-
Well I went back and checked The tutorials but they didn't have this in there. Could you please send me the mapfile tut you have I must have an old one. I am still trying to figure out what Cluis did to get sp --> mp to work.
Thanks Talin64