Wiimms SZS Tools

From Custom Mario Kart
Revision as of 20:18, 30 March 2011 by Wiimm (talk | contribs) (Created page with "== Introduction == '''Wiimms SZS Tools''' should be a set of different tools to manipulate SZS files. All tools are command line tools and run without any interaction. The main...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

Wiimms SZS Tools should be a set of different tools to manipulate SZS files. All tools are command line tools and run without any interaction. The main goal is to run them in batch files and scripts to automate recurring jobs. At this moment the tools are alpha and there is only one tool:

  • wszst : Wiimms SZS Tool

A second tool to change the content of message files is planned. Both tools together can be used to change the track names of all message files of all languages without interaction.

This toolser will not replace the SZS Modifier or SZS Explorer, because they are interative tools with GUI support.

wszst (Wiimms SZS Tool)

wszst is a command driven tool. Only a few commands are implemented yet; other will follow.

wszst HELP

The HELP command print the built in help. Type wszst HELP for a general help. Add a command to print command specific help:


wszst : Wiimms SZS Tool : It can list, analyze, extract and compose SZS files.

Syntax: wszst [option]... command [option|parameter|file]...

Commands:

  VERSION          : Print program name and version and exit.
  HELP       | H   : Print help and exit. If the first non option is a valid
                     command name, then a help for the given command is
                     printed.
  TEST             : Test options: All options are allowed, some are printed.
  ERROR      | ERR : Translate exit code to message or print a table with all
                     error messages if not exit code is given.

  LIST       | LS  : List all sub files of SZS and U8 files.
  LIST-L     | LL  : List all sub files with size. 'LIST-L' is a shortcut for
                     'LIST --long.
  LIST-LL    | LLL : List all sub files with offset and size. 'LIST-LL' is a
                     shortcut for 'LIST --long --long'.
  DECOMPRESS | DEC : Decompress SZS files. The default destination is
                     '%P/%N.u8'.
  COMPRESS   | COM : Create compressed SZS files. The default destination is
                     '%P/%N.szs'.
  EXTRACT    | X   : Extract all sub files of SZS and U8 files. The default
                     destination is '%P/%N.d/'.

wszst LIST

The command LIST list the sub files of SZS Files.

wszst LIST sourcefiles

wszst DECOMPRESS

The command DECOMPRESS decompresses a SZS File and stores the decompressed data into file.

wszst DECOMPRESS sourcefiles --dest destination

wszst COMPRESS

The command COMPRESS compresses a binary file and creates SZS File.

wszst COMPRESS sourcefiles --dest destination

wszst EXTRACT

The command EXTRACT extracts the sub file of source files and copy the files into a directory structure.

wszst EXTRACT sourcefiles --dest destination_directory

Download

Download an alpha version of Wiimms SZS Tools:

Mac support is planned.

Links