Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Gilbert on Tue 11/05/2004 03:07:34

Title: Minor mistakes in document?
Post by: Gilbert on Tue 11/05/2004 03:07:34
When I checked techinfo.txt from docs folder, about the palette file format:
QuoteEach of the colour values is an unsigned byte ranging from 0 (black) to 255
(full intensity).

But when I saved a palette as .PAL file with AGSedit, seems that the range is the 0-63 one. So there seems to be some inconsistency (unless that format mentioned in the document wasn't about the output format in AGSedit, but some other format it accepts, like standard PSP .PAL files, etc., but then it'll be a bit misleading).

P.S. I'm checking with V2.6SP1.
Title: Re: Minor mistakes in document?
Post by: Scorpiorus on Tue 11/05/2004 15:56:00
Yeah, I too remember how I tried to convert a color (color*63/255) being read from the palette file created with the AGS editor's export palette feature, but it turned out that Ags pal file already has them in a range 0..63
Title: Re: Minor mistakes in document?
Post by: Pumaman on Tue 11/05/2004 20:46:50
Well spotted, I'll fix it.