WDF = Wii Disc File

Discussion in 'Wii - Backup Loaders' started by Wiimm, Oct 4, 2009.

Oct 4, 2009

WDF = Wii Disc File by Wiimm at 9:56 AM (41,919 Views / 0 Likes) 62 replies

  1. bowser

    Member bowser Mwa ha ha ha!

    Joined:
    Sep 1, 2008
    Messages:
    2,223
    Location:
    GBAtemp ↑↑↓↓← → ← →BA
    Country:
    India
    You mean just for storing the file? Or so that you can play it on the Wii? The Wii can't read this format.
     


  2. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    Country:
    Germany
    WDF file are simple files that can be stored to a DVD. But such DVD can't be used with the Wii.

    If you want to burn an ISO image just pipe it to the burning program like:
    wdf-cat image.wdf | the_burner (unix like; the linux program 'wdf-cat' already exists and is part of WWT)
     
  3. lazyguy

    Member lazyguy GBAtemp Regular

    Joined:
    Oct 17, 2006
    Messages:
    113
    Country:
    Canada
    ciso need to be scrubbed for max compression right?
    does wdf need to be scrubbed before getting best compression
     
  4. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    Country:
    Germany
    In the moment: Yes.
    But import to a WBFS and export as WDF do scrubbing while writing the WDF.
     
  5. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    Country:
    Germany
    I have tested the 3 tools 'iso2wdf', 'wdf2iso' and 'wdf-cat' with more than 2 million files (mixed files including pictures and documents, but only 50 Wii ISO images) without any errors. This means that the 3 tools are stable and the usage is sure. For more details call the script './scripts/test-wdf-tools.sh' from the distribution without parameters.

    The WWT tool has imported and exported my 50 ISO games with different options (--fast --iso --wdf --io 0..3 --cache) and no failure was found: The last output was always identically to the source.

    Because of the positive tests, I declare WDF as ready for operation. I have already converted all of my games into WDF.
     
  6. mousex

    Member mousex GBAtemp Advanced Fan

    Joined:
    Jan 23, 2009
    Messages:
    987
    Country:
    United States
    How do you test iso2wdf and wdf2iso with pictures and documents? Shouldn't they just skip these files? [​IMG]
     
  7. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    Country:
    Germany
    Both program can handle any files not only ISO images:
    - iso2wdf searches files for holes (zero filled blocks) and builds the WDF file.
    - wdf2iso takes the WDF an builds the original file

    The names are somewhat misleading. But when I planned the programs they were clearly intended to convert ISO to WDF and vice versa.
     
  8. bowser

    Member bowser Mwa ha ha ha!

    Joined:
    Sep 1, 2008
    Messages:
    2,223
    Location:
    GBAtemp ↑↑↓↓← → ← →BA
    Country:
    India
    Any chance of a Windows version of this tool? [​IMG]
     
  9. Shuny

    Member Shuny I'm in yr forum, reading yr postz

    Joined:
    Nov 15, 2006
    Messages:
    1,019
    Location:
    Somewhere in the world
    Country:
    France
    So, basically, it's a destructive format that uses what Dack discovered with his WiiScrubber a year ago, right ?

    I'll keep using WiiScrubber I think,.
     
  10. bowser

    Member bowser Mwa ha ha ha!

    Joined:
    Sep 1, 2008
    Messages:
    2,223
    Location:
    GBAtemp ↑↑↓↓← → ← →BA
    Country:
    India
    But after using WiiScrubber you have to zip the ISO to achieve compression. And unzip it before adding it to WBFS. With this you can skip the extra zip/unzip steps.
     
  11. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    Country:
    Germany
    That's it! And compressing/decompressing costs a lot of time. WWT can handle WDF files fast and directly.
     
  12. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    Country:
    Germany
    A late answer, but now I know what I say [​IMG]

    On the other hand I have used the linux tool 'wbfs' to build ideal sparse files. And wbfs uses the parameter ONLY_GAME_PARTITION.
     
  13. the

    Newcomer the Advanced Member

    Joined:
    May 22, 2009
    Messages:
    52
    Location:
    Moscow
    Country:
    Russia
    Time effective solutions are meaningful only when something long-running is run frequently

    How frequently do you import or export game images to or from WBFS? I guess not much. So ordinary compressing solutions like RAR does the job very effectively, don't they?
     
  14. mousex

    Member mousex GBAtemp Advanced Fan

    Joined:
    Jan 23, 2009
    Messages:
    987
    Country:
    United States
    no
     
  15. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    Country:
    Germany
    Effective programming is always meaningful. And what are the advantages of rar against wdf?
    WDF supports fast random access. And this means that it can be used by usb loaders, sometimes.
     
  16. the

    Newcomer the Advanced Member

    Joined:
    May 22, 2009
    Messages:
    52
    Location:
    Moscow
    Country:
    Russia
    The random access is another one advantage when it is required to do frequently. And I agree that RAR isn't suitable for that.

    But a periodical import / export operation isn't a such case

    Meanwhile I also see this format useful it will be used by usb loaders, if it will be. So I have nothing against this format, but I think that at this moment its advantages aren't obvious
     
  17. Kkolko

    Member Kkolko GBAtemp Regular

    Joined:
    Nov 22, 2008
    Messages:
    128
    Country:
    Belgium
    What's the difference between this and adding ISOs to a FAT formatted HDD using Wii Backup Manager? It scrubs the ISOs as well.
     
  18. zx3junglist

    Newcomer zx3junglist Member

    Joined:
    Dec 24, 2009
    Messages:
    24
    Country:
    United States
    Speaking of which, have you gotten any idea if WDF can/will be implemented by any USB loaders? This would be the crowning achievement here, and would save on tons of disk space for those of us who chose not to use WBFS. If not, and if it is feasible, I'd suggest reaching out to some of the devs who are active in the community to see if they see the value in this.

    Thanks
    -ZX
     
  19. PapyJason

    Newcomer PapyJason Newbie

    Joined:
    May 3, 2008
    Messages:
    5
    Country:
    United States
    hi
    Wdf and wbfs files are very similar in term of size so it's already implemented in gx loader and cfg loader , reading directly a wbfs file from a fat or ntfs partition.Beside u have many posts who speak about this new implementation.
     
  20. zx3junglist

    Newcomer zx3junglist Member

    Joined:
    Dec 24, 2009
    Messages:
    24
    Country:
    United States
    I hadn't heard of native support for WDF in either loader. I've got both installed so I suppose I'll give it a try. Are you quite sure about this?

    thanks
    -ZX
     

Share This Page