Difference between revisions of "SAVEINFO.DAT"

From UFOpaedia
Jump to navigation Jump to search
m
m (Added see also)
Line 22: Line 22:
 
saveinfo[6] - The current minute.<br>
 
saveinfo[6] - The current minute.<br>
 
saveinfo[7] - 0 for geoscape save, 1 for tactical save.<br>
 
saveinfo[7] - 0 for geoscape save, 1 for tactical save.<br>
 +
 +
==See Also==
 +
* [[Saved Game Files]]

Revision as of 15:18, 8 May 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.

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.

See Also