In my EAW folder there is a "DirSets" folder and this is what it contains:
There is also a "DirSetExeManager" program and if I run it it lists the files available:
If I select "ETO01" the program copies "ETO01" and pastes it in my EAW folder as "Dir.set".
From 1.28c ownards the eaw.exe will always look for a "Dir.set" file in the root folder, and use it if one is present.
So if I now run the exe it will read the "Dir.set" file and this is what it would find:ETO_01
If I had selected "ETOBargeTrain" the loaded "Dir.set" would have read as follows:ETO_01
The exe is asked to look for any files that it needs in the first named folder, then the subfolders. NULL is a terminator telling the exe that the list has been read. In both cases in this example the exe will look for files in the "ETO_01" folder, then the "PIC". However, in the second case the files in the "Train-Barge3" folder will also be used.
Looking at my ETO_01 folder here are the contents:
You can see the "PIC" and "Train-Barge3" folders, but there are more, some of which are automatically used.
If there is a "seasons" file the seasonal terrain is read from the folders inside it, depending on the mission date.
They are spring, summer, fall, light winter and winter.
Otherwise the default terrain is used.
There are some planesets, in this case normally four, but I have added a couple more to mine for software testing.
Because there are planesets in this folder they will be listed for selection on the 'config' screen:
I have chosen Plenest2, so looking in this folder the exe will find a number of files, including two very important ones. There is he "PDir.set" containing the paths to the skins for each of the 30 slots, and the FMDir.set" file which has the paths to the flight model data.
This is what it will read:
So it will get the data from the "Planes" folder:
Using Slot18 as an example:
You can see the "Bf109K4_01" and the "Bf109K4_FM" folders which the exe has been instructed to use for that slot.
That covered just Slot18, but the same applies to the other 29 slots.
One thing that users need to be aware of, is that all versions of the eaw.exe will use a needed file if it is in the root folder as a priority, so a "PP38HF.3dz" file in the root folder would be used in reference to one in a the skin folder listed in "PDir.set".
Also, like the earlier exes, if a file cannot be found in the root folder, or any of the folders listed in the three "Dir.set" files, then the exe will look for it in the appropriate CDF file.
I hope that this gives the reader a clear picture of the current EAW system. It beats the 'you know what' out of the old system with hundreds of files being moved in and out of the EAW folder.