Ultima Stones | Ultima V Home | Development


SAVED.GAM Specification and Description

Party Member Record 0x20 (32) bytes

SAVED.GAM Record 0x1070 () bytes

0x0400-0x106F not shown, all unknown

Party Member Descriptions

A

Name

0x09 (9) bytes (Null terminated string)

Character string no more than 8 bytes long followed by 0x00.

B

Gender

byte

0x0B (X ) for male, 0x0C (C ) for female

C

Class

byte

Character that is the first character of the name of the class, 'M'age, 'B'ard, 'F'ighter, 'A'vatar

D

Health

byte

Byte that is the first character of the condition of the member, 'G'ood Health, 'P'oisoned, 'D'ead, 'A'sleep, 'C'harmed

E

Strength

byte

0-99

F

Dexterity

byte

0-99

G

Intelligence

byte

0-99

H

Magic

byte

0-99

I

Hit Points

short

0-999

J

Max Hits

short

0-999

K

Experience

short

0-9999

L

Level

byte

1-8; any else is undefined in the architecture

U1

Unknown 1

byte

always 0xFF

U2

Unknown 2

byte

always 0x07

M

Head Armour

byte

Index into equipment list of current head armour or 0xFF if none

N

Body Armour

byte

Index into equipment list of current body armour or 0xFF if none

O

Weapon Hand

byte

Index into equipment list of current primary weapon or two-handed weapon or 0xFF if none

P

Off-Hand

byte

Index into equipment list of current off-hand weapon or 0xFF if either two-handed wielded or none readied

Q

Ring

byte

Index into equipment list of current ring worn or 0xFF if none

R

Amulet

byte

Index into equipment list of current amulet worn or 0xFF if none

S

Member

byte

0x00 if a member of the party, 0xFF if not; party members are all at the front (top slots) of the disk record

 

U1

Unknown 01

short

always 0x0000

Ann

Party Members

MemberRecord[16]

The data for the 16 people in-game who can be in your party, no more than six - including the avatar - are members at once, those six are kept at the head of the records with the avatar always first

B

Food

short

 

C

Gold

short

 

D

Keys

byte

 

E

Gems

byte

 

F

Torches

byte

 

G

Grapple

byte

 

H

Carpets

byte

 

I

Skull Keys

byte

 

U2

Unknown 02

byte

 

J

British's Amulet

byte

 

K

British's Crown

byte

 

L

British's Sceptre

byte

 

M

Shard of Falsehood

byte

 

N

Shard of Hatred

byte

 

O

Shard of Cowardess

byte

 

U3

Unknown 03

byte

 

P

Spyglass

byte

 

Q

Plans for the HMS Cape

   

R

Sextant

byte

 

S

Pocketwatch

byte

 

T

Black Badge

byte

 

U

Sandalwood Box

byte

 

V

Equipment

byte[48]

 

W

Spells

byte[48]

 

X

Scrolls

byte[8]

 

Y

Potions

byte[8]

 

PP

Moonstone Longitude

byte[8]

 

QQ

Moonstone Latitude

byte[8]

 

Z

Moonstone Location

byte[8]

Follows party location, 0xff when in inventory

RR

Moonstone Floor

byte[8]

 

AA

Reagents

byte[8]

 
   

byte[3]

 

BB

Party count

byte

 
   

byte[24]

 

CC

Years

short

 
   

byte[6]

 

N01

Tile

byte

 

DD

Months

byte

 

EE

Days

byte

 

FF

Hours

byte

 
   

byte

 

GG

Minutes

byte

 
   

byte[3]

 

N02

Felucca phase

byte

 

N03

Trammel phase

byte

 
   

byte

 

HH

Karma

byte

 
   

byte[10]

 

NN

Location

byte

in enumeration: surface=0, Moonglow=1, Britain=2, Jhelom=3, Yew=4, Minoc=5, Trinsic=6, Skara Brae=7, New Magincia=8, Fogsbane=9, Stormcrow=10, Greyhaven=11, Waveguide=12, Iolo's Hut=13, Sutek's Hut=14, Sin Vraal's Hut=15, Grendel's Hut=16, Castle of Lord British=17, Palace of Blackthorn=18, West Britanny=19, North Britanny=20, East Britanny=21, Paws=22, Cove=23, Buccaneer's Den=24, Ararat=25, Bordermarch=26, Farthing=27, Windemere=28, Stonegate=29, The Lycaeum=30, Empath Abbey=31, Serpent's Hold=32, Deceit=33, Despise=34, Destard=35, Wrong=36, Covetous=37, Shame=38, Hythloth=39, Doom=40

   

byte

echoes previous byte from dungeons sometimes

OO

Floor

byte

0xff for subfloors, 0 on main floors; counts up for higher floors in towns, keeps, castles; counts up for lower floors in dungeons

II

Longitude X

byte

 

JJ

Latitude Y

byte

 
   

byte[48]

 

KK

False Attack

byte

 

LL

Hatred Attack

byte

 

MM

Coward Attack

byte

 
   

byte[3387]