Cyclone -> RE: First beta online (2/8/2005 8:43:02 PM)
I never realized that! Well, I found that text...in the PicPuz README...
The first line in lp files are the same as in fp files, so you have
3. puzzle number (optional)
4. puzzle name/title (optional)
each separated by blanks.
The second line describes the colors that are used in a LAP puzzle. If you have a b/w LAP, just write "0x0" here (for black), otherwise write down each color in hexadecimal notation (prefix 0x), all colors on one line, each separated by blanks (eg. "0x7B4521 0xFF6500 0x000000 0x6B75B5 0xDEAE94" for five colors). Memorize the order of your colors: The first is Color "1", the second is "2", and so on.
From the third line on the puzzle matrix is described like in fp files. But consider: You don't use numbers but letters! (Numbers can have 2 digits also; And the file could be misinterpreted as FAP puzzle.)
So use "A" for the number 1, "B" for 2, "C" for 3 etc. I didn't see any LAP with a link number greater than 22 yet, so I think 26 letters should be enough ;-). Use special chars (like "-" or blanks) to fill the blank squares into your definition.
Special handling for color LAPs: If you have defined more than one color in line 2, each row of your puzzle is described by two(!) lines in the lp file. The first line is the same as for b/w LAPs. The second line contains the color data. You don't need any blanks here, just write for every Number in the first line the appropriate color value (1 to number of colors) into the second. The color values must be in the same order as the numbers appear in the first of the two lines.
Example: This is a proper definition of a LAP puzzle row with 5 colors:
NOTE: If you have a b/w LAP puzzle, don't use blank lines instead of the color definition line. Just leave the second line out and write only the lines with the numbers' definition!