Batch scrub WBFS format ?

Discussion in 'Wii - Hardware, Devices and Utilities' started by jaladhjin, Sep 2, 2016.

  1. jaladhjin
    OP

    jaladhjin Newbie

    Newcomer
    4
    0
    Mar 3, 2014
    United States
    So all my games are in WBFS format in their respective wbfs directory

    I see I could go 1 by 1 with WiiScrubber but I'd be dead of old age before I got through them all.

    Are there any batch solutions.. especially ones with a GUI ? :-)
     
  2. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,045
    8,564
    Oct 27, 2002
    France
    Engine room, learning
    there's no need to scrub a WBFS format, as they already are scrubbed (if not even better).

    Scrubbing is the action of replacing dummy data with identical cluster in order to compress the 4.7GB iso better with rar.
    the result is still 4.7GB, but the "random not useful cluster" are now all the same : 0xFF (or 0x00).
    the .iso is still in a .iso format, and can be burned on a disc or use to convert into any other format.

    wbfs is deleting completely the dummy sectors from the ISO, keeping only the real game's data.
    the result is a smaller size image, you can't make it smaller as there's nothing else to scrub or remove. all the remaining data is the game.


    structure of a Wii disc :
    Update Partition + Some game data + some random cluster + some game data2 + some random cluster + some game data3 + n x random clusters + n game datas + ..... up to 4.7GB

    Scrubbed wii disc :
    update partition + some game data + 00000000000000000 + some game data2 + 00000000000000000 + some game data3 + n x 0000000000 + n x game datas + ..... up to 4.7GB

    wbfs format :
    some game data + game data2 + game data 3 + n x game data up to the end of the game data.
    the update partition and the unneeded random sectors are completely deleted.
     
    jaladhjin likes this.
  3. jaladhjin
    OP

    jaladhjin Newbie

    Newcomer
    4
    0
    Mar 3, 2014
    United States
    What about scrub and or trimming GC isos ?

    I found 1 utility called GameCube tool.. GCIT it seems to go by

    It also seems to want me to go 1 by 1

    I try adding a folder & it won't look even 1 level deep through sub directories.

    Which is problematic since they're all in 1 respective directory as game.iso

    The goal being smaller files of course.. Less space less overall transfer time if I ever move them.

    Tyvm for the WBFS clarification
     
    Last edited by jaladhjin, Sep 2, 2016
  4. Hking0036

    Hking0036 GBAtemp Fan

    Member
    397
    194
    Sep 15, 2015
    United States
    As far as I know you're going to have to go one-by-one for your gamecube isos > .gcm. you can use GCMTool, GCIT, or DMToolbox for that but they all do the same thing as wbfs for gamecube images (at least as far as I know, I've not tried DMToolbox).
     
    jaladhjin likes this.
  5. jaladhjin
    OP

    jaladhjin Newbie

    Newcomer
    4
    0
    Mar 3, 2014
    United States
    What do you mean by iso > gcm ?

    I know they're both game file formats.

    Will scrubbing trimming etc turn iso into gcm ?

    Would there be a bulk way to do gcm ?

    Thanks for the help thus far
     
  6. GerbilSoft

    GerbilSoft GBAtemp Addict

    Member
    2,062
    2,274
    Mar 8, 2012
    United States
    Technically, ".iso" isn't the right file extension for GameCube disc images in the first place. They're not ISO-9660 format. ".gcm" is what the Dolphin SDK uses.

    If you have a bash shell installed (or similar), you could do something like this: (Linux example)
    Code:
    for DISC in *.gcm; do wine discex.exe -c "${DISC}"; done
    
    This will shrink all *.gcm files in the current directory using DiscEX (through wine).
     
    jaladhjin likes this.
  7. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,045
    8,564
    Oct 27, 2002
    France
    Engine room, learning
    remember that scrubbing or trimming a gamecube game image is not always working with emulators or loaders.
    if you want to save space, that's fine, but the game can become unusable with nintendont or devolution. there's no way to do the conversion back to the full image.

    so it's up to you, based on what you want.
    it's best to keep them 1:1 clean iso (or gcm renamed to iso) if you want to use them with a game loader on the console.
    if you convert them anyway, maybe you should keep clean game image on your computer or another drive just in case you need the original, clean, untouched image later.