Duke Nukem II Full-screen Images

From ModdingWiki
Jump to: navigation, search
Duke Nukem II Full-screen Images
320px
There is no example of an image in this format — upload one!
Format typeImage
HardwareVGA
Colour depth4-bit (EGA)
Minimum size (pixels)0×0
Maximum size (pixels)262144×65535
PaletteInternal
Plane count4
Transparent pixels?No
Hitmap pixels?No
Games

These formats are used by Duke Nukem II to store full screen (320 × 200) images.

16-Color Images

The 16-color images are the most common full-screen images used. The following files are in this format:

  • BONUSSCN.MNI
  • END*.MNI
  • HINTS.MNI
  • HY*.MNI
  • ITEMS*.MNI
  • KEYBOARD*.MNI
  • LOAD*.MNI
  • MESSAGE.MNI
  • ORDER*.MNI
  • PRIZES*.MNI
  • STORY.MNI
  • WEAPONS*.MNI

All files in this format have a size of 32048 bytes. They consist of 32000 bytes of planar EGA data, followed by a 16-color palette:

Offset Size Description
0 8000 blue plane (bit-pos. 0)
8000 8000 green plane (bit-pos. 1)
16000 8000 red plane (bit-pos. 2)
24000 8000 intensity plane (bit-pos. 3)
32000 48 palette data

256-Color Images

This format is exclusive to the registered version, as only the anti-piracy screen is in this format. The image is stored in LCR.MNI.

The file has a size of 64768 bytes. The first 768 bytes store a 256-color palette and the remaining 64000 bytes store each pixel's color index:

Offset Size Description
0 768 palette data
768 64000 color indices