ICO / CUR Image: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
No edit summary
imported>Ikskoks
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
== ICO ==  
== ICO, CUR ==  


* ''' Format Type ''':    Icon / Cursor / Image <br>  
* ''' Format Type ''':    Icon / Cursor / Image <br>  
Line 55: Line 55:
List of games using this file format:<br>
List of games using this file format:<br>
* Donald Duck: Quack Attack / Donald Duck: Goin' Quackers
* Donald Duck: Quack Attack / Donald Duck: Goin' Quackers
* Gromada Revenge (*.ICO) (PC)
* Our Life: Beginnings & Always (*.ICO) (PC)
* Super Mario Bros X2 / SMBX2 (*.ICO) (PC)
* Many other...
* Many other...


Line 64: Line 67:
[[Category:Format_Image | Type: Image]]
[[Category:Format_Image | Type: Image]]
[[Category:Extension_ico | Extension: ico]]
[[Category:Extension_ico | Extension: ico]]
[[Category:Extension_cur | Extension: cur]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 20:20, 27 June 2022

ICO, CUR

  • Format Type : Icon / Cursor / Image
  • Endian Order : Little Endian


Format Specifications

// ICO/CUR file format

//header
2 bytes (uint16) - reserved  // "0"
2 bytes (uint16) - image type
                   // 1 - icon (.ico)
                   // 2 - cursor (.cur)
2 bytes (uint16) - number of images

//directory
num_of_images *
{
  1 byte (uint8) - width
  1 byte (uint8) - height
  1 byte (uint8) - color count
  1 byte (uint8) - reserved // "0"
  2 bytes (uint16) - color planes
  2 bytes (uint16) - bits per pixel
  4 bytes (uint32) - size of the bitmap data
  4 bytes (uint32) - bitmap offset
}

//image data
num_of_images *
{
  x bytes - image data
}

MultiEx BMS

Not written yet.

Notes and Comments

  • Icon files used in many games and programs.

Supported Programs

  • GIMP
  • MS Paint

Games

List of games using this file format:

  • Donald Duck: Quack Attack / Donald Duck: Goin' Quackers
  • Gromada Revenge (*.ICO) (PC)
  • Our Life: Beginnings & Always (*.ICO) (PC)
  • Super Mario Bros X2 / SMBX2 (*.ICO) (PC)
  • Many other...