atari email archive

a collection of messages sent at Atari from 1983 to 1992.

RADMOD update: merging files with different palettes

(1 / 1)


8/29/89

RADMOD update: palette conflicts when merging files with different palettes

If you are trying to fit picture "A" with an alien palette into 
RAD file "B", and you want to remap picture "A" to a subset of the RAD's
palettes, then use the new S option.  Simply answer S when it asks you
what to do about the palette conflict problem.  Then enter the range
of subpalettes to use for your new picture.  A subpalette is any group of
16 colors, starting at color #0,16,32,48, etc.  The range must be contiguous.
So if you wanted to remap to subpalettes 3 and 4 (colors 48 thru 79) then
you'd enter "3-4".  Picture "A" will be inserted into the RAD file "B" and
all the pixels in picture "A" will be remapped to use pixel values 48 thru 79,
according to the closest color match.

Other options:
CR (default): Subpalette groupings are maintained.  First I try to remap to
   identical colors, then I use up black (unused colors), then I go for closest
   colors.
P: this will remap all pixels to the original palette "A".  It will also
   maintain subpalette groupings, so each group of 16 colors will remain 
   together.
B: this will remap all pixels to the original palette "A". It ignores subpalette
   groupings.
K: this will discard the new palette "B" and leave all pixel values as is.
R: this will replace original palette "A" with the new palette "B" and leave
   all pixel values as is.
1-15: Whatever # you enter is the palette # to be added to every pixel in 
   picture "B".  The palette from picture "B" is then moved to palette "A",
   starting at the palette # which you entered.

If you're totally confused by all this, then I've succeeded in my mission.
Stop by my office and I'll explain in more detail.

Dave Theurer
Message 1 of 1

Aug 30, 1989