SZS Change Log
1. szs v1.33a r4983 - 2014-03-01
- Colorized patch log.
- New Command: wszst COPY source dest: COPY is an alternative command for
copying and pathing files. It uses the same internal procedure as command
PATCH, but has another command line syntax.
- New mode for option --kmp: FIX-CKJGPT: Fix invalid links to respawn points.
- wszst CHECK: Test geometry of images:
- Warnings about invalid images with zero width or height.
- Warnings about images with width or height not power of 2.
- Hints about images with width or height >1024.
See http://szs.wiimm.de/cmd/wszst/check#testlist for details.
- wszst CHECK: Count and warn about the number of vertices in MDL files
of 'course_model.brres', 'map_model.brres' and 'vrcorn_model.brres',
and about the total of all MDL files.
- New KMP checks for wszst+wkmpt CHECK:
- STGI: Print modified lap counter.
- STGI: Print invalid start position or mode.
- STGI: Print defined speed modifier.
See http://szs.wiimm.de/cmd/wkmpt/check#testlist for details.
- The tools 'wkclt' and 'wbmgt' accept the literal "0" as source filename for
an empty file (like "-" for stdin).
- Windows only: Cygwin update to v1.7.28 2014-02-09.
2. szs v1.32a r4958 - 2014-02-07
- wszst+wbmgt: Options --color and --no-color have new meanings (see next
point). Instead of the old option --no-color, there is a new option named
--no-bmg-color to suppress '\c{color}' escape sequences of BMG files.
- New global options for all tools: Option --color forces colorized text. It
is enabled by default for output to terminals. Option --no-color disables
colorized text at all. At the moment only the commands COLORS, CHECK and
SLOTS support colorized text.
- New command: COLORS: Test colorized text by printing it in different modes
(colors, bold, underline). Also test the options --color and --no-color.
- Bug fix: A patched BMG file was not marked as dirty (and not written), if
only some characters in the second half of the string are modified and the
length don't change (compared N bytes and not N words).
- Bug fix: wstrt patch --region=name: New assignment of region names to
region numbers: 0=Japan, 1=America, 2=Europe, 3=Australia, ...
- KMP/STGI: Support of the last 2 bytes as `speed modifier':
- On output, the factor is appended as comment.
- On input, a floating point number instead 2 single bytes is accepted
as speed mulitplier. The floating point number is rounded to the nearest
possible number (16 bit cut float with only 7 bits for the mantissa).
- New option for tools wszst and wkmpt: --speed-mod=factor: Define a speed
modifier and patch KMP files.
3. szs v1.31b r4841 - 2014-01-17
- KCL bug fix: Creating and managing the flag file failed sometimes.
4. szs v1.31a r4828 - 2014-01-03
- BMG handling: \c{color} escape sequences in text output are now enabled
by default. To be compatible with old tool versions (v1.22a released at
2013-09-14 and older versions), use option --no-color.
- wctct: Support of hex coded filenames for the 32 original tracks.
- Windows only: Cygwin update to v1.7.27 2013-12-09.
- New option: wstrt --all-ranks: Manipulate a query for Nintendos servers, so
that all players in a region are found independent of their ranking points.
5. szs v1.30a r4810 - 2013-12-27
- Object export (wkclt DECODE & wkmpt DRAW):
- The default for normals changed. Normals will only be included if the
keyword NORMALS of option --kcl is set. The new default is better for
the SketchUp OBJ importer plugin in time and correctness.
- The ambient color of the material 'Ka' is not longer defined.
- Bug fix: If the object needed more than 65535 vertices, then a wrong OBJ
was written with indices modulo 65536.
- wkmpt DRAW: The following objects are drawn in correct size and with a
recognizable form and color: itembox, obakeblockSFC*, dokan*, karehayama
and all trees.
- KCL: Improved error system, if a KCL has more than 65535 normals. Before
aborting, the normals are rounded in multiple steps to find duplicates.
6. szs v1.29a r4788 - 2013-12-13
- Command 'wkmpt COBJECT' was renamed to the more intuitive name
'wkmpt DRAW'. The old command name can still be used.
- Option --draw has now a short twin: -w
- Option --draw supports the new keyword SOLIDOBJECTS: Draw all solid objects
without any route as a blue octahedron. At the moment, the native object
size, scaling and rotation are ignored.
- Command 'wkmpt DRAW --draw ITEMBOXES' draws itemboxes like in-game as a
grey cube with a vertex down. The color for itemboxes with special items
for players or enemies is dark grey.
- New KCL script functions: tri$createOctahedron(), tri$createAntiPrism()
and tri$createAntiArrow().
7. szs v1.28a r4771 - 2013-12-09
- There was a disorder using the escape sequences '%E' and '%T' for file
extensions/types. '%E' included a leading point, '%T' only sometimes.
Henceforth both will include then leading '.' or are empty, if no file
extension is available. So the earlier '%N.%T' becomes '%N%T'.
- Command wkmpt COBJECT will now also draw the start position with area, the
respawn positions with area, the POTI routes and standard itemboxes. See
http://szs.wiimm.de/opt/draw for details.
- Command wkmpt COBJECT: Check points with quadrilateral warnings are drawn
in red. This option can be disabled by --draw=-warn.
- New KMP check: Test, if all enemy and item root points are inside of at
least one convex check point quadrilateral.
8. szs v1.27a r4742 - 2013-11-24
- Bug fix: Occasional a triangle was marked as invalid by mistake, if it was
inserted by the script function tri$create() (option --kcl-script).
- Minimap fixing: From now the minmum and maximum values of the MDL.s1 root
are set too.
- KMP check: A test added, which controls, that the check points are not to
near together and that they build convex quadrilaterals.
See http://szs.wiimm.de/cmd/wkmpt/check#desc for check details.
- KMP check: Some WARNINGS are HINTS now.
- New transformation option: --tform-script=script
The script is loaded and a macro is called for every vertex. So it is
possible to add user defined and also non linear transformations.
See http://szs.wiimm.de/opt/tform-script for details.
- New parser functions: status(), len2(), hlen2(), sideOfLine(),
ptInConvexPolygon(), ptsInConvexTri(), ptsInConvexQuad().
See http://szs.wiimm.de/cmd/wszst/functions#desc for details.
9. szs v1.26a r4726 - 2013-11-10
- Bug fix: A patched file was not marked as dirty (and not written), if only
BMG was patched and only with modes 'ID' or 'ID-ALL'.
- New option --export (-X): Enable the export modus and create small and
machine readable text files for easy post processing. The option works
similar like -HBB for KMP and like -HBl11 for BMG text files.
- Windows version only: Update to Cygwin v1.7.25. I hope that it fixes the
bug that occurred during creation of MKW-Fun 2013-10 with Windows 8.1.
11. szs v1.24a r4703 - 2013-10-14
- Bug fix for wctct: Winning + losing ceremony after GP enabled.
- wctct: More possible names for music and property ids.
See http://szs.wiimm.de/doc/slot-id for details.
- Transforming complete tracks: VRCORN will now patched by default, if not
excluded by option --patch-file=list.
- Linux 'make': LIBPNG will be linked as static library, if available.
12. szs v1.23a r4682 - 2013-10-05
- Exported BMG text files will now show all characters of the Unicode Basic
Multilingual Plane (BMP; codes <=0xfffd) without escape sequences. New is,
that surrogates and private ranges are always printed as escape sequences.
- New options for BMG text output: --color and --no-color: If enabled, colors
are printed as new escape sequence "\c{color}". 'color' is eihter a known
color name or a hex number with 4 digits. At the moment, --no-color is
the default to avoid problems with old versions and other externl tools.
In 2014 --color shall become the default. However, the BMG text scanner
accepts the new escape sequence from now and independent of these options.
- New modes for option --patch-bmg: 'ID', 'ID-ALL', 'CT-COPY' and 'CT-FILL'.
See http://szs.wiimm.de/opt/patch-bmg for details.
- New command: wstrt DUMP: Dump the data structure of DOL files as text.
- wstrt ANALYZE: Analyze DOL files and compare them section by section with
the orginal main.dol file of MKWii.
- New command: wstrt EXTRACT: Extract the sections of a DOL file into a
directory. StaticR.rel files are ignored.
- New global option: --ctcode: Enable the CT-CODE modus of the tools.
See http://szs.wiimm.de/doc/ctcode for details and about CT-CODE.
- wstrt PATCH --add-ctcode: Add CT-CODE to original main.dol files.
- New tool: wctct: Manage CT-CODE. See http://szs.wiimm.de/wctct and
http://szs.wiimm.de/doc/ctcode for details.