wbfs_file help

Discussion in 'Wii - Backup Loaders' started by bert02, Dec 26, 2009.

Dec 26, 2009

wbfs_file help by bert02 at 1:06 AM (6,455 Views / 0 Likes) 8 replies

  1. bert02
    OP

    Member bert02 GBAtemp Regular

    Joined:
    Dec 20, 2009
    Messages:
    142
    Country:
    Australia
    Code:
    FAQ:
    
    Q: Can I extract all the games from a WBFS partition to .wbfs files?
    A: Yes, use this command:
    wbfs_file.exe W: extract_wbfs_all D:\wbfs
    Where W: is your WBFS partition and D:\wbfs is the FAT partition on USB
    (or any kind of filesystem on a local hard-disk)
    
    Q: How to copy all .wbfs files back to a WBFS partition?
    A: Open up CMD where your .wbfs files are and run:
    for %i in (*.wbfs) do wbfs_file.exe W: add_wbfs "%i"
    
    Q: How to convert all the .iso files to .wbfs files?
    A: Open up CMD where your iso files are and run:
    for %i in (*.iso) do wbfs_file.exe "%i"
    Note: If you write that in a .bat batch file then
    you have to use %%i instead of %i, like this:
    for %%i in (*.iso) do wbfs_file.exe "%%i"
    
    Q: How to create non-splitted .wbfs files?
    A: Use -s 10000000000 option (or -0 option)
    However note that files larger than 4GB cannot
    be copied to a FAT filesystem partition.
    
    Q: How to re-split the existing 2gb split files to 4gb split files?
    A: Use the included resplit.bat batch file. But first it has to be
    edited with proper locations for the 2 variables on top of the file:
    set WBFS_DIR=I:\wbfs
    set TEMP_DIR=D:\temp
    Only the games that need to be resplit will be processed, so those
    that are already a single .wbfs file will not be touched and those
    that already use the 4gb-32kb split size will also not be touched.
    i can extract the files from the hard drive to wbfs but cant seem to work out how to convert all iso to wbfs


    CODEZ:\Wii\ISO>wbfs_file.exe "%i"
    wbfs_file.exe 2.3 by oggzee, based on wbfs by kwiirk

    Usage: wbfs_file.exe [OPTIONS] [COMMAND [ARGS]]:

    ÂÂGiven just a filename it will convert from iso to wbfs or vice versa:
    ---------------------etc etc----------------------------

    Z:\Wii\ISO>wbfs_file.exe "%i".iso
    Converting %i.iso to .wbfs
    unable to open iso file '%i.iso'


    and have read u can sparse iso so they take up less room
    if i sparse the iso can it be read from the wii (on a ntfs hard drive) or does it need to be wbfs format to be read from the wii
    is a sparsed iso the same size as wbfs?
    and if they are sparsed can i burn the iso image to disc and play it or do i need to unsparse it first

    also splitting files if i dont split them can they still be read from the wii (in wbfs or ntfs hard drive format)
     
  2. jstevenson72

    Newcomer jstevenson72 Advanced Member

    Joined:
    Feb 19, 2007
    Messages:
    77
    Location:
    61240
    Country:
    United States
    bert,

    I can't answer all of the questions, but here is some help (I hope):

    Split files are split, so that they can be put onto a FAT32 partition, which has a size limitation of 4GB per file (hence the default 4GB split). They are still able to be read on the Wii.

    Files that are "split" when put onto a WBFS partition (correct me if I'm wrong people) are put back together as they are "copied" into the WBFS partition by a manager such as "Wii Backup Manager" (which rocks btw).

    A sparse ISO should be very close (if not the same) to the size of a game on a WBFS partition, because usually you only install the "game" portion of the ISO to the partition.

    -- Jake
     
  3. bert02
    OP

    Member bert02 GBAtemp Regular

    Joined:
    Dec 20, 2009
    Messages:
    142
    Country:
    Australia
    is there way to sparse all my isos i have on my computer now or do i have to do seperately as i cant get the convert all from iso to wbfs thing to work i dont know if if it will work for sparse either

    would it be wbfs_file.exe "%i" scrub Z:\Wii\SCRUBBED -g -z
     
  4. oggzee

    Member oggzee GBAtemp Addict

    Joined:
    Apr 11, 2009
    Messages:
    2,335
    Country:
    Slovenia
    Are you leaving this part out: ?

    for %i in (*.iso) do wbfs_file.exe .....
     
  5. mousex

    Member mousex GBAtemp Advanced Fan

    Joined:
    Jan 23, 2009
    Messages:
    987
    Country:
    United States
    Sure he does, he thinks that the parameter is something like "every file" [​IMG]
     
  6. bert02
    OP

    Member bert02 GBAtemp Regular

    Joined:
    Dec 20, 2009
    Messages:
    142
    Country:
    Australia
    what so theres no option to do them all... i have to do singularly...
    eg
    wbfs_file.exe game1.iso scrub Z:WiiSCRUBBED -g -z
    wbfs_file.exe game2.iso scrub Z:WiiSCRUBBED -g -z
    etc....
    u can extract_all out of the wbfs drive....
    i thort that parameter was it searched for any iso file in that folder and done it
    so it cant do multiple conversion or scrub...???

    basiclly im looking for parameters
    convert_all (by searching for any iso file in that folder)
    scrub_all (by searching for any iso file in that folder)
    extract_all_as_iso (instead of extracting as wbfs)
    etc as u have extract_all

    didnt understand it properly with what i was looking for my apologies for wasting your time would it be hard to implement those features??
     
  7. mousex

    Member mousex GBAtemp Advanced Fan

    Joined:
    Jan 23, 2009
    Messages:
    987
    Country:
    United States
    As oggzee wrote, you have to use a for loop, google for "batch scripting for loop".
     
  8. oggzee

    Member oggzee GBAtemp Addict

    Joined:
    Apr 11, 2009
    Messages:
    2,335
    Country:
    Slovenia
    I can keep on replying with the same answer, but I guess you just won't understand...

    You have to use this:

    for %i in (*.iso) do wbfs_file.exe "%i" scrub Z:\Wii\SCRUBBED -g -z

    or:

    for /R %i in (*.iso) do wbfs_file.exe "%i" scrub Z:\Wii\SCRUBBED -g -z

    if you want recursive...
     
  9. bert02
    OP

    Member bert02 GBAtemp Regular

    Joined:
    Dec 20, 2009
    Messages:
    142
    Country:
    Australia
    i feel so stupid now if it was in quotes i might of been able to do it and then figured it out from that

    dont understand batch scripts etc so didnt make sense but now i understand after the googling and reading other scripts
    thanks

    1 last thing how would i copy the sparse iso to another directory as when i copy it it goes back to full size do i have to redo
    for /R %i in (*.iso) do wbfs_file.exe "%i" scrub Z:\Wii\SCRUBBED -z but change the location to W:\wfbs(wii hard drive) and use the scrubbed location as the directory?

    well it worked but dunno if theres a quicker way but doing that i get an error on a few iso files
    Code:
    malloc fst: No error
     

Share This Page