Star Trek 25th Anniversary SHP Files

The SHP files in the Star Trek 25th Anniversary store 2D sprites that are rendered in the spaceflight portion of the game. The file format is quite simple: it starts with two 16-bit little-endian unsigned integers that tell you the x and y coordinate for the center of mass of the sprite, and then two more 16-bit little-endian unsigned integers for the x and y resolution of the image. After that it is a stream of bytes which are the palette index for each pixel (indexing into the BRIDGE.PAL palette). If there are still bytes left over (as is only the case in STARS.SHP), you continue reading for additional images. Most of these are uninteresting, but there are some cool things like ARK-7 or the USS Masada that are stored this way. Other notable things are the general sprites you need to fill the space scene, including: stars, weapons fire, and explosions. For proper display, these should again be stretched to have 5:6 aspect ratio pixels.

Ark-7 space station The USS Masada

You can find a download of all of the SHP files extracted and converted to png in this zip file.

Back.