Jump to content


  • Please log in to reply

Wiimms SZS Tools

, list, (de-)compress, extract and create SZS files (Go to first unread post)
Wiimm Post #1 Posted 31 March 2011 - 05:40 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

I have released Wiimms SZS Tools v0.34a.
(A command line toolset for Linux, Mac and Windows)

What's new:
  • I have now implemented all planned things for the KMP compiler/parser:
    • Variables in different name spaces.
    • Numeric expressions with integers, floats and vectors.
    • Nested if..elif..else..endif.
    • 5 kinds of nested loops.
    • Includes. (new!)
    • Many predefined functions.
    • User defined macros and functions. (new!)
    • Commands for special features.
    • Conditional compiling controlled by command line settings.

    For Details read the new online syntax and semantics documentation:
    .

Change Log:
CODE
szs v0.34a r3659 - 2012-05-12

 - KMP text parser extensions:

    - New commands:
       @INCLUDE "filename": include text files.
       @RETURN [val]: returns from the current input file.
       @EXIT: exit the parser execution.
       @ASSERT condition: exit execution, if 'condition' is false.
       @MACRO .. @ENDMACRO: Define named macros.
       @FUNCTION .. @ENDFUNCTION: Like @MACRO, but can also be used as
          function in numerical expressions.
       @CALL macroname(...): Call a previos defined macro with parameters.
          '@:macroname(...)' is a short cut for '@CALL macroname(...):'
       @DOIF (condition) anytext: Execute 'anytext', if 'condition' is true.

    - New private variable name space: @PDEF
       - P-Variables are only defined for the current source file or function.
       - Loop variables (@FOR,@FOREACH) and macro parameters are defined in
         this new private name space.

 - New options for command FUNCTIONS (list parser functions):
    - Option --long: The entered keys are compared against the description.
    - Option --verbose: The description is printed too.

 - Bug fix: Parser function minMax() returned wrong results.



Links:


Edited by Wiimm, 12 May 2012 - 11:46 AM.



giantpune Post #2 Posted 01 April 2011 - 01:28 AM

    GBAtemp Addict


  • Group: Members
  • Posts: 2,837
  • Member No.: 173,011
  • Joined: 10-April 09

  •  

link doesnt work here


techboy Post #3 Posted 01 April 2011 - 01:33 AM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,581
  • Member No.: 165,217
  • Joined: 15-March 09
  • Location: Pennsylvania

  •  

QUOTE(giantpune @ Mar 31 2011, 07:28 PM) <{POST_SNAPBACK}>
link doesnt work here

Same here. It times out while trying to load...


Wiimm Post #4 Posted 01 April 2011 - 06:55 AM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

Never found any problems with that site. It works now.


Wiimm Post #5 Posted 01 April 2011 - 08:00 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

I published the first release v0.01a. Updates to previous beta:
  • Bug fix for "wstsz CREATE": Wrong calculation of parent directory link.
  • New option: wstsz CREATE --align: Overwrite the default aligment (32=0x20).
  • wstsz LIST: If --long is set three times debugging mode is enabled.
  • wstsz LIST: If listing a directory, then a virtual SZS file is created (like CREATE do it) and listed.
  • New command: wszst DIFF: Compare two sources (each SZS, U8 or directory) on file level and report mismatches for each sub file.
  • TESTS: I have replaced all files of Scene/UI and Race/Course and can playing it without any problems.

Download and more details: Wiimms SZS Tools - Custom Mario Kart


Wiimm Post #6 Posted 04 April 2011 - 07:12 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

A new tool is ready: wbmgt (Wiimms BMG Tool)
* features
* download


Wiimm Post #7 Posted 06 April 2011 - 04:17 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

I have released Wiimms SZS Tools v0.03a.

I have implemented all my needs. Both tools (wszst+wbmgt) are complete now: My main goal was to to replace all track names of Mario Kart in all message files for all languages. For PAL these are 50 SZS files, that must be extracted, modified and created. On my Linux development computer this needs about 4 seconds.

* features
* download



Wiimm Post #8 Posted 15 April 2011 - 03:05 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

I have released Wiimms SZS Tools v0.05a.

I have fixed some minor bugs and improved many little things:

CODE
- Code view & fine tuning (many little things...)

- wszst NORMALIZE: Bug fixed if source does not contain a "." directory.

- wszst CREATE+NORMALIZE: The files are ordered like Nintendo does it.

- New command: wszst SHA1: calculate and print the SHA1 checksum of
   the decompressed data of all source files.

- wszst+wbmgt DIFF: If option --dest is set then all sources are compared
   with the destination.

- New option: wszst --pdir (`point directory'): Decides if a base directory
   named "." should be created. Modes are: REMOVE, AUTO, FORCE.

- New option: --preserve: If set, mtime and atime of the source(s) are used
   to set the destination time stamps.

- wbmgt: If creating a text BMG file option --ho-header (or -H) suppresses
   the output of the syntax information section.

- wbmgt: If creating a text BMG file the message IDs for tracks, battle
   tracks and chat messages will be replaced by 'Txx', 'Uxx' and 'Mxx'.
   This feature is disabled if option ---long is set.


* Features
* Download
* Custom Mario Kart Wiiki



Wiimm Post #9 Posted 27 April 2011 - 11:41 AM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

I have released Wiimms SZS Tools v0.06a.

What's new:
  • Tool wszst can now create BRRES files from scratch. All files of a directory structure are included.
  • Tool wszst can now extract and create SZS, U8 and BRRES files recursivley. This makes access to any component very easy.
  • Tool wszst is able to decode or encode BMG files while extracting or creating archives.



Change Log:
CODE
szs v0.06a r2540 - 2011-04-27

- If extracting a SZS, U8 or BRRES archive a file named 'wszst-setup.txt' is
   created. It contains some infos for a following creation.

- New option --ignore-setup: Ignore setup file 'wszst-setup.txt'.

- Option --pdir renamed to --pt-dir. --pdir is still allowed.

- wszst CREATE: Can now create a BRRES file as copy of a directory structure.

- wbmgt: If creating text BMG files, than unicode escapes "\z{801,hexnum}"
   are written as \u{hexnum}. v0.05a can already scan such unicode escapes.

- wbmgt: new patch mode "print": create a new text using %s-escapes (like
   print functions) to insert the old one.

- "wszst EXTRACT" can extract recursive and can decode BMG files on the fly.
   This is controlled by the options --recurse, --decode and --all. All needed
   information for recreation is stored in the setup file 'wszst-setup.txt'.

- "wszst CREATE" creates a recursive directory structure created by EXTRACT
   using 'wszst-setup.txt' as script. Files will be encoded again.


Links:




Wiimm Post #10 Posted 17 May 2011 - 05:52 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

I have released Wiimms SZS Tools v0.09a.

What's new:
  • New tool: wstrt: Wiimms StaticR Tool: manipulate StaticR files of MKW.
  • 2 new option for all 3 tools: --tracks and --arenas: Define a new track and/or arena order.


Change Log:
CODE
szs v0.08a r2617 - 2011-05-12

- Improved support for BRRES sub file versions (more string pointers).

- wszst EXTRACT --raw: Extract BRRES sub file in raw mode and do not adjust
   string pointers and other offsets.


szs v0.09a r2636 - 2011-05-17
- New tool: wstrt: Wiimms StaticR Tool: manipulate StaticR files of MKW.

    - It can analyze StaticR files and detects CTGP 4.4. patches and
      modifications of track and arena orders.

    - It can patch StaticR files and modifies the track and arena order.
      So it is possible to move tracks with special features (like snow
      or fog) to other slots.

    - Commands TRACKS and ARENAS show details about tracks and arenas.
      The order may be in StaticR related order.

    - Command FILES shows the track and sound file names of all tracks and
      arenas in machine readable format (not vertically formatted, one space
      to separate columns). The order may be in 'StaticR' related order.

   IMPORTANT: wstrt is EXPERIMENTAL!

- New option: --tracks=list: This option allow to define a new track order
   for Mario Kart Wii. Tool wstrt uses this option for patching the track
   order. Tools wszst and wbmgt use this to define the relation between Txx
   and real message IDs.

- New option: --arenas=list: Does the same for arenas as --tracks for tracks.


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.


Links:




Wiimm Post #11 Posted 21 May 2011 - 07:14 AM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

I have released Wiimms SZS Tools v0.10a.

What's new:
  • wstrt (Wiimms StaticR Tool): support of JAP and KOREA version of StaticR files.


Change Log:
CODE
szs v0.09a r2636 - 2011-05-17
- New tool: wstrt: Wiimms StaticR Tool: manipulate StaticR files of MKW.

    - It can analyze StaticR files and detects CTGP 4.4. patches and
      modifications of track and arena orders.

    - It can patch StaticR files and modifies the track and arena order.
      So it is possible to move tracks with special features (like snow
      or fog) to other slots.

    - Commands TRACKS and ARENAS show details about tracks and arenas.
      The order may be in StaticR related order.

    - Command FILES shows the track and sound file names of all tracks and
      arenas in machine readable format (not vertically formatted, one space
      to separate columns). The order may be in 'StaticR' related order.

   IMPORTANT: wstrt is EXPERIMENTAL!

- New option: --tracks=list: This option allow to define a new track order
   for Mario Kart Wii. Tool wstrt uses this option for patching the track
   order. Tools wszst and wbmgt use this to define the relation between Txx
   and real message IDs.

- New option: --arenas=list: Does the same for arenas as --tracks for tracks.


szs v0.10a r2651 - 2011-05-21

- wstrt: Support for NTSC/JAP and KOREA version of StaticR.rel.

- wstrt: new command: FIND: Find tracks and arenas by name.


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.


Links:




Wiimm Post #12 Posted 04 June 2011 - 12:52 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

I have released Wiimms SZS Tools v0.11a.

What's new:
  • Tool wszst can now list and extract BREFF and BREFT files.


Change Log:
CODE
szs v0.10a r2651 - 2011-05-21

- wstrt: Support for NTSC/JAP and KOREA version of StaticR.rel.

- wstrt: new command: FIND: Find tracks and arenas by name.


szs v0.11a r2670 - 2011-06-04

- 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 inlcuding 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.


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 BREFF and BREFT file is not implemented yet.


Links:




Wiimm Post #13 Posted 16 June 2011 - 01:40 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

I have released Wiimms SZS Tools v0.12a.

What's new:
  • Tool wszst can now list, extract and create BREFF and BREFT files.


Change Log:
CODE
szs v0.11a r2670 - 2011-06-04

- 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 inlcuding 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.12a r2693 - 2011-06-16

- Bug fix for Windows install script: Remove duplicate SZS entries from PATH.

- wszst CREATE: Create BREFF and BREFT files.


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.


Links:




giantpune Post #14 Posted 04 July 2011 - 09:45 AM

    GBAtemp Addict


  • Group: Members
  • Posts: 2,837
  • Member No.: 173,011
  • Joined: 10-April 09

  •  

have you tried your tools on the bmg files in the system menu? these seem to used for the same purpose - storing text that is displayed on the screen. i gave it a shot and your tool said that it was an invalid file. IDK if the file format is changed or maybe i just didnt do it right.


Wiimm Post #15 Posted 04 July 2011 - 08:19 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,527
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

No I haven't. But perhaps I will do now.







Users browsing this topic

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users