Dave 2 Intro format

From ModdingWiki
Jump to navigation Jump to search
Dave 2 Intro format
There is no example of an image in this format — upload one!
Format typeImage
HardwareEGA
Colour depth4-bit (EGA)
Minimum size (pixels)256×64
Maximum size (pixels)256×64
PaletteDefault EGA
Plane count4
Transparent pixels?Palette-based
Hitmap pixels?N
Games

The INTRO.DD2 file stores a masked image used at the start of Dangerous Dave 2. It differs in format and compression from all other files used in the game.

The file is a 256x64 Raw EGA data image compressed using RLEW compression The color dark blue is transparent here, acting as a mask while only needing 4 EGA planes.

Dave 2 uses a trigonometric function to work out the image's size and co-ordinates when displaying it.

Credits

This file format was reverse engineered by User:Napalm and User:Levellass. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)