Selecting the archives
For Archive A and Archive B select one of:
- the ZIP archive created by the robot or WorkVisual (it is unpacked to a temporary directory which is deleted automatically),
- the file am.ini or $config.dat of an unpacked archive,
- the directory of an unpacked archive (folder button or drag and drop).
Result list
All files of both archives are paired by their relative path (upper and lower case does not matter). The column Change describes the difference:
- only in A / only in B - the file exists in one archive only,
- program changed - a program (*.src, *.sub) has different code,
- N value(s) - a data list has N variables with different values,
- comments / formatting - only comments, spaces or line ends are different,
- changed (binary) - a binary file is different (no detailed comparison).
The Diff button
- Programs (*.src) open in the KRC Diff window - the same window as KRC » More » Compare KRC programs, optionally with the comparison of points' coordinates.
- Data lists (*.dat) open the window ... - variables with different values: a table Variable / A / B with a filter. A double click on a value opens the file A or B in the editor at the line of the variable. The button Text diff shows both files side by side, line by line.
- Other text files open the line by line comparison (PlainText Diff).
Settings
The settings button (next to Howto) selects what is compared:
- Compare programs - *.src, *.sub, *.dat in the directory KRC,
- Compare system and machine data - KRC/R1/System, KRC/R1/Mada, KRC/STEU,
- Compare the other files of the archive - am.ini, C/..., configuration,
- Compare *.dat files value by value - switched off: the data lists are compared as text,
- Compare points' coordinates of the programs - in the KRC Diff window,
- Compare programs in plaintext mode - line by line instead of the KRC Diff window,
- Ignored files - wildcards of files which are skipped, by default *.log *.bak *.tmp *.~* *.old.
The plugin only reads the archives - no file is changed. It needs the licence of the KRC editor.