WBFS files verification on FAT32 parition

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

  1. mike333
    OP

    mike333 GBAtemp Advanced Fan

    Member
    708
    61
    Aug 30, 2010
    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

    Zetta_x The Insane Statistician

    Member
    1,844
    257
    Mar 4, 2010
    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

    ST75 Member

    Newcomer
    24
    2
    Nov 4, 2008
    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

    mike333 GBAtemp Advanced Fan

    Member
    708
    61
    Aug 30, 2010
    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

    Zetta_x The Insane Statistician

    Member
    1,844
    257
    Mar 4, 2010
    United States
    I see, thanks for the clarification and the link for more information!
     
  6. Wiimm

    Wiimm Developer

    Member
    2,170
    379
    Aug 11, 2009
    Gambia, The
    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

    mike333 GBAtemp Advanced Fan

    Member
    708
    61
    Aug 30, 2010
    Poland
    I'm trying hard to find if above tools allows me to check wbfs _files_ on fat32. Help me please.
     
  8. FIX94

    FIX94 Global Moderator

    Global Moderator
    7,241
    9,441
    Dec 3, 2009
    Germany
    ???
    WIT should be able to verify wbfs files...
     
  9. mike333
    OP

    mike333 GBAtemp Advanced Fan

    Member
    708
    61
    Aug 30, 2010
    Poland
    Problem is that I cannot find wbfs word on page mentioned earlier.
     
  10. FIX94

    FIX94 Global Moderator

    Global Moderator
    7,241
    9,441
    Dec 3, 2009
    Germany
    ???
    I tested it now and it works!
    [​IMG]
    I used WIT.
     
  11. mike333
    OP

    mike333 GBAtemp Advanced Fan

    Member
    708
    61
    Aug 30, 2010
    Poland
    Great. Thanks.
     
  12. Blue-K

    Blue-K No right of appeal.

    Member
    2,572
    1
    Jun 21, 2008
    Swaziland
    Helvetica
    And it will work [​IMG]. But keep in mind that can take a looong time for a game.