Any Way of Recovering Data From a Botched WBFS Partition?

Discussion in 'Wii - Hacking' started by Trolly, May 14, 2009.

  1. Trolly
    OP

    Member Trolly GBAtemp Advanced Maniac

    Joined:
    Sep 14, 2007
    Messages:
    1,720
    Location:
    Behind you! I know you looked!
    Country:
    United Kingdom
    Using the 'USB Iso Loader GUI by dimok,nIxxx,cyrex', I loaded the app from my HDD on HBC 1.0.2, and then put in my SD and pressed the SD button on the GUI. The GUI buttons all disappeared, and I had to reboot my Wii. I then went back on to the USB Loader, only to see it now can't find my WBFS partition. I've tried using all the different tools and loaders to access it, but all say the partition is not formatted to WBFS.

    It seems something was damaged somehow, so is there any possible way of me recovering this data? Presumably the usual only recovers off NTFS and FAT partitions :\. Thanks for anyone who can help.
     
  2. nitrostemp

    Member nitrostemp GBAtemp Maniac

    Joined:
    Mar 15, 2009
    Messages:
    1,265
    Country:
    Australia
    if you formatted it in windows with WBFS manager you should be able to view the files
     
  3. Trolly
    OP

    Member Trolly GBAtemp Advanced Maniac

    Joined:
    Sep 14, 2007
    Messages:
    1,720
    Location:
    Behind you! I know you looked!
    Country:
    United Kingdom
    Eh? I said that's what I did before, and now it's stopped working, all the apps and tools I've used have said the partition isn't formatted. So presumably something's damaged in there - but it's not the HDD as my other partition is working fine.
     
  4. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,716
    Country:
    United Kingdom
    Easy way: get a usenet subscription and go from there.

    Glib remark over:
    Alas most file recovery tools are not designed for filesystems outside their little group (FAT, NTFS and the common linux ones are usually covered by freeware) as you say.
    Good news is WBFS is fairly simple and and due to the way things work fragmentation is likely to be minimal/non existant and wii isos are fairly predicatable things and better still they are signed (even fakesigning, if present, should be enough to perform error detection courtesy of the cascade effect).
    It would be better if the person doing it knew the WBFS file system through and through, alas I do not and I do not feel like poring through source code right now.
    Before you start if you can do it get a sector by sector image of the drive or partition do so and try and work with that, it is likely a lot of space though so you will probably have to end up doing it "in the real world". If nothing else dump as much as you can from the disc to give you something to work with.
    I am not sure if there is an "protocol overhead" (a header attached to each sector or something) with WBFS but I do not imagine there to be anything special.

    Find yourself 3 things:
    A hex editor capable of reading and writing raw drive sectors, most good ones can do this. If you want to go freeware then:
    http://mh-nexus.de/en/hxd/

    A tool capable of reading raw drive sectors to files on your new disk. Afraid I have none to hand right now, sure you can use a hex editor but it will probably take ages.

    Some way of assembling files. This is simple enough, in windows use "copy /b" (as in "copy /b file1.ext+file2.ext+file3.ext filecomplete.ext") and unix based systems can use "cat".

    Best case scenario:
    something in the boot sector/initial file table/similar got messed up. You correct it/bodge something (format another drive as WBFS and get an idea if you do not fancy/are unable to pull apart source code).

    Getting worse:
    You have irreparable damage to a few things, you can rescue some data but not all of it.
    Here you will have to piece together isos.

    Even worse:
    Extensive random corruption. Not much you can really do that will be worth your time.

    In all three cases you ideally want to be able to lay your hands on the file allocation table, this is basically a long list of what file each sector contains. If not as I mentioned Wii isos are predictable and as such can be probably be pieced back together if they even need that.
     
  5. Trolly
    OP

    Member Trolly GBAtemp Advanced Maniac

    Joined:
    Sep 14, 2007
    Messages:
    1,720
    Location:
    Behind you! I know you looked!
    Country:
    United Kingdom
    Well, there's something perverse about paying for a service that allows you to illegally get stuff for free. But apart from that, jDownloader always works a treat for me - and my ISP Virgin Media has a limit on downloads each month which makes life harder for me (I'll get my dad to switch to a limitless ISP some day).

    This all sounds a bit beyond me, but I may as well give it a go seeing as I have time on my hands, thanks for explaining [​IMG].
     

Share This Page