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,762
    Location:
    Germany
    Country:
    Germany
    and now try: wbfs-chmod "echo rm -rf / ; wwt"
    and don't remove the "echo" -- BETTER IS TO DON NOT TRY IT!!
    Do you see the security problem?


    • Newcomer

    Nickkk New Member

    Member Since:
    May 25, 2012
    Message Count:
    39
    Country:
    Switzerland
    OMG I was going to lead everyone to their end ... Thank you for noticing!!
    • Member

    PsyBlade Snake Charmer

    Member Since:
    Jul 30, 2009
    Message Count:
    2,204
    Location:
    Sol III
    Country:
    Germany
    what is the problem you are trying to solve?
    • Newcomer

    Nickkk New Member

    Member Since:
    May 25, 2012
    Message Count:
    39
    Country:
    Switzerland
    I was trying to execute the wbfs-chmod file which is included in my app bundle, which should be located at /Applications/Witgui.app ... Therefore I was looking for a way to execute /Applications/Witgui.app/Contents/Resources/wbfs-chmod instead of /usr/local/bin/wbfs-chmod.
    • Member

    PsyBlade Snake Charmer

    Member Since:
    Jul 30, 2009
    Message Count:
    2,204
    Location:
    Sol III
    Country:
    Germany
    what stops you from doing exactly that?
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,762
    Location:
    Germany
    Country:
    Germany
    Another way is to give wwt root access:
    Code:
    sudo chown root.root /path/to/wwt
    sudo chmod u+s /path/to/wwt
    
    The script solution of above has one advantage: It enables only the r+w access to already WBFS formatted drives. If setting the S bit, wwt has r+w access to the whole system.


    EDIT
    There is a third solution:
    Store 'wwt' to /usr/local/bin/wwt and use the original script. This wwt needs no updates, because its WBFS detection should work for a long time. All other operations can be done with the most current wwt of your bundle.

    However, you need at least on "sudo" for a new wwt. And this can be:
    sudo cp /path/to/bundle/wwt /usr/local/bin/wwt
    • Newcomer

    Nickkk New Member

    Member Since:
    May 25, 2012
    Message Count:
    39
    Country:
    Switzerland
    Well actually I wanted not to hardcode the location of wwt into the wbfs-chmod file.
    • Member

    milcoi New Member

    Member Since:
    Jul 24, 2009
    Message Count:
    180
    Country:
    Netherlands
    any news? trying to run on mountain lion but fails to open wbfs usb drive
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,762
    Location:
    Germany
    Country:
    Germany
    I can
    Without access to mountain lion I can't do anything for it.
    • Newcomer

    Nickkk New Member

    Member Since:
    May 25, 2012
    Message Count:
    39
    Country:
    Switzerland
    What is the error? I used to open WBFS drives on Mountain Lion without problems ... Are you trying to access it as an admin?
    • Member

    Wiimm Developer

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

    WIT: Wiimms ISO Tools v2.10a - 2012-10-10
    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.10a r4118 - 2012-10-10
    
    - Write privileges are not longer needed, if a WBFS file or partiton is only
    read.
    - New command: wit ANAID (ANAlyze ID): Analyze the entered IDs and print one
    line for each ID with 3 columns: HEX_ID, ASCII_ID, Game title.
    - Little (compatible) changes for WDF v1.
    - New command: wit FRAGMENTS: Print the image fragments and, if possible,
    their filesystem mapping. Add option --brief (-b) to print only a summary
    with the fragment counts. Add option --long (-l) to print additonally
    alignment infos.
    *NOTE: Filesystem mapping is only supported on real linux systems (yet),
    but neither for Mac nor for Cygwin.
    - The image builder search now the file 'exclude.fst' to exclude files from
    the composing. See http://wit.wiimm.de/info/composing.html#part for details.
    
    
    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.
    1 people like this.
    • Member

    Maplemage ಠ_ಠ

    Member Since:
    Sep 23, 2008
    Message Count:
    1,126
    Location:
    Why would you care?
    Country:
    Bosnia and Herzegovina
    Recently i just downloaded Rayman Origins and when i try to convert using this command line
    "wit copy example.wia example.wbfs"

    It doesnt work for me, is there another command line so i can Convert Rayman.wia to Rayman.iso or something? Thank you.
    • Member

    impizkit Lazy Lurker

    Member Since:
    Apr 6, 2010
    Message Count:
    943
    Country:
    Australia
    You can use your favorite backup loader to rip your own copy of the game. That is my suggestion. Dont download, pirate.
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,762
    Location:
    Germany
    Country:
    Germany
    That's the perfect command. What is th error message you got?
    • Member

    Maplemage ಠ_ಠ

    Member Since:
    Sep 23, 2008
    Message Count:
    1,126
    Location:
    Why would you care?
    Country:
    Bosnia and Herzegovina
    well I get a file called ".RaymanOrigins.iso.CPEXOM.TMP" do i have to wait a really long time for it to convert?
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,762
    Location:
    Germany
    Country:
    Germany
    yes. if you add "-vv", the program will be more verbose.
    • Member

    Maplemage ಠ_ಠ

    Member Since:
    Sep 23, 2008
    Message Count:
    1,126
    Location:
    Why would you care?
    Country:
    Bosnia and Herzegovina
    I don't understand.

    Edit: Aah nevermind, takes a very long time to convert.
    • Member

    Wiimm Developer

    Member Since:
    Aug 11, 2009
    Message Count:
    1,762
    Location:
    Germany
    Country:
    Germany
    wit copy example.wia example.wbfs -vv
    • Newcomer

    Nickkk New Member

    Member Since:
    May 25, 2012
    Message Count:
    39
    Country:
    Switzerland
    Hey again Mr. Wiimm!
    Could I ask you one more favor? Would you please add the --scan-progress to wwt?
    Have you ever thought of setting individual downloads for wit, wwt etc. (and not just the entire bundle), so that GUIs can offer to download them when new updates are published?
    • Newcomer

    Nickkk New Member

    Member Since:
    May 25, 2012
    Message Count:
    39
    Country:
    Switzerland
    Hi again,
    is it possible to add support for stopping a running conversion? The last time I tried stopping one with ctrl-c then some hidden files were left around ... That would be great!

Share This Page