SAVEINFO.DAT: Difference between revisions
Bomb Bloke (talk | contribs) No edit summary |
Bomb Bloke (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
This file is present in any save. | This file is present in any save.<br> | ||
<br> | |||
There are 8 values. 7 of these are made of 2 bytes each, and the | 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. | other is a string value made up of 26 bytes. Total of 40 bytes.<br> | ||
<br> | |||
saveinfo[0] - If 0, then certain resource files (list these BB!) will be used | saveinfo[0] - <br> | ||
If 0, then certain resource files (list these BB!) will be used<br> | |||
from the missdat folder. If this is 1, then check direct.dat<br> | |||
to see which save folder to go to.<br> | |||
saveinfo[1] - This is the 26 byte string, which details the name of | <br> | ||
saveinfo[1] - <br> | |||
This is the 26 byte string, which details the name of<br> | |||
the save file. The name may be 25 characters long;<br> | |||
the final byte is always of value 0. A 0 also marks<br> | |||
the end of the save name, should it not use all 25<br> | |||
saveinfo[2] - The current year. | characters.<br> | ||
saveinfo[3] - The current month. Note that 0 is January. | <br> | ||
saveinfo[4] - The current day of the month. | saveinfo[2] - The current year.<br> | ||
saveinfo[5] - The current hour (24 hour time). | saveinfo[3] - The current month. Note that 0 is January.<br> | ||
saveinfo[6] - The current minute. | saveinfo[4] - The current day of the month.<br> | ||
saveinfo[7] - 0 for geoscape save, 1 for tactical save. | saveinfo[5] - The current hour (24 hour time).<br> | ||
saveinfo[6] - The current minute.<br> | |||
saveinfo[7] - 0 for geoscape save, 1 for tactical save.<br> | |||
Revision as of 07:46, 15 October 2005
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.
saveinfo[0] -
If 0, then certain resource files (list these BB!) will be used
from the missdat folder. If this is 1, then check direct.dat
to see which save folder to go to.
saveinfo[1] -
This is the 26 byte 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.
saveinfo[2] - The current year.
saveinfo[3] - The current month. Note that 0 is January.
saveinfo[4] - The current day of the month.
saveinfo[5] - The current hour (24 hour time).
saveinfo[6] - The current minute.
saveinfo[7] - 0 for geoscape save, 1 for tactical save.