prevnext   » SZS: Wiimms SZS Toolset » wszst: Wiimms SZS Tool » wszst diff

wszst diff

Compare two or more sources (each SZS, U8, LTA, PACK, BRRES, BREFF, BREFT, RARC or directory) on file level and report mismatches for each sub file. If option --dest is set, then each source file is compared with a file in the destination.


1.   Syntax

wszst DIFF source1 source2
wszst DIFF source... --dest dest

2.   Options

Option Param Description
-q --quiet If set once, only a summary status for each section is printed. If set twice, only a total summary status is printed. If set three times, the status is only reported as exit status.
-R --recurse [=level] If a extracted file is a known and supported archive, than extract it recursively until the entered level is reached. Level 0 (=NONE) deactivates this. If --recurse is used without parameter, then UNLIMITED is assumed.

-R does'nt accept a parameter and is a short cut for --recurse=unlimited.

--cut Cut different non archive files into smaller peaces (logical units like headers, groups, sections) or list these peaces as single sub files for a more detailed analysis. Supported file types are BMG, BREFT-IMG, KMP, PAT, TEX, TPL, BRRES sub files and more.
-a --all Extract and decode all known and supported files recursively. This is a short cut for --recurse --decode --mipmaps. If entered twice, option --cut is included too.
-d --dest path Define a destination path (directory/file). The destination - means: write to standard output.

The path may contain escape sequences: %Q is replaced by the fully qualified source name. %P and %F are replaced by the source path or by the filename. %N and %E are replaced by source filename without extension or by the source extension. Finally, %T is replaced by the default extension of the destination format.

A '?' direct behind '%' in %E and %T conversions avoid that the same extension is used twice in row.

-E --esc char Define an alternative escape character for destination files. The default is '%'. For Windows batch files it is a good choice to set '-E$'.