==========================================================
Gary's Albion Offset Page (based off MORDOR's offset list)
==========================================================

Forword:
There is no forword, just don't claim this as your own, okay ;)

http://www.multiverseworks.com/			- The main site
http://www.multiverseworks.com/retrocheater/	- The hex cheat site

========
Contents
========

1) What's this?

2) Requirements

3) Different offsets
 3.1) Offsets
 3.2) Races
 3.3) Classes
 3.4) Magic Types
 3.5) Languages
 3.6) Appearance / Face / Inventory Picture
 3.7) Character Status
 3.8) Items

4) ToDo list

5) History

===============
1) What's this?
===============

This is an offset list for the RPG Albion. It basically tells you which offset is
which in a savegame.

Okay, now I hear you say: WTF OFFSET? Well, an offset is a certain "position" in a
file, may it be a text file or a binary file. For example, the offset of the first
letter "G" in this file is most likely 0, the first position. The first semicolumn
":" is located at offset 81. If you count the characters however, you will notice
an amount of 130. This is because of two reasons. Reason one is the breaks. These
count as 2 characters. Second, offsets are always indicated as a hexadecimal number.

Each character is one byte long, so when I indicate a relative number (with +), I'll
also add how many bytes it is, so you don't have to calculate it.

===============
2) Requirements
===============

To use this, you'll need the following:

* A full copy of Albion (but I think the demo would work too, it's worth buying though)
* A savegame (doesn't matter where you are in the game)
* A hex editor (I prefer XVI32)
* A hex calculator (included in any MS Windows copy, not really needed though)
* A basic knowledge of hex editing

XVI32: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm

====================
3) Different offsets
====================

Okay, now for the thing you came for: how to bake muffins! No seriously, the offsets.
Well, first, to start, start up your hex editor and load up your savegame. Now search
for the string "XLD0I". The position of this string differs all the time. Then, go 241
bytes down. There you'll find the first Hero record. Each record is 940 bytes long.
From here the offset list begins. Note that not all offsets are checked, so stay tuned. 

------------
3.1) Offsets
------------

Okay, this list starts at the beginning of the hero record. I've marked some offsets with
a questioning mark, because I don't know what they are, or I'm not sure about these ones.
If you do know, please contact me. Also, a $ indicates a hexadecimal value. C indicates
the amount of characters the offset uses.

Hex	Bytes	Name			Type	Description
=======================================================================================
+00	+0	Gender			BINARY	$00 is male, $01 is female
+01	+1	Race			BYTE	Read chapter 3.2 for more details
+02	+2	Class			BYTE	Read chapter 3.3 for more details
+03	+3	Magic Type		BYTE	Read chapter 3.4 for more details
+04	+4	Level			BYTE
+05	+5	?			?
+07	+7	Language		BYTE	Read chapter 3.5 for more details
+08	+8	Appearance		BYTE	Read chapter 3.6 for more details
+09	+9	Face			BYTE	Read chapter 3.6 for more details
+0A	+10	Inventory Picture(?)	BYTE	Read chapter 3.6 for more details
+0D	+13	?			?	Always seems to be $02
+10	+16	?			C3(?)	Always $01D?03, where ? is ascending
+15	+21	Training Points		WORD
+17	+23	Gold			WORD	In-game devided by 10
+19	+25	Rations			WORD
+1D	+29	Character Status	WORD	Read chapter 3.7 for more details
+29	+41	Strength		WORD
+2B	+43	Max. Strength		WORD
+31	+49	Intelligence		WORD
+33	+51	Max. Intelligence	WORD
+39	+57	Dexterity		WORD
+3B	+59	Max. Dexterity		WORD
+41	+65	Speed			WORD
+43	+67	Max. Speed		WORD
+49	+73	Stamina			WORD
+4B	+75	Max. Stamina		WORD
+51	+81	Luck			WORD
+53	+83	Max. Luck		WORD
+59	+89	Magic Resistance	WORD
+5B	+91	Max. Magic Resistance	WORD
+61	+97	Magic Tallent		WORD
+63	+99	Max. Magic Tallent	WORD
+69	+105	?			WORD
+6B	+107	?			WORD
+71	+113	?			WORD
+73	+115	?			WORD
+79	+121	Close Range Combat	WORD
+7B	+123	Max. Close Range Combat	WORD
+81	+129	Long Range Combat	WORD
+83	+131	Max. Long Range Combat	WORD
+89	+137	Critical Hit		WORD
+8B	+139	Max. Critical Hit	WORD
+91	+145	Lockpicking		WORD
+93	+147	Max. Lockpicking	WORD
+C9	+201	Life Points		WORD
+CB	+203	Max. Life Points	WORD
+CD	+205	Spell Points		WORD
+CF	+207	Max. Spell Points	WORD
+E7	+237	Experience		LWORD
+EB	+241	Magic Modifier 1	BYTE	Read chapter 3.4 for more details
+EC	+242	Magic Modifier 2	BYTE	Read chapter 3.4 for more details
+ED	+243	Magic Modifier 3	BYTE	Read chapter 3.4 for more details
+EF	+245	Magic Modifier 4	BYTE	Read chapter 3.4 for more details
+F0	+246	Magic Modifier 5	BYTE	Read chapter 3.4 for more details
+F3	+249	Magic Modifier 6	BYTE	Read chapter 3.4 for more details
+F4	+250	Magic Modifier 7	BYTE	Read chapter 3.4 for more details
+F7	+253	Magic Modifier 8	BYTE	Read chapter 3.4 for more details
+F8	+254	Magic Modifier 9	BYTE	Read chapter 3.4 for more details
+111	+273	Name			C16	The name screws up with more characters

+2E5	+741	Headwear		C6	read chapter 3.8 for more details
+2FD	+765	Bodywear		C6	Read chapter 3.8 for more details

----------
3.2) Races
----------

Albion has different races. In total there are eight races.

Hex	Race
======================
00	Terran
01	Iskai
02	Celtic
03	Kenget Kamulos
04	Dji Cantos
05	Mahino
06	Decadent
07	Umajo

------------
3.3) Classes
------------

Albion has different classes. In total there are nine classes, one being a duplicate.

Hex	Class
=======================
00	Pilot
01	Scientist
02	Warrior
03	Dji-Kas Mage
04	Druid
05	Enlightened One
06	Technician
08	Oqulo Kamulos
09	Warrior

----------------
3.4) Magic Types
----------------

There are four different types of magic you can preform. I call them type 01, 02, 04 and
08, each representing the hex value. You can combine them together by adding the hex
number up. For example, if you want to have all the different types of spells, use the
hex 0F.

All spells are bound to a certain type. Here is the list which magic modifier belongs to
which magic type.

Magic Type	Magic Modifiers
===============================
01		1, 2, 3
02		4, 5
04		6, 7
08		8, 9

--------------
3.5) Languages
--------------

There are three languages known in Albion. You can learn more than one langage at a time
though. To combine them, add the hex number up. This works the same as the magic types.

Hex	Language
================
01	Terran
02	Iskai
04	Celtic

------------------------------------------
3.6) Appearance / Face / Inventory Picture
------------------------------------------

In Albion you can play with different characters. Here you can change their appearances.
All three share the same picture hex.

Hex	Person
================
01	Tom
02	Rainer
03	Drirr
04	Sira
05	Mellthas
06	Harriet
07	Joe
09	Khunag
0A	Siobhan

---------------------
3.7) Character Status
---------------------

This is the place to modify the character position. This can be very helpful if one of
your characters has an illness or is unconcious. If the bytes are 0, your character has
none of the statuses. Just like the magic types and languages, you can add them up.

Hex	Status
===================================
0100	Unconscious
0200	Poisoned
0400	Ill
0800	Exhausted
1000	Paralyzed
2000	Fled
4000	Intoxicated
8000	Blind
0001	Panicking
0002	Asleep
0004	Insane
0008	Irritated

----------
3.8) Items
----------

Items are a bit more complicated than other items. First you need to deal with the ammount.
Also, some weapons have charges. Next thing is the fact that some weapons break. Last, we
actually need the items themselves. Basically, items work like this:

Offset	Name		Type
============================
00	Quantity	BYTE
01
02
03
04	Item Modifier	WORD

--------------
3.9) Item list
--------------

Items are nice and all, but what modifier belongs to which item? Here is a list of the
items. It is not complete though, but it has a lot of items. Note that the hex value is
always reversed. I will group each item in different groups, the group is the second byte.
For example, a dagger belongs to group 00, so the hex value would be 0300. It is actually
item number 0003, but most games tend to reverse these numbers.

GROUP 00
========
00 - empty
01 - knife
02 - short dagger
03 - dagger
04 - large dagger
05 - short-sword
06 - sword
07 - two-hander
08 - Lugh's dagger
09 - Danu's light
0A - stab
0B - double stab
0C - heavy short-sword
0D - decorative sword
0E - throwing dagger
0F - long-sword
10 - small axe
11 - axe
12 - battle-axe
13 - small battle-axe
14 - big battle-axe
15 - double battle-axe
16 - battle-club
17 - battle-hammer
18 - Iskai knife
19 - Iskai dagger
1A - Iskai stiletto
1B - Iskai short-sword
1C - big Iskai stiletto
1D - Iskai sword
1E - big Iskai saber
1F - Iskai long-sword
20 - Iskai lance
21 - big Iskai dagger
22 - Iskai short stiletto
23 - Bradir's stiletto
24 - big Iskai sword
25 - small bow
26 - bow
27 - longbow
28 - arrow
29 - long arrow
2A - mini bolt-thrower
2B - bolt-thrower
2C - bolt-rifle
2D - bolt
2E - poison bolt
2F - pistol
30 - small leather shield
31 - leather shield
32 - round shield
33 - big shield
34 - framed shield
35 - metal shield
36 - small Iskai shield
37 - Iskai shield
38 - big Iskai shield
39 - leather cap
3A - studded cap
3B - metal half-shell
3C - metal helmet
3D - Iskai leather cap
3E - Iskai metal cap
3F - Iskai metal helmet
40 - leather vest
41 - leather armor
42 - studded leather
43 - light chainmail
44 - heavy chainmail
45 - Iskai chest-plate
46 - Iskai metal plate
47 - light Iskai armor
48 - Iskai armor
49 - shoes
4A - boots
4B - empty bottle
4C - green healing potion
4D - turq. healing potion
4E - blue healing potion
4F - red potion
50 - violet potion
51 - blue potion
52 - Hunter-clan key
53 - door key
54 - Equipmentmakers' key
55 - door key
56 - cell key
57 - chest key
58 - dungeon key
59 - Herras's key
5A - door key
5B - Beastmaster's key
5C - rope
5D - Serpent staff
5E - Crystal staff
5F - Danu's collar
60 - ice-ring
61 - fire-ring
62 - ring of wrath
63 - ring of the Goddess
64 - book
65 - torch
66 - torch (burning)
67 - container
68 - container
69 - container
6A - plate
6B - herbs
6C - herbs
6D - pastries
6E - spice
6F - container
70 - can
71 - container
72 - container
73 - container
74 - kitchen knife
75 - container
76 - bottle
77 - bottle
78 - book
79 - cutlery
7A - cup
7B - book
7C - container
7D - container
7E - container
7F - container
80 - container
81 - bottle
82 - aromatic root
83 - bottle
84 - damaged bottle
85 - container
86 - bottle
87 - book
88 - pillow
89 - plate
8A - ladle
8B - herbs
8C - fruit
8D - cold roast
8E - bottle
8F - bottle
90 - bucket
91 - rag
92 - towel
93 - cup
94 - fur brush
95 - spoon
96 - cup
97 - shell
98 - spice
99 - fruit
9A - small container
9B - cutlery
9C - plate
9D - fork
9E - container
9F - sausage
A0 - ham
A1 - spoon
A2 - pliers
A3 - file
A4 - small file
A5 - pick
A6 - screwdriver
A7 - hammer
A8 - small hammer
A9 - flat hammer
AA - special hammer
AB - pliers
AC - kitchen knife
AD - pastries
AE - fruit
AF - small screwdriver
B0 - cup
B1 - metal-saw
B2 - fine tools
B3 - wrench
B4 - sm. metal box
B5 - metal structure
B6 - wire structure
B7 - metal shell
B8 - brass balls
B9 - phial
BA - phials
BB - red phial
BC - hammer
BD - scissors
BE - bowl
BF - wrench
C0 - fine scissors
C1 - bottle
C2 - little bottle
C3 - bowl of water
C4 - bowl
C5 - mortar
C6 - magnifying glass
C7 - pincer
C8 - smoked sausages
C9 - clay bowl
CA - clay bowl
CB - fork
CC - table knife
CD - plate
CE - spoon
CF - clay container
D0 - clay container
D1 - clay container
D2 - clay container
D3 - clay container
D4 - clay container
D5 - cutlery
D6 - jug
D7 - clay container
D8 - drinking horn
D9 - plate
DA - clay jug
DB - ladle
DC - clay container
DD - clay container
DE - clay container
DF - clay container
E0 - clay container
E1 - bucket
E2 - pillow
E3 - heavy short-sword
E4 - heavy dagger
E5 - metal plate
E6 - book
E7 - leather-bound book
E8 - notes
E9 - pencil
EA - book
EB - book
EC - bucket
ED - bucket
EE - vegetables
EF - metal cup
F0 - pastries
F1 - ladle
F2 - glass container
F3 - glass container
F4 - big glass pot
F5 - plate
F6 - plate
F7 - bottle
F8 - bottle
F9 - wood jar
FA - large glass jar
FB - big glass vase
FC - clay container
FD - clay container
FE - clay container
FF - woven basket

GROUP 01
========
00 - Iskai notebook
01 - note
02 - Iskai ring-book
03 - Iskai ring-block
04 - pencil
05 - short pencil
06 - lever
07 - bucket of water
08 - monster eye
09 - compass
0A - clock
0B - pick-axe
0C - rainbow staff
0D - blue staff
0E - fine Iskai dagger
0F - special screwdriver
10 - blue code card
11 - red code card
12 - green code card
13 - turquoise code card
14 - notebook
15 - turq. music crystal
16 - blue music crystal
17 - red music crystal
18 - green music crystal
19 - purple music crystal
1A - violet music crystal
1B - ochre music crystal
1C - piece of meat
1D - axe
1E - large arrow
1F - arrow
20 - bolt-belt
21 - canister
22 - lockpick
23 - stimdrink
24 - metal plate
25 - metal plate
26 - glass
27 - cup
28 - cup
29 - container
2A - container
2B - bottle
2C - bottle
2D - cup
2E - container
2F - container
30 - container
31 - can
32 - cup
33 - cup
34 - can
35 - jar
36 - jar
37 - pepper and salt
38 - soy sauce
39 - pot
3A - small can
3B - pot
3C - shovel
3D - spade
3E - wrench
3F - wrench
40 - screwdriver
41 - hand console
42 - PDA
43 - screwdriver
44 - pliers
45 - silver torque
46 - gold torque
47 - silver ring
48 - ring with gold
49 - gold ring
4A - silver chain
4B - chain with gold
4C - gold chain
4D - jewel chain
4E - jewel
4F - jewel
50 - jewel
51 - jewel
52 - jewel
53 - jewel
54 - jewel
55 - jewel
56 - jewel
57 - jewel
58 - Triifalai seed
59 - luck chain
5A - thief's amulet
5B - speed amulet
5C - protection amulet
5D - power amulet
5E - strength amulet
5F - Porenoil
60 - fragrant water
61 - Crystal dagger
62 - Sun dagger
63 - Fireblade
64 - Gaze of Kamulos
65 - Frostbringer
66 - Crystal throwing axe
67 - helmet with crystal
68 - "Lugh's Hand" helmet
69 - document
6A - document part
6B - document part
6C - Dreamshield
6D - Lugh's shield
6E - warniak sphere
6F - krondir Trii
70 - diamond
71 - Tharnos's permit
72 - Fireball
73 - Flame bite
74 - Shadowsword
75 - Red sword
76 - Crystal dagger
77 - Blue dagger
78 - Blackstone helmet
79 - White ring
7A - overall
7B - clothes
7C - Stone of Visions
7D - Metalmagic Knowledge
7E - "High Knowledge"
7F - Kenget note
80 - THE SEED
81 - THE SEED
82 - code-note part 1
83 - code-note part 2
84 - code-note part 3
85 - cellar map
86 - video camera
87 - storage medium
88 - Joe's chip
89 - light staff
8A - light staff
8B - Goddess's amulet
8C - small Warniak sphere
8D - Dji Cantos stone
8E - Thorn snare
8F - Hurry
90 - View of life
91 - poison antidote
92 - insanity antidote
93 - sickness antidote
94 - Frost splinter
95 - Frost crystal
96 - Frost avalanche
97 - Light healing
98 - Blinding spark
99 - Blinding ray
9A - Blinding storm
9B - Sleep spores
9C - Thorn trap
9D - Remove trap
9E - Heal paralysis
9F - Heal intoxication
A0 - Heal blindness
A1 - Heal poisoning
A2 - Fungification
A3 - Light
A4 - Regeneration
A5 - Map view
A6 - Lifebringer
A7 - Teleporter
A8 - Quick withdrawal
A9 - Levitation
AA - stone
AB - Goddess's Wrath
AC - Irritation
AD - Recuperation
AE - Berserk
AF - Banish demon
B0 - Banish demons
B1 - Demon exodus
B2 - Small fireball
B3 - Magic shield
B4 - Healing
B5 - Boasting
B6 - Shock
B7 - Panic
B8 - poison stone
B9 - Lightning strike
BA - Fire rain
BB - Thunderbolt
BC - Fire hail
BD - Thunderstorm
BE - Lightning trap
BF - Big lightning trap
C0 - Lightning mine
C1 - Big lightning mine
C2 - Steal life
C3 - Steal magic
C4 - Personal protection
C5 - Kamulos's Gaze
C6 - Remove trap
C7 - shock staff
C8 - heavy firearm
C9 - Iskai shoes
CA - color map
CB - treasure map
CC - Mellthas's notes
CD - Mellthas's pencil
CE - laser

For a more complete list, see the HTML version.

============
4) ToDo list
============

Update the item section.
Figure out what the rest is.

==========
5) History
==========

--------------
July 12th 2005
--------------

Official release.