wii disc to .iso to .wbfs

Discussion in 'Wii - Hacking' started by nunavat2010, Nov 12, 2011.

Nov 12, 2011

wii disc to .iso to .wbfs by nunavat2010 at 5:39 PM (2,200 Views / 0 Likes) 7 replies

  1. nunavat2010
    OP

    Member nunavat2010 GBAtemp Regular

    Joined:
    Mar 13, 2011
    Messages:
    195
    Location:
    Canada
    Country:
    United States
    Cleanrip decrypt wii data partition in dumping?

    What do .iso to .wbf converters do. I went through couple of web pages. Downloaded the source codes for wiims iso tools. He does have the cleanest version of libwbfs.h. Apparently "kwirk" came up with wbfs format? I still do not have a clear understanding of what .iso->.wbfs does.



    PS: if wiibrewers are so much against to backup loaders and wad managers, wonder why they host cleanrip.
     
  2. WiiPower

    Member WiiPower GBAtemp Guru

    Joined:
    Oct 17, 2008
    Messages:
    8,165
    Country:
    Germany
    At 1st wbfs(wii backup file system) was the partition type for the 1st usb loader. The format was developed by Waninkoko and Kwirk, who also developed the 1st cIOS that was able to load games from usb, cIOS rev9.

    I'm not sure, but i think a .wbfs file contains the data of the game 1:1 the way it would be stored on a wbfs partition.
     
    1 person likes this.
  3. qwertymodo

    Member qwertymodo GBAtemp Advanced Fan

    Joined:
    Feb 1, 2010
    Messages:
    771
    Country:
    United States
    .wbfs files are not 1:1, they are scrubbed to remove garbage padding data from the image. They can also be split at 2 or 4gb in order to support FAT32 (which cannot support files >4gb)
     
  4. WiiPower

    Member WiiPower GBAtemp Guru

    Joined:
    Oct 17, 2008
    Messages:
    8,165
    Country:
    Germany
    Split files don't change the format, and games on wbfs partitions are already scrubbed. Do you mean that there's still some junk in those and the .wbfs files are scrubbed further?
     
  5. TiMeBoMb4u2

    Member TiMeBoMb4u2 GBAtemp Maniac

    Joined:
    Oct 25, 2008
    Messages:
    1,169
    Country:
    United States
    All Wii Discs have the exact same uncompressed size. However, in actuality, they are NOT really the same size games. Any unused space is padded to create the full size. So, ISO to WBFS "scrubs" the white space, leaving only the game. In MANY cases, this will save in excess of 2-3GB of storage!
     
  6. Wiimm

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,051
    Location:
    Germany
    Country:
    Germany
    That's not 100% correct.

    An ISO image is like a hard disk: It contains partitions and file systems. But the filesystems are not full and filled with random data (exact: most with constant data that looks like random data because of encryption).

    Scrubbing is to fill the unneded data with a constant value (WiiScrubber use 0xff, other tools 0x00) to allow better compression by rar/zip. If using 0x00, the tools may use the sparse effect of the file systems (don't allocate hard discs blocks for areas with contant 0x00) to save disk space. Normal file listers tell only the length of the file, not the disk usage (sparse effect).

    A WBFS (and also CISO (=WBI), WDF, WIA) manage the unused blocks and make the files smaller. All formats are also able to store unscrubbed images.

    So scrubbing and WBFS are different, except that nearly all tools scrub an image if storing as WBFS.
     
  7. TiMeBoMb4u2

    Member TiMeBoMb4u2 GBAtemp Maniac

    Joined:
    Oct 25, 2008
    Messages:
    1,169
    Country:
    United States
    Wiimm's explanation was WAY better than mine. I was tired and not thinking the clearest. Either way, I think you get the idea... Scrubbing allows the game image to be stored in a considerably smaller size while still maintaining game stability.
     
  8. qwertymodo

    Member qwertymodo GBAtemp Advanced Fan

    Joined:
    Feb 1, 2010
    Messages:
    771
    Country:
    United States
    I read your post as if there was a comma between 1:1 and "the way it would be stored on a wbfs partition", implying wbfs stores 1:1 images (as opposed to a scrubbed image). I see now that's not what you meant.
     

Share This Page