Shadow Warrior (1993 Beta) Background Image Format

From ModdingWiki
Jump to navigation Jump to search
Shadow Warrior (1993 Beta) Background Image Format
Shadow Warrior (1993 Beta) Background Image Format.png
Format typeImage
HardwareVGA
Colour depth8-bit (VGA)
Minimum size (pixels)1712×75
Maximum size (pixels)1712×75
PaletteExternal
Plane count4
Transparent pixels?No
Hitmap pixels?No
Games

The Shadow Warrior (1993 Beta) Background Image Format is used to store an unused background image, presumably to be used as a parallaxed sky texture. It is not actually used in the game, although a variation of it can be found in the 1994-05-23 prototype build[1].

Signature

There is no signature, but there must be four files (one for each plane), each of 32,100 bytes in size.

File format

Each file is a raw 428x75 VGA image, 8bpp. The first file is DAT type 130 (so if using Camoto, it is extracted with a .130 filename extension) and this contains the data for plane 1. Type 131 is plane 2, 132 is plane 3 and 133 is plane 4. The pixels in the final image are arranged as follows, where each number represents the plane that pixel comes from:

1 2 3 4 1 2 3 4 ...
1 2 3 4 1 2 3 4 ...
...

The pixels are stored left to right, top to bottom, in each file.

Credits

This file format was reverse engineered by Malvineous. 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!)

References