Hacking WBFS-HD corrupted - any chance to recover?

Deviling Master

Well-Known Member
Newcomer
Joined
Jan 8, 2009
Messages
55
Trophies
0
XP
89
Country
Italy
angus528 said:
I had a similar situation when a wbfs drive i was working with was accidentally formatted. I was able to recover all the games using the instructions below. It is a little tedious and technical but it worked. I was able to recover all the games from the formatted drive.

What you need to do (theoretically) is:

1. Get a hex editor that can handle hard drive partitions. e.g. HxD http://mh-nexus.de/en/
2. Search for "WBFS" - this will probably be at sector 63 or 64
3. Change the 0x00's from byte 12 onwards to 0x01 for however many games you have on the disc.
4. thats it

You can find out how many images you have on there by looking at the successive sectors and counting the disc titles you find.

The first 12 bytes in the partition sector are:
"WBFS"
4 bytes of partition size
4 bytes of housekeeping (size of sector, size of wbfs sector, two pads)

The rest of the sector is the usage table and thats what you need to change.

I have wrongly formatted my wbfs....
I've opened the disk with HxD and this is the screenshot of sector 64


Which is the sector where i have to start modify bytes in 01? (column 0B or 0C?)
 

Kimem

Member
Newcomer
Joined
Dec 26, 2009
Messages
6
Trophies
0
XP
1
Country
this way

tuto05.jpg
 

howardcarter

New Member
Newbie
Joined
Jan 2, 2010
Messages
1
Trophies
0
XP
1
Country
United States
My way to recover a wbfs currupted partition:

1. Using Wii Backup Manager, re-format your wbfs currupted partition.
2. Use wwt -f -p /dev/YOURPARTITION EDIT ACT=0-1000 to turn data visible
3. Using Wii Backup Manager copy all valid data to other partition, drive ...

Works for me.
 

KennyLeam

Active Member
Newcomer
Joined
Nov 15, 2008
Messages
39
Trophies
0
XP
40
Country
United States
Sorry if this sounds stupid but I want to check to be sure: you said you corrupted your drive by powering it off when playing guitar hero...is this a known bug, or was it a fluke? Power off while saving? Loading? What conditions should I be aware to avoid?
 

razor00000

Member
Newcomer
Joined
Dec 28, 2009
Messages
8
Trophies
0
XP
40
Country
Canada
mrMuppet said:
hi,
i corrupted my Games-HD (WBFS/500b) full with 270 games by switching off the power during guitar hero.[...]
You really can corrupt your file by switching off the power during a game? That means with a USB hard drive we need to go to the menu before switching off the power?
 

KennyLeam

Active Member
Newcomer
Joined
Nov 15, 2008
Messages
39
Trophies
0
XP
40
Country
United States
Just one bump on this before I let it go...but I really would like clarification about Guitar hero and corruption...Is there a known issue?
 

razorback78

Well-Known Member
Member
Joined
Aug 3, 2009
Messages
1,183
Trophies
0
Website
Visit site
XP
135
Country
this is the problem for hdd backups. hdd is really not a reliable backup media because once it crashes, all of your precious games also crashes with it. it is still better to have a dvd backup just in case the hdd crashes due to stresses made to it by the wii.
 

agimann

Well-Known Member
Member
Joined
Sep 27, 2008
Messages
104
Trophies
0
Website
Visit site
XP
99
Country
Norway
hi fellow members.

I have a WBFS hdd with 179 games on it and after i installed hermes cios v5 and of being thoughtless enough to load gx loader with cios 222/223 no loaders can read my wbfs hdd anymore. all the games are still on it (400-something gb) what can be done? ive read a bit up on hexediting, can it be easily done as a method to repair or do any of you have any other suggestions?

i wish any of you could help out. thanks again
 

fragthefrog

New Member
Newbie
Joined
Mar 4, 2010
Messages
1
Trophies
0
XP
7
Country
Australia
howardcarter said:
My way to recover a wbfs currupted partition:

1. Using Wii Backup Manager, re-format your wbfs currupted partition.
2. Use wwt -f -p /dev/YOURPARTITION EDIT ACT=0-1000 to turn data visible
3. Using Wii Backup Manager copy all valid data to other partition, drive ...

Works for me.


ty, this worked for me as well, even w/o step 3

my steps: (where j & /dev/sdc2 is my wbfs partition)

1. wbfs j init
2. wwt -f -p /dev/sdc2 EDIT A CT=0-1000
Code:
* MODIFY WBFS partition /dev/sdc2:
ÂÂ> WBFS block size:ÂÂ400000/hex = 4194304 = 4.0 MiB
ÂÂ> WBFS block range:ÂÂ 1..59517
ÂÂ> ISO block range:ÂÂÂÂ0..2241
ÂÂ> Number of discs:ÂÂÂÂ0
ÂÂ> Number of slots:ÂÂ500

ÂÂ- activate discs 0..499.

?
* Summary of WBFS Check: 40901 errors found:
40901 used WBFS sectors marked as free!
ÂÂTotal: 68 discs are invalid!
3. wwt check /dev/sdc2
Code:
 * Summary of WBFS Check: 40901 errors found:
40901 used WBFS sectors marked as free!
ÂÂ Total: 68 discs are invalid!
4. wwt repair /dev/sdc2
CODEREPAIR /dev/sdc2
* Store fixed 'free blocks table' (7680 bytes).

another check didn't show any errors and all the games show up and work again
ty all for this thread, saved me many hours of ripping all my originals again
yaywii.gif
 

sebou_7

New Member
Newbie
Joined
Mar 14, 2010
Messages
2
Trophies
0
XP
1
Country
United States
Hi everyone,
First, sorry for my english, i'm french..
So, my problem is the same of all of you..
I follow instruction but i was stopped a step 1:

1. Using Wii Backup Manager, re-format your wbfs currupted partition.

In fact, for the Second Step, i don't know where to go and what to do..
2. Use wwt -f -p /dev/YOURPARTITION EDIT ACT=0-1000 to turn data visible

Do i have to write CMD on dos, or something like that..??

I'm on Windows XP, and i don't want to loose my wbfs..

Can you help me..??
 

manrikisan

New Member
Newbie
Joined
Mar 14, 2010
Messages
3
Trophies
0
XP
1
Country
United States
I had the same thing happened, my usbloader crashed and now the hard drive cannot be recognized. I downloaded wwt for windows and formatted the drive again using wbfsmanager 3.0 but I can't do step 2 as I cant find the partition. Here is what I get when i run wwt find -l


C:\Users\manrikisan\Documents\Downloads\wwt\bin>wwt find -l

type wbfs d.usage size file (sizes in MiB)
-----------------------------------------------
PLAIN -- 0 0 /dev/sda
PLAIN -- 0 0 /dev/sdb


What do I do?

thanks
 

manrikisan

New Member
Newbie
Joined
Mar 14, 2010
Messages
3
Trophies
0
XP
1
Country
United States
I can now play the games on my wii but I want to back them up using WBFSManager 3.0 and get the following message:

Errors occurred while extracting some games. Hover your mouse over the error icon next to each game to read the error.

Any ideas?

Thanks in advance
 

jjkwii

Member
Newcomer
Joined
Nov 9, 2008
Messages
9
Trophies
0
XP
208
Country
Canada
Great thread guys. Here's my situation. Trying to run a game on Hermes 223 and it blew the first 63 sectors of my 1TB hard drive (442 games). I reformatted with Wii Backup Manager and used WTT to redetect all games on the drive. In sector 64, the 00's were changed to 03's, but I changed them 01's instead. Can anyone clarify what 03's mean?

I see the games in WBFS manager now, but the following worries me (see text in bold):

______________________________________________________________________________
C:\Toolz\WWT>wwt -a EDIT ACT=0-1000
***** wwt: Wiimms WBFS Tool v0.43a r957 cygwin - Dirk Clemens - 2010-04-30 *****

* MODIFY WBFS partition /dev/sdb1:
> WBFS block size: 1000000/hex = 16777216 = 16.0 MiB
> WBFS block range: 1..59615
> ISO block range: 0..560
> Number of discs: 442
> Number of slots: 500

- WOULD activate discs 0..499.

?
* Summary of WBFS Check: 50967 errors found:
50967 used WBFS sectors marked as free!
Total: 442 discs are invalid!



* Use option --force to leave the test mode.
______________________________________________________________________________

The way I understand, my games are residing on disk space that is marked as free, so if I copy a new game, it can overwrite an existing game. I tried a few WWT commands, but cannot get this error straightened out. Any way of fixing this?

Thanks in advance for you help!
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
1. try "wwt analyze /dev/your_drive" to get info. If you get more than the CALC lines there is a good chance to rescue. See docu for "command ANALYZE" in file "wwt.txt"

2. try "wwt init --recover /dev/your_drive" to see, what format would do. If you like that than call same command with option --force.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: It will actually make it worse