Options  

Option  Param  Description  
l  long  If set, print the matrices too. If set twice, print minimum and maximum values too.  
r  removedest  Remove already existing files before creating it. If set, overwrite is ignored. 

p  preserve  Preserve file times (atime+mtime) while converting or copying files.  
i  ignore  Ignore non existing source files without warning.  
C  compr  level  Define a compression level between
Because of many repeated data, the best bzcompression mode varies. Therefor the levels
Option norm takes precedence over compr and sets the compression level to 
n  norm  The uncompressed data will be normalized. See command NORMALIZE for more details.  
alignu8  size  Define an align value for the sub files in U8 archives. The value must be a power of 2 and the default value is 32 (0x20) This value is only relevant if creating or normalizing U8 archives.  
alignpack  size  Define an align value for the sub files in PACK archives. The value must be a power of 2 and the default value is 32 (0x20) This value is only relevant if creating or normalizing OACK archives.  
alignbrres  size  Define an align value for the sub files in BRRES archives. The value must be a power of 2 and the default value is 4 This value is only relevant if creating or normalizing BRRES archives.  
alignbreff  size  Define an align value for the sub files in BREFF archives. The value must be a power of 2 and the default value is 4 This value is only relevant if creating or normalizing BREFF archives.  
alignbreft  size  Define an align value for the sub files in BREFT archives. The value must be a power of 2 and the default value is 0x20 This value is only relevant if creating or normalizing BREFT archives.  
align  size  Define an align value for the sub files in all archives. This is a short cut for »alignu8=size alignpack=size alignbrres=size alignbreff=size alignbreft=size«.  
ptdir  [=mode]  Set one of the `point directory' modes This option is only relevant if creating an U8 archive. It decides, if a special directory with name '.' will be added as base for all other files. 

rmaiparam  Remove the directory AIParam and all files from the archive. This option has only impact, if creating a new archive or normalizing an existing archive. 

autoadd  Analyze the KMP (if exist) and add missing BRRES, BREFF, BREFT, BRASD and KCL files automatically, if the tool can find the files in any sub directory named 'autoadd'. This sub directory is searched in all directories of 

fast  Short cut for compr=fast: Set the fastest real compression. It also overrides compression rates set by norm or compr.  
c  const  list  Define constant values, that are used by the internal encoders and by the numeric options as predefined global variables. This option allows a conditional encoding of text files. It can be used multiple times for multiple definitions.
The Parameter is a comma separated list of terms and a term is ' 
touch  Mark the minimap as modified to force a new calculation of the translation and inverse matrices.  
auto  Calculate the minimap translations automatically by using the minimum and maximum vertex coordinates. The 'scale' and 'rotation' fields are reset. This is done as first action before the SET, CENTER and the other transformations.  
setflags  flag  Define the flag values (default 0x31f) of the minimap.  
setscale  vector  Define the scale values (default 1.0) of the minimap. The parameter is either a vector expression or a comma separated list of coordinates ('x,z' or 'x,y,z').  
setrot  vector  Define the rotation values (default 0.0) of the minimap. The parameter is either a vector expression or a comma separated list of coordinates ('x,z' or 'x,y,z').  
setx  v1[,v2]  Define 2 values and sort them to define the minimum and maximum xcoordinates of the minimap. If 'v2' is not entered, 'v1' is used as second value.  
sety  v1[,v2]  Define 2 values and sort them to define the minimum and maximum ycoordinates of the minimap. If 'v2' is not entered, 'v1' is used as second value.  
setz  v1[,v2]  Define 2 values and sort them to define the minimum and maximum zcoordinates of the minimap. If 'v2' is not entered, 'v1' is used as second value.  
xcenter  Center the minimap in xdirection. This is done after AUTO and SET, but before SCALE and SHIFT.  
ycenter  Center the minimap in ydirection. This is done after AUTO and SET, but before SCALE and SHIFT.  
zcenter  Center the minimap in zdirection. This is done after AUTO and SET, but before SCALE and SHIFT.  
center  Center the minimap in all 3 directions. This is a short cut for »xcenter ycenter zcenter«.  
scale  vector[@origin]  Transform the data: Scale all coordinates and size values by 'vector' relative to the point 'origin'. If the origin is not set, Negative values mirror the coordinates. Each parameter is either a vector expression or a comma separated expression list of coordinates ('x,z' or 'x,y,z'). Transformations are calculated in the order SCALE, SHIFT, ROTATE, TRANSLATE. 

shift  vector  Transform the data: Add 'vector' to all coordinates. Is's simlar to translate, but the addition is done before rotation. The parameter is either a vector expression or a comma separated expression list of coordinates ('x,z' or 'x,y,z').
Transformations are calculated in the order SCALE, SHIFT, ROTATE, TRANSLATE. 

xss  x1old,x1new,x2old,x2new  xss (xscaleshift) calculates the X values of scale and shift, so that the old values are transformed to the new values. The parameters are numbers or expression.  
yss  y1old,y1new,y2old,y2new  yss (yscaleshift) calculates the Y values of scale and shift, so that the old values are transformed to the new values. The parameters are numbers or expression.  
zss  z1old,z1new,z2old,z2new  zss (zscaleshift) calculates the Z values of scale and shift, so that the old values are transformed to the new values. The parameters are numbers or expression.  
rot  degree[@origin]  Transform the data: Rotate all coordinates and rotation values by the angle 'degree' (is a vecotr) around the 3 axes. All 3 axes goes through the point 'origin'. If the origin is not set, Each parameter is either a vector expression or a comma separated expression list of coordinates ('x,y,z'). Option rot is an alternative for xrot, yrot and zrot to define all 3 rotations in one step. Transformations are calculated in the order SCALE, SHIFT, XROTATE, YROTATE, ZROTATE, TRANSLATE. 

xrot  degree[@origin]  Transform the data: Rotate all coordinates and rotation values by the angle 'degree' around the xaxis, that goes through the point 'origin'. If the origin is not set, Each parameter is either a vector expression or a comma separated expression list of coordinates ('y,z' or 'x,y,z'). Transformations are calculated in the order SCALE, SHIFT, XROTATE, YROTATE, ZROTATE, TRANSLATE. 

yrot  degree[@origin]  Transform the data: Rotate all coordinates and rotation values by the angle 'degree' around the xaxis, that goes through the point 'origin'. If the origin is not set, Each parameter is either a vector expression or a comma separated expression list of coordinates ('x,z' or 'x,y,z'). Transformations are calculated in the order SCALE, SHIFT, XROTATE, YROTATE, ZROTATE, TRANSLATE. 

zrot  degree[@origin]  Transform the data: Rotate all coordinates and rotation values by the angle 'degree' around the zaxis, that goes through the point 'origin'. If the origin is not set, Each parameter is either a vector expression or a comma separated expression list of coordinates ('x,y' or 'x,y,z'). Transformations are calculated in the order SCALE, SHIFT, XROTATE, YROTATE, ZROTATE, TRANSLATE. 

ypos  pos  This option defines an Y position for KMP/CKPT transformations. It has only impact to X and Z rotations (Options xrot and zrot). If not set, the mean y of the active rotation origins are used.  
translate  vector  Transform the data: Add 'vector' to all coordinates. Is's simlar to shift, but the addition is done after rotation. The parameter is either a vector expression or a comma separated expression list of coordinates ('x,z' or 'x,y,z'). Transformations are calculated in the order SCALE, SHIFT, ROTATE, TRANSLATE. 

null  Create a neutral transformation without affecting the coordinates. The only influence is, that the dependent values (like maximum) are recalculated as if a transformation has taken place.  
next  Close the current transformation step with all scaling, shifting, rotation and translation options and open a new step with cleared options. On transformation each step is logical done one by one. In real, one total transformation matrix is calculated and used for fast transformations.
If option next is used, the ability for modifying the scale and rotation vectors (not the positions) of different KMP sections is nearly always lost. A warning is printed if this occurs. 

ascale  factor@dir  Transform the data and do an axis scale: Close the current transformation step like next and scale the data by This kind of transformation is EXPERIMENTAL! 

arot  degree[@pos1]@pos2  Transform the data and do an axis rotation: Close the current transformation step like next and rotate the data by This kind of transformation is EXPERIMENTAL! 

tformscript  script  Load the script and execute it by the text parser.
Then for each coordinate (2D and 3D), call the macro
For each file, macro Before each macro call, the private and local variables are cleared and only global parameters are permanent. The zero based index is cleared for each new source. The parameters of the macro calls are defined in the local name space. 
wszst minimap [options] <FILE>..If
wszst minimap [options] map.mdl wszst minimap [options] map_model.brres wszst minimap [options] track.szs
The options (see above) decide, which data is printed and how, if ever, the data is manipulated. If using the option test (t), the command tells only, what it would do.
Remember allways: The data defines the view region of the minimap. So larger values make the minimap smaller.
If option auto is set and possible, the following algorithm is used:
The general syntax using the auto option is:
wszst minimap auto map.mdl wszst minimap auto map_model.brres wszst minimap auto track.szsThe last command is the easiest way to fix the minimap of a ready track.
Example:
The minimap should be 20% smaller.
Therefor the view region must be enlarged by about 25% (see below).
You can do this, by adding the option
wszst minimap auto scale 1.25 map.mdl wszst minimap auto scale 1.25 map_model.brres wszst minimap auto scale 1.25 track.szs
Some mathematics:
The scale factor
The option
wszst minimap auto scale 100.0/N track.szs # general wszst minimap auto scale 100.0/80 track.szs # 80%Don't forget the