Wiki

Clone wiki

ultima-exodus / U2_Color_File_Format

U2 Color File Format

The EGACOLOR file is a 32 byte file used to provide a color scheme to non-tile entities that can be given color in Ultima 2. This includes dungeon monsters, text, stars, view helms, and rocket crosshairs.

Monster color

An 8-byte section that provides color information on dungeon monsters. The indices are encoded in the MONSTERS file. The default values are as follows:

  • 0x00 - 0x0f (white)
  • 0x01 - 0x02 (green)
  • 0x02 - 0x04 (red)
  • 0x03 - 0x0c (light red)
  • 0x04 - 0x09 (light blue)
  • 0x05 - 0x00
  • 0x06 - 0x00
  • 0x07 - 0x00

Text color

An 8 byte section that provides color information for various text types.

  • 0x08 - default
  • 0x09 - title
  • 0x0a - header
  • 0x0b - subheader
  • 0x0c - low food/health value
  • 0x0d - string value
  • 0x0e - number value
  • 0x0f - highlighted value

Star color

A 4-byte section that provides color information for stars. There may be up to 64 stars on the screen at any one time. The last two bits of the "star index" are used to index this table. The default values are as follows:

  • 0x10 - 0x0f (white)
  • 0x11 - 0x09 (light blue)
  • 0x12 - 0x0c (light red)
  • 0x13 - 0x0e (yellow)

Helm color

  • 0x14 - water
  • 0x15 - swap
  • 0x16 - grass
  • 0x17 - forest
  • 0x18 - mountains
  • 0x19 - force
  • 0x1a - brick
  • 0x1b - moongate
  • 0x1c - point of interest (town/dungeon)
  • 0x1d - npcs
  • 0x1e - walls

Crosshair color

A 1-byte section that contains the color for the rocket crosshairs while in space. The default value is as follows:

  • 0x1f - 0x08 (dark gray)

Updated