prevnext   » WIT: Wiimms ISO Tools » wit: Wiimms ISO Tool » wit create

wit create

Create a system file (TICKET or TMD).

Contents

1.   Syntax

wit CREATE TICKET outfile [--id id] [title_id] [decrypted_key]
wit CREATE TMD outfile [--id id] [--ios ios] [hash_val]

2.   Options

Options
Option Param Description
-t --test Run in test mode, modify nothing.

>>> USE THIS OPTION IF UNSURE! <<<

-d --dest path Define a destination path (directory/file). This path is concatenated with the outfile.
-D --DEST path Like --dest, but create the directory path automatically.
-o --overwrite Overwrite already existing files without warning.
--id id Define an ID for the TICKET or TMD.
--ios ios Define an IOS/SYS-VERSION for the TMD.

3.   Create a ticket file

Syntax: wit CREATE TICKET outfile [--id id] [title_id] [decrypted_key]
This sub command creates a ticket file. The data fields are filled randomly, but in an usal way for wii game discs. Option »--id id« defines an ID with 4 characters for the ticket. If not set, the default id 'WIT0' is used.

title_id is a hex input with 8 bytes. If set it overwrites the random data for the title id. Use a minus sign ('-') to skip this parameter.

decrypted_key is a hex input with 16 bytes. If set it defines the decrypted title key. The decrypted title key together with the title id and the common key index are used to built the title key. Use a minus sign ('-') to skip this parameter.

The output is written to the file output. If --dest or --DEST is set, the option parameter is used as base for output. If only a directory is set, the default filename 'ticket.bin' is used.

4.   Create a tmd file

Syntax: wit CREATE TMD outfile [--id id] [--ios ios] [hash_val]
This sub command creates a tmd file. The data fields are filled randomly, but in an usal way for wii game discs. Option »--id id« defines an ID with 4 characters for the tmd. If not set, the default id 'WIT0' is used. Option »--ios ios« defines an IOS for the tmd. If not set, IOS 35 is sued.

hash_val is a hex input with 20 bytes. For Wii discs it is the value of H4 (SHA1 hash of the h3 data). Normally this parameter is not needed. Use a minus sign ('-') to skip this parameter.

The output is written to the file output. If --dest or --DEST is set, the option parameter is used as base for output. If only a directory is set, the default filename 'tmd.bin' is used.

5.   Usual error/exit codes:

0 == OK      : all done without errors.
SYNTAX ERROR : at least one syntax error in command line found.
WRITE ERROR  : error while writing a file.
CANT CREATE  : Can't create output file.