wwt: Wiimms WBFS Tool V0.00c - 2009-09-30A command line WBFS tool for linux.I like to work with the linux command line. And the only WBFS tool I found is poor in viewing information and perhaps buggy (I have destroyed the WBFS 2 times). And because of that I have written a new command line tool for linux.
Some special features:- Supports sparse files (files with holes) to save disc space.
- May store truncated ISO images (option --trunc) to save disc space.
- Support WBFS on block devices and as plain files.
- Find WBFS partitions on block devices automatically.
- Multi WBFS support:
- List multiple WBFS together.
- Copies ISO images to multiple WBFS with one command.
- Remove ISO images from multiple WBFS with one command.
- Searches multiple WBFS for extracting discs.
- Advanced shell support:
- Exit codes are explaind by the tool itself.
- Output controlling with --quiet and --verbose.
- Several listings, some of them machine readable.
- May read parameters from files.
I have tested this tool very well and the software do what I want.
But the usage is dangerous like usage of any Alpha-Software!
Please test the software! Comments are welcome!
Download: http://wiimm.de/x/wwt-v0.00c-r145.tar.gz (Documentation is included)
And here is the output of 'wwt --help':CODE
# wwt --help
wwt: Wiimms WBFS Tool V0.00c r145 - Dirk Clemens - 2009-09-30
This is a command line tool to manage WBFS partitions and Wii ISO Images.
Syntax: wwt [option]... command [option|parameter|@file]...
Commands:
HELP | ? : Print this help
ERROR | ERR : Translate exit code to message.
FIND | F : Find WBFS partitions.
SPACE | DF : Print disc space of WBFS partitions.
DUMP | DP : Dump the content of WBFS partitions.
ID6 | ID : Print ID6 of all discs of WBFS partitions.
LIST | LS : List all discs of WBFS partitions.
LIST-L | LL : Same as 'LIST --long'.
LIST-A | LA : Same as 'LIST --auto --all --long'.
LIST-M | LM : Same as 'LIST --mixed --all --long'.
LIST-U | LU : Same as 'LIST --unique --all --long'.
FORMAT | INIT : Format WBFS partitions.
? CHECK | FSCK : Check WBFS partitions.
ADD | A : Add ISO images to WBFS partitions.
EXTRACT | X : Extract discs from WBFS partitions as ISO images.
REMOVE | RM : Remove discs from WBFS partitions.
? COPY | CP : Copy discs from one to another WBFS partition.
? SCRUB | SC : Scrubs Wii ISO images (fills holes with zeros).
Commands marked with '?' are not implemented yet.
Options:
-h --help Print this help, ignore other options+parameters and exit.
-q --quiet Be quiet -> print only error messages and needed output.
-v --verbose Be verbose -> print as much infos as possible.
-t --test Run in test mode, modify nothing.
-T --titles file Read file for disc titles; -T/ disables this feature.
--utf-8 Enables UTF-8 support (default).
--no-utf-8 Disables UTF-8 support.
-A --all Use all WBFS partitions found.
-a --auto Search for WBFS partitions using /proc/partitions.
-p --part part File of primary WBFS partition. Multiple usage allowed.
-p --part @file Special case: read partition list from 'file' ('-'=stdin).
-P --part2 part File of secondary WBFS partition.
-d --dest path Defines a destination file/directory.
-s --size size Size for a new partition. Factors: bckKmMgGtT, default=G.
-f --force Force operation without query.
-o --overwrite Overwrite existing files
-0 --sparse Enables zero block searching.
-C --trunc Trunc ISO images while writing.
-r --remove Remove source if operation is successful.
-l --long Print in long format. Multiple usage possible.
-m --mixed Print disc infos of all WBFS in mixex mode.
-u --unique Eliminate multiple entries with same ID6.
-H --no-header Suppress printing of header and footer.
-S --sort Sort by -=none I=ID N=name R=region S=size W=WBFS D=default
Options marked with '?' are useless yet.
Usage:
HELP | ? [ignored]...
ERROR | ERR [error_code] // NOT ANY OPTION
FIND | F -p part -a -A -ll -H [wbfs_partition]...
SPACE | DF -p part -a -A -l -H [wbfs_partition]...
DUMP | DP -p part -a -A -l [wbfs_partition]...
ID6 | ID -p part -a -A -u -S [wbfs_partition]...
LIST | LS -p part -a -A -l -m -u -H -S [wbfs_partition]...
LIST-* | L* -p part -a -A -l -m -u -H -S [wbfs_partition]...
FORMAT | INIT -s size -f file|blockdev...
ADD | A -p part -a -A -r -o iso_image...
EXTRACT | X -p* -d* -a -A -u -r -o -C -0 id6...
REMOVE | RM -p part -a -A -u -f id6...
The options --help, --quite, --verbose, --test, --titles,
--utf-8 and --ansi may be used with all commands.
Last changes:CODE
wwt V0.00c r145 - 2009-09-30
- EXTRACT & REMOVE: -tt (--test twice) => print normalized ID6 list and exit.
- EXTRACT: option --unique enabled.
- EXTRACT & ADD: progress info enabled with -vv.
- New processing of ID6 parameters.
- Bug fix: the long option --sort does'n take a parameter.
- Output of LIST improved.
- The read and write file subroutines are rewritten. ==> tests needed.
- The new option --sparse enables improved sparse handling.
Edited by Wiimm, 30 September 2009 - 05:56 PM.