wwt+wit: Wiimms WBFS+ISO Tools

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

  1. Wiimm
    OP

    Wiimm Developer

    Member
    2,159
    368
    Aug 11, 2009
    Gambia, The
    Germany
    @Skizzo:
    Fragmentation is possible. Oggzze tells it before: Its no problem because of the large files.

    Example of a fragmented WBFS:
    Code:
    # wwt dump a.wbfs -lll 
    
    DUMP of a.wbfs
    
    ÂÂWBFS-Header:
    ÂÂÂÂMAGIC:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ'WBFS' = 57 42 46 53
    ÂÂÂÂnumber of sectors:ÂÂÂÂÂÂ 32769
    ÂÂÂÂhd sector size:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ9 ->ÂÂÂÂÂÂÂÂ512
    ÂÂÂÂWBFS sector size:ÂÂÂÂÂÂÂÂÂÂ 21 ->ÂÂÂÂ2097152
    
    ÂÂÂÂDisc table:
    ÂÂÂÂÂÂÂÂ0.. 59: ##........ .......... .......... .......... .......... ..........
    ÂÂÂÂÂÂ 60..119: .......... .......... .......... .......... .......... ..........
    ÂÂÂÂÂÂ120..179: .......... .......... .......... .......... .......... ..........
    ÂÂÂÂÂÂ180..214: .......... .......... .......... .....
    
    ÂÂhd:ÂÂ sector size:ÂÂÂÂÂÂÂÂÂÂ 512 = 2^9
    ÂÂhd:ÂÂ num of sectors:ÂÂ 25165824
    ÂÂhd:ÂÂÂÂtotal size:ÂÂÂÂÂÂÂÂ 12288 MiB
    
    ÂÂwii:ÂÂsector size:ÂÂÂÂÂÂÂÂ 32768 = 2^15
    ÂÂwii:ÂÂnum of sectors:ÂÂÂÂ 393216
    ÂÂwii:ÂÂsectors/disc:ÂÂÂÂÂÂ 286864
    ÂÂwii:ÂÂ total size:ÂÂÂÂÂÂÂÂ 12288 MiB
    
    ÂÂwbfs: sector size:ÂÂÂÂÂÂ 2097152 = 2^21
    ÂÂwbfs: num of sectors:ÂÂÂÂÂÂ 6144
    ÂÂwbfs: sectors/disc:ÂÂÂÂÂÂÂÂ 4482
    ÂÂwbfs:ÂÂtotal size:ÂÂÂÂÂÂÂÂ 12288 MiB
    
    ÂÂpartition lba:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0
    ÂÂfree blocks lba:ÂÂÂÂÂÂÂÂÂÂÂÂ4094
    ÂÂdisc info size:ÂÂÂÂÂÂÂÂÂÂÂÂ 9728
    
    ÂÂused disk space:ÂÂÂÂÂÂÂÂÂÂÂÂ1130 MiB =ÂÂ10%
    ÂÂfree disk space:ÂÂÂÂÂÂÂÂÂÂ 11158 MiB =ÂÂ90%
    ÂÂtotal disk space:ÂÂÂÂÂÂÂÂÂÂ12288 MiB = 100%
    
    ÂÂnumber of wii discs:ÂÂÂÂÂÂÂÂÂÂ 2ÂÂÂÂ =ÂÂ 0%
    ÂÂmax disc:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ215
    ÂÂdisc open:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0
    
    ÂÂDump of Wii disc #0 of 2:
    ÂÂÂÂname:ÂÂ The Legend of Zelda Twilight Princess
    ÂÂÂÂtitle:ÂÂThe Legend of Zelda: Twilight Princess
    ÂÂÂÂid6:ÂÂÂÂRZDP01
    ÂÂÂÂregion: PAL [PAL ]
    ÂÂÂÂsize:ÂÂ 1102 MiB
    
    ÂÂÂÂWii disc memory mapping:
    
    ÂÂÂÂÂÂwii disc blocks :ÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
    ÂÂÂÂ --------------------------------------------------------------------
    ÂÂÂÂÂÂÂÂÂÂ 0 ..ÂÂÂÂ40 :ÂÂÂÂÂÂÂÂ1ÂÂÂÂ :ÂÂÂÂÂÂÂÂ 0 ..ÂÂÂÂ200000 :ÂÂ 200000
    ÂÂÂÂÂÂÂÂ1f00 ..ÂÂ1fc0 :ÂÂÂÂ2 ..ÂÂÂÂ4 :ÂÂ f800000 ..ÂÂ fe00000 :ÂÂ 600000
    ÂÂÂÂÂÂ 1a5c0 .. 1a840 :ÂÂÂÂ5 ..ÂÂÂÂe :ÂÂd2e00000 ..ÂÂd4200000 :ÂÂ1400000
    ÂÂÂÂÂÂ 1a840 .. 22e80 :ÂÂ 1d ..ÂÂ235 :ÂÂd4200000 .. 117400000 : 43200000
    
    ÂÂDump of Wii disc #1 of 2:
    ÂÂÂÂname:ÂÂ Wii Chess
    ÂÂÂÂtitle:ÂÂWii Chess
    ÂÂÂÂid6:ÂÂÂÂRTYP01
    ÂÂÂÂregion: PAL [PAL ]
    ÂÂÂÂsize:ÂÂÂÂ 28 MiB
    
    ÂÂÂÂWii disc memory mapping:
    
    ÂÂÂÂÂÂwii disc blocks :ÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
    ÂÂÂÂ --------------------------------------------------------------------
    ÂÂÂÂÂÂÂÂÂÂ 0 ..ÂÂÂÂ40 :ÂÂÂÂÂÂÂÂfÂÂÂÂ :ÂÂÂÂÂÂÂÂ 0 ..ÂÂÂÂ200000 :ÂÂ 200000
    ÂÂÂÂÂÂÂÂ1f00 ..ÂÂ1f80 :ÂÂ 10 ..ÂÂ 11 :ÂÂ f800000 ..ÂÂ fc00000 :ÂÂ 400000
    ÂÂÂÂÂÂ 22bc0 .. 22e80 :ÂÂ 12 ..ÂÂ 1c : 115e00000 .. 117400000 :ÂÂ1600000
    
    
    ÂÂWBFS Memory Map:
    
    ÂÂÂÂÂÂÂÂunused :ÂÂoff(beg) ..ÂÂoff(end) :ÂÂÂÂ size : info
    ÂÂ ----------------------------------------------------------------------------------------
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂÂÂÂÂÂÂ 0 ..ÂÂÂÂÂÂÂÂ c :ÂÂÂÂÂÂÂÂc : WBFS header
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂÂÂÂÂÂÂ c ..ÂÂÂÂÂÂÂÂe3 :ÂÂÂÂÂÂ d7 : Disc table
    ÂÂÂÂÂÂÂÂÂÂ 11d :ÂÂÂÂÂÂ 200 ..ÂÂÂÂ1fec00 :ÂÂ 1fea00 : Disc info
    ÂÂÂÂÂÂÂÂÂÂ1000 :ÂÂÂÂ1ffc00 ..ÂÂÂÂ1fff00 :ÂÂÂÂÂÂ300 : Free blocks table
    ÂÂÂÂÂÂÂÂÂÂ 100 :ÂÂÂÂ200000 ..ÂÂÂÂ400000 :ÂÂ 200000 : disc #000 [RZDP01] disc-off=ÂÂÂÂÂÂÂÂ0
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂÂÂ400000 ..ÂÂÂÂa00000 :ÂÂ 600000 : disc #000 [RZDP01] disc-off=ÂÂf800000
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂÂÂa00000 ..ÂÂ 1e00000 :ÂÂ1400000 : disc #000 [RZDP01] disc-off= d2e00000
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂ 1e00000 ..ÂÂ 2000000 :ÂÂ 200000 : disc #001 [RTYP01] disc-off=ÂÂÂÂÂÂÂÂ0
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂ 2000000 ..ÂÂ 2400000 :ÂÂ 400000 : disc #001 [RTYP01] disc-off=ÂÂf800000
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂ 2400000 ..ÂÂ 3a00000 :ÂÂ1600000 : disc #001 [RTYP01] disc-off=115e00000
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂ 3a00000 ..ÂÂ46c00000 : 43200000 : disc #000 [RZDP01] disc-off= d4200000
    ÂÂÂÂ 2b9400000 : 300000000 .. 300000000 :ÂÂÂÂÂÂÂÂ0 : -- end of WBFS device/file --
     


  2. Wiimm
    OP

    Wiimm Developer

    Member
    2,159
    368
    Aug 11, 2009
    Gambia, The
    Germany
     
  3. Wiimm
    OP

    Wiimm Developer

    Member
    2,159
    368
    Aug 11, 2009
    Gambia, The
    Germany
    wwt: Wiimms WBFS Tool v0.13a - 2009-11-06
    A command line WBFS tool set for various os.

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

    WARNING: I have only done a few tests with the new scrubbing features (tools wit, wdf2iso, iso2wdf). It seems that scrubbing works.

    Download:This is an experimental release!


    Highlights of this release:
    • I have rewritten the file subsystem. WBFS files can be used with or without a selector. A selector is an ID6 or an index to specify exact one ISO image within a WBFS. This new subsystem is used by all wit commands and by wwt ADD, UPDATE and EXTRACT. For more details see code block "Processing ISO files" at the bottom.
      .
    • The tool 'wit' has 2 new commands: COPY and SCRUB: Both commands work in the same way, but for SCRUB the source and the dstination is the same. Both can scrub, convert from/to ISO/WDF/WBFS and split/unsplit.

      To convert all files from a directory to single WBFS files just type:

      Code:
      wit COPY /part/to/dir -d dest_dir --wbfs --split
      To convert all files from a WBFS to single WBFS files just type:

      Code:
      wit COPY /part/to/wbfs -d dest_dir --wbfs --split
    • The new tool 'iso2wbfs' converts ISO images into splitted WBFS files.
      .
    • The wwt commands ADD+UPDATE accept whole WBFS files as input. Because of that copying of WBFS is possible. If input and output WBFS are same the input is ignored. To synchronize 2 or more WBS in all directions just type:

      Code:
      wwt -p a.wbfs -p b.wbfs UPDATE a.wbfs b.wbfs
    • The wwt commands ADD+UPDATE accept directories as input. Each valid ISO file (plain, WDF or WBFS) of that directory is used as source. For a recursive search use the option --recurse.
      .
    • The wwt command EXTRACT may extract to single WBFS files with 1 ISO image.
    • wwt+wit command DUMP are improved. "wwt dump" dumps WBFS and "wit dump" dumps ISO files.
    • Again: This is an experimental release!
    CODE///////////////////////////////////////////////////////////////////////////////
    ///////////////ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂProcessing ISO filesÂÂÂÂÂÂÂÂÂÂÂÂ ///////////////
    ///////////////////////////////////////////////////////////////////////////////

    Command like "wwt ADD" or "wit COPY" uses ISO files as input. They accept
    plain ISO files and ISO files in WDF and WBFS containers. In detail:

    /path/to/PLAIN_ISO:
    ÂÂÂÂA PLAIN ISO file is a 1:1 copy of a file. It is not compressed and not
    ÂÂÂÂpart of any container. The standard extension is ".iso".

    /path/to/WDF_ISO:
    ÂÂÂÂThis is an ISO packed in a WDF container. WDF container may be used for
    ÂÂÂÂany files and not only for ISO images. The standard extension is ".wdf".

    /path/to/WBFS_FILE
    ÂÂÂÂAn WBFS file/device with exact one ISO image is also accepted. The
    ÂÂÂÂstandard extension for WBFS files is ".wbfs". Some commands accept the
    ÂÂÂÂwhole WBFS with all ISO images as source. See the specific doc.

    /path/to/WBFS_FILE/SELECTOR
    ÂÂÂÂThis is a special construct. The ISO image of the WBFS_FILE selected
    ÂÂÂÂby SELECTOR is used as source. The selector may be one of:

    ÂÂÂÂ - 'ABCDEF' : ID6 of a disc (exact 6 characters)

    ÂÂÂÂ - indexÂÂÂÂ: The zero based index of the disc. The range goes from zero
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂup to the number of discs in the WBFS minus 1.
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ(decimal number, but not 6 digits)

    ÂÂÂÂ - '#' slot : The decimal slot number within the WBFS. The range goes from
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂzero up to the maximal number of possible discs in the WBFS
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂminus 1.

    ÂÂÂÂExamples:
    ÂÂÂÂÂÂ.../a.wbfs/rmcp01 : use "Mario Kart" from 'a.wbfs' as source.
    ÂÂÂÂÂÂ.../a.wbfs/5ÂÂÂÂÂÂ: use the image with index #5 from 'a.wbfs' as source.
    ÂÂÂÂÂÂ.../a.wbfs/#5ÂÂÂÂ : use the image at slot #5 from 'a.wbfs' as source.

    When writing ISO files the option --wdf (default), --iso and --wbfs control
    the output format. If writing a WBFS file this WBFS is truncated and contains
    exactly one ISO image. The default file name of this WBFS is '.wbfs'.

    Last changes:
    Code:
    wwt v0.12a r364 - 2009-11-05
    
    - Bug fix showing the progress counter.
    - Bug fix in libwbfs/wbfs_trim() -> "ADD --trunc" and "TRUNCATE" failed.
    - wit DUMP --long: Dump a memory map.
    - wdf2iso + iso2wdf: print progress infos.
    - New ISO source alternative: /path/to/WBFS_FILE/SELECTOR (see doc)
    - New wit command: COPY: Copy and convert ISO images.
    - New wit command: SCRUB: Scrubs ISO images.
    
    wwt v0.13a r383 - 2009-11-06
    
    - Option --cache removed: Cache is activated when needed.
    - Bug fix: "wit copy --remove wbfs/selector" removes disc from WBFS.
    - Bug fix: wit SCRUB: output file format was controlled by options.
    - wwt EXTRACT: Can extract to wbfs files.
    - wwt ADD: Accept wbfs files as input (wbfs to wbfs copy)
    - new tool: iso2wbfs: Converts ISO images into a splitted WBFS files.
    Sources comes with GPL2. Checkout the sources directly from the SVN repository or browse the source with any browser.
     
  4. Skizzo

    Skizzo Banned

    Banned
    475
    0
    May 1, 2009
    United States
    Thanks Wiimm. I actually used your tool to verify this before seeing this post.

    My WBFS drive is suffering from fragmentation problems now though. When I'm adding a new game, it's corrupting several others, giving me Crossed LBA errors when doing an 'integrity check'. How serious are those errors? I can't get past them now, so I was wondering if it would be possible to add the ability to one of your tools to mark WBFS blocks 'bad' or more likely 'used' in the free blocks table, so nothing tries to install to them?

    I know you say that making a tool to resize WBFS partitions would be a lot of work for little benefit, but is the same true of making a tool to defragment a partition and/or individual game(s) on the partition? Even just something that would only work on drives with a good chunk of free space left, where games could be copied in their entirety to an area of free space, perhaps filling up the drive from the end backwards?
     
  5. Wiimm
    OP

    Wiimm Developer

    Member
    2,159
    368
    Aug 11, 2009
    Gambia, The
    Germany
    @Skizzo:
    One of the next steps is a check and repair function in wwt. Defragmentation is much easier.
    Can't you post me the output of your corrupted WBFS. Please dump it with "wwt dump -lll".
    I'll send you a PM with a mail address.

    Resizing includes changing of the partition table. Perhaps sometimes ....
     
  6. Bauldrick

    Bauldrick GBAtemp Regular

    Member
    103
    1
    Jan 22, 2009
    I've got a problem/bug [​IMG]

    I have converted my ISO's with previous version(s) of wwt (via ADD and then EXTRACT) , and indeed have since removed and then added again the .wdf created (with previous versions).

    All the files currently on wbfs hdd added via that method currently work. However, I just RM a .wdf from hdd and then tried to add the backed up version and get:

    Code:
    matt@LinkStation2:/home/wii_games/BACKED_UP$ sudo wwt -a ADD Toy*
    *****ÂÂwwt: Wiimms WBFS Tool v0.13a r384 linux - Dirk Clemens - 2009-11-06ÂÂ*****
    WBFS #1 opened: /dev/sdb
    !! wwt: ERROR #5 [INVALID WDF] in SetupReadWDF() @ lib-wdf.c#233
    !!ÂÂÂÂÂÂInvalid WDF file
    That's not good I think [​IMG] , so I try all backed up .wdf - expecting to see something like:

    Code:
    WBFS #1 opened: /dev/sdbÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 
    - DISC Toy Story Mania! [R5IX4Q].wdf [R5IX4Q, 2166 MiB] already installed -> ignore
    
    ^^ (that is message from game I just extracted and tried to add again with current version)
    But instead receive ERROR #5 [INVALID WDF] on all.

    The game R5IX4Q currently on hdd is the same as in above /home/wii_games/BACKED_UP.
    So I EXTRACT R5IX4Q from hdd to different directory and compare them, they sould be the same, no?


    Code:
    matt@LinkStation2:/home/wii_games/BACKED_UP$ cmp /home/wii_games/Toy* /home/wii_games/BACKED_UP/Toy*
    /home/wii_games/Toy Story Mania! [R5IX4Q].wdf /home/wii_games/BACKED_UP/Toy Story Mania! [R5IX4Q].wdf differ: byte 39, line 1
    I've tried a few others that show the same difference. Should that be, or is it the reason that those files in *BACKED_UP are no longer recognised as .wdf files?

    Sorry if I'm talking nonsense and I am aware it's experimental version I'm running
     
  7. Bauldrick

    Bauldrick GBAtemp Regular

    Member
    103
    1
    Jan 22, 2009
    I'm not sure if that explains it very well?

    I now have 4 files of Toy Story:
    • ToyStory1 - currently on wbfs hdd added via wwt (previous r383 - think r288) from ISO image
    • ToyStory2 - original "Backup" (EXTRACT) to .wdf from above ToyStory1 off of wbfs hdd
    • ToyStory3 - latest svn (r384) "Backup" (EXTRACT) from ToyStory1 off of wbfs hdd
    • ToyStory4 - latest release (r383) "Backup" (EXTRACT) from ToyStory1 off of wbfs hdd
    I can't cmp ToyStory1 against the others (can I?), but:

    there is no difference between ToyStory3 and ToyStory4
    there is a difference between ToyStory2 and ToyStory3&4 - byte 39, line 1
    I cannot add ToyStory2 to wbfs hdd - ERROR #5 [INVALID WDF] in SetupReadWDF() @ lib-wdf.c#233
    I can add ToyStory3&4 to wbfs hdd - [R5IX4Q].wdf [R5IX4Q, 2166 MiB] already installed -> ignore

    ToyStory2 file relates to all .wdf files I have EXTRACTED with different versions (many) previous to r383-384, I get the same result .
     
  8. Wiimm
    OP

    Wiimm Developer

    Member
    2,159
    368
    Aug 11, 2009
    Gambia, The
    Germany
    Perhaps there was an bug in Release 364. It was a fast answer to remove the truncate bug and not testet very well (That's why I called it "experimental release!") . It comes out while I'm recoding the file subsystem. r383 has run my test parcours without errors.
     
  9. Bauldrick

    Bauldrick GBAtemp Regular

    Member
    103
    1
    Jan 22, 2009
    That gives:

    CODEmatt@LinkStation2:/home/wii_games$ cmp
     
  10. Wiimm
    OP

    Wiimm Developer

    Member
    2,159
    368
    Aug 11, 2009
    Gambia, The
    Germany
    This is really a bad WDF.
    I always (but not r364) add+extract about 10 discs with different sizes with the script test-ADD+EXTRACT.sh and have never problems.

    So my question: With which exact release was ToyStory2.wdf generated?
     
  11. Bauldrick

    Bauldrick GBAtemp Regular

    Member
    103
    1
    Jan 22, 2009
    Previous version to current I have had are - r305, 291,283 (thats as far back as I can see renaming svn folder out of the way). I am pretty sure I would have checkedout a version close to last release (r363?) but removed all folders lately [​IMG]

    Thinking about it, if you have the dates of svn etc....

    -rw-r--r-- 1 matt matt 2268579604 2009-10-21 00:16 BACKED_UP/Toy Story Mania! [R5IX4Q].wdf

    So the closest release to 21/10 would be the version used to Extract it. I'm pretty sure though that 80% of the files in that pastebin where converted with earlier releases.

    I remember using the test script. Unfortunately my processor is 233 mhz mipsel thing which is why (I think) it takes 3hrs and I have to compile my own.

    Thanks again.

    -edit-

    I am wrong - the 4 good files from pastebin are created on 27/10 & 28/10
     
  12. Elfish

    Elfish GBAtemp Fan

    Member
    447
    3
    Sep 20, 2004
    Gambia, The
    does wdf keep the data content untouched?
    no trucha bug involved?

    if so that'd be godly [​IMG]
     
  13. Wiimm
    OP

    Wiimm Developer

    Member
    2,159
    368
    Aug 11, 2009
    Gambia, The
    Germany
    You can convert any (not only ISO) file to WDF and back and result is byte identical to the source.

    The idea of a WDF container: Find holes (blocks filled with zeros only), remember them in an extra data structure and store all other data.
    More details: WDF
     
  14. Wiimm
    OP

    Wiimm Developer

    Member
    2,159
    368
    Aug 11, 2009
    Gambia, The
    Germany
    wwt: Wiimms WBFS Tool v0.14a - 2009-11-08
    A command line WBFS tool set for various os.


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

    Download:Highlights of this release:
    • The wwt command CHECK checks WBFS partitons for block errors in 4 categories:
      • Find discs with invalid blocks.
      • Find discs which uses same blocks.
      • Find free blocks that marked as used.
      • Find used blocks that marked as free.
      CHECK is EXPERIMENTAL and reports only. Repairing is not implemented yet.
      Now I need defect WBFS (hello Skizzo!)
      .
    Last changes:
    Code:
    wwt v0.13a r383 - 2009-11-06
    
    - Option --cache removed: Cache is activated when needed.
    - Bug fix: "wit copy --remove wbfs/selector" removes disc from WBFS.
    - Bug fix: wit SCRUB: output file format was controlled by options.
    - wwt EXTRACT: Can extract to wbfs files.
    - wwt ADD: Accept wbfs files as input (wbfs to wbfs copy)
    - New tool: iso2wbfs: Converts ISO images into a splitted WBFS files.
    
    wwt v0.14a r388 - 2009-11-08
    
    - Progress info shows copy rate in MiB/sec too.
    - Buf fix: damaged WDF file if copying from WDF to WDF with --raw.
    - wwt CHECK: check WBFS for block errors (report only, no repair yet).
    Sources comes with GPL2. Checkout the sources directly from the SVN repository or browse the source with any browser.
     
  15. Dwaalspoor98

    Dwaalspoor98 GBAtemp Regular

    Member
    202
    11
    May 28, 2003
    Netherlands
    Earth
    Thanks for your great tool! One small note: You should change #!/bin/sh to #!/bin/bash in install.sh and load-titles.sh since you are using BASH (2.0+) and not shell syntax ( [[ ]] is newer BASH syntax). On systems like Ubuntu #!/bin/sh gives errors since it's linked to a DASH instead of a BASH shell.
     
  16. Skizzo

    Skizzo Banned

    Banned
    475
    0
    May 1, 2009
    United States
    Sent you an email Wiimm.

    I'll give your new tools a spin and report back as soon as I get the little ones off the Wii. Thanks. [​IMG]

    EDIT: Reports sent to your email.
     
  17. Elfish

    Elfish GBAtemp Fan

    Member
    447
    3
    Sep 20, 2004
    Gambia, The
    nice [​IMG].

    so we now just need a loader that is able to run wdf images from usb or network share [​IMG].
     
  18. Cmurda187

    Cmurda187 GBAtemp Regular

    Member
    230
    0
    Oct 24, 2008
    United States
    The depths of HELL
    So you are saying that you can convert any type of file format to WDF. So does this mean that you could convert wiiware/vc games to this format. If so then would it be possible to launch them through a usb loader?
     
  19. pokeparadox

    pokeparadox GBAtemp Regular

    Member
    210
    49
    Dec 31, 2008
    Nope he's just saying the data survives the conversion process!
     
  20. pely

    pely Newbie

    Newcomer
    4
    0
    Aug 23, 2009
    Switzerland
    hi, I'm happy to find out this tool can use -d option to set the destination dir of output wbfs file . (wbfs_file 1.3 can't do this).
    but after I tried, I think maybe there is a bug or I miss any parameter?

    wiimms wbfs tool
    command:
    D:\>c:\temp\wwt-v0.14a-r388-cygwin\bin\iso2wbfs.exe -o -d c:\ "d:\SUPER PAPER MARIO.ISO"

    the result:
    2009-11-09 10:04 2,000,000,000 R8PE01.wbfs
    2009-11-09 10:05 2,000,000,000 R8PE01.wbf1
    2009-11-09 10:06 699,979,776 R8PE01.wbf2


    wbfs_files 1.3
    command:
    d:\myProj\mywbfs\wbfs_file.exe "d:\SUPER PAPER MARIO.ISO"

    result:
    2009-11-09 10:15 499,122,176 R8PE01.wbfs

    is there anything wrong with my command ??

    thanks.


    BTW: I want to find a program can convert old wbf file to the splited wbfs files, any utils can do this? or you can add this in your todo list?

    thanks a lot for your great work.