ICO / CUR Image

From XentaxWiki
Jump to: navigation, search

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...