Jump to content

SAVEINFO.DAT

From UFOpaedia
Revision as of 07:45, 15 October 2005 by Bomb Bloke (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.