DelmPaint file format

From Atari Wiki
Jump to navigation Jump to search
DelmPaint       *.DEL, *.DPH

Delmpaint is a 256 color painting package. It works in 320x200 and 320x240 but
there is no difference in the file type. From a .DEL file you can not tel whether
it is a 320x200 or a 320x240 file. The same is true for a *.DPH file, which is 
either a 640x400 or a 640x480 file. The bigger format is always assumed.

*.DEL format:
The *.DEL format contains 3 compressed blocks which are decompressed 32000 bytes.
Those three blocks joined together are the depacked file.
Paked:
  1 long        length of 1st packed block
  1 long        length of 2nd packed block
??? bytes       1st packed block, depacked 32000 bytes
??? bytes       2nd packed block, depacked 32000 bytes
??? bytes       3rd packed block, depacked 32000 bytes
The blocks are packed with the same algorithm as used in Crackart

Depacked:
  256 longs     Palette 256 colors, in Falcon format, R, G, 0, B
38400 words     Picture data, 8 interleaved bitplanes

*.DPH format:
The *.DPH format contains 11 compressed blocks which are decompressed 32000 bytes.
Those three blocks joined together are the depacked file.
Paked:
 10 long        length of 11st to 10th packed block
  
??? bytes       1st packed block, depacked 32000 bytes
??? bytes       2nd packed block, depacked 32000 bytes
....
??? bytes       1th packed block, depacked 32000 bytes
The blocks are packed with the same algorithm as used in Crackart

Depacked:
  256 longs     Palette 256 colors, in Falcon format, R, G, 0, B
38400 words     Picture 1 320x240 data, 8 interleaved bitplanes
38400 words     Picture 2 320x240 data, 8 interleaved bitplanes
38400 words     Picture 3 320x240 data, 8 interleaved bitplanes
38400 words     Picture 4 320x240 data, 8 interleaved bitplanes
Finally you have to join the pictures into one huge 640x480 picture.
Take 320 bytes from picture 1, then 320 from 2, repeat 240 times, do
the same for picture 3 and 4.

Back to ST Picture Formats