small ai logo

Adventure International
LDP Gfx File Format

Game File Formats

This is my attempt to describe how the LDP (Line Drawn Pictures) images were stored in the Mysterious Adventures games. The information seems to be consistent for both the Spectrum and the Commodore 64 file formats.


Format of data

After the normal data for the Brian Howarth driver, there are a group of pictures, one for each room (minus room 0 - which is usually just "(C) BH") Each picture is a stream of bytes indicating what the drawing action is:

(Each parameter is one byte in size)

0xff col start of picture, background colour is col
0xc0 y x move to co-ordinates x,y
0xc1 c y x fill, using colour c starting at x,y
y x draw from last position to x,y

Each picture continues until the next 0xff character.


Screen Details

The screen is based on the ZX Spectrum graphics settings:

Screen size: 254 x 192; 8 colours

Note origin on the Spectrum is sensible (as opposed to the PC!) and is at the bottom left corner of the screen!

ie

  192 ^
      |
      |
      |
      |
      |
      |
    0 +--------------->
      0               254

The actual area used is only the top half from the range:

x = 0 - 254
y = 96 - 192

The palette settings are:

0black(0,0,0)
1blue(0,0,63)
2red(63,0,0)
3magenta(63,0,63)
4green(0,63,0)
5cyan(0,63,63)
6yellow(63,63,0)
7white(63,63,63)

Images

The extracted images:

The Golden Baton
The Golden Baton
Time Machine
Time Machine
Arrow of Death Part 1
Arrow of Death Part 1
Arrow of Death Part 2
Arrow of Death Part 2
Escape from Pulsar 7
Escape from Pulsar 7
Circus of Death
Circus of Death
Feasibility Experiment
Feasibility Experiment
Wizard of Akryz
Wizard of Akryz
Perseus and Andromeda
Perseus and Andromeda
10 Little Indians
10 Little Indians
Waxworks
Waxworks