comparewumad [<options>...] wumad_file_A wumad_file_B
||Changes the working directory. Default is the user's temporary directory.|
||Saves the working directory set by the
||Exports in XML format. If the path is omitted, the data is output to a file named
||Do not check for free space.|
||Enable verbose logging.|
||Succeeded. No difference between files.|
||Succeeded. Difference between files.|
||Terminated with error.|
||Insufficient (too many) arguments.|
comparewumad tool compares the content of two different
This tool requires free space in the working directory on execution. When comparing two
wuma files, 50 GB of free space is required in the working directory.
By default, the user temporary directory specified by the OS is used, but the working directory can be changed with the
wd option if the temporary directory does not
have enough free space.
$ comparewumad -wd=E:\temp
In addition, use the
-save option to save the working directory specified with the
-wd option, as demonstrated below.
$ comparewumad.exe -save -wd=E:\temp The -save option saves the value set in the -wd option. $ comparewumad.exe foo.wuma Now E:\temp is used even if -wd is not specified. $ comparewumad.exe -save -wd= Restore the default (OS setting) by assigning a blank working directory.
By comparing the files above, determine whether the contents of the
wuma files are effectively the same.
The master header contains information on the sections in the master archive. Differences occur when sections are added or deleted and when section addresses or sizes change.
The disc header includes volume ID and volume address information. Differences occur when there are any changes to this information.
The volume header of a partition includes information on the entire volume. Differences occur when files are added to or removed from the volume, or when the content changes.
Whenever there is a change in a file content, including additions and deletions, it is handled as a difference.
The following example demonstrates the output when the tool is run. In this example, no differences were detected in the disc header, but differences were detected in the master
header and in the volume header of partition
p01. When comparing the files included in the partition between
B.wumad, we can see
abcd.txt was deleted and
efg.txt was added under the
content directory. In addition, because the CRC was only calculated using Master Editor
B.wumad, different CRC values were detected in
masterheader.bin. A different FST size was also detected due to changes such as filename lengths.
comparewumad version 18.104.22.16808 - (c) 2012-2014 Nintendo Original wuma file:A.wumad Target wuma file:B.wumad Comparing masterheader.bin: file. File discrepancies were found. |--Changed:HeaderCrc Before="0x0000" After="0xCCCC" |--Changed:DataCrc Before="0x0000" After="0xDDDD" |--Changed:MasterInformationCrc Before="0x0000" After="0xFFFF" Comparing discheader.bin: file. No file discrepancy was found. Partition Name:p01 Comparing p01.header.bin: file. File discrepancies were found. |--Changed:FSTSize Before="1247" After="1248" Comparing internal files. Deleted:content/0010/abcd.gtx Added:content/0010/efghi.gtx
If any discrepancies are found in
meta.xml, a detailed diff is displayed for each tag value.
masterinfo.xml exists independently of the partition and cannot be compared. Differences in the various header files, including hash values, addresses,
and binary file sizes, are output as detailed information.
2015/05/07 Topic placed in command tool format.
2014/01/28 Initial version.