here is the bmp produced by the provided DAT file (FILE000.DAT) in FreeZing archive.
edit: oh bad bad, the header thing corrupts the bmp. My bmp viewer (gqview) rectified it magically but not imagemagick converter from bmp to png. Please someone, fix it!
typedef struct _bmp_header {
u16 bfType;
u16 bfSize;
u16 bfReserved1;
u16 bfReserved2;
u32 bfOffBits;
} bmp_header;
should be
typedef struct _bmp_header {
u16 bfType;
u32 bfSize;
u16 bfReserved1;
u16 bfReserved2;
u32 bfOffBits;
} bmp_header;
but I’m too noob in C to fwrite the struct and align the 1st u16 to the next u32.
The 1st u16 is always padded to a u32.
it produces
424d 0000 3658 0200
instead of
424d 3658 0200