question about palette format/import

Started by slumber, Mon 27/05/2019 20:41:04

Previous topic - Next topic

slumber

So i tried importing a .pal palette file from Aseprite or Grafx2 and always get an error like:
QuoteThere was an error importing the palette. The error message was 'Value of 296 is not valid for red. red should be greater than or equal to 0 and less than or equal to 255. Please retry.
Importing the same palette as a BMP file has no problem.
Exporting a palette from AGS and trying to import it into any of these softwares also ends up in an error.
Just opening these two palette files in a notepad points to them not being the same format?

I searched the forums but could only find one topic with the same issue:
https://www.adventuregamestudio.co.uk/forums/index.php?topic=55955.0
However i can not find an answer in there as the attention seems to have shifted to the cycling element of the post.

So can i actually import a regular palette file from other graphic softwares into AGS? Or am i doing something wrong?

Scavenger

If you're importing a .pal file, it needs to be 768 bytes in size and in Jasc format, rather than Microsoft format. It's a crapshoot what exports which format, so I'd stick to exporting a bmp file and importing that into AGS.

slumber

Quote from: Scavenger on Mon 27/05/2019 23:39:13
and in Jasc format...
Is this actually true? Cause both of the palette files i tried to import were JASC. Tried GraphicsGale today and that one uses JASC too. I duckducked a bit more and found a palette editor (Cyotek Color Palette Editor) that was able to export to multiple formats and the one that worked with AGS was 18-bit RGB VGA, not JASC.

SMF spam blocked by CleanTalk