MODDING TOOLS FOR GOLD BOX GAMES
================================

Version 0.2 (10-October-2015)


http://personal.inet.fi/koti/jhirvonen/gbc
joonas.hirvonen@pp.inet.fi


These are only to games with DAX-datafiles and very experimental...

Backups of the modified DAX-files are stored in the game's folder in DAX_BACKUPS-folder.


FONT-MOD
========
Replaces the font used in a game.

- You can store existing font from a game by clicking STORE DAX FONT AS BITMAP.
- The font is stored as a bitmap image which can be edited by any paint program. 
- Use only black (0x000000) and white (FFFFFF) colors.
- To replace font in a game, click REPLACE FONT.
- Original font can be restored with RESTORE ORIGINAL.

Some remarks:
- Treasures of the Savage Frontier has a separate file for fonts and is not supported for now.
  (It has also the old style font in its datafiles.)


ICON-MOD
========
Changes combat icons in a game. 
Only EGA-icons are supported for now and even those don't work perfectly.

- Select DAX file to view its contents.
- You can store images by right clicking on it or by clicking STORE CURRENT ICON AS BITMAP.
- You can replace an icon by clicking it to be active and the choosing an icon from the storage list
  and clicking REPLACE CURRENT ICON or directly by right clicking the icon in the storage list.
- Icons are stored as bitmaps which can be edited with a paint program. Use only EGA colors.
  - Sample EGA palette image can be found in the Resources-folder.
- The existing and the new icon have to be exactly same size.
- CLEAR ICONS clears all pixel data in the current DAX-file.
- RESTORE ORIGINAL restores the selected file to original state.
- If you plan to modify party character icon's (CBODY and CHEAD), and plan to add icons which
  have heads, you probably want to clear the CHEAD contents with the CLEAR ICONS button.
  - Note that character's icon colors also affect a modded combat icon. 
    Default color settings mostly work ok.
    Gold Box Companion has an option in the editor page to reset the icon colors to defaults.
  - If you use combat icons in Gold Box Companion's HUD, it won't show any changed icons (it gets the combat icons from a predefined bitmap image).
    You can use custom combat icons by copying them from the DAX-Icons folder into the corresponding game's data folder found under the GBC-folder. 
    For example, for a character named Wulfgar, name the bitmaps "Wulfgar_1.bmp" and "Wulfgar_2.bmp".


MONSTER-MOD
===========
Changes monster statistics in a game.

- Select a DAX file to view its contents, select a monster to view its statistics.
- If you want to save any changes, click APPLY CHANGES.
- RESTORE ORIGINAL restores the selected file to original state.
- In Death Knights of Krynn, you can't edit any spell related stuff because the data is in a separated file.

Some remarks:
- Monsters often have spells memorized even though they are not mages or do not have spells per level values set.


ITEM-MOD
========
Changes item statistics in a game.

- Select a DAX file to view its contents, select an item to view its statistics.
- If you want to save any changes, click APPLY CHANGES.
- RESTORE ORIGINAL restores the selected file to original state.

- The items list shows a number to which record an item belongs to.
- You can add an item to a record by first clicking any item belonging to the record and then ADD NEW ITEM.
  - Set the item properties and then click APPLY CHANGES (the added item is not saved before applying the changes).

- All items in selected DAX-file can be set automatically identified by clicking IDENTIFY ALL ITEMS IN THIS DAX.
  (This simply sets the unidentified flag to 0).
  
- The type property is an index to a separate item properties file shown on the right. Property fields can also be changed.
  There are some unused property "rows" if you want to create custom items.
- COPY PROPERTIES copies selected row to wanted destination row.

- For info on the item fields, check out the Resources\Item lists\Info.txt file.
