Skip to content

Ultima V Dungeon File Format

Graagh edited this page Apr 26, 2017 · 2 revisions

Dungeon.dat is divided into 64 8x8 blocks. Each set of 8 makes a dungeon. They are ranked from topmost virtue to most basic, as in Ultima IV.

Dungeon.cbt's format is different from U4. It has a 32x11 array for each room. There are 112 rooms.

  • 11x11 leftmost is reserved for the room itself's icons.
  • 11,0 to 18,0 is the replacement tiles used by triggers. Only 8 tiles are allowed, but up to 16 locations may be replaced by re-using tiles.
  • 11,1 to 22,1 is the x, then y location of your party members when entering from the north. Avatar = 11 & 17, #2 = 12 & 18, etc.
  • 11,2 to 22,2 is for entering from the east.
  • 11,3 to 22,3 is for entering from the south.
  • 11,4 to 22,4 is for entering from the west.
  • 11,5 to 26,5 tells what monsters are present.
  • 11,6 to 26,6 gives their x-coordinates.
  • 11,7 to 26,7 gives their y-coordinates.
  • 11,8 to 26,8 is the x, then y location of the room's triggers. Up to 8 triggers.
  • 11,9 to 26,9 is the x, then y coordinate of the first location replaced by the respective tile from 11,0-18,0.
  • 11,10 to 26,10 is the x, then y coordinate of the second location replaced by the respective tile from 11,0-18,0.

Back Home.

Clone this wiki locally