I had that problem, too. I just replaced the palette.pcx in the gs folder with one of my projects and it worked. (with the corrupted palette I wasn't able to build my levels)