Difference between revisions of "Elasto Mania LGR"

From XentaxWiki
Jump to: navigation, search
(Compatible Programs)
(Compatible Programs)
 
(9 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 27: Line 71:
  
 
* [https://drive.google.com/drive/folders/0BzsmRs3RS8ziTGpFWEZEZmJzLTA EasyLGR]
 
* [https://drive.google.com/drive/folders/0BzsmRs3RS8ziTGpFWEZEZmJzLTA EasyLGR]
 +
* [http://kopasite.net/up/0/LGRselector.zip LGRselector]
 +
* [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-Ci3Ua1N6YWpKN1VLRFE&export=download LGR Loader]
 +
* [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 bordercolor="transparent" spacing="small" orientation="landscape">
 +
easy_lgr.png
 +
</gallery>
 
<br/><br>
 
<br/><br>
  

Latest revision as of 14: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