BASE.DAT: - each entry is 292 Bytes long
Offset 00 to 0E - Base Name, pretty obvious
Offset 0F to 15 - No Idea, any help would be appreciated.
The next few offsets will be arranged so they're easier to understand. They are for the facilities in the base:
/-----------------------------------------\
| 0016 | 0017 | 0018 | 0019 | 001A | 001B |
| |
| |
| |
|
|-----------------------------------------|
| 001C | 001D | 001E | 001F | 0020 | 0021 |
| |
| |
| |
|
|-----------------------------------------|
| 0022 | 0023 | 0024 | 0025 | 0026 | 0027 |
| |
| |
| |
|
|-----------------------------------------|
| 0028 | 0029 | 002A | 002B | 002C | 002D |
| |
| |
| |
|
|-----------------------------------------|
| 002E | 002F | 0030 | 0031 | 0032 | 0033 |
| |
| |
| |
|
|-----------------------------------------|
| 0034 | 0035 | 0036 | 0037 | 0038 | 0039 |
| |
| |
| |
|
\-----------------------------------------/
The possible values are as
follows:
00 - Access Lift
01 - Living Quarters
02 - Laboratory
03 - Workshop
04 - Small Radar System
05 - Large Radar System
06 - Missile Defense
07 - General Stores
08 - Alien Containment
09 - Laser Defense
0A - Plasma Defense
0B - Fusion Ball Defense
0C - Grav Shield
0D - Mind Shield
0E - Psionic Laboratory
0F - Hyper-wave Decoder
10 - Hangar (Top Left)
11 - Hangar (Top Right)
12 - Hangar (Bottom Left)
13 - Hangar (Bottom Right)
FF - Empty
The offsets after that represnt the days until complete and they are set up the same way:
/-----------------------------------------\
| 003A | 003B | 003C | 003D | 003E | 003F |
| |
| |
| |
|
|-----------------------------------------|
| 0040 | 0041 | 0042 | 0043 | 0044 | 0045 |
| |
| |
| |
|
|-----------------------------------------|
| 0046 | 0047 | 0048 | 0049 | 004A | 004B |
| |
| |
| |
|
|-----------------------------------------|
| 004C | 004D | 004E | 004F | 0050 | 0051 |
| |
| |
| |
|
|-----------------------------------------|
| 0052 | 0053 | 0054 | 0055 | 0056 | 0057 |
| |
| |
| |
|
|-----------------------------------------|
| 0058 | 0059 | 005A | 005B | 005C | 005D |
| |
| |
| |
|
\-----------------------------------------/
Possible values are 00 to FF. Empty spaces must have a FF value in it's corresponding offset.
The following are the rest of the offsets I know. There holes in the numbering but I have no idea what they are. All possible values are 00 to FF, but when you go over 32,766 on 2-byte values, the number goes negative. Any help would be appreciated. Also, if it's two bytes then the first byte is the low bit and the second bit is the high bit. Example: if it looks like this: 05 00, it reads like this: 00 05. Here's the info:
Engineer
005E 1 Byte
Scientist
005F 1 Byte
Stingray Launcher 0060 - 2 Bytes
Avalanche Launcher 0062 - 2 Bytes
Cannon
0064 - 2 Bytes
Fusion Ball Launcher 0066 - 2 Bytes
Laser Cannon
0068 - 2 Bytes
Plasma Beam
006A - 2 Bytes
Stingray Missile
006C - 2 Bytes
Avalanche Missile 006E - 2
Bytes
Cannon Rounds
0070 - 2 Bytes
Fusion Balls
0072 - 2 Bytes
Tank/Cannon
0074 - 2 Bytes
Tank/Rocket Launcher 0076 - 2 Bytes
Tank/Laser Cannon 0078 - 2 Bytes
Hovertank/Plasma 007A - 2
Bytes
Hovertank/Launcher 007C - 2 Bytes
Pistol
007E - 2 Bytes
Pistol Clip
0080 - 2 Bytes
Rifle
0082 - 2 Bytes
Rifle Clip
0084 - 2 Bytes
Heavy Cannon
0086 - 2 Bytes
HC-AP Ammo
0088 - 2 Bytes
HC-HE Ammo
008A - 2 Bytes
HC-IN Ammo
008C - 2 Bytes
Auto Cannon
008E - 2 Bytes
AC-AP Ammo
0090 - 2 Bytes
AC-HE Ammo
0092 - 2 Bytes
AC-IN Ammo
0094 - 2 Bytes
Rocket Launcher
0096 - 2 Bytes
Small Rocket
0098 - 2 Bytes
Large Rocket
009A - 2 Bytes
Incendiary Rocket 009C - 2
Bytes
Laser Pistol
009E - 2 Bytes
Laser Rifle
00A0 - 2 Bytes
Heavy Laser
00A2 - 2 Bytes
Grenade
00A4 - 2 Bytes
Smoke Grenade
00A6 - 2 Bytes
Proximity Grenade
00A8 - 2 Bytes
High Explosive
00AA - 2 Bytes
Motion Scanner
00AC - 2 Bytes
Medi-Kit
00AE - 2 Bytes
Psi-Amp
00B0 - 2 Bytes
Stun Rod
00B2 - 2 Bytes
Electro Flare
00B4 - 2 Bytes
Heavy Plasma
00C2 - 2 Bytes
Heavy Plasma Clip 00C4 - 2
Bytes
Plasma Rifle
00C6 - 2 Bytes
Plasma Rifle Clip
00C8 - 2 Bytes
Plasma Pistol
00CA - 2 Bytes
Plasma Pistol Clip
00CC - 2 Bytes
Blaster Launcher
00CE - 2 Bytes
Blaster Bomb
00D0 - 2 Bytes
Small Launcher
00D2 - 2 Bytes
Stun Bomb
00D4 - 2 Bytes
Alien Grenade
00D6 - 2 Bytes
Elerium-115
00D8 - 2 Bytes
Mind Probe
00DA - 2 Bytes
Sectoid Corpse
00E2 - 2 Bytes
Snakeman Corpse 00E4 - 2
Bytes
Ethereal Corpse
00E6 - 2 Bytes
Muton Corpse
00E8 - 2 Bytes
Floater Corpse
00EA - 2 Bytes
Celatid Corpse
00EC - 2 Bytes
Silacoid Corpse
00EE - 2 Bytes
Chryssalid Corpse 00F0 - 2
Bytes
Reaper Corpse
00F2 - 2 Bytes
Sectopod Corpse 00F4 - 2
Bytes
Cyberdisc Corpse 00F6 - 2
Bytes
UFO Power Source 0100 - 2 Bytes
UFO Navigation
0102 - 2 Bytes
UFO Construction 0104 - 2
Bytes
Alien Food
0106 - 2 Bytes
Alien Reproduction 0108 - 2 Bytes
Alien Entertainment 010A - 2 Bytes
Alien Surgery
010C - 2 Bytes
Examination Room 010E - 2 Bytes
Alien Alloys
0110 - 2 Bytes
Alien Habitat
0112 - 2 Bytes
Personal Armour
0114 - 2 Bytes
Power Suit
0116 - 2 Bytes
Flying Suit
0118 - 2 Bytes
HWP Cannon Shell 011A - 2 Bytes
HWP Rockets
011C - 2 Bytes
HWP Fusion Bomb 011E - 2 Bytes
Offsets 011F to 0123 - I have no idea, any help would be appreciated.