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

Deleted member 532277

New Member
Newbie
Joined
Jul 4, 2020
Messages
2
Trophies
0
XP
49
I

--------------------- MERGED ---------------------------

Hello. I am having trouble with my Wii U external hard drive. I am trying to get it to read my external hard drive that I have been storing games on and now when the hd is connected to the console, it asks me to format it. I was recommended this wfsdump for fixing the problem of not recognizing my Wii U and I just need some confirmation. If I dumb this program into the hd for my Wii U, will it then start to recognize the hard drive again?
 

MultiKoopa

Well-Known Member
Member
Joined
Jun 11, 2018
Messages
469
Trophies
0
Age
34
XP
1,104
Country
United States
Hello. Wondering if in 2021 there's anything that lets you modify WFS? I want to copy a large file to a Wii U formatted external USB drive. I know ftpiiu-EVERYWHERE lets you do this, but even with an Ethernet cable attached, transferring a 3 GB file this way would take over 10 hours. Hell, even transferring a smaller 147 MB file takes half an hour.
 

Arnold101

Well-Known Member
Member
Joined
May 19, 2006
Messages
403
Trophies
1
XP
863
Country
United States
my hdd not appear anymore on wiiu. before worked fine, is not recognized :(( how i can fix it? help please

the hdd and usb converter is working fine on pc (no format)
 

wiiuguy12345

New Member
Newbie
Joined
Nov 11, 2021
Messages
1
Trophies
0
Age
24
XP
34
Country
Canada
can someone please explain how to use this? im not good with code. i transfered all my games to my usb drive then i reset my wii u and cant get the games back on it, i think this is the tool i need but i dont know how to use it :(
 

EyeKey

Well-Known Member
OP
Member
Joined
Feb 10, 2017
Messages
281
Trophies
0
XP
1,104
Country
Israel
It is time for v1.0. wfslib v1.0 is released along side WFS Tools v1.0.
I refreshed the code a bit in preparation for the next stage - being able to modify the file system.
At this point I figured out the whole file system, now it is time to implement it.
I don't have an ETA since it is a lot of development, but I hope that it will happen soon.

The biggest part that I have to implement is the free blocks allocator.
There is also the transactions area (which is used to track and store changes of blocks until flush, probably to reduce the risk corruption because of power failure). I figured that part out but luckily it isn't important at all for this tool or any future tool because that part is cleared out every time the Wii U mount the disk. (as expected, any unfinished transaction is lost)

Some of tools that are planned:
* A GUI tool to edit the file system
* Transfer the drive to another console (change the encryption keys)
* chkdsk utility for wfs
 
Last edited by EyeKey,

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
It is time for v1.0. wfslib v1.0 is released along side WFS Tools v1.0.
I refreshed the code a bit in preparation for the next stage - being able to modify the file system.
At this point I figured out the whole file system, now it is time to implement it.
I don't have an ETA since it is a lot of development, but I hope that it will happen soon.

The biggest part that I have to implement is the free blocks allocator.
There is also the transactions area (which is used to track and store changes of blocks until flush, probably to reduce the risk corruption because of power failure). I figured that part out but luckily it isn't important at all for this tool or any future tool because that part is cleared out every time the Wii U mount the disk. (as expected, any unfinished transaction is lost)

Some of tools that are planned:
* A GUI tool to edit the file system
* Transfer the drive to another console (change the encryption keys)
* chkdsk utility for wfs
Visual studio 2015 or 2019? There's a problem with the latter.
 

EyeKey

Well-Known Member
OP
Member
Joined
Feb 10, 2017
Messages
281
Trophies
0
XP
1,104
Country
Israel
Visual studio 2015 or 2019? There's a problem with the latter.
I use Visual Studio 2022. The new code uses some features of C++20, not sure if 2019 support them all, but I think that it should, haven't tested.
(Don't forget to initialize the git submodules, after that you can just open the directory in visual studio and build)

And if you want to build the tools make sure to check out the wfs-tools repository and not wfslib.


BTW maybe because some of this changes there are some performance improvement. I tested with 32GB MLC that contains ~3500 files in ~2.5GB. with the new extractor it took ~10 seconds, with the old one it took about 50% more. (all the files were on SSD)
 
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
Didn't know there was a 2022. 2019 delisted something so I was unable to compile wfs extract with it. It was related to boost iirc.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
It was nuget on 2015, I do remember that. It downloaded the nuget of boost. I might try to compile it once ready. That's how I knew about the uppercase issue. I was able to compile the fixed version
 
  • Like
Reactions: Donnie-Burger

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
@EyeKey , what sdk does visual studio 2022 use? I have microsoft sdk 10, and I think I have 8 or 8.1 somewhere:

1641921502737.png
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
I might try to compile your new version, but first I need to get rid of 2019 vs and replace it with 2022. I just have 2015 installed for old projects as I know wfs-extract is one project that had major problems compiling on 2019. no issues on 2015 as it installed the nugets automatically.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
I had major issues and confusion getting boost to be acknowledged on 2019, but 2015 didn't have this problem. that's where I had no idea what was going on. I think it was boost anyway with wfs extract, I've tried compiling so many different things for different systems just to learn how to do it.
 

EyeKey

Well-Known Member
OP
Member
Joined
Feb 10, 2017
Messages
281
Trophies
0
XP
1,104
Country
Israel
I had major issues and confusion getting boost to be acknowledged on 2019, but 2015 didn't have this problem. that's where I had no idea what was going on. I think it was boost anyway with wfs extract, I've tried compiling so many different things for different systems just to learn how to do it.
Yeah the older version of wfslib was VS2015 only. The new version isn't tied to any specific version, it uses CMake as build system and vcpkg for the required dependencies. It will work on any IDE that support the proper version of CMake (3.20+) and C++ (C++20).
 
Last edited by EyeKey,
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
Yeah the older version of wfslib was VS2015 only. The new version isn't tied to any specific version, it uses CMake for compilation configuration and vcpkg for the required dependencies. It will work on any IDE that support the proper version of CMake (3.20+) and C++ (C++20).
I wasn't able to make it with windows cmd prompt either. that's where it kept nagging about not finding boost. I spent a lot of time trying to figure out boost, and no matter what I did, it wouldn't detect it. I added it to the environmental variables too, so I'm not sure. I had someone look at it, and he said it wasn't possible to compile through cmd prompt and make in windows.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87...