wwt+wit: Wiimms WBFS+ISO Tools

Discussion in 'Wii - Hacking' started by Wiimm, Sep 28, 2009.

Sep 28, 2009
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    Germany
    [IMG]

    WIT: Wiimms ISO Tools v2.30a - 2014-11-15
    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.30a r5771 - 2014-11-15
    
     - Bug fix for GameCube extracts: The alignments in file 'align-files.txt'
       were too large by a factor of 4.
     - WDF version 2 is now the default WDF version. Use --wdf1 to force v1.
     - With v2.21a (June 2013) the default output file format was switched from
       WDF to WBFS. Since that command SKELETON used this new default by mistake.
       Now the much more efficient WDFv2 is used as default for skeletons.
     - Command SKELETON supports now GameCube images.
     - Windows only: Cygwin update to v1.7.32 2014-08-13.
    
    
    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.
    Last edited by Wiimm, Nov 15, 2014


    • Member

    mousex New Member

    Member Since:
    Jan 23, 2009
    Message Count:
    987
    Country:
    United States
    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.
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    Germany
    I have included GPL2 software so there is no other way [IMG]

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

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    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.
    • Member

    mousex New Member

    Member Since:
    Jan 23, 2009
    Message Count:
    987
    Country:
    United States
    Maybe I should read more before asking questions [IMG]
    SVN always tells me that the Repository moved to the address I entered and that I should relocate [IMG] But how can I relocate anything that I never checked out before?
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    Germany
    That URI is not the the SVN repos itself, it is only a repos viewer and co is not possible.
    • Newcomer

    jivaros New Member

    Member Since:
    Sep 29, 2009
    Message Count:
    8
    Country:
    France
    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 ...
    • Member

    KiiNG New Member

    Member Since:
    Aug 20, 2009
    Message Count:
    180
    Country:
    United States
    This is very sexy. You should let someone (whistle) port this with gui for OSX. :>
    • Member

    cojiro New Member

    Member Since:
    Apr 1, 2009
    Message Count:
    152
    Location:
    Boston, MA
    Country:
    United States
    good work! If people like this I can make a nice GUI for it. What do you think?
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    Germany
    Why not! I think most of the options are already stable.
    • Member

    mousex New Member

    Member Since:
    Jan 23, 2009
    Message Count:
    987
    Country:
    United States
    And is there an anonymus real SVN address? Downloading the Tarball is fine but I'm used to SVN [IMG]
    • Member

    cojiro New Member

    Member Since:
    Apr 1, 2009
    Message Count:
    152
    Location:
    Boston, MA
    Country:
    United States
    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!
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    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.
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    Germany
    Sorry, no. But I will think about it
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    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.
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    Germany
    wwt: Wiimms WBFS Tool V0.01a - 2009-10-04
    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 I can't give any warranty. I have made different import and export (ISO and WDF) tests with about 20 games and the resulting ISO images are absolute identical as the source files.

    wwt is now Beta and I'm using it as replacement for the tool 'wbfs'.


    Download: http://wiimm.de/x/wwt-v0.01a-r168.tar.gz (Documentation is included)
    More Infos about WDF: http://svn.wiimm.de/open/wii/trunk/wiimms-...WDF.txt?view=co

    Last changes:
    Code:
    wwt V0.01a r168 - 2009-10-04
    
    - WWT leaves Alpha and goes Beta!
    - WDF is now productive; WDF documentation expanded.
    - Extracting to WDF is now default. --iso forces ISO output.
    - Bug fix: Wrong "end of disc" handling while writing a double layer ISO
    ÂÂ and --trunc is not set.
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    Germany
    wwt: Wiimms WBFS Tool v0.02a - 2009-10-05
    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 I can't give any warranty. I have made different import and export (ISO and WDF) tests with about 20 games and the resulting ISO images are absolute identical as the source files.

    wwt is now Beta and I'm using it as replacement for the tool 'wbfs'.


    Download: http://wiimm.de/x/wwt-v0.02a-r179.tar.gz (Documentation is included)
    More Infos about WDF: http://svn.wiimm.de/open/wii/trunk/wiimms-...WDF.txt?view=co

    Last changes:
    Code:
    wwt V0.02a r179 - 2009-10-05
    
    - Command abbreviations are allowed if they are unambiguous.
    - EXTRACT: Improved filename handling when using 'ID6=filename'.
    - Enhanced error management.
    - Bug fix [wdf2iso]: Couldn't create zero length files.
    - From now on, the distribution has subdirectories: bin lib doc scripts
    - Tools wdf-dump, iso2wdf, wdf2iso, wdf-cat: options available.
    - New: scripts/test-wdf-tools.sh: test the wdf tools.
    ÂÂ -> over 320000 files (mixed user files) testet without failures.
    - New: scripts/time-test.sh: run time tests -> see file 'STATISTICS.txt'.
    • Newcomer

    moparisthebest New Member

    Member Since:
    Sep 24, 2009
    Message Count:
    7
    Country:
    United States
    Looks like a great tool, and unlike wbfs it compiles on my 64-bit system with a minimal edit. If anyone gets the error:
    Code:
    $ make
    ***ÂÂcreate templates.sed
    ***ÂÂcreate version.h
    ***ÂÂobject debug.o
    debug.c:1: error: CPU you selected does not support x86-64 instruction set
    make: *** [debug.o] Error 1
    Just change this line in the Makefile:
    Code:
    CFLAGSÂÂÂÂÂÂÂÂ= -march=i686 -fomit-frame-pointer -fno-strict-aliasing \
    to
    Code:
    CFLAGSÂÂÂÂÂÂÂÂ= -march=x86-64 -fomit-frame-pointer -fno-strict-aliasing \
    And it compiles (and appears to work) like a dream.

    Thanks for the excellent open source tool. [IMG]

    edit: Minor bug report, using command DP is not recognized, but the full command DUMP works.
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,830
    Location:
    Germany
    Country:
    Germany
    This is a misspelling in --help: The shortcut for 'DUMP' is 'D' and not 'DP'.
    • Newcomer

    thefunkygibbon New Member

    Member Since:
    Mar 31, 2008
    Message Count:
    55
    Country:
    United Kingdom
    dont mean to sound dim but when running wwt FIND -A or LIST etc I just get a
    Code:
    !! wwt: ERROR #6 [NO WBFS FOUND] in AnalysePartitions() @ wwt-file.c#882
    !! wwt: no WBFS partitions found -> abort
    is there anything I need to do other than plugging the usb drive in to the machine?

SPONSORED LINKS
 

Share This Page