Options | |||
---|---|---|---|
Option | Param | Description | |
-t | --test | Run in test mode, modify nothing. >>> USE THIS OPTION IF UNSURE! <<< |
|
-q | --quiet | Be quiet and print only error messages. | |
-L | --logging | This debug option enables the logging of internal memory maps. If set twice second level memory maps are printed too. | |
-T | --titles | file | Read file for disc titles. |
--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. | |
-a | --auto | Search WBFS partitions using '/proc/partitions' or searching hard disks in '/dev/' and use all readable as source. This works like »wwt --auto --all«. | |
-s | --source | path | Use the entered file or directory as source. If parameter PATH contains at least one wildcard (e.g. '*.wbfs'), then PATH is used as search pattern and all found files are added. In order to use this variant, the calling shell must not interpret the wildcards. Therefore, the parameter must usually be enclosed in single or double quotes. Directories are expanded to all containing files but hidden files (file names begins with a point) are ignored. If a command needs only images then non image files of the directory are ignored without notification. The option --no-expand suppress the directory expansion. |
--no-expand | Do not expand directories to the containing files or images. This option does not change the behavior of --recurse. | ||
-r | --recurse | path | If If parameter PATH contains at least one wildcard (e.g. '*.wbfs'), then PATH is used as search pattern and all found files are added. In order to use this variant, the calling shell must not interpret the wildcards. Therefore, the parameter must usually be enclosed in single or double quotes. Directories are scanned for source files recursively. The option --rdepth limits the search depth. Hidden files and hidden sub directories (file names begins with a point) and files with non supported file types (non ISO files for most commands) are ignored without notification. |
--rdepth | depth | Set the maximum recurse depth for option --recurse. The default search depth is 10. | |
-x | --exclude | id | A comma separated list with ID4 and ID6 values is expected. |
-X | --exclude-path | file_or_dir | Scan the ID of the source and add it to the exclude list. If the source is a directory then scan all images of the directory. Images with the given ID are excluded from operation. Each use of this option expands the exclude list. See --include-first for precedence issues. |
-n | --include | id | A comma separated list with ID values is expected. |
-N | --include-path | file_or_dir | Scan the ID of the source and add it to the include list. If the source is a directory then scan all images of the directory. Only images with the given ID are included into the operation. Each use of this option expands the include list. See --include-first for precedence issues. |
--include-first | The options --include, --include-path, --exclude and --exclude-path decide which discs are included into the operation. If neither include nor exclude options are used, than all disc are included into the operation. If only include options are used, than only the specified discs are operated. If only exclude options are used, than all all discs but not the excluded are operated.
If include and exclude options are used together and |
||
-1 | --one-job | Execute only the first job and exit. This is a shortcut for »--job-limit 1«. | |
--job-limit | num | Execute only the first |
|
-i | --ignore | Ignore non existing files/discs without warning. If set twice then all non Wii and GameCube ISO images are ignored too. | |
--ignore-fst | Disable composing and ignore FST directories as input. This legacy option is a shortcut for --allow-fst=off. | ||
--ignore-setup | While composing ignore the file |
||
--links | Detect soft and hard linked source files while composing or extracting discs and try to create hard links instead of independent copies on the destination file system. | ||
--allow-fst | [=mode] | Enable the usage of extracted images. |
|
--allow-nkit | [=mode] | Enable the detection of NKIT images. Anyway, NKIT images are not supported yet, but detected to print warnings. |
|
--psel | list | This option set the scrubbing mode and defines, which disc partitions are handled. It expects a comma separated list of keywords, numbers and names; all together called parameter. All parameters are case insensitive and non ambiguous abbreviations of keywords are allowed. Each parameter becomes a rule and each rule is appended to a rule list. Rules prefixed by a minus sign are DENY rules. Rules prefixed by a plus sign or without a prefix are ALLOW rules. Each partition is compared with each rule until a rule matches the partition. If a match it found, the partition is enabled for a ALLOW rule or disabled for a DENY rule.
The allowed keywords are: |
|
--raw | Abbreviation of »--psel RAW«. | ||
-W | --wdf | [=param] | Set the image output file type to WDF (Wii Disc Format). The output format is either WDFv1 or WDFv2 (default). It depends of the input file format and of the aligning. --wdf=param is a short cut for »--wdf --align-wdf=param«. |
--wdf1 | [=param] | Set image output file type to WDF and force version 1. --wdf1=param is a short cut for »--wdf1 --align-wdf=param«. | |
--wdf2 | [=param] | Set image output file type to WDF and force version 2. --wdf2=param is a short cut for »--wdf2 --align-wdf=param«. | |
--align-wdf | [align][,minhole] | Parameter
The optional parameter |
|
-I | --iso | Set image output file type to PLAIN ISO. | |
-C | --ciso | Set image output file type to CISO (Compact ISO, same as WBI). | |
-B | --wbfs | Set image output file type to WBFS (Wii Backup File System, default). | |
-d | --dest | path | Define a destination directory for the skeleton files. The default is »--DEST ./.skel/«. |
-D | --DEST | path | Like --dest, but create the directory path automatically. |
All copied data is placed at the same location as its origin. Because of this a skeletion looks like a Wii discs, but all files are zeroed. Moreover the skeleton is decrypted and all hash values are removed. The typical size of a skeleton is about 4KB up to 700KB. Because of decryption a skeleton is compressible.
The main idea of skeletons is to have a small size database of all discs for further analysis. The command »wit DUMP --show all« can create a complete info dump of a disc by using the skeleton. The skeletons hold enough data to analyze the disc geometry, to find common files (e.g. WAD files in update partitions) in all discs, to compare all cerificates and more. Skeletons can also be used for include and exclude lists.
Extracting files of a skeleton is also possible, but only some files have real content. The content of most files (and of all real files) is zeroed bytes.
The output is placed in a subdiretory named
The options --dest and --DEST define another skeleton directory.
The options --wdf, --iso, --ciso and --wbfs changes the output
file format and the file extension.
Default is file format WDF (minimal file size for this purpose)
and file extension
Example:
Scan the current directory recursive for Wii discs and stores the skeleton
of the found discs into the directory
Here is a memory dump of a skeleton of "Wii Play". All non named areas contain only bytes with value NULL. The dump is printed if using the option --logging while creating a skeleton (»wit skeleton --logging ...«).
offset .. offset end size comment ---------------------------------------------------------- 0 .. 50000 50000 Disc header of RHAP01 50000 .. 502c0 2c0 ticket, id=.UPP 502c0 .. 504c8 208 tmd, id=.UPP 504e0 .. 50ee0 a00 cert 703f6 .. 70400 a Marker '[SKELETON]' 70400 .. 70840 440 boot.bin, id=RELSAB 70840 .. 72840 2000 bi2.bin 72840 .. 72860 20 apploader/header a8b00 .. a8c00 100 main.dol/header a8d00 .. a8efc 1fc fst.bin f800000 .. f8002c0 2c0 ticket, id=RHAP f8002c0 .. f8004c8 208 tmd, id=RHAP f8004e0 .. f800ee0 a00 cert f8203f6 .. f820400 a Marker '[SKELETON]' f820400 .. f820840 440 boot.bin, id=RHAP01 f820840 .. f822840 2000 bi2.bin f822840 .. f822860 20 apploader/header f858b00 .. f858c00 100 main.dol/header fbf1300 .. fbf2b40 1840 fst.bin
0 == OK : all done without errors. SYNTAX ERROR : at least one syntax error in command line found. READ ERROR : error while reading a file. WRITE ERROR : error while writing a file. CANT CREATE : Can't create output file.