Hexen v1.1 Internal EXE Data

Data            Address                 Number

Sprites         0xA7428                 301
Frames          0xAC57C                 2846
Things          0xBFCC4                 398
Weapons         0xCA0FC                 16
Ammo Useage     0xCA2BC                 16
Sounds          0xCB28C                 244


Sprites         0xA7428                 301
Offset (Dec)    Function
0               4 Byte Sprite Name
4               Zero Terminator of Name
5               3 Bytes of Unknown Data, maybe a code pointer?
Each entry is 8 bytes.


Frames          0xAC57C                 2846
Offset (Dec)    HEX 0.84 Spot           Function
0               1                       Sprite #
4               2                       Sprite Sub # (bits 0-4 only)
5               Check Box               Bit 7 set = Bright Sprite
8               4                       Duration
12              5                       Code Pointer
16              3                       Next Frame
20              N/A                     Unknown/8 bytes of zeros
Each entry is 28 bytes.


Things          0xBFCC4                 398
Offset (Dec)    HEX 0.84 Spot           Function
0               1                       ID#
4               17                      Initial frame
8               2                       Hit Points
12              18                      First moving frame
16              12                      Alert sound
20              7                       Reaction Time
24              13                      Attack Sound
28              19                      Injury Frame
32              8                       Pain Chance
36              14                      Pain Sound
40              20                      Close attack frame
44              21                      Far attack frame
48              24                      Burning frame
52              22                      Death frame
56              23                      Exploding frame
60 (48 bits)    15                      Death Sound
66              3                       Speed
70              4                       Width
74 (16 bits)    5                       Height
76              9                       Mass
80              6                       Missle Damage
84              16                      Action Sound
88              10                      Bits1 (0-31)
92              11                      Bits2 (32-63)
each entry is 96 bytes.


Weapons         0xCA0FC                 16
Offset (Dec)    HEX 0.84 Spot           Function
0               1                       Ammo Type (0 = Blue, 1 = Green,
                                          2 = Unknown, 3 = Blue/Green, 4=None)
4               4                       Select Frame
8               3                       Deselect Frame
12              5                       Bobbing Frame
16              6                       Shooting Frame
20              7                       Firing Frame
24              2                       Ammo Number (Not used in v1.1???)
There are 15 of these in this order: Gauntlets, Mace, Wand, Pig(1), Axe,
Serpent Staff, Frost Shards, Pig(2), Hammer, Firestorm, Arc of Death, Pig(3),
Quietus, Wraithverge, Bloodscourge, and Pig(4).  Each entry is 28 bytes.


Ammo Useage     0xCA2BC                 16
Offset (Dec)    Function                Normal Value
0               Spiked Gauntlets        0
4               Timon's Axe             2
8               Hammer of Retribution   3
12              Quietus                 14
16              Mace of Contrition      0
20              Serpent Staff           1
24              Firestorm               4
28              Wraithverge             18
32              Sapphire Wand           0
36              Frost Shards            3
40              Arc of Death            5
46              Bloodscourge            15
50              Pig(1)                  0
54              Pig(2)                  0
58              Pig(3)                  0
62              Pig(4)                  0


Sounds          0xCB28C                 244
Offset (Dec)    Function
0               Name of sound (padded with zeros to 45 bytes)
The rest of the data is just wierd stuff.  Its the same for every entry.  Each
entry is 68 bytes.
