Intel

The Intel panel shows information from the text files created by the game.

At present, only the Signal Intelligence file is read in and displayed.

When a save file for a turn is read in, the program will automatically attempt to load the text files. The way it looks for files depends on the SaveMode setting in the witptracker.properties file and how the turn is being read in.

When reading in a turn, the program will always look for the intelligence information for the date prior to the date in the save file. For example, when reading in a turn for December 8, 1941, the program will look for the intelligence files dated December 7, 1941 (the save file for Dec 8th contains the "orders" for Dec 8th, but the resolution hasn't happened yet).

Signal Intelligence files are formed with names of two varieties:

    • xsigint.txt, where x is a for Allies and j for Japan (e.g., asigint.txt) ["plain file"]
    • xsigint_yymmdd.txt, where x is a for Allies and j for Japan and yymmdd is a 6-digit number for the last two of the year (yy), number for the month (mm) and day (dd) (e.g., jsigint_411207.txt for the Japanese sigint file for December 7th, 1941). ["dated file"]

The files are checked as follows:

    • If using the Read Turn function (single turn read) and the SaveMode is 0: first it looks in the current folder for the date file and if that doesn't exist, look for the plain file.
    • If using the Read Turn function (single turn read) and the SaveMode is 1: first it looks in the game's SAVE folder for the date file and if that doesn't exist, look for the plain file.
    • If using the Read Turn function (single turn read) and the SaveMode is 2: first it looks in the current folder for the date file and if that doesn't exist, look for the plain file; if that doesn't exist, it looks in the game's SAVE folder for the date file and if that doesn't exist, look for the plain file.
    • If using the Multi-turn Read function: it looks in the same folder as the selected save for the date file and if that doesn't exist, look for the plain file; if that doesn't exist, it looks in the folder directly above for the date file and if that doesn't exist, look for the plain file.

If the file contains information for multiple dates, unless it's the first date in the file that's being looked for, only the plain file will be end up being used.

Once a candidate file is found, the program will then look into that file to make sure it's for the date expected. If it is not, a message is output in the command window and the file is not read in (no alternate files will be checked).

A file can be manually selected using the Read Text File function and select the exact file you want. If the data for that turn has already been read in, you'll need to confirm the program removing the current information to read in the file's information. Only information in text files for dates in which the save file has been read in can be loaded. If the file contains multiple dates, the user can select which date to load in (along with an indication if the turn's data was loaded already or not).