Difference between revisions of "WU8 (File Format)"

From Custom Mario Kart
Jump to navigation Jump to search
m
Line 13: Line 13:
  
 
== Usage ==
 
== Usage ==
???
+
 
 +
This part describes the commands of [[Wiimms SZS Tools]], the only tools that support WU8 files.
 +
 
 +
=== Create a WU8 file ===
 +
 
 +
To create a WU8 file, just type ...
 +
wszst normalize --wu8 mytrack.szs
 +
... where '''mytrack.szs''' is the track file. An new file named '''mytrack.wu8''' is created.
 +
 
 +
Add some of theses options:
 +
* Add '''--overwrite''' ('''-o'''), to overwrite an existing file.
 +
* Add '''--dest file''' ('''-d file''') to create the WU8 file with an alternative file name.
 +
* Add '''--DEST file''' ('''-D file''') to create the WU8 file with an alternative file name and if the destination directory does not exist.
 +
 
 +
=== Decode a WU8 file ===
 +
 
 +
Decoding a WU8 file is simple as encoding it. Just type ...
 +
wszst normalize --u8 mytrack.wu8
 +
... where '''mytrack.wu8''' is the track file. An new file named '''mytrack.szs''' is created. YOu can sue the same options as above.
  
 
== Creating the Auto-Add Library ==
 
== Creating the Auto-Add Library ==

Revision as of 16:11, 18 October 2012

The file format WU8 (Wiimms U8) was developed by Wiimm for his SZS Tools. It is designed to allow exchanging of custom tracks over the Internet without any Nintendo stuff and without license problems. The design is similar to the file format U8, but it is encrypted in a simple way (XOR only). A WU8 can only decrypted, if the original and unique objects files (BRRES, BREFT, BREFF, BRASD and KCL) are stored in a local library (called auto-add library).

A decoded WU8 file is identical to the original and normalized source file.



Algorithm

???

Usage

This part describes the commands of Wiimms SZS Tools, the only tools that support WU8 files.

Create a WU8 file

To create a WU8 file, just type ...

wszst normalize --wu8 mytrack.szs

... where mytrack.szs is the track file. An new file named mytrack.wu8 is created.

Add some of theses options:

  • Add --overwrite (-o), to overwrite an existing file.
  • Add --dest file (-d file) to create the WU8 file with an alternative file name.
  • Add --DEST file (-D file) to create the WU8 file with an alternative file name and if the destination directory does not exist.

Decode a WU8 file

Decoding a WU8 file is simple as encoding it. Just type ...

wszst normalize --u8 mytrack.wu8

... where mytrack.wu8 is the track file. An new file named mytrack.szs is created. YOu can sue the same options as above.

Creating the Auto-Add Library

???