EEunit.exe Tutorial (deprecated) - EE-modders/Empire-Earth-toolbox GitHub Wiki
The program allows you to modify the dbobjects.dat and dbtechtree.dat files from the data.ssa file of Empire Earth and Empire Earth - Art of Conquest. I have been unable to find a full tutorial about how to use this program effectively on any websites. That's why I made my own.
The first thing you have to do before you can use this program is extract the .ssa file in the Data folder of Empire Earth or Empire Earth - Art of Conquest. To do this, you need Wolfie's Campaign Extractor. Make sure you unzip the dcl.exe file to the same folder you unzip Wolfie's Campaign Extractor.exe to.
Now that you have the campaign extractor set up, open it. Click File on the menu bar, and then select Open. Use browse to find the data.ssa file you want to extract, and then click Open.
A list of all the folders and files in the .ssa file will be displayed for you. Now you can export all or only some of them to the destination of your choice. I suggest you create a new folder in your Empire Earth or Empire Earth - Art of Conquest directory called "edit". Make sure you set the target location to the proper EE directory). If you're extracting the data.ssa from Empire Earth - Art of Conquest, you should create a new folder called "edit" in your Empire Earth - Art of Conquest directory and extract the data.ssa to this folder. This is just so you won't get confused as to which set of extracted folders and files is for which game. Now that you've created the edit folder, go to File on the menu bar of Wolfie's Campaign Extractor and select Export All. Set the destination as the folder you just created, and click OK.
Note: If you extract the data.ssa file using EE Studio, you may not be able to get EEunit.exe to work properly.
Now that you've extracted the data.ssa file, you can decompress the two .dat files you'll be modifying using EEunit.exe. In EE Studio there is another button just below the SSA Extract button called DCL Decompresser. Click this button. This function is a little easier, because you can browse your computer to find the correct files. Click the browse button to the right of the top field. In the edit folder you just extracted the data.ssa to, you will find 6 new folders. Open the folder called "db" (this folder contains all the .dat files). Now select the file called "dbobjects.dat". Before you decompress this file, make a new folder inside the db folder called "decompressed". Now, in the DCL Decompresser function of EE Studio, set the output folder as the folder you just created. Decompress the file. Do the same for the file called "dbtechtree.dat" (set the output folder as the "decompressed" folder also). Close EE Studio.
You are now ready to use EEunit.exe. Before you run the program, delete the paths.dat file that is in the folder with EEunit.exe (if there is a paths.dat file). Now run EEunit.exe. You will be prompted to set the paths to dbtechtree.dat and dbobjects.dat. Select cancel and say "No" when asked if these paths are for Empire Earth - Art of Conquest. Click Setup on the menu bar of the program. Click paths. Set the paths to the decompressed dbtechtree.dat and dbobjects.dat files. If you set the paths to the compressed .dat files, the program will not work. If you are setting the paths to the Empire Earth - Art of Conquest .dat files, make sure you check the box next to "This is Art of Conquest." If you have done everything correctly, you should see a list of names of objects from EE or EE-AoC (whichever you are editing). You can now modify at will.
Note: I have not been able to get the epochs to change for any objects I have modified using this program. If you figure out how to do so, please let me know.
First, go to your Data folder for whichever game these .dat files come from. Now create a new folder called "db". Go to your edit/decompressed folder and copy both the dbobjects.dat and dbtechtree.dat files. Now paste those files into your Data/db folder. Done. To uninstall, just delete the files inside your Data/db folder.