Pale (build ::VERSION:: ::DATE::)

Pale is a WIMP-based spritefile editor, designed specifically around editing 256 colour palettes.

System Requirements

Getting started

Double-click the !Pale icon to load it into the iconbar. After loading a sprite file by dragging it onto Pale's iconbar icon, you will be able to open editor windows by double-clicking on sprites. Note however that you will only be able to edit 256 colour palettised sprites; double-clicking on other sprites will have no effect.

Main SpriteFile window
Main SpriteFile window

When you double-click on a supported sprite, two windows should open: The preview window and the palette editor window.

Preview window
Preview window
Palette editor window
Palette editor window

The preview window gives you a zoomable view of the sprite you clicked on. You can also draw on the sprite with Select, and pick the colour under the mouse pointer. with Adjust. As you move the mouse over the image, the info text in the palette editor will update with the pixel coordinates and the palette index of the pixel under the pointer.

The palette editor window has five components:

  1. The palette
  2. The tool buttons
  3. The RGB boxes
  4. The info text
  5. The sprite list pane

Click with Select in the palette area to select a colour; click with Adjust to select a region of colours. You can also drag the selected entries, both to a location within the current palette window or to a different palette window. The action performed when dragging is dependent upon which tool is currently selected.

As the pointer moves over each palette entry, you will also see that the pixels of the sprite which use that palette entry will become highlighted. The info text will also update with the entry number and RGB values.

The four tool buttons are as follows:

Sprite linkSprite link
When enabled, this causes palette entry moving and swapping to also update the pixels of the sprite, so that the sprite will stay looking the same despite the changes being made to the palette.
GradientGradient
To use the gradient tool, first select a single palette entry. Then click the Gradient button. Then click a second palette entry. A colour gradient will then be created between the two entries, by mixing together the colours of the two entries you selected.
CopyCopy
This causes palette entry drags to result in the entries being copied instead of moved.
SwapSwap
This causes palette entry drags to swap the entries at the destination with those at the source.

Note that when dragging entries to a different palette editor window, copying is the action performed. Also note that selecting both Copy and Swap at the same time will have undefined effects. If neither Copy or Swap are selected, the palette entries will be moved when they are dragged.

The RGB boxes underneath the palette entries can be used to edit the red, green and blue values of the currently selected palette entry.

The sprite list pane

The sprite list pane to the right of the main editor window contains a list of all the sprites that will have their palettes edited by the editor. This is an important concept of the editor; instead of editing one palette at a time, you are able to edit multiple palettes at a time.

When you double-click a sprite, by default all sprites which have an identical palette will be listed in the sprite list pane. If you edit a palette entry in the editor, that change will be mirrored in all the palettes of the attached sprites. Sprite link will affect all the sprites in the list as well.

You can remove sprites from the edit list by selecting them, clicking Menu over the pane, and selecting 'Remove'. You can also open viewers for the sprites, either by double-clicking the entry or via the menu. Sprites can be added back into the list by dragging them from the main sprite file window.

Note that if you add a sprite which has a different palette to the one shown in the editor, the sprite will continue to use its own, unique palette. Moving and swapping entries will work without changing the palette to the one shown in the editor; however copying entries, editing their RGB values, or using the gradient tool will result in the affected palette entries being overwritten with those values shown in the editor window. So although it is possible to edit differing palettes using the same editor, it may not always work how you expect or want it to.

Note that currently it's also possible to open multiple editors for the same set of sprites/palettes; but editing sprites in this way is not recommended as there are no clear rules laid out for how the tools should work, or any guarantees that all the preview windows will update properly.

Files

Pale supports loading and saving of full sprite files. It can also save individual sprites by using the preview window menu. It can also load and save palettes. Palettes can be loaded by dragging them into a preview window (in which case just that sprite will be affected) or by dragging them into a palette editor window (in which case all sprites listed in the pane will be affected).

Pale also supports loading of partial palette files (i.e. ones where only a few entries are defined). It can also load palettes which have flashing colours defined; however the editing tools do not currently support editing of flashing colours and so the information may be lost during editing.

Palettes can also be saved from the editor window menu.

Bugs

Pale is still fairly early on in development, so don't be surprised if there are a few bugs or the WIMP interface isn't the nicest to use. Things should get better in future releases!

The source code

Source code is freely available from my website at http://www.quote-egnufeb-quote-greaterthan-colon-hash-comma-underscore-at.info/riscos/pale.php

Legal

Pale is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Pale is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
A copy of the GNU General Public License should have been supplied with the Pale install, and is vieweable here. If not, see http://www.gnu.org/licenses/. Jeffrey Lee, 29/2/08
me@phlamethrower.co.uk
http://www.quote-egnufeb-quote-greaterthan-colon-hash-comma-underscore-at.info/