IGLOB.DAT
The file IGLOB.DAT in each save game directoy stores the current date and time and for some versions the difficulty setting. It is either 60 or 64 bytes long, and each value is stored as a 4 byte numeric field.
Offset dec (hex) | Meaning |
---|---|
0 (0x00) | Month (0-12) |
4 (0x04) | Weekday (0-6) |
8 (0x08) | Days (0-31) |
12 (0x0C) | Hours (0-24) |
16 (0x10) | Minutes (0-60) |
20 (0x14) | Seconds, all values multiples of 5 |
24 (0x18) | Unknown (Values 0,1) |
28 (0x1C) | Unknown (Values 0,1,2,3,4) |
32 (0x20) | Unknown (Values 0,1) |
36 (0x24) | Unknown (Values 0,1) |
40 (0x28) | Unknown (Values 0,2) |
44 (0x2C) | Unknown (Values 0,2,3,4,6) |
48 (0x30) | Unknown (Values 0) |
52 (0x34) | Unknown (Values 0,1) |
56 (0x38) | Unknown (Values 128,146) |
60 (0x3C) | If present indicates the difficulty, see below |
Note that changing the days, minutes, hours or seconds do not change the values seen in the Load/Save game screen, but do change the values when you actually load the game. The values seen in the Load/Save screen is read from SAVEINFO.DAT.
Difficulty Setting
Difficulty setting is not always present, for more information see the known bug caused by this. If it is the value should be interpreted as:
0 = Beginner
1 = Experienced
2 = Veteran
3 = Genius (EU)
4 = Superhuman (EU), Genius (TFtD)
5 - never used
6 = Superhuman (TFtD)
(TFtD uses the same labels for two hardest levels, but their internal values are higher than in EU)
If the file is only 60 bytes long, then it must have been saved with DOS version of EU, not patched by XcomUtil. In this case, original difficulty setting is lost, and will be restored as 0 (Beginner) when you load.
Above information on difficulty taken from a post by Quantifier on the xcomufo forums