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

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,854
Country
United States
What do you mean? It fails to extract the file?
nfs files are stored in some weird way. can't read them using ftpiiu-everywhere or other tools. when trying to read using wfs-fuse the files are all zero.
NPPWpEA.png
expected content from an extracted download (EGGS/SGGE header):
EPkcu0i.png
also in the FST format they're stored using type 0x02, instead of 0x00 for normal files.
 
Last edited by ihaveahax,

528491

Member
Newcomer
Joined
Apr 2, 2014
Messages
15
Trophies
0
Age
44
XP
149
Country
Croatia
Hello,
I tried dumping from my backup .img file and get the error in cmd:

wfsdump' is not recognized as an internal or external command, operable program or batch file

Please see screenshot here: https://photos.app.goo.gl/wAizPRTzWZGYN6f72

yeah, you need to launch a command prompt with admin privileges. You can do that from Windows Explorer. Just enter the folder where you put the executable, otp.bin and seeprom. bin then open the"File" menu in Windows explorer to do that.
View attachment 95249

Then you determine evertyhing and type in the command.

I used powershell and discovered that my USB drive is \\.\PHYSICALDRIVE2.
My OTP dump is called otp.bin.
My SEEPROM dump is called seeprom.bin.
I want to dump the files in a folder called "dump"

So this is what I typed in:
wfsdump --input \\.\PHYSICALDRIVE2 --otp otp.bin --seeprom seeprom.bin --output dump
 

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
Hello,
I tried dumping from my backup .img file and get the error in cmd:

wfsdump' is not recognized as an internal or external command, operable program or batch file

Please see screenshot here: https://photos.app.goo.gl/wAizPRTzWZGYN6f72
As noted on the github release page, the program was renamed to wfs-extract.exe. That's why you see wfs-extract.exe in your directory list. Enter wfs-extract instead of wfsdump.
 
  • Like
Reactions: 528491

528491

Member
Newcomer
Joined
Apr 2, 2014
Messages
15
Trophies
0
Age
44
XP
149
Country
Croatia
Thank you @nexusmtz . I tried dumping from image files previously created in Win32DiskImager, UBIT and imageusb. I got following results:
My question. Did I get a useable dump folder, even though the .exe stopped working?
 

EyeKey

Well-Known Member
OP
Member
Joined
Feb 10, 2017
Messages
281
Trophies
0
XP
1,105
Country
Israel
Thank you @nexusmtz . I tried dumping from image files previously created in Win32DiskImager, UBIT and imageusb. I got following results:
My question. Did I get a useable dump folder, even though the .exe stopped working?
Hmm, the crash is a bug. Can you run it with --verbos and send me the output privately?
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
@EyeKey
Ah, I had this dumb suspicion when the nfs files couldn't be read but didn't really think Nintendo would do it.

So today I remembered it and took a look at the dump of the encrypted disk and found out I my dumb theory was actually correct...
The nfs files can't be decrypted by your tool because they're stored raw, without any encryption at all.
That makes sense because they're loaded by the Virtual Console's IOS in vWii and Nintendo wouldn't bother to add WFS support to that as well.
 
Last edited by piratesephiroth,
  • Like
Reactions: Pachee

EyeKey

Well-Known Member
OP
Member
Joined
Feb 10, 2017
Messages
281
Trophies
0
XP
1,105
Country
Israel
@EyeKey
Ah, I had this dumb suspicion when the nfs files couldn't be read but didn't really think Nintendo would do it.

So today I remembered it and took a look at the dump of the encrypted disk and found out I my dumb theory was actually correct...
The nfs files can't be decrypted by your tool because they're stored raw, without any encryption at all.
That makes sense because they're loaded by the Virtual Console's IOS in vWii and Nintendo wouldn't bother to add WFS support to that as well.
Nice find. Few weeks ago I figured out that one of the flags in the attributes of a file is whether it is encrypted or not. I can add support for that flag.
Does my program print "Error: Failed to.." when trying to dump those files? because it should have if the decryption has failed.
 
  • Like
Reactions: Pachee

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
Nice find. Few weeks ago I figured out that one of the flags in the attributes of a file is whether it is encrypted or not. I can add support for that flag.
Does my program print "Error: Failed to.." when trying to dump those files? because it should have if the decryption has failed.

yup, "failed to read"

KYtalVS.png
 
Last edited by piratesephiroth,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • realtimesave @ realtimesave:
    I tried to get a slim on a black friday once, but they ran out of stock for the $100 one
  • realtimesave @ realtimesave:
    many ages ago
  • BigOnYa @ BigOnYa:
    You can find them $50-75 nowdays if catch a deal
  • K3Nv2 @ K3Nv2:
    Still remember grabbing this ps4 slim on black Friday for $200 when the msrp was still around 300
    +1
  • BigOnYa @ BigOnYa:
    I went to auction at a mom/pops video game store few months ago that was closing, and bought 11 slims for $200, 1 was DOA but 10 work fine. so hella deal. Already rgh3'ed 8 of them. But most younger kids don't even want anymore, unless it plays stupid "fortnight", or newer shit.
  • K3Nv2 @ K3Nv2:
    Think I'm gonna use my giftcard balance on a nice pair of headphones but $100 is still limited
  • K3Nv2 @ K3Nv2:
    Soundcore q30s are nice but they leak so much sound it sounds like speakers
  • Psionic Roshambo @ Psionic Roshambo:
    Ken spend the 100 on a gun and skii mask, wait for a jogger at the park jewelry money and headphones!
    +1
  • K3Nv2 @ K3Nv2:
    If only Amazon sold guns
  • K3Nv2 @ K3Nv2:
    Fucking dick heads think it's a bad idea to get a gun 2 days later
  • BigOnYa @ BigOnYa:
    Wait, I thought you were the dickhe...nvm
  • K3Nv2 @ K3Nv2:
    I got balls on my chin and two dicks on my forehead sir
    +1
  • BigOnYa @ BigOnYa:
    Sorry, no offense there double dickhead chinballs.
  • K3Nv2 @ K3Nv2:
    Chicks still love it
    +1
  • BigOnYa @ BigOnYa:
    "Mommy, look, what is that?". "That's your soon to be daddy."
    +1
  • K3Nv2 @ K3Nv2:
    That you'll only see once
    +2
  • Veho @ Veho:
    Double dickhead chinballs is still better than double dickhead eyeballs.
  • Veho @ Veho:
    As in, the balls will grow in your eye sockets.
  • K3Nv2 @ K3Nv2:
    I paid 5 grand to get them moved to my chin
    +1
  • Veho @ Veho:
    This you?
  • K3Nv2 @ K3Nv2:
    My hair can't be that cool
    Sonic Angel Knight @ Sonic Angel Knight: JOE! :P