Creating new skins for BMTron
=============================

BMTron skins are stored in files in "BM Resources" format. Skin file
consists of records. Every record have it's type, name and data.
Currently supported types are image, color and font spec. For every
record you want to appear in the skin file, create a file with name
<NNNN><name><ext>, where NNNN - any four characters (used for
ordering), <name> - name of the record, <ext> determines record type
(.clr - color; .fnt - font specification; .png, .gif or .jpg -
images). Color file contains color hex code in #RRGGBB format, font
file contains font name in <family>-<style>-<size> format
(e.g. Helvetica-bold-12), image file contains image data in PNG, GIF
or JPEG format (note: PNG is not supported by old Java VM's).  Place
all record files in the same directory, change to the <bmtron>/res
directory and run the following commands:

$ javac ResourceBuilder.java
$ java ResourceBuilder "BMTron Skin 1.2" <skin_file_name> <the_directory>

Record names used in BMTron skins:

  Images:
    background          (required)
    title               (required)
    active_title        (required)
    field               (required)
    settings            (required)
    yes                 (required)
    no                  (required)
    start               (required)
    teamplay            (required)
    explosion           (required)
    appear_up           (required)
    appear_down         (required)
    control0            (required)
    control1            (required)
    ...
    control6            (required)
    snake0              (required)
    snake1              (required)
    ...
    snake9              (required)
    
  Colors:
    background
    status_text
    message_text1
    message_text2
    message_shadow
    message_border
    message_background  (include it for the transparency effect)
    link
    button_border
    active_button_border
    button_text
    button_background
    active_panel_border

  Fonts:
    status
    message1
    message2
    link
    button

For examples see res/skins/default and res/skins/yellow_on_black.
