Hacking WiiMC update 1.2.4 ate my HD partition

chin77

Member
OP
Newcomer
Joined
Sep 13, 2009
Messages
11
Trophies
0
Location
Canada
Website
Visit site
XP
56
Country
Canada
Yikes, a bit of a bug here:

I was updating to the latest version of WiiMC (onto my fat32 HD, partition 1), it did so: downloaded then exited the program. then I went back in to WiiMC to check out the changes and I got a message that it couldn't find my usb:\Apps\WiiMC folder. Ok no big deal right?

Turns out my the whole partition got garbled very quickly... almost instantly.
Please have a look at the screenshot. I lost everything. about 270 gigs worth.

http://www.freeimagehosting.net/o566j

Anybody recognize some of the text that my files and folders were replaced with? Windows chckdisk said there was file system errors and insufficient disk space to recover lost data.
It left partition 2 untouched, yay.

I am on the latest d2x beta v9 (r47) I used the recommended base setup on the wiiflow wiki.
the latest Homebrew channel... priiloader... hmmm anything else?

If there's any more info I can provide to help with please let me know.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
looks like the program is writing its settings file over the FAT of the partition. dont do anything else that writes to the partition. hopefully you still have the other copy of the FAT unharmed. get out your hex editor and read those blocks and see if you can find it. if so, you may be able to copy the good one over teh broken one.
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,809
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,800
Country
Cyprus
I had the same thing happen to me, but it was one of the first wiimc updates to stop using IOS202 and start using ahbprot (so a long time ago), and IIRC correctly it was a libogc issue in WiiMC. The fact that it has returned is very scary for me, it really pissed me off when I lost all my data the last time.

I don't really understand what pune is suggesting above, when it happened to me I just reformatted and accepted the fact that I lot a shitload of data. Anyways, listen to pune, if anyone can help you it's him.
 

obcd

Well-Known Member
Member
Joined
Apr 5, 2011
Messages
1,594
Trophies
0
XP
432
Country
Belgium
The fat and fat 32 partition systems use 2 tables to store the location of a file. One is the fat table that basically contains the clusters that are used by files and folders.
The other one is the directory table that contains the names of the files, their length, their attributes and the location of their starting cluster in the fat table.
Since all file and folder names got corrupted, it looks like the directory table got overwritten with something else.
While it's still possible to find the location of every file and folder on the disk when the fat is undamaged, you don't have a reference to their name anymore, and you don't know their exact length either.
I think folders use their own directory table. I am unsure if they use their own fat table as well. (I doubt it.) It would mean that probably you could recover everything located in subfolders. (If you have an undamaged fat table.)
 

chin77

Member
OP
Newcomer
Joined
Sep 13, 2009
Messages
11
Trophies
0
Location
Canada
Website
Visit site
XP
56
Country
Canada
Thank you all, for the responses :)

I knew well enough not to touch write to the disk, without really knowing what sort of work I'd have to do to restore the partition.
Giantpune, I know more Chinese than I do hex editing, I take it there Is two copies of the FAT in there somowhere?
The last and only time I've used a hex editor was in 1992 to get Captain Comic to have infinite lives, the instructions were simple and I had to change only 2 characters:)

It seems that I'd better cut my losses, besides, what did I lose but some custom game covers and time. I have my discs after all.

Funny, I have no reason to play media on the WiiMC nor the space on the disk, I'm just excited to see these apps develop.
I'm a fan of the scene and I wish I could be able contribute, but UP DOWN LEFT RIGHT B A START is all the code I know.

On that thought If any of you guys need some photoshop done I could contribute that.


Thanks again and keep at it. You guys rock!
 

chin77

Member
OP
Newcomer
Joined
Sep 13, 2009
Messages
11
Trophies
0
Location
Canada
Website
Visit site
XP
56
Country
Canada
Haha, I didn't even get that code right:)

Googling getdataback fat32 now.

Haha!, WARNING DO NOT INSTALL THIS PROGRAM ON THE HARD DRIVE YOU ARE TRYING TO RECOVER DATA FROM!

Awesome.

Well, There it goes, I seek hex! ... icon.png......boot.dol...... Nice, looks promising! 4hrs remaining.

Thanks again guys.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    Illinois is working to ban toxic food additives that have been banned for decades in other countries; additives that can be replaced and all those countries still have Skittles and Mountain Dew. Title of the piece: GUBMINT WANTS TO TAKE AWAY YOUR CANDY
  • Veho @ Veho:
    Gee, I wonder if the author is biased?
  • SylverReZ @ SylverReZ:
    @Veho, Sounds and smells like bullshit. They don't give you cancer, and California should know that. I don't get why they stick labels that say "may or may not cause reproductive harm or cancer".
  • Veho @ Veho:
    Arsenic doesn't give you cancer either.
    +2
  • Veho @ Veho:
    California has already banned those additives BTW.
    +2
  • Veho @ Veho:
    Psi has been banned in the state of California.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I am the cancer!!! lol
  • Psionic Roshambo @ Psionic Roshambo:
    Yayyy got arcade games on the Pi working lol
  • Veho @ Veho:
    Cool.
  • Psionic Roshambo @ Psionic Roshambo:
    Now to spend 6 months deleting all the garbage lol
  • Psionic Roshambo @ Psionic Roshambo:
    Mame should be two sets one for preservation of everything and one set for people who just want to play and enjoy the old old ganes
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Shouldn't preservation be legal tho?
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, I always see this dude's shorts, he sounds pretty annoying.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Preservation yeah it absolutely should be legal
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Believe Japan was going to make it legal at some point, according to a Kotaku story.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I swear like 99% of arcade games wouldn't even exist these days outside of MAME the arcade machines are old and busted very few ever saw any sort of home conversion
  • Psionic Roshambo @ Psionic Roshambo:
    We get 37 versions of Super Mario Bros but 0 of Beast Busters
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, There's a lot of obscure Japanese arcade titles that are either lost to time or dumped.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's so unfair, maybe AI can save us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I mean if a company could use AI to do the work of a home conversion for essentially free why not? The rights for some games are completely lost though
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, AI is taking our jobs!
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Just tried the Master System version.... Ugghh
    Psionic Roshambo @ Psionic Roshambo: Just tried the Master System version.... Ugghh