View Single Post
  #11  
10-17-2010, 10:12 AM
LIJI's Avatar
LIJI
Howler Punk
 
: Mar 2007
: Israel
: 318
Rep Power: 19
LIJI  (206)LIJI  (206)LIJI  (206)

Here's the format of the area I'm researching of the .sav file:
All addresses are in decimal, values are in hex.
The area starts at 1372.
It is a list of objects, each having a different size, terminated by 0000 0000. There are 3 types of objects; dynamic, static, and semi-static. The list only covers dynamic and semi static. Some objects can be deleted by simply deleting them! (Despite changing the file size!) It might be possible to add objects by inserting them.

Some of the objects I've documented:

All values are 16 bits unless otherwise specified.

:
Flashing Landmine (24 bytes)
Type: Semi-static
ID (8F00 0000)
POSITION ID (32bit)
TIME (32 bit; the offset in the pattern, in frames)
State (0-1 is on, 2 is trigger explosion, 3 is inactive, 4+ is all red)

Mudokun (136 bytes)
Type: Dynamic
ID (5100 0000)
unknown
unknown
X
unknown
Y
//+24 bytes
Scaling (32bit)
Red
Green
Blue
Direction
Animation
//+96 bytes
GivesRedRing
//+118 bytes
Mood

Abe (216 bytes)
Always the first object. The first 136 are the same as a normal Mudokun, with the exception of the ID being 4500 0000.

Path Blocker (8 bytes)
Type: Semi-Static
ID (7A00 0000)
PositionID (32Bit)

Wheel (16 Bytes)
Type: Semi-Static
ID (9400 0000)
PositionID (32Bit)

Platform (28 Bytes)
Type: Dynamic
ID (4E00 0000)
unknown
X
unknown
Y

Flying Slig (184 Bytes)
Type: Dynamic
ID (3600 0000)
Unknown
X
Unknown
Y
//+56 bytes
Speed? (8 bits, change to 1 if possessing)
//+144 bytes
Possession (8 bits, change to 0C to possess)

Paramite (128 bytes)
Type: Dynamic
ID (6000 0000)
Unknown
X
Unknown
Y
//+26 bytes
Scale (32 bits)
Red
Green
Blue
//+118 bytes
Possession (Change to 41 to possess)

Bird Portal (8 bytes)
Type: Semi-Static
ID (6300 0000)
PositionID (32Bit)
Edit: found out PositionID also includes the scaling.
Edit 2: Added Bird Portal object

Last edited by LIJI; 10-17-2010 at 10:58 AM..
Reply With Quote