Elasto Mania LGR: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
== LGR ==  
== LGR ==  
* ''' Game ''':    [[Elasto Mania|Elasto Mania / Elma / Across 2]] <br>  
* ''' Game ''':    [[Elasto Mania|Elasto Mania / Elma / Across 2 / Elastomania]] <br>  
* ''' Format Type ''':    Image <br>  
* ''' Format Type ''':    Image <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
Line 13: Line 13:




// little endian
//header
5 bytes (char) - magic // "LGR12"
4 bytes (uint32) - number of images
4 bytes (uint32) - images list constant // "0xEA 0x03 0x00 0x00"
4 bytes (uint32) - number of entries
num_of_entries *
{
  10 bytes (char) - image name // ex. "QDOWN_1"
}
num_of_entries *
{
  4 bytes (uint32) - image type // picture, texture or mask
}
num_of_entries *
{
  4 bytes (uint32) - distance  // "400", "500", "600" etc.
}
num_of_entries *
{
  4 bytes (uint32) - clipping // 0 = "U", 1 = "G" or 2 = "S"
}
num_of_entries *
{
  4 bytes (uint32) - transparency
}
//image data
num_of_images *
{
  12 bytes (char) - image name // ex. "Q1BODY.pcx"
  8 bytes - unknown
  4 bytes (uint32) - file size
  x bytes - pcx file data 
}
</pre>
</pre>
</div>
</div>
Line 29: Line 73:
* [http://kopasite.net/up/0/LGRselector.zip LGRselector]
* [http://kopasite.net/up/0/LGRselector.zip LGRselector]
* [https://moposite.com/programs/lgrdk10.zip LGR Development Kit]
* [https://moposite.com/programs/lgrdk10.zip LGR Development Kit]
* [https://totalcmd.net/plugring/gaup.html Game Archive UnPacker (GAUP)]
* [https://docs.google.com/uc?authuser=0&id=0B1HOSlW-Ci3UbGphNmlGTkF6ZHc&export=download Change LGR]
* [https://docs.google.com/uc?authuser=0&id=0B1HOSlW-Ci3UbGphNmlGTkF6ZHc&export=download Change LGR]
* [https://docs.google.com/uc?authuser=0&id=0B1HOSlW-Ci3Ua1N6YWpKN1VLRFE&export=download LGR Loader]
* [https://docs.google.com/uc?authuser=0&id=0B1HOSlW-Ci3Ua1N6YWpKN1VLRFE&export=download LGR Loader]
* [https://docs.google.com/uc?authuser=0&id=0B1HOSlW-Ci3UVGpSV0QyelF0SGM&export=download LGR Utility]
* [https://docs.google.com/uc?authuser=0&id=0B1HOSlW-Ci3UVGpSV0QyelF0SGM&export=download LGR Utility] + [https://gitlab.com/sunlelma/LGR_Utility source]
* [https://github.com/elmadev/elma-rust elma-rust]
* [https://mopolauta.moposite.com/viewtopic.php?f=3&t=10066 ElmaJS ] + [https://github.com/elmadev/elmajs source]


==Gallery==
==Gallery==

Latest revision as of 13:07, 5 November 2020

LGR


Format Specifications

// Elasto Mania
// LGR file format


// little endian

//header
5 bytes (char) - magic // "LGR12"
4 bytes (uint32) - number of images
4 bytes (uint32) - images list constant // "0xEA 0x03 0x00 0x00"
4 bytes (uint32) - number of entries


num_of_entries *
{
  10 bytes (char) - image name // ex. "QDOWN_1"
}


num_of_entries *
{
  4 bytes (uint32) - image type // picture, texture or mask
}

num_of_entries *
{
  4 bytes (uint32) - distance  // "400", "500", "600" etc.
}

num_of_entries *
{
  4 bytes (uint32) - clipping // 0 = "U", 1 = "G" or 2 = "S"
}

num_of_entries *
{
  4 bytes (uint32) - transparency
}


//image data
num_of_images *
{
   12 bytes (char) - image name // ex. "Q1BODY.pcx"
   8 bytes - unknown
   4 bytes (uint32) - file size
   x bytes - pcx file data  
}

MultiEx BMS Script

Not written yet.

Notes and Comments

None.

Compatible Programs

Gallery