Hacking wfsdump - PC util for dumping WFS devices (WiiU File System)

Drak

Active Member
Newcomer
Joined
Oct 29, 2007
Messages
41
Trophies
0
Website
Visit site
XP
296
Country
Canada
Buying a new drive won't help because as I said I wouldn't bet on creating a valid first page.

You will have to recover it from your current disk. I will see if I can do something that will help.

Ok thank you so much! Let me know if you need me to extract anything from the disk.
 
  • Like
Reactions: Chuardo

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
Thank you for taking a look at it EyeKey.
it's not the first user who has this problem, so it might help other users too.

But I don't know if it's possible, like you said some important data could be located in the first page/sectors of the disk, and it might be unrecoverable if the first sector is corrupted.

edit:
Oh, I missed the message with the screenshot of your first sector.
I see your first sector has been entirely replaced with a standard boot sector for computer (MBR protected?), even the second sector has been replaced with a GPT data (your drive is 512 bytes/sector).
You might have all your first 34 sectors of the drive deleted, and the 34 last sectors of the drive too as your sector 1 contains the address of the GPT backup (0x74706D8F-0x74706DAF)

It would be hard to recover anything, unless WFSDump can open & decrypt any page independently and doesn't require data located in the header.
 
Last edited by Cyan,
  • Like
Reactions: Chuardo

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,232
Country
Brazil
Also by looking at that pic we can see that the first 2 sectors have been modified by the computer when he connected the drive.
What if many more were lost? What if the drive was actually formatted?
 
Last edited by piratesephiroth,

EyeKey

Well-Known Member
OP
Member
Joined
Feb 10, 2017
Messages
280
Trophies
0
XP
1,098
Country
Israel
I am pretty sure that it won't be hard to find and dump all the areas (aka directories with qouta). If I remember correctly the save of games are not in the main area, so hopefully it will be deep enough inside the disk (if not it is possible to look for regular directories too). I will write something quick later today.

UPDATE: ok, so it seems that the best thing to do is to do it by directories. I think that I need to find all the directories that I can and reconstruct the directories tree as much as I can. It will take a little bit of work, so probably won't happen at least until the weekend.
 
Last edited by EyeKey,
  • Like
Reactions: Chuardo

Drak

Active Member
Newcomer
Joined
Oct 29, 2007
Messages
41
Trophies
0
Website
Visit site
XP
296
Country
Canada
I am pretty sure that it won't be hard to find and dump all the areas (aka directories with qouta). If I remember correctly the save of games are not in the main area, so hopefully it will be deep enough inside the disk (if not it is possible to look for regular directories too). I will write something quick later today.

UPDATE: ok, so it seems that the best thing to do is to do it by directories. I think that I need to find all the directories that I can and reconstruct the directories tree as much as I can. It will take a little bit of work, so probably won't happen at least until the weekend.

Thank you so much for this!!
 

Drak

Active Member
Newcomer
Joined
Oct 29, 2007
Messages
41
Trophies
0
Website
Visit site
XP
296
Country
Canada
I am pretty sure that it won't be hard to find and dump all the areas (aka directories with qouta). If I remember correctly the save of games are not in the main area, so hopefully it will be deep enough inside the disk (if not it is possible to look for regular directories too). I will write something quick later today.

UPDATE: ok, so it seems that the best thing to do is to do it by directories. I think that I need to find all the directories that I can and reconstruct the directories tree as much as I can. It will take a little bit of work, so probably won't happen at least until the weekend.

Hello, did you had some time to look a bit into it?
 

EyeKey

Well-Known Member
OP
Member
Joined
Feb 10, 2017
Messages
280
Trophies
0
XP
1,098
Country
Israel
Ok, I lied :P Did you have any time to look at it?
Yes, I started to work on it. But it seems to be more complex than I thought, because if I ignore areas and only look for directories, I can't know the correct position of the files data if I don't know to which area its belong and where the area is.

If only the start of the disk is bad, so probably only the main area is affected, so finding the directories in the main area is enough, but it is a bit more complex code, so I can't promise when it will be done. (I don't have a lot of time to work on it)
 

Drak

Active Member
Newcomer
Joined
Oct 29, 2007
Messages
41
Trophies
0
Website
Visit site
XP
296
Country
Canada
Yes, I started to work on it. But it seems to be more complex than I thought, because if I ignore areas and only look for directories, I can't know the correct position of the files data if I don't know to which area its belong and where the area is.

If only the start of the disk is bad, so probably only the main area is affected, so finding the directories in the main area is enough, but it is a bit more complex code, so I can't promise when it will be done. (I don't have a lot of time to work on it)

Alright, I won't be touching my WIIU until then. I found a replacement for now, but losing that many hours of save data is still hard to swallow.
 

iiif87

New Member
Newbie
Joined
Apr 26, 2018
Messages
3
Trophies
0
Age
39
XP
73
Country
United States
Alright, I won't be touching my WIIU until then. I found a replacement for now, but losing that many hours of save data is still hard to swallow.

I am wondering were you able to recover the data of your external hard drive, I have the same issue I think
 

iiif87

New Member
Newbie
Joined
Apr 26, 2018
Messages
3
Trophies
0
Age
39
XP
73
Country
United States
Nope, and I haven't touched my hard drive yet, but it seems like EyeKey is working on a solution.
Thanks Hopefully we hear something soon. My hard drive enclosure broke, and after I tried another one the wiiU did not recognize it. I tried on the PC, and I can see the drive with unallocated space.

Someone suggested to me to try and fix the enclosure, the wiiu might read the drive again if I use the same enclosure, anyone think it is worth it?
 

Drak

Active Member
Newcomer
Joined
Oct 29, 2007
Messages
41
Trophies
0
Website
Visit site
XP
296
Country
Canada
Thanks Hopefully we hear something soon. My hard drive enclosure broke, and after I tried another one the wiiU did not recognize it. I tried on the PC, and I can see the drive with unallocated space.

Someone suggested to me to try and fix the enclosure, the wiiu might read the drive again if I use the same enclosure, anyone think it is worth it?

It depends on what the problem is. Check in this topic for a program (don't remember the name) to see if your drive is corrupted. If it's not, then it might be worth it to fix the enclosure indeed!
 

Drak

Active Member
Newcomer
Joined
Oct 29, 2007
Messages
41
Trophies
0
Website
Visit site
XP
296
Country
Canada
Yes, I started to work on it. But it seems to be more complex than I thought, because if I ignore areas and only look for directories, I can't know the correct position of the files data if I don't know to which area its belong and where the area is.

If only the start of the disk is bad, so probably only the main area is affected, so finding the directories in the main area is enough, but it is a bit more complex code, so I can't promise when it will be done. (I don't have a lot of time to work on it)

Hey there, I'd just like to know if this is still on the plate?

Thank you so much for your help, really sincerely.
 

Extremewaffles

Member
Newcomer
Joined
Aug 21, 2018
Messages
13
Trophies
0
Age
38
XP
88
Country
United States
@EyeKey Brilliant work mate. What is it that you are doing with the dumps once taken? You said you haven't modified them (yet). This sounds like cloning or can you actually take info from the dump?

I have an issue with trying to use a wfs hdd on a diff wii than the original that formatted it. Very curious about this unique id that is linked and if you can "simply" find and change that id on the wfs hdd and trick the new wii into recognizing the file system. But also thinking that there is surely far more than just something like an id match/handshake that needs to happen when the wii is powered up with connected hdd. At the very least it would be very interesting to see about copying off files from a wfs hdd dump so I could then use those files again.

see thread how-to-use-save-data-from-one-wfs-ext-hdd-on-another-wii-u 515615 for reference (cannot link you since I'm still new here)
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,232
Country
Brazil
@EyeKey Brilliant work mate. What is it that you are doing with the dumps once taken? You said you haven't modified them (yet). This sounds like cloning or can you actually take info from the dump?

I have an issue with trying to use a wfs hdd on a diff wii than the original that formatted it. Very curious about this unique id that is linked and if you can "simply" find and change that id on the wfs hdd and trick the new wii into recognizing the file system. But also thinking that there is surely far more than just something like an id match/handshake that needs to happen when the wii is powered up with connected hdd. At the very least it would be very interesting to see about copying off files from a wfs hdd dump so I could then use those files again.

see thread how-to-use-save-data-from-one-wfs-ext-hdd-on-another-wii-u 515615 for reference (cannot link you since I'm still new here)
It's' currently impossible to use an HDD on a different Wii U. The only way would to do that be to decrypt it using the old USB key and and then re-encrypt it back using the new one.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @Psionic Roshambo, Hey, VSauce. Where are your fingers?