Elasto Mania LEV: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "== LEV == * ''' Game ''': Elasto Mania / Elma / Across 2 <br> * ''' Format Type ''': Level <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian...")
imported>Ikskoks
Line 12: Line 12:
// LEV file format
// LEV file format


5 bytes (char) - magic  "POT14"
2 bytes - unknown  // always similar to next integer
4 bytes (uint32) - random number linking replays with the level file
8 bytes (double) - integrity 1
8 bytes (double) - integrity 2
8 bytes (double) - integrity 3
8 bytes (double) - integrity 4 (lock)
51 bytes (char) -  name of the level
16 bytes (char) -  name of the LGR file to use
10 bytes (char) -  name of the ground texture
10 bytes (char) -  name of the sky texture


//polygons
8 bytes (double) -  number of polygons + 0.4643643
num_of_polygons *
{
  x bytes - polygon data
}
//objects
8 bytes (double) - number of objects + 0.4643643
num_of_objects *
{
  x bytes - object data
}
//pictures
8 bytes (double) - number of pictures + 0.2345672
num_of_pictures *
{
  x bytes - picture data
}
4 bytes (uint32) - end_of_data marker    // "0x3A 0x10 0x67 0x00"
688 bytes - unknown
4  bytes (uint32) - end_of_file marker  // "0x52 0x5D 0x84 0x00"
</pre>
</pre>
</div>
</div>

Revision as of 20:58, 4 November 2020

LEV


Format Specifications

// Elasto Mania
// LEV file format

5 bytes (char) - magic  "POT14"
2 bytes - unknown  // always similar to next integer
4 bytes (uint32) - random number linking replays with the level file
8 bytes (double) - integrity 1
8 bytes (double) - integrity 2
8 bytes (double) - integrity 3
8 bytes (double) - integrity 4 (lock)
51 bytes (char) -  name of the level
16 bytes (char) -  name of the LGR file to use
10 bytes (char) -   name of the ground texture
10 bytes (char) -   name of the sky texture

//polygons
8 bytes (double) -  number of polygons + 0.4643643
num_of_polygons *
{
   x bytes - polygon data
}


//objects
8 bytes (double) - number of objects + 0.4643643
num_of_objects *
{
  x bytes - object data
}

//pictures
8 bytes (double) - number of pictures + 0.2345672
num_of_pictures *
{
  x bytes - picture data
}

4 bytes (uint32) - end_of_data marker    // "0x3A 0x10 0x67 0x00"
688 bytes - unknown
4  bytes (uint32) - end_of_file marker   // "0x52 0x5D 0x84 0x00"

MultiEx BMS Script

Not written yet.

Notes and Comments

None.

Compatible Programs

  • None.