Difference between revisions of "SAVEINFO.DAT"
Jump to navigation
Jump to search
Bomb Bloke (talk | contribs) m (Formatting and clarification.) |
(fix mistake in previous reformatting) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 6: | Line 6: | ||
== Structure == | == Structure == | ||
− | < | + | {| class="wikitable" |
+ | |- | ||
+ | !Offset<br>(Decimal) | ||
+ | !Offset<br>(Hex) | ||
+ | !Usage | ||
− | < | + | |- valign="top" |
− | + | !<span id="0-1"></span>0-1 | |
− | + | !<span id="0x00-0x01"></span>0x00-0x01 | |
+ | |Ignore this if the file is not in the missdat folder. If 0, then this is a savegame made on the beginning of a new battlescape game. If 1, then check [[DIRECT.DAT]] to see where which save slot to load from. | ||
− | < | + | |- valign="top" |
+ | !<span id="2-27"></span>2-27 | ||
+ | !<span id="0x02-0x1D"></span>0x02-0x1D | ||
+ | |This a 26 byte null terminated string, which details the name of the save file. The name may be 25 characters long; the final byte is always of value 0. A 0 also marks the end of the save name, should it not use all 25 characters. | ||
− | < | + | |- valign="top" |
+ | !<span id="28-29"></span>28-29 | ||
+ | !<span id="0x1C-0x1D"></span>0x1C-0x1D | ||
+ | |The current year. | ||
− | < | + | |- valign="top" |
+ | !<span id="30-31"></span>30-31 | ||
+ | !<span id="0x1E-0x1F"></span>0x1E-0x1F | ||
+ | |The current month. Note that 0 is January. | ||
− | < | + | |- valign="top" |
+ | !<span id="32-33"></span>32-33 | ||
+ | !<span id="0x20-0x21"></span>0x20-0x21 | ||
+ | |The current day of the month. | ||
− | < | + | |- valign="top" |
+ | !<span id="34-35"></span>34-35 | ||
+ | !<span id="0x22-0x23"></span>0x22-0x23 | ||
+ | |The current hour (24 hour time). | ||
+ | |||
+ | |- valign="top" | ||
+ | !<span id="36-37"></span>36-37 | ||
+ | !<span id="0x24-0x25"></span>0x24-0x25 | ||
+ | |The current minute. | ||
+ | |||
+ | |- valign="top" | ||
+ | !<span id="38-39"></span>38-39 | ||
+ | !<span id="0x26-0x27"></span>0x26-0x27 | ||
+ | |0 for geoscape save, 1 for tactical save. | ||
+ | |||
+ | |- | ||
+ | |} | ||
==See Also== | ==See Also== | ||
* [[Saved Game Files]] | * [[Saved Game Files]] | ||
* [[Saved_Game_Files#Geoscape_Files|Geoscape Files]] | * [[Saved_Game_Files#Geoscape_Files|Geoscape Files]] | ||
+ | [[Category:Game Files]] | ||
+ | [[Category:Enemy Unknown/UFO Defense]] |
Latest revision as of 14:31, 22 July 2019
This file is present in any save.
There are 8 values. 7 of these are made of 2 bytes each, and the
other is a string value made up of 26 bytes. Total of 40 bytes.
Structure
Offset (Decimal) |
Offset (Hex) |
Usage |
---|---|---|
0-1 | 0x00-0x01 | Ignore this if the file is not in the missdat folder. If 0, then this is a savegame made on the beginning of a new battlescape game. If 1, then check DIRECT.DAT to see where which save slot to load from. |
2-27 | 0x02-0x1D | This a 26 byte null terminated string, which details the name of the save file. The name may be 25 characters long; the final byte is always of value 0. A 0 also marks the end of the save name, should it not use all 25 characters. |
28-29 | 0x1C-0x1D | The current year. |
30-31 | 0x1E-0x1F | The current month. Note that 0 is January. |
32-33 | 0x20-0x21 | The current day of the month. |
34-35 | 0x22-0x23 | The current hour (24 hour time). |
36-37 | 0x24-0x25 | The current minute. |
38-39 | 0x26-0x27 | 0 for geoscape save, 1 for tactical save. |