Icon Heaven library

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Sample files)
 
Line 5: Line 5:
 
|released=1994
 
|released=1994
 
}}
 
}}
'''Icon Heaven library''' (.FIM) is a compressed icon library format associated with the OS/2 shareware utility ''Icon Heaven'', by Paul van Keep. It is presumably a proprietary format. FIM probably stands for ''Frobozz Icon Manager'', which is apparently the software's nickname.
+
'''Icon Heaven library''' (.FIM) is a compressed icon library format associated with the OS/2 shareware utility ''Icon Heaven'', by Paul van Keep. FIM probably stands for ''Frobozz Icon Manager'', which is apparently the software's nickname.
  
 
See also [[OS/2 Icon]].
 
See also [[OS/2 Icon]].
 +
 +
== Format details ==
 +
''[This section contains unconfirmed information based on reverse engineering. Written for the fileformats.archiveteam.org wiki.]''
 +
 +
=== File structure ===
 +
A FIM file consists of a 140-byte header, followed by a sequence of icon segments. The two-byte integer at offset 8 is the number of icons.
 +
 +
An icon segment consists of:
 +
* ASCII "<code>ci</code>"
 +
* Compressed size
 +
* Original size
 +
* Unknown 2-byte field
 +
* Name length
 +
* Name
 +
* Compressed data
 +
 +
An icon decompresses to a complete file, in [[OS/2 Icon]] or [[OS/2 Bitmap Array|Bitmap Array]] format.
 +
 +
=== Compression ===
 +
The compression scheme is a kind of [[LZW]]. Technical information follows.
 +
 +
All codes are 9 bits, msb-first. The code table is cleared after every 256 nonspecial codes. The only known special codes are if the very first code is 510 or 511.
 +
 +
Special code 510 decodes to a particular 88-byte sequence that is common in files whose decompressed size is 3498 bytes.
 +
 +
Special code 511 decodes to a particular 75-byte sequence that is common in files whose decompressed size is 888 bytes.
  
 
== Identification ==
 
== Identification ==
Line 17: Line 43:
 
** [http://cd.textfiles.com/psl/pslv3nv08/OS2/UT/FIH110.ZIP fih110.zip]
 
** [http://cd.textfiles.com/psl/pslv3nv08/OS2/UT/FIH110.ZIP fih110.zip]
 
** [http://hobbes.nmsu.edu/download/pub/os2/util/wps/fih113.zip fih113.zip]
 
** [http://hobbes.nmsu.edu/download/pub/os2/util/wps/fih113.zip fih113.zip]
 +
* {{Deark}}
  
 
== Sample files ==
 
== Sample files ==

Latest revision as of 17:33, 28 January 2026

File Format
Name Icon Heaven library
Ontology
Extension(s) .fim
Released 1994

Icon Heaven library (.FIM) is a compressed icon library format associated with the OS/2 shareware utility Icon Heaven, by Paul van Keep. FIM probably stands for Frobozz Icon Manager, which is apparently the software's nickname.

See also OS/2 Icon.

Contents

[edit] Format details

[This section contains unconfirmed information based on reverse engineering. Written for the fileformats.archiveteam.org wiki.]

[edit] File structure

A FIM file consists of a 140-byte header, followed by a sequence of icon segments. The two-byte integer at offset 8 is the number of icons.

An icon segment consists of:

  • ASCII "ci"
  • Compressed size
  • Original size
  • Unknown 2-byte field
  • Name length
  • Name
  • Compressed data

An icon decompresses to a complete file, in OS/2 Icon or Bitmap Array format.

[edit] Compression

The compression scheme is a kind of LZW. Technical information follows.

All codes are 9 bits, msb-first. The code table is cleared after every 256 nonspecial codes. The only known special codes are if the very first code is 510 or 511.

Special code 510 decodes to a particular 88-byte sequence that is common in files whose decompressed size is 3498 bytes.

Special code 511 decodes to a particular 75-byte sequence that is common in files whose decompressed size is 888 bytes.

[edit] Identification

Known files begin with bytes 4c 49 00 01 00 00 00 00.

[edit] Software

[edit] Sample files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox