Jump to content

Talk:DIRECT.DAT: Difference between revisions

From UFOpaedia
Fubar (talk | contribs)
This file is useful for checking if current tactical game is a saved tactical mission or a new one...
 
Fubar (talk | contribs)
This file is useful...
Line 1: Line 1:
   The direct.dat file as well as saveinfo.dat can be used at the start of a tactical mission to determine if the mission was loaded from a savegame or if it is a new tactical mission.  This is done [assuming you are using a batch program or xcomutil or both] by deleting direct.dat after a tactical mission so it will not be there when you check for its existence at the start of the next tactical (unless it is a savegame), this way direct.dat will only be found when it's a savegame, as it's only created upon loading a saved tactical.  Saveinfo.dat has the savegame name (GAME_XX) added into the file if tactical is being loaded from a savegame, if it is a new tactical, no name is added, and the file is shorter.  These are useful. -Fubar
   '''Direct.dat is useful for checking if a tactical game loaded from a saved tactical game or not.
'''
The direct.dat file as well as saveinfo.dat can be used at the start of a tactical mission to determine if the mission was  
loaded from a savegame or if it is a new tactical mission.  This is done (assuming you are using a batch program or xcomutil  
or both) by deleting direct.dat after a tactical mission so it will not be there when you check for its existence at the  
start of the next tactical (unless it is a savegame), this way direct.dat will only be found when it's a savegame, as it's  
only created upon loading a saved tactical.   
 
Saveinfo.dat has the savegame name (GAME_XX) added into the file if tactical  
is being loaded from a savegame, if it is a new tactical, no name is added, and the file is shorter. -Fubar

Revision as of 10:48, 26 February 2008

 Direct.dat is useful for checking if a tactical game loaded from a saved tactical game or not.

The direct.dat file as well as saveinfo.dat can be used at the start of a tactical mission to determine if the mission was loaded from a savegame or if it is a new tactical mission. This is done (assuming you are using a batch program or xcomutil or both) by deleting direct.dat after a tactical mission so it will not be there when you check for its existence at the start of the next tactical (unless it is a savegame), this way direct.dat will only be found when it's a savegame, as it's only created upon loading a saved tactical.

Saveinfo.dat has the savegame name (GAME_XX) added into the file if tactical is being loaded from a savegame, if it is a new tactical, no name is added, and the file is shorter. -Fubar