Skip to content

Commit

Permalink
#3 first game state information info
Browse files Browse the repository at this point in the history
  • Loading branch information
dertseha committed Apr 23, 2015
1 parent 0744100 commit fc23e89
Showing 1 changed file with 110 additions and 0 deletions.
110 changes: 110 additions & 0 deletions archives/gameState.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
## Game state and hacker information, chunk 0x0FA1

This chunk contains everything about the hacker, together with general game-state information.


0000 20xbyte Hacker name (incl. 0x00 termination char). Game only allows 12 characters for input at start.
0015 4xbyte Game rating: combat, mission, puzzle, cyber. All 0..3

0039 byte Current level identifier

007A 14xref General inventory references, 2 bytes each. Access Cards are 0xFE 0x00

009C byte Health 0x00..0xFF

00A3 byte Current radiation poisoning in 0.5 LBP units

00A7 byte Current bio contamination in 0.5 LBP units

00AC byte Power 0x00..0xFF
00AD uint8 Power usage in JPM

00B6 uint8 Station State (?) - default: 0x0E
0x40: Shield on
00B7 uint8 Station State (?) - default: 0x00
0x01: Laser destroyed
0x08: Alpha Grove enabled
0x10: Beta Grove enabled
0x80: Beta Grove launched
00B8 uint8 Station State (?) - default; 0xE5
0x10: Life pods enabled, reactor on destruct

00C8 byte Option: Online Help (0: off, 2: on)

0148 byte Option: Audio, Music Volume (0x00 .. 0x64)
014A uint16 Option: Video, Gamma (Default: 0x4A3D)
014C byte Option: Audio, Digital FX Volume (0x00 .. 0x64)
014E byte Option: Input, Mouse hand (Right: 0, Left: 1)
0154 uint16 Option: Input, Double Click (Default: 0x5555)
0156 byte Option: Language setting (0: ENG, 1: FRA, 2: GER)
0158 byte Option: Audio, Message Volume (0x00 .. 0x64)
0159 uint16 Option: Video, Resolution (0x0000: default?, 0x0001: 320x200, 0x0101: 320x400, 0x0201: 640x400, 0x0003: 640x480)

0160 byte Option: Audio, Messages (0: Text, 1: Speech, 2: Both)
016A byte Option: Audio, Channels (0: 2ch, 1: 4ch, 2: 8ch)

0176 uint32 HUD message flags: 0x80: shield absorbs %d%%, 0x40: night sight active; 0x01000000: time remaining

0195 5xbyte MFD[s] button controls. 0: enabled, no function; 1: news flash; 2: enabled, selected; 3: disabled

01D3 byte MFD[l] map display: 0x01: side, 0x00: zoomed
01D4 byte MFD[r] map display: 0x01: side, 0x00: zoomed

Installed Hardware (0: not installed):
02E9 byte version for infrared night vision
02EA byte version for target info
02EB byte version for Sensaround
02EC byte version for "Aim Enhancement Hardware"
02ED byte version for HUD (unknown function)
02EE byte version for bioscan
02EF byte version for navigation unit
02F0 byte version for shield
02F1 byte version for data reader
02F2 byte version for lantern
02F3 byte version for view control
02F4 byte version for enviro suit
02F5 byte version for booster
02F6 byte version for jump jet
02F7 byte version for system status

0490 byte Sensaround icon active (dependent on MFD)
0493 byte Bioware icon active (dependent on MFD)
0494 byte Compass icon active (0: off, 1: on)
048E byte infrared active (0: off, 1: on)
0498 byte FullScreen control (0: off, 1: on)

051b int32 tilt (plus further bytes...)

0521 byte map X tile (east/west)
0522 byte ???
0524 uint16 in-tile Y (?)
0525 byte map Y tile (north/south)

0528 uint16 height above ground. standard head height: 0x00BD
052C float32 pitch. 0 is facing East, going clockwise

0530 float32 upper body back force (?)
0534 float32 upper body left force (?)
0538 float32 forward force (?)
053C float32 left force (?)


0567 byte Option: Text Length (0: normal, 1: terse)

### Notes

#### 0x01D3/0x01D4
For the MFD[s] map displays the game stores 0x05 for side view, apparently treating bit0 as a flag.


### Unmapped game options

#### Options not (yet) found in archives
* Option: Input, Popup Cursor (Off, On)
* Option: Video, Detail
* Option: Audio, Stereo (Normal, Reversed)

#### Options not determined:
* Option: Joystick
* Option: Video, Headset

0 comments on commit fc23e89

Please sign in to comment.