SAVEINFO.DAT: Difference between revisions
m →See Also: Category |
Bomb Bloke (talk | contribs) m Formatting and clarification. |
||
| Line 1: | Line 1: | ||
This file is present in any save. | This file is present in any save. | ||
There are 8 values. 7 of these are made of 2 bytes each, and the<br> | There are 8 values. 7 of these are made of 2 bytes each, and the<br> | ||
other is a string value made up of 26 bytes. Total of 40 bytes.<br> | other is a string value made up of 26 bytes. Total of 40 bytes.<br> | ||
== Structure == | |||
<b>0</b> - 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. | |||
to see which save | |||
< | <b>1</b> - 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. | ||
This | <b>2</b> - The current year. | ||
the save file. The name may be 25 characters long; | |||
the final byte is always of value 0. A 0 also marks | <b>3</b> - The current month. Note that 0 is January. | ||
the end of the save name, should it not use all 25 | |||
characters.< | <b>4</b> - The current day of the month. | ||
< | |||
<b>5</b> - The current hour (24 hour time). | |||
<b>6</b> - The current minute. | |||
<b>7</b> - 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]] | ||
Revision as of 04:21, 17 June 2006
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
0 - 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.
1 - 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.
2 - The current year.
3 - The current month. Note that 0 is January.
4 - The current day of the month.
5 - The current hour (24 hour time).
6 - The current minute.
7 - 0 for geoscape save, 1 for tactical save.