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

wszst analyze

Analyse track files and print results in machine readable format.

Contents

1.   Syntax

wszst ANALYZE [source]...

2.   Options

Options
Option Param Description
-i --ignore Ignore non existing source files without warning.
-q --quiet Suppress logging of input and output files.
--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 variabe name is 'res'.
--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«
-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"