GIM Image: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 62: Line 62:
* [http://www.romhacking.net/utilities/659/ TextER]
* [http://www.romhacking.net/utilities/659/ TextER]
* [http://tizzyt-archive.blogspot.com/2013/10/gis2png.html gis2png]
* [http://tizzyt-archive.blogspot.com/2013/10/gis2png.html gis2png]
* [ka244.cocolog-nifty.com/blog/files/mig_bmp_tools_kmax.zip mig2bmp / bmp2mig]


=== See Also ===  
=== See Also ===  

Revision as of 23:05, 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

See Also