I'm trying to learn allegro and right now I'm trying to create datafiles with the grabber utility. The problem is that I can't get palettes to work properly. I've tried to create a datafile containing a bitmap and a palette that was grabbed from the bitmap file. Then I made a simple program that loads the datafile and shows the image. However the colors are all mixed up.
What am I doing wrong?