NAF

From MultimediaWiki
Jump to navigation Jump to search
  • Company: Ninell
  • Extension: naf, ngf (for images)

This is a simple raw container format that is usually compressed with GZip first. It seems to be employed on some companion disks to certain Central European game magazines like Secret Service or Score.

File header:

 3 bytes - "NAF" (animation) or "NGF" (image)
 1 bytes - major version? (always 1)
 1 bytes - minor version? (always 0)
 2 bytes - width
 2 bytes - height
 768 bytes - VGA palette for videos or full-range palette for images

Picture or animation frames are just raw data without any additional compression or reordering.