thread: .lvl files
View Single Post
  #848  
10-17-2010, 10:26 AM
LIJI's Avatar
LIJI
Howler Punk
 
: Mar 2007
: Israel
: 318
Rep Power: 19
LIJI  (206)LIJI  (206)LIJI  (206)

I never knew the save file had parts of the path file! :O Where is it stored exactly?

The format goes like that:
In the path file. There's the obvious array of screens (Nulls and MIP**C**s).
Right after that comes another array which represents the collision mask.
Each item is 20 bytes big and represents a rectangle:

short x1
short y1
short x2
short y2
short type (The color used in the rendered image)
short[5] unknown (unknown, probably used for shadows. The first 4 are usually FFFF)

I'm not sure how the list is delimited yet.
Reply With Quote