
PalChange
~~~~~~~~~


This is a utility written for one purpose only - to process a sprite
file containing multiple sprites, and for any sprites with a 16 colour
palette, replace it with a different one.

You can do the same thing in paint by opening each sprite individually
and dragging the new paletter on, but this gets tedious with large
numbers of sprites.


How to use
~~~~~~~~~~

Drag your spritefile onto the sprite icon.

Drag your new palette (as saved from !Paint) onto the palette icon.

Click Process.

You'll see PalChange count through the sprites, and then pop-up a save
window with the processed file. Drag this to a filer window to save.

By default the output filename is the name of the input sprite, with an
X appended to it.

Any sprites in the file that had a 16-colour palette, will now have the
new palette you specified. Any sprites without a palette are unaffected.
(Palettes other than 16 colour ones should also be preserved).

Note - if you started out with a mixture of different palettes, they'll
all end up the same after doing this. Be sure this is what you want to
do.


Known bugs
~~~~~~~~~~

None known in this version.


Source
~~~~~~

Source is included. By default the !Run file runs the compiled version,
but uncompiled and unlinked versions are included. To link the unlinked
version you would need my modified version of the DrWimp library,
included in the AMPlay source download.


License
~~~~~~~

This application is freeware, and may be used and redistributed freely.

It comes with no warranty whatsoever. Use at your own risk.

The source may also be used freely, but note that this applies only to
my source, not that of the DrWimp library, which has its own license
arrangements. (see http://www.rayfavre.me.uk )


Version history
~~~~~~~~~~~~~~~

1.00 6th Nov 2005. First version.

________________________________________________________________________
Copyright  2005 Mike Sandells, mike@mikejs.com
Last Modified: 6.11.2005