GIM Image: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 10: Line 10:
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
<pre>
// GIM image
// file format


// header
4 bytes (char) - magic  // "MIG." or ".GIM"
4 bytes (char) - version  // "1.00" or "00.1"
4 bytes (char) - platform  //  "PSP" - PSP
                          //  null - PS3 or std
4 bytes - reserved
// block headers
num_of_headers *
{
  2 bytes (uint16) - block ID // 0x02 - Root
                              // 0x03 - Picture
                              // 0x04 - Image
                              // 0x05 - Palette
                              // 0xFF - File info
  2 bytes (uint16) - unknown    // 0x00 or 0x10
  4 bytes (uint32) - block size
  4 bytes (uint32) - next block relative offset
  4 bytes (uint32) - block data relative offset
}
// block data
num_of_blocks *
{
  x bytes - block data
}
</pre>
</pre>
</div>
</div>

Revision as of 22:58, 30 March 2021

Back to index | Edit this page

GIM

  • Format Type : Image
  • Endian Order : Little Endian / Big Endian


Format Specifications

// GIM image 
// file format


// header
4 bytes (char) - magic  // "MIG." or ".GIM"
4 bytes (char) - version  // "1.00" or "00.1"
4 bytes (char) - platform  //  "PSP" - PSP
                           //  null - PS3 or std
4 bytes - reserved

// block headers
num_of_headers *
{
   2 bytes (uint16) - block ID // 0x02 - Root
                               // 0x03 - Picture
                               // 0x04 - Image
                               // 0x05 - Palette
                               // 0xFF - File info
   2 bytes (uint16) - unknown    // 0x00 or 0x10
   4 bytes (uint32) - block size
   4 bytes (uint32) - next block relative offset
   4 bytes (uint32) - block data relative offset
}

// block data
num_of_blocks *
{
   x bytes - block data
}

MultiEx BMS Script

Not written yet.

Notes and Comments

  • This file format occurs in PSP and PS3 games.

Compatible Programs