WBFS files verification on FAT32 parition

Discussion in 'Wii - Backup Loaders' started by mike333, Sep 5, 2010.

Sep 5, 2010
  1. mike333
    OP

    Member mike333 GBAtemp Advanced Fan

    Joined:
    Aug 30, 2010
    Messages:
    706
    Country:
    Poland
    If You are using FAT32 device with wbfs files on it ... and ... you make md5 checksums before uploading these files on device ... then there is one line script for You.
    Code:
    IFS=$'\n'; for a in $( find . -iname "*.md5" -printf "%h\n"); do echo $a;cd "$a";md5sum --quiet -c *.md5; cd ..; done
    Just run it in wbfs directory and go clean house or do something useful.
    Script will find all md5 files and run test against them.
     
  2. Zetta_x

    Member Zetta_x The Insane Statistician

    Joined:
    Mar 4, 2010
    Messages:
    1,844
    Country:
    United States
    As interested I am in your post, I have little to no knowledge to why we would be doing this. Can you explain what an md5 checksum is? I'm pretty smart so you don't really have to dumb down an explanation.
     
  3. ST75

    Newcomer ST75 Member

    Joined:
    Nov 4, 2008
    Messages:
    24
    Country:
    United States
    This is a total guess but I assume that if for some reason you had the md5 checksum for the game BEFORE you added it to the hdd...this script will check the wbfs files AFTER you add them to the hdd and compare the checksum to verify all data.

    Like I said...just a guess.
     
  4. mike333
    OP

    Member mike333 GBAtemp Advanced Fan

    Joined:
    Aug 30, 2010
    Messages:
    706
    Country:
    Poland
    Yup.
    It is intended to run once a week/month/whatever or after strange things made by homebrew.

    No, it won't fix any data corruption. It tells You that particular file was modified.
    Backup is still highly advised, especially when You have big game library.
     
  5. Zetta_x

    Member Zetta_x The Insane Statistician

    Joined:
    Mar 4, 2010
    Messages:
    1,844
    Country:
    United States
    I see, thanks for the clarification and the link for more information!
     
  6. Wiimm

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,052
    Location:
    Germany
    Country:
    Germany
    Wii ISO images have many sha1 check sums on board. The commands wit verify and wwt verify verify these check sums to find out bad dumps.
     
  7. mike333
    OP

    Member mike333 GBAtemp Advanced Fan

    Joined:
    Aug 30, 2010
    Messages:
    706
    Country:
    Poland
    I'm trying hard to find if above tools allows me to check wbfs _files_ on fat32. Help me please.
     
  8. FIX94

    Global Moderator FIX94 Global Moderator

    Joined:
    Dec 3, 2009
    Messages:
    6,546
    Location:
    ???
    Country:
    Germany
    WIT should be able to verify wbfs files...
     
  9. mike333
    OP

    Member mike333 GBAtemp Advanced Fan

    Joined:
    Aug 30, 2010
    Messages:
    706
    Country:
    Poland
    Problem is that I cannot find wbfs word on page mentioned earlier.
     
  10. FIX94

    Global Moderator FIX94 Global Moderator

    Joined:
    Dec 3, 2009
    Messages:
    6,546
    Location:
    ???
    Country:
    Germany
    I tested it now and it works!
    [​IMG]
    I used WIT.
     
  11. mike333
    OP

    Member mike333 GBAtemp Advanced Fan

    Joined:
    Aug 30, 2010
    Messages:
    706
    Country:
    Poland
    Great. Thanks.
     
  12. Blue-K

    Member Blue-K No right of appeal.

    Joined:
    Jun 21, 2008
    Messages:
    2,572
    Location:
    Helvetica
    Country:
    Switzerland
    And it will work [​IMG]. But keep in mind that can take a looong time for a game.
     

Share This Page