Since v0.24a, Wiimms SZS Tools are able to shift, scale and rotate horizontally all KMP values. If a course model was scaled, the position, size and perhaps rotation values if the KMP must be scaled too. Wszst patch -quiet path/to/Scene/UI/*_?.szs -patch-bmg "replace=PATCH_FILE.txt" The following command patches all BMG files included into all SZS of directory. If a MID is defined twice, the second will override the first one.Leave (or comment) out unmodified track and arena names."Mnn" is an alternative name for the message codes 1194.11f3.(The letter 'A' cant be used because conflicting with a hex number.) "Tnn" will set both track related messages. You can use any message id (MID, in hex notation) to set a message. "Tnn" is only an other notation for message IDs.Indention by spaces and tabs is allowed.Empty lines and lines starting with an hash ('#') are ignored.Lines may be in Unix (LF) or Windows (CR+LF) style.The very first 4 characters of the file must be » #BMG« (without quotes)!.U11 = Track name for first arena (cup 1 arena 1) T11 = Track name for slot 1.1 (cup 1 track 1) The user must only provide one text file with the new track names, all other is done fully automatically by a single command.įirst prepare a text file with the following content:
The following steps describes how to replace the track names of all message files of all supported languages of Mario Kart Wii without destroying any other message. The "-" behind the means: Use stdin (standard input) as file.With Linux or Mac and also with Windows if using the Cygwin environment, it is very easy to extract all SZS files with one command:įind -name '*.szs' | wszst extract -all -overwrite The means: Read the filename from a fie. Add -overwrite to overwrite or -dest=new.szs to give it another filename. This command tries to create a new my.szs, but it won't overwrite it. You can add, remove and/or modify files in the extracted tree: For recreating the archives a text file names 'wszst-setup.txt' is created.Images of TPL, TEX0 and BREFT subfiles files are stored as PNG files.BMG file are decoded and stored as BMG-Text files.Known archives like SZS, U8, BRRES, BREFF and BREFT are extracted recursively.it contains all extracted files and also some control file:
It's very easy to extract a SZS or BRRES archive completely and recursively:Ī directory named "my.d" is created.