How to use the Universe at War mod tools Dataminer

Installing the DataMiner
The Universe at War Mod Tools contained a tool that is useful for Empire at War modding: the DataMiner. It is a small executable that can be used to obtain information on various stats/XML tags in the game. Access it here: http://modtools.petrolution.net/tools/MapEditor. If you don't have UaW, you can still get the DataMiner. Simply open the executable as an archive with 7-zip and extract DataMiner.exe and DataMinerXRef.xml.

Once you have the DataMiner and DataMinerXRef files, put the DataMiner in your mod's XML folder, and DataMinerXRefs into your mod's top level folder (the one where Data is located).

Using the DataMiner
When you launch it, navigate to the DataMinerXMLFiles.xml in your mod's XML folder and select it

It'll run a quick analysis, throw some errors (some of which may be useful) then you can close the errors window and there will be a file structure. If the errors find that there are missing files, it may prevent the DataMiner from working, so either comment them out in e.g. GameObjectFiles or make sure they're in your mod.

To create a table, there's a couple of boxes at the bottom.

As an example, this setup finds all GroundVehicle type entries and lists their name, combat power and max speed:

To set that up, select a unit type and click "For Each". Then right click on the entry that shows up and edit it to this:

This example finds all specialstructures

(Slight error there, should be SpecialStructure not SpecialStructures)

If you have a valid For Each, in the Values box below you should see (ForEach) Attribute "Name". That lists all the Name attribute entries for the special structures. Then, you can expand an example of the object you want to tabulate, and select an XML tag e.g. Behavior, GUI_Row, Text_ID and so on. When one is selected, hit "Add" to the left of the Values box. You should see  and such start to come up.

Once you have a selection of XML tags in that Values box, you can hit Make Table and get a full list.

Table -> Copy in the top left puts it on the clipboard for pasting into e.g. Excel

Finally, in the main window, you can save the Table Rules to an xml file so they can be re-run at any time by loading them again.