Jump to content


  • Please log in to reply

wwt+wit: Wiimms WBFS+ISO Tools

, A command line tool set for Linux, Mac, Windows, ... (Go to first unread post)
Wiimm Post #1 Posted 28 September 2009 - 10:43 AM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,528
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  


Posted Image

WIT: Wiimms ISO Tools v2.05b - 2012-04-20
A command line ISO+WBFS tool set for various os.

WIT (Wiimms ISO Tools) is a set of command line tools to manipulate Wii ISO images and WBFS containers. The two main tools are called wit (Wiimms ISO Tool) and wwt (Wiimms WBFS Tool, the WBFS manager).

Feature overview:
Visit http://wit.wiimm.de/features.html for more details.

Download of the current version:

There are also some GUI available:

Change log:

CODE
wit v2.05b r3611 - 2012-04-20

 - Bug fix for assertion failure in "wwt RECOVER".




The source is published under the license of GPL2. Checkout the sources directly from the SVN repository or browse the source. Visit http://wit.wiimm.de/ for more information.


Edited by Wiimm, 20 April 2012 - 04:22 PM.



mousex Post #2 Posted 28 September 2009 - 11:59 AM

    Finally SNEEK DI user

  • PipPipPipPipPip

  • Group: Members
  • Posts: 988
  • Member No.: 154,730
  • Joined: 23-January 09

  •  

Any plans on going open source?
I just ask because your binary won't run on Darwin/OS X and I'm interested if I could compile it on Cygwin because on my Windows box I still use the first cygwin port of wbfs tool as I don't use drive letters for my wbfs drive.

Edited by mousex, 28 September 2009 - 12:00 PM.


Wiimm Post #3 Posted 28 September 2009 - 12:03 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,528
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

QUOTE(mousex @ Sep 28 2009, 12:59 PM) <{POST_SNAPBACK}>
Any plans on going open source?
I just ask because your binary won't run on Darwin/OS X.

I have included GPL2 software so there is no other way wink.gif

And it is already done. See DOCUMENTATION.txt or try http://svn.wiimm.de/open/wii/trunk/wiimms-wbfs-tool/


Wiimm Post #4 Posted 28 September 2009 - 06:39 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,528
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

wwt: Wiimms WBFS Tool V0.00c - 2009-09-30
A 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.


mousex Post #5 Posted 28 September 2009 - 07:59 PM

    Finally SNEEK DI user

  • PipPipPipPipPip

  • Group: Members
  • Posts: 988
  • Member No.: 154,730
  • Joined: 23-January 09

  •  

Maybe I should read more before asking questions tongue.gif
SVN always tells me that the Repository moved to the address I entered and that I should relocate tongue.gif But how can I relocate anything that I never checked out before?


Wiimm Post #6 Posted 28 September 2009 - 09:57 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,528
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

QUOTE(mousex @ Sep 28 2009, 08:59 PM) <{POST_SNAPBACK}>
SVN always tells me that the Repository moved to the address I entered and that I should relocate tongue.gif But how can I relocate anything that I never checked out before?
That URI is not the the SVN repos itself, it is only a repos viewer and co is not possible.



jivaros Post #7 Posted 29 September 2009 - 09:03 PM

    Newbie


  • Group: Newcomers
  • Posts: 8
  • Member No.: 219,604
  • Joined: 29-September 09

  •  

Awsome tool ! It seems to be much better than the wbfs cli tools !
I' am waiting for the CHECK feature, I think no one has this feature for now ...


KiiNG Post #8 Posted 29 September 2009 - 09:31 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 180
  • Member No.: 194,302
  • Joined: 20-August 09

  •  

This is very sexy. You should let someone (whistle) port this with gui for OSX. :>


cojiro Post #9 Posted 29 September 2009 - 09:54 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 151
  • Member No.: 171,225
  • Joined: 01-April 09
  • Location: Boston, MA

  •  

good work! If people like this I can make a nice GUI for it. What do you think?


Wiimm Post #10 Posted 30 September 2009 - 10:21 AM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,528
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

QUOTE(jivaros @ Sep 29 2009, 10:03 PM) <{POST_SNAPBACK}>
I' am waiting for the CHECK feature, I think no one has this feature for now ...
I'm waiting too wink.gif
I have made the specification before start to implement. At I hope that I will able to implement a CHECK. But therefor I have to go deep inside WBFS.

QUOTE(cojiro @ Sep 29 2009, 10:54 PM) <{POST_SNAPBACK}>
good work! If people like this I can make a nice GUI for it. What do you think?
Why not! I think most of the options are already stable.



mousex Post #11 Posted 30 September 2009 - 02:33 PM

    Finally SNEEK DI user

  • PipPipPipPipPip

  • Group: Members
  • Posts: 988
  • Member No.: 154,730
  • Joined: 23-January 09

  •  

QUOTE(Wiimm @ Sep 28 2009, 11:57 PM) <{POST_SNAPBACK}>
QUOTE(mousex @ Sep 28 2009, 08:59 PM) <{POST_SNAPBACK}>
SVN always tells me that the Repository moved to the address I entered and that I should relocate tongue.gif But how can I relocate anything that I never checked out before?
That URI is not the the SVN repos itself, it is only a repos viewer and co is not possible.

And is there an anonymus real SVN address? Downloading the Tarball is fine but I'm used to SVN tongue.gif

Edited by mousex, 30 September 2009 - 02:34 PM.


cojiro Post #12 Posted 30 September 2009 - 03:11 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 151
  • Member No.: 171,225
  • Joined: 01-April 09
  • Location: Boston, MA

  •  

QUOTE(Wiimm @ Sep 30 2009, 10:21 AM) <{POST_SNAPBACK}>
QUOTE(jivaros @ Sep 29 2009, 10:03 PM) <{POST_SNAPBACK}>
I' am waiting for the CHECK feature, I think no one has this feature for now ...
I'm waiting too wink.gif
I have made the specification before start to implement. At I hope that I will able to implement a CHECK. But therefor I have to go deep inside WBFS.

QUOTE(cojiro @ Sep 29 2009, 10:54 PM) <{POST_SNAPBACK}>
good work! If people like this I can make a nice GUI for it. What do you think?
Why not! I think most of the options are already stable.

your tool has a bit more features that would make it more fool proof as a gui. I'll get working on it when I find some time!


Wiimm Post #13 Posted 30 September 2009 - 05:57 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,528
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

wwt: Wiimms WBFS Tool V0.00c - 2009-09-30
A command line WBFS tool for linux.

I have updated the tool. The first post with more details is updated too.

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)

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.




Wiimm Post #14 Posted 30 September 2009 - 06:02 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,528
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

QUOTE(mousex @ Sep 30 2009, 03:33 PM) <{POST_SNAPBACK}>
QUOTE(Wiimm @ Sep 28 2009, 11:57 PM) <{POST_SNAPBACK}>
QUOTE(mousex @ Sep 28 2009, 08:59 PM) <{POST_SNAPBACK}>
SVN always tells me that the Repository moved to the address I entered and that I should relocate tongue.gif But how can I relocate anything that I never checked out before?
That URI is not the the SVN repos itself, it is only a repos viewer and co is not possible.

And is there an anonymus real SVN address? Downloading the Tarball is fine but I'm used to SVN tongue.gif
Sorry, no. But I will think about it


Wiimm Post #15 Posted 03 October 2009 - 07:52 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,528
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  

wwt: Wiimms WBFS Tool V0.00d - 2009-10-03
A command line WBFS tool for linux.

I have updated the tool. The first post with more details is updated too.

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.00d-r164.tar.gz (Documentation is included)

Last changes:
CODE
wwt V0.00d r164 - 2009-10-03

- Support for WDF images (see file 'WDF.txt', EXPERIMENTAL)
- New tools: wdf-dump, wdf2iso, iso2wdf, wdf-cat
- Option --sparse replaced by --fast.
- Scan environment variable 'WWT_WBFS' for WBFS partitions.


Edited by Wiimm, 03 October 2009 - 07:53 PM.







Users browsing this topic

5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users