OS/2 Boot Logo

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Category:Booting)
(Sample files)
 
(3 intermediate revisions by one user not shown)
Line 8: Line 8:
  
 
The file used by the operating system is named "OS2LOGO", with no filename extension. Inactive logo files are conventionally given the extension '''.lgo'''.
 
The file used by the operating system is named "OS2LOGO", with no filename extension. Inactive logo files are conventionally given the extension '''.lgo'''.
 
No public format specifications are known.
 
  
 
== Format details ==
 
== Format details ==
''This is an incomplete, and possibly inaccurate, description of the format.''
+
The image data is separated into four bit-planes, each of which is compressed with the [[EXEPACK2]] scheme.
 
+
The image data is separated into four bit-planes, which are compressed and stored separately.
+
  
 
The file begins with a 32-byte header of 8 four-byte integers: the file offset of plane 0, the length of plane 0, the offset of plane 1, the length of plane 1, and so on.
 
The file begins with a 32-byte header of 8 four-byte integers: the file offset of plane 0, the length of plane 0, the offset of plane 1, the length of plane 1, and so on.
 
A compressed plane of data seems to consist of a sequence of elements, each of which begins with an opcode byte, followed by a variable number of data bytes.
 
 
GBM says that it uses EXEPACK compression, but this is unconfirmed, and there are several different versions of EXEPACK.
 
 
This much is known about an element:
 
 
{| class="wikitable"
 
! Opcode (N)
 
! Following bytes
 
! Description
 
|-
 
|0 || 0 || End-of-data marker
 
|-
 
|0 || ''count'', ''val'' || RLE: Emit ''count'' bytes of value ''val''.
 
|-
 
|N mod 4 = 0  || ... || Uncompressed: Emit the next N/4 bytes literally.
 
|-
 
|other || ... || Unknown; apparently one or more other (LZ?) compression methods
 
|}
 
  
 
This is the VGA palette used by GBM:
 
This is the VGA palette used by GBM:
Line 48: Line 24:
 
* [http://heikon.home.tlink.de/ GBM] → GBMLOGO (write-only; requires MAKELOGO)
 
* [http://heikon.home.tlink.de/ GBM] → GBMLOGO (write-only; requires MAKELOGO)
 
* [http://cd.textfiles.com/hobbesos29804/disk1/GRAPHICS/BMP2LOGO.ZIP BMP2LOGO.ZIP] (OS/2 software; write-only; requires MAKELOGO)
 
* [http://cd.textfiles.com/hobbesos29804/disk1/GRAPHICS/BMP2LOGO.ZIP BMP2LOGO.ZIP] (OS/2 software; write-only; requires MAKELOGO)
 +
* [https://kannegieser.net/veit/programm/index_e.htm] → lgoproc
 +
* {{Deark}}
  
 
== Sample files ==
 
== Sample files ==
Line 54: Line 32:
 
* http://www.altsan.org/os2/graphics/index.html
 
* http://www.altsan.org/os2/graphics/index.html
 
* [http://www.oldzipsarchive.dreamhosters.com/os-2/warp4-1.dsk/os2logo os2logo]
 
* [http://www.oldzipsarchive.dreamhosters.com/os-2/warp4-1.dsk/os2logo os2logo]
 +
* {{DexvertSamples|image/os2BootLogo}}
  
 
[[Category:OS/2]]
 
[[Category:OS/2]]
 
[[Category:Booting]]
 
[[Category:Booting]]
 
[[Category:File formats with a distinctive filename]]
 
[[Category:File formats with a distinctive filename]]

Latest revision as of 15:13, 28 December 2023

File Format
Name OS/2 Boot Logo
Ontology
Extension(s) (none), .lgo
Released 1994

OS/2 Boot Logo is a compressed raster graphics format used for the logo shown when OS/2 Warp operating systems boot. Images are 640×400 (Warp 3), or 640×480 (Warp 4), with 16 colors.

The file used by the operating system is named "OS2LOGO", with no filename extension. Inactive logo files are conventionally given the extension .lgo.

[edit] Format details

The image data is separated into four bit-planes, each of which is compressed with the EXEPACK2 scheme.

The file begins with a 32-byte header of 8 four-byte integers: the file offset of plane 0, the length of plane 0, the offset of plane 1, the length of plane 1, and so on.

This is the VGA palette used by GBM:

#000000,#000080,#008000,#008080,#800000,#800080,#808000,#808080,
#cccccc,#0000ff,#00ff00,#00ffff,#ff0000,#ff00ff,#ffff00,#ffffff

[edit] Software

  • PMView Pro
  • PrepLogo (OS/2 software; write-only)
  • MAKELOGO - A utility on the IBM OS/2 Developer Connection CDs, which can create a logo file from raw bitmap files
  • GBM → GBMLOGO (write-only; requires MAKELOGO)
  • BMP2LOGO.ZIP (OS/2 software; write-only; requires MAKELOGO)
  • [1] → lgoproc
  • Deark

[edit] Sample files

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox