Wiimms, auteur des outils de manipulation de fichier image de jeu WIT/WWT, propose maintenant un utilitaire de traitement les fichiers SZS. Cet utilitaire fonctionne uniquement en ligne de commande. Lintérêt par rapport au autre outils de manipulation de ce type de fichier est la possibilité de faire des traitement par batch (traitement par lot). Bien entendu, Wiimms SZS Tools n'est pas un substitut à SZS Modifier, qui possède une interface graphique bien plus conviviale et interactive.Consultez le site officiel pour voir la lite des opérations possible avec Wiimms SZS ToolsCet outil peut fonctionner sous Windows/Linux/Mac os. La version présente sur wii-info est la version Windows. Rendez-vous sur le site officiel pour obtenir les autres versions.szs v1.02a r3992 - KCL: Detect invalid triangles (e.g. length=0) on OBJ import. - Option --kcl: There are now 2 groups of removing commands: - 'DROP*' drop unused, invalid or fixed triangles (bad triangles). - 'RM*' remove triangles with special characteristics. At this moment RM-FACEDOWN is the only command of the 'RM*' class: It will remove all face down drivable triangles to avoid KCL glitches. - File DB: Sub files 'kinoko_*.kcl' are now assigned to object group 'kinoko'. - Update of the KMP Object database.szs v1.01a r3987- Command "wszst MINIMAP" can now automatically adjust the minimap, if the new option --auto is set. It analyses MDL section 2 (vertex list) to find the minimum and maximum values. Then it makes the ranges 4% wider, store the calculated values in 'posRU' and 'posLD' of the MDL and calculate the transformation matrices. The command is very flexible and can modify the map of SZS, U8, BRRES and MDL0 files.See http://szs.wiimm.de/opt/auto for details.szs v1.00a r3958 - wkmpt COBJECT --draw=modelist: - Mode 'JGPT': Draw arrows at respawn positions. - Mode 'CJGPT' does what the old 'JGPT' did: Draw connections between check points and respawn positions. - Mode 'CNPT': Draw arrows instead of lines. - New command "wszst MINIMAP": Print and optional patch the releavant minimap data of a SZS, U8, BRRES or MDL file. Supported patching options: --touch, --xcenter, --ycenter, --zcenter, --center, --scale, --shift, --xss, --yss and --zss.Version 0.42a- Linux+Mac: The math library is now included explicitly to avoid a linking failure on some systems.- Bug fix: Assigning values to private macro variables has overwritten existing variables in the standard or global namespace.- New parser command: '@PARAM': Define a parameter name list for macro and function calls.- 'ROUTE-ITEMBOX' replaced by a more flexible 'ROUTE-OBJECT'.- New command: wkmpt COBJECT: Create an OBJ file: Load the related KCL and add new faces representing the KMP elements are added. Enemy, item, check and respawn points and cannon destinations are supported at the moment.Option --draw=list decides which elements are included into the OBJ file.See http://szs.wiimm.de/cmd/cobject for more details. - New parser functions: mean(), dir(), xDir(), yDir(), zDir(), rot(), xRot() yRot(), zRot(), axisRot(), tri$createCuboid(), tri$createJoist(), tri$createPrism() and tri$createPyramid(). The tri$create*() functions are internally used to add KMP objects to the OBJ file. - New KCL creating parameter: KCL_BLOW: If calculating the overlay between cubes and triangles, the cubes are blowed up by the some units, so that a triangle may be visible in a neighbor cube. This avoids unexpected rarely effects like bike hopping. The default value is 400. See http://szs.wiimm.de/doc/kcl#KCL_BLOW for more info. * If you have created a KCL with a previous version of my tools, use this command to create a new octree: wkclt encode course.kcl --kcl drop,new --overwrite The file 'course.kcl' will be overwritten with a repaired version.Version 0.41a- Bug fix: The triangle split of a face with exact 4 verteces fails in 50% of all cases (bad optimization). - Bug fix: The parser expression "a?b:c" fails, if the operators not followed by a blank. - Bug fix for some parser functions. - Using a KCL for defining KMP positions: Now it is possible to set a point anywhere and let it fall down until a collision. This is a very good function to place global objects and other points of the KMP. This internal KCL-FALL is available for the user in different stages: - Command "wkclt FALL source point..." for testing. - Parser functions kcl$fall() and kcl$fallFlag() for scripts. - Automatic adjusting of KMP points and objects in the sections CNPT, ENPT, GOBJ, ITPT, JGPT, KTPT, MSPT and POTI.Version 0.40a- Windows version only: Update to Cygwin DLL 1.7.15-1 - The KCL obj export will now create a material file with adequate colors. To disable materials support, use "--kcl -mtl". - KCL flag scanning: Some 3D tools use the generic suffix '_number' in goup names. This may result in a conflict with the automatic detection of KCL flags. Not only therefor, the interface has changed: - If creating an OBJ file, '_Fxxxx' (literal '_F' and 4 hex digits) instead of '_xxxx' is now appended to the group names. - If scanning a groupname, '_Fxxxx' is always accepted as flag value. - The old way to detect flag values is now disabled by default, but can be enabled by different --kcl keywords: 'HEX4' enables '_ffff' (flag), 'HEX23' enables '_tt_vvv' (type and variant) and 'HEX' enables both. - The flag file may define HEX4 and/ot HEX23 to 0 (disable) or 1 (enable) to override the defaults set by option --kcl. - For all groups with unknown flag assignments, the unusal values 0xFFE0, 0xFFC0, 0xFFA0 and so on (all type 0x00 (road), each 0x20 lower) are used in this order. This makes the groups discriminable in the KCL. - The default extension of the flag file is now '.flag' and not longer '.flag.txt'. If scanning both files are searched. - The new option --flag-file=path overrides the default search for a flag definitions file while scanning OBJ files. - New command "wkclt CFF" will create a flag file with all group names as template. - If scanning a OBJ file, faces (polygons) with up to 50 vertices in a plane are supported. Polygons with N>3 are split into adequate triangles. - The user interface of the parser function tri$create() has changed to allow the definition of polygons with any number of verteces. - Bug fix: The naming of some parser functions were wrong: ptInCube*() are renamed to ptInCuboid*(). The obsolete old names are allowed for a while. - New command: wkclt CHECK: Run a KCL check and return 'DIFFER' as exit status if any KCL error found. - The KCL creation is now included into the SZS creator: Touched OBJ files will now converted to KCL automatically if creating a SZS file.Version 0.39a- The KCL code was cleaned and the internal triangle data base has a new optimized data structure. The new KCL tool will create the same KCL as the previous r3774. Only the output of some dump commands and also the created OBJ files have changed. - Three new parser functions for the --kcl-script script: tri$create() : Create a new triangle. tri$scale() : Scale all points of a triangle. tri$hRot() : Rotate all points of a triangle horizontally. tri$unremove() : Clear 'REMOVED' marker tri$isRemoved() : Get 'REMOVED' status. Call "wkclt func tri$" for complete list of all 12 triangle functions. - Command "wkclt OCTREE" renamed to "wkclt TRAVERSE". - New command: wkclt COPY Copy and convert source collision file (KCL or OBJ) to dest. The default destination file format is selected by scanning the file extension of the destination. This is an alternative for the ENCODE and DECODE commands for single copy operations. - Optimization: If input and output are binary KCL files and only KCL flags were changed, then the original KCL data is copied 1:1 to the output file and only the flag values are modifed. Use --kcl=new to build always a new binary KCL and to disable this optimization.Version 0.38a- OBJ import and KCL creation tested with different tracks without issues. - New option --kcl=list: 'list' is a comma separated list with keywords to define options for the KCL processing. Allowed options are: RESET, FAST, NORMALS, OUT-SWAP, IN-SWAP, AUTO, CLIP, DROP, SORT and DEFAULT. See http://szs.wiimm.de/opt/kcl for details. - The transforming options --shift, --scale, -xss, -yss, -zss and --hrot are now available for KCL processing. - Option --kcl-parse renamed to --kcl-script. - Three new parser functions for the --kcl-script script: tri$setPt() : Define new triangle points. tri$shift() : Shift all points of a triangle. tri$remove() : Remove a triangle from the list. If one of these function is used, a new octree is calculated. - New parser functions: sec(), mSec(), uSec() - Several small bugs in the KCL creation removed.Version 0.22a r3166 - The KMP encoder is now a 2 pass compiler and the whole source is scanned twice. In pass 1 only names are defined and warnings are suppressed. In pass 2 all objects are defined. - KMP logging: The job info line is now printed before warnings. - Some new CAME+POTI variables are defined automatically as help for calculated parameters, e.g. came.time or viewpt.len. - If decoding or encoding a KMP, a plausibility check is done. This should help to find KMP errors. Option --no-check disables this check. You can find a detailed list of all checks on the tools website: * http://szs.wiimm.de/cmd/wkmpt/check#desc - New command: wkmpt CHECK: Run a KMP check and return 'DIFFER' on exit status if any KMP error found. - New command: wkmpt OBJECTS: Search objects in the internal object database using the entered keywords and print infos about each found object. Options --brief and --long control the verbosity of output. A online query is also available: http://szs.wiimm.de/cgi/mkw/object - Internal object database updated. - KMP compiler/POTI: New command '$COPY': Copy some or all points from previous defined routes. - KMP compiler/POTI: New commands @shift-route, @hrotate-route, @scale-route: These commands transform all points of a route.Version 0.21a r3142 - Windows version only: Update to Cygwin DLL 1.7.9-1 - Bug fix: If creating a TEX from multiple PNG files, sometimes not all PNG sources were used. - Bug fix: If extracting BRRES files, the informative file '.string-pool.txt' was sometimes empty. - The KMP/CAME text output contains now comments about camera, zoom and view point durations. This helps to find out a good camera setup. - KMP/CAME scanning: If zoom or view point speed is set to value -1, then the value is calculated so that the time coincides with the camera running time. - Internal object database updated. - The following points improve the diagnostic and analysis features: - New wszst command: ILIST (or IL): List all images of an archive. To view all sub archives recursivley, set option --all. Command ILL and ILLL are short cuts for 'ILIST --long' and 'ILIST --long --long'. - New option for tool wszst: --sort (-S): Define a sorting method for the output of commands LIST and ILIST. - New wszst command: MEMORY: Print a (recursive) memory map of all sources. - New option --cut for "wszst LIST" and "wszst MEMORY": Cut different non archive files into peaces (headers, groups, sections, ...) and list these peaces as single sub files for a more detailed analysis. Supported file types: BMG, BREFT-IMG, KMP, TEX, TPL and BRRES sub files.Version 0.21a.beta1 r3092 - New wszst commands: XDECODE (=XD) as short cut for "EXTRACT --decode" and XALL (=XA) as short cut for "EXTRACT --all". - KMP encoder: Support of names for route points (section POTI). - Mipmap support improved: - If reading a TEX or BREFT, all mipmaps are scanned and internal stored. - If reading a TPL file, all images are scanned internal stored. - If reading a PNG, the tools search mipmap files. - If storing a PNG, one PNG file is created for each image. - If saving a format, all images are saved. The mipmaps of TEX and BREFT are resized to have the correct size (half of the previos image). - Option --no-mipmaps disables mipmap support. - Option --n-mipmaps=NUM force the number of mipmaps. If needed, the missing mipmaps are created from the existing images.szs v0.15a r2917 - 2011-08-07 - New tool: wkmpt: Wiimms KMP Tool - wkmpt DECODE: Decode a binary KMP file and store the results as user friendly, but machine readable text file. - wkmpt ENCODE: Encode a text KMP file and store the results binary. Indexing and grouping and some other stuff are done automatically. - wszst EXTRACT: KMP files are decoded automatically. - wszst CREATE: Encode KMP files automatically if changed. - New image options for wszst: --transform= --encode-imgszs v0.14a r2862 - 2011-07-14 - New command: wszst UPDATE: Update sub files in an already existing archive. - wbmgt --patch mode=file: A equal sign '=' is now used to separate mode and filename. The old comma separator ',' is allowed but deprecated. - New option for wimgt: --patch mode=file This option allows to patch images by a list of other images.szs v0.13a r2840 - Bug fix for tool wszst: Tool chrashed when creating BRRES files with empty sub directories. - wszst: Export of internal images (BREFT subfiles, TPL, TEX0) to PNG files is done while extracting archives if decoding is enabled. Supported image formats: I4, I8, IA4, IA8, RGB565, RGB5A3, RGBA32, C4, C8, C14X2 and CMPR. - New tool: wimgt = Wiimms Image Tool : Convert and manage images files. Supported file types: BREFT subfiles, TPL, TEX0 and PNG. - wimgt LIST: List images files and print types and geometry data. - wimgt DECODE: Export an internal image to a PNG file. - wimgt ENCODE: Import PNG images and store them in internal formats. - wimgt CONVERT: Convert formats (file and image format). - All tools: new command FILETYPE (=FT): Scan the header of the entered files and print file type and path for each file as list.Known bugs: - If creating a BRRES the internal name of the sub file is not set to the filename. This could be problematic if a sub file was renamed. - Creating TPL images files with more than 1 image is not supported yet. Only file 'savebanner.tpl' is known to have 2 images.szs v0.12a r2693 - Bug fix for Windows install script: Remove duplicate SZS entries from PATH. - wszst CREATE: Create BREFF and BREFT files.szs v0.11a r2670 - New option: --single-line (-1): No continuation lines for BMG text output. - Support for BREFF and BREFT files: Listing and extraction, but not creation: - wszst LIST: List also BREFF and BREFT files including recursive lists. - wszst EXTRACT: Extract also BREFF and BRRES files. Recursive extraction of theses file types is implemented but disabled because of not implemented creation support.szs v0.10a r2651 - wstrt: Support for NTSC/JAP and KOREA version of StaticR.rel. - wstrt: new command: FIND: Find tracks and arenas by name.Version 0.09a beta- Nouvel outil: wstrt: Outil Wiimms StaticR: Manipule les fichiers StaticR de Mario kart Wii- Il peut analyser les fichiers StaticR et détecte le CGTP 4.4. Corrections et améliorations des commandes track et arena- Il peut patcher les fichiers StaticR et modifier les commandes track et arena. Ainsi il est possible de déplacer les tracks avec une fonction spéciale à d'autre slots- Pour les commandes TRACKS et ARENAS, voir les détails à propos de track et arena- Pour la commande FILES, voir le track et les noms des fichiers son de tous les tracks et arenas dans le format lisible par la machineIMPORTANT: wstrt est en version test !!- Nouvelle option: --tracks=list: cette option permet de définir un ordre de track pour Mario kart Wii. L'outil wstrt utilise cette option pour le patchage de l'ordre du track. Les outils wszst et wbmgt utilisent ceci pour définir le lien entre Txx et les messages ID réels.- Nouvelle option: --arenas=list: Fait la même chose pour les arenas que --track pour les tracksBugs connus: S'il se crée un BRRES, le nom interne du sous fichier n'est pas réglé sur le nom du fichier. Cela pourrait être problématique si un sous fichier venait à être renomméVersion 0.01a beta- Création du projet Source : http://www.wii-homebrew.com/wii-homebrew/wiimms-szs-tools-v102a Site officiel : http://wiki.tockdom.de/index.php?title=Wiimms_SZS_Tools
↧