BIQ Comparison

The BIQ Comparison tab lets you compare two BIQ files, and get a text file illustrating their differences. You can also get a simple text file of everything in one file. The former functionality is likely the more useful.

To compare two files, you'll need to Open a second file after opening the first one. It is highly recommended that you only use the BIQC tab after doing so, and restart the editor before editing anything, as editing with multiple files open has not been tested. However, if you are daring, you could still try to edit the second file that was opened.

With more than one file now opened, you'll need to check the "Compare Mode" button, and then you can use the drop-downs for the "Current BIQ File" and "Compare To" to choose which ones you wish to compare. This way, if you have three or more files open, you can choose which to compare. There are a couple other check boxes in this area:

Now you'll need to choose some check boxes from the left two columns on which to compare. You must select at least one to export the comparison. If you select more than one, they'll be displayed in succession in the text file. If certain sections are not relevant to the BIQs selected in "Current BIQ File" and "Compare To", those check boxes will be grayed out.

At this point, you are ready to export. In the "Output" box on the right, make sure the "File" checkbox is checked (there used to be an option to export to the command line, and the check box survived its obsolescence). Then, you can either write out the file you want to export to in the text box (.txt will be automatically appended by default if it isn't present), or click the "Browse" button to choose where to export to in a traditional open/save dialog. Now, hit "Export!". You'll get a Cancel/OK dialog if the file already exists, but otherwise, you should be seeing "Successful Output" text to the left of the Export! button

You probably want to leave the "BIQ variables or English" to the default of English. It's easier to read that way. The "English" option will break down more variables that store multiple values, such as Unit Abilities. It is also more likely to give friendly names for referenced items (for example, requires "Temple" instead of "3" when Temple is the third building). In neither case does it create this more friendly output in all cases, but it's still generally friendlier. The BIQ Variables option is mostly there since it's occasionally useful for me when debugging the editor itself.

Export Format

The export looks like this:

--> Bldg <--WWII Uncompressed.biq | WWII No Barracks.biq

name: Bank
ReqImprovement: 4 | 3

name: Cathedral
ReqImprovement: 3 | 2

Bldg Barracks does not exist in WWII No Barracks.biq.

Here's how to read it:

There is room for future improvements, such as the editor realizing that the above items are both "Marketplace", and thus (perhaps optionally) assuming that they are the same.