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

wszst analyze

Analyse track files and LE-CODE binaries. Print the results in machine-readable form. The output format is selected by options. Wildcards and pipe characters are parsed.

Contents

1.   Syntax

wszst ANALYZE [source]...

2.   Options

Options
Option Param Description
--no-wildcards Disable wildcard parsing and use each filename exactly as specified.
--in-order Process the input files in order of the command line and don't delete duplicates.
-i --ignore Ignore non existing source files without warning.
-l --long Append a list of special files with size, SHA1 and file name.
-q --quiet Suppress logging of input and output files.
--sections Dump info using configuration or section syntax. Use --var name as prefix.
--sh Dump info using SH syntax. Use --var name as prefix.
--bash Dump info using BASH syntax. Use --var name as prefix.
--json Dump info using JSON syntax. Options --var and --array are ignored.
--php Dump infos using PHP syntax. Use --var name as variable name of the resulting object.
--makedoc Dump infos using MakeDoc syntax. Use --var name as variable name of the resulting map.
--var varname Use VARNAME as variable name or prefix on script output. The default value is 'res' for variables and 'res_' as prefix.
--array Use an array on script output if possible. If arrays are not supported, then append a '_#' suffix with an zero based index to the variable name defined by --var name. In this case, only one output file is created.
--avar varname Shortcut for: --array --var name
--case case CASE is one of LOWER, AUTO (default) or UPPER.If LOWER or UPPER are set, then the lower/upper case of the variable names is adjusted accordingly.
--
--ref path Define a reference SZS.
-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.

-D --DEST path Like --dest, but create the directory path automatically.

3.   Examples

Here you find examples for different options (output formats):



		file = "test.szs"
		size = 3242304
		sha1 = "c322c752e3ed9bde69b45e9b47c72b85ad04cb76"
		db64 = "wyLHUuPtm95ptF6bR8crha0Ey3YAMXlA"
	    is_arena = 0
       is_arena_name = "no"
	     n_ckpt0 = 1
	   lap_count = 2
	speed_factor = 1.203
	   slot_info = "-6.1,-6.2"
	       ktpt2 = "hint 733.34 0.12"
	 special_kmp = "0="
       special_files = "3=lex,objflow"
	lex_sections = "2=cannon"
       ct_attributes = "2laps,x1.2,objflow,lex"