» WIT: Wiimms ISO Tools » wwt: Wiimms WBFS Tool » wwt format

# wwt format

Initialize (=format) WBFS partitions and files. Combine with --recover to recover discs.

## 1. Syntax

    wwt FORMAT file|blockdev...

## 2. Options

Options
Option | Param | Description
--- | --- | ---
`-T` | `--titles` | file | Read file for disc titles. -T/ disables automatic search for title files.
| `--utf-8` |  | Enables UTF-8 support for filenames (default).
| `--no-utf-8` |  | Disables UTF-8 support for filenames.
| `--lang` | lang | Define the language for titles.
`-v` | `--verbose` |  | Be verbose and explain the actions.
`-s` | `--size` | size | Define then total size of a WBFS file. 'size' is a floating number optionally followed by one of the single letter factors 'kKmMgGtT'. This value is only used while creating a new WBFS file.
`-z` | `--split` |  | Enable output file splitting. The default split size is 4 GB.
`-Z` | `--split-size` | sz | Enable output file splitting and define a split size. The parameter 'sz' is a floating point number followed by an optional unit factor (one of 'cb' [=1] or 'kmgtpe' [base=1000] or 'KMGTPE' [base=1024]). The default unit is 'G' (GiB).
| `--hss` | size | Define HD sector size. The parameter 'size' is a floating point number followed by an optional unit factor (one of 'cb' [=1] or 'kmgtpe' [base=1000] or 'KMGTPE' [base=1024]). Only power of 2 values larger or equal 512 are accepted. The default value is 512.
| `--wss` | size | Define WBFS sector size. The parameter 'size' is a floating point number followed by an optional unit factor (one of 'cb' [=1] or 'kmgtpe' [base=1000] or 'KMGTPE' [base=1024]). Only power of 2 values larger or equal 1024 are accepted. If not set the WBFS sector size is calculated automatically.
| `--recover` |  | Format a WBFS in recover mode: Write the WBFS sector, but don't reset the disc info area. Then look into each disc slot to find valid discs and restore them.
| `--inode` |  | Force creating inode infos with predefined timestamps. The timestamps reduce effect of sparse files. This option is set for devices automatically.
`-t` | `--test` |  | Force test mode and ignore --force.
`-f` | `--force` |  | This option is needed for leaving test mode and for real formatting!