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

Rabrec

Member
Newcomer
Joined
Nov 10, 2022
Messages
8
Trophies
0
Age
51
XP
22
Country
Germany
Problem with linux cmake:
zlib-1.2.12.tar.gz is no longer available. cmake process aborted.

Current release: zlib 1.2.13

October 13, 2022

/zlib-1.2.13.tar.gz
 

Rabrec

Member
Newcomer
Joined
Nov 10, 2022
Messages
8
Trophies
0
Age
51
XP
22
Country
Germany
Error: Failed to download from mirror set:
SPAMPROTECTIONMAKESMECRAZYzlib.net/zlib-1.2.12.tar.gz: % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
 

Rabrec

Member
Newcomer
Joined
Nov 10, 2022
Messages
8
Trophies
0
Age
51
XP
22
Country
Germany
there is no zlib in home/username/

I should change the url in the cmake-files to the current version, because the zlib 1.2.12 is no longer available on zlibdotnet
Post automatically merged:

/wfs-tools/vcpkg/ports/zlib/portfile.cmake contains 1.2.12 . changed to 1.2.13
 
Last edited by Rabrec,

EyeKey

Well-Known Member
OP
Member
Joined
Feb 10, 2017
Messages
281
Trophies
0
XP
1,104
Country
Israel
Problem with linux cmake:
zlib-1.2.12.tar.gz is no longer available. cmake process aborted.

Current release: zlib 1.2.13

October 13, 2022

/zlib-1.2.13.tar.gz
Try to update the vcpkg submodule (go to that directory and git checkout master && git pull)
 

Rabrec

Member
Newcomer
Joined
Nov 10, 2022
Messages
8
Trophies
0
Age
51
XP
22
Country
Germany
Thx, that helped to solve the zlib problem. but now: (cmake --preset default)

-- Found Boost: /home/ralf/wfs-tools/build/default/vcpkg_installed/x64-linux/include (found suitable version "1.80.0", minimum required is "1.64.0")
CMake Warning at /usr/share/cmake-3.24/Modules/FindBoost.cmake:1384 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.24/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.24/Modules/FindBoost.cmake:2118 (_Boost_MISSING_DEPENDENCIES)
build/default/vcpkg_installed/x64-linux/share/boost/vcpkg-cmake-wrapper.cmake:11 (_find_package)
vcpkg/scripts/buildsystems/vcpkg.cmake:783 (include)
wfs-extract/CMakeLists.txt:16 (find_package)


and then: (cmake --build --preset release)

[1/19] Building CXX object wfslib/CMak...wfslib.dir/Release/src/directory.cpp.o
FAILED: wfslib/CMakeFiles/wfslib.dir/Release/src/directory.cpp.o
/usr/bin/c++ -DCMAKE_INTDIR=\"Release\" -I/home/ralf/wfs-tools/wfslib/include -I/home/ralf/wfs-tools/wfslib/src -I/home/ralf/wfs-tools/wfslib/include/wfslib -isystem /home/ralf/wfs-tools/build/default/vcpkg_installed/x64-linux/include -O3 -DNDEBUG -Wall -Wextra -Wpedantic -Werror -std=gnu++2a -MD -MT wfslib/CMakeFiles/wfslib.dir/Release/src/directory.cpp.o -MF wfslib/CMakeFiles/wfslib.dir/Release/src/directory.cpp.o.d -o wfslib/CMakeFiles/wfslib.dir/Release/src/directory.cpp.o -c /home/ralf/wfs-tools/wfslib/src/directory.cpp
In file included from /home/ralf/wfs-tools/wfslib/src/area.h:14,
from /home/ralf/wfs-tools/wfslib/src/directory.cpp:10:
/home/ralf/wfs-tools/wfslib/src/block.h:11:10: fatal error: span: Datei oder Verzeichnis nicht gefunden
11 | #include <span>
| ^~~~~~
compilation terminated.
 

Rabrec

Member
Newcomer
Joined
Nov 10, 2022
Messages
8
Trophies
0
Age
51
XP
22
Country
Germany
that was great.

i updated gcc-9.4 to gcc-11


then another exit:

cmake --build --preset release
[17/19] Linking CXX executable wfs-file-injector/Release/wfs-file-injector
FAILED: wfs-file-injector/Release/wfs-file-injector
: && /usr/bin/c++ -O3 -DNDEBUG wfs-file-injector/CMakeFiles/wfs-file-injector.dir/Release/src/main.cpp.o -o wfs-file-injector/Release/wfs-file-injector wfslib/Release/libwfslib.a vcpkg_installed/x64-linux/debug/lib/libboost_program_options.a -static-libstdc++ -static-libgcc -s -lcryptopp-static && :
/usr/bin/ld: -lcryptopp-static kann nicht gefunden werden
collect2: error: ld returned 1 exit status
[18/19] Building CXX object wfs-extract/CMakeFiles/wfs-extract.dir/Release/src/main.cpp.o
ninja: build stopped: subcommand failed.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
try cmake --version in the terminal. you may have to update it. you can update an existing version of cmake with cmake, but I might start over, because sometimes that doesn't work properly.
 

EyeKey

Well-Known Member
OP
Member
Joined
Feb 10, 2017
Messages
281
Trophies
0
XP
1,104
Country
Israel
that was great.

i updated gcc-9.4 to gcc-11


then another exit:

cmake --build --preset release
[17/19] Linking CXX executable wfs-file-injector/Release/wfs-file-injector
FAILED: wfs-file-injector/Release/wfs-file-injector
: && /usr/bin/c++ -O3 -DNDEBUG wfs-file-injector/CMakeFiles/wfs-file-injector.dir/Release/src/main.cpp.o -o wfs-file-injector/Release/wfs-file-injector wfslib/Release/libwfslib.a vcpkg_installed/x64-linux/debug/lib/libboost_program_options.a -static-libstdc++ -static-libgcc -s -lcryptopp-static && :
/usr/bin/ld: -lcryptopp-static kann nicht gefunden werden
collect2: error: ld returned 1 exit status
[18/19] Building CXX object wfs-extract/CMakeFiles/wfs-extract.dir/Release/src/main.cpp.o
ninja: build stopped: subcommand failed.
I had to update the cmake file because of a change in the vcpkg package.
Anyway, I have updated the branches (wfs-tools & wfslib), pull from master and it should work now.
 
  • Like
Reactions: ber71 and godreborn

Rabrec

Member
Newcomer
Joined
Nov 10, 2022
Messages
8
Trophies
0
Age
51
XP
22
Country
Germany
thanks for updating.
cmake runs without errors, but i can't find wfs-fuse. there are libraries (application/x-sharedlib) in the release folders but no application.

sudo wfs-fuse /dev/sdh /mnt --otp otp.bin --seeprom seeprom.bin -o default_permissions,allow_other

sudo: wfs-fuse: unknown command.

I feel lost. Need some further help...
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
@EyeKey , I'm trying to compile this, but I ran into this error with the last step:

FAILED: CMakeFiles/wfslib.dir/Release/src/sub_block_allocator.cpp.o
/usr/bin/c++ -DCRYPTOPP_INCLUDE_PREFIX=cryptopp -DCMAKE_INTDIR=\"Release\" -I/home/godreborn/wfs-tools/wfslib/include -I/home/godreborn/wfs-tools/wfslib/src -I/home/godreborn/wfs-tools/wfslib/include/wfslib -isystem /home/godreborn/wfs-tools/wfslib/build/default/vcpkg_installed/x64-linux/include -O3 -DNDEBUG -Wall -Wextra -Wpedantic -Werror -std=gnu++2a -MD -MT CMakeFiles/wfslib.dir/Release/src/sub_block_allocator.cpp.o -MF CMakeFiles/wfslib.dir/Release/src/sub_block_allocator.cpp.o.d -o CMakeFiles/wfslib.dir/Release/src/sub_block_allocator.cpp.o -c /home/godreborn/wfs-tools/wfslib/src/sub_block_allocator.cpp
In file included from /home/godreborn/wfs-tools/wfslib/src/metadata_block.h:11,
from /home/godreborn/wfs-tools/wfslib/src/sub_block_allocator.h:11,
from /home/godreborn/wfs-tools/wfslib/src/sub_block_allocator.cpp:8:
/home/godreborn/wfs-tools/wfslib/src/block.h:11:10: fatal error: span: No such file or directory
 

EyeKey

Well-Known Member
OP
Member
Joined
Feb 10, 2017
Messages
281
Trophies
0
XP
1,104
Country
Israel
thanks for updating.
cmake runs without errors, but i can't find wfs-fuse. there are libraries (application/x-sharedlib) in the release folders but no application.

sudo wfs-fuse /dev/sdh /mnt --otp otp.bin --seeprom seeprom.bin -o default_permissions,allow_other

sudo: wfs-fuse: unknown command.

I feel lost. Need some further help...
wfs-fuse was disabled in the new build system, as I had to fix few things there.
Anyway I just did it, update wfs-tools and it should work now.
@EyeKey , I'm trying to compile this, but I ran into this error with the last step:

FAILED: CMakeFiles/wfslib.dir/Release/src/sub_block_allocator.cpp.o
/usr/bin/c++ -DCRYPTOPP_INCLUDE_PREFIX=cryptopp -DCMAKE_INTDIR=\"Release\" -I/home/godreborn/wfs-tools/wfslib/include -I/home/godreborn/wfs-tools/wfslib/src -I/home/godreborn/wfs-tools/wfslib/include/wfslib -isystem /home/godreborn/wfs-tools/wfslib/build/default/vcpkg_installed/x64-linux/include -O3 -DNDEBUG -Wall -Wextra -Wpedantic -Werror -std=gnu++2a -MD -MT CMakeFiles/wfslib.dir/Release/src/sub_block_allocator.cpp.o -MF CMakeFiles/wfslib.dir/Release/src/sub_block_allocator.cpp.o.d -o CMakeFiles/wfslib.dir/Release/src/sub_block_allocator.cpp.o -c /home/godreborn/wfs-tools/wfslib/src/sub_block_allocator.cpp
In file included from /home/godreborn/wfs-tools/wfslib/src/metadata_block.h:11,
from /home/godreborn/wfs-tools/wfslib/src/sub_block_allocator.h:11,
from /home/godreborn/wfs-tools/wfslib/src/sub_block_allocator.cpp:8:
/home/godreborn/wfs-tools/wfslib/src/block.h:11:10: fatal error: span: No such file or directory
it is the same error that @Rabrec had. you are probably using an old compiler. The current requirements are gcc 11+ or clang 14+.
 
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
I got it all setup, had to update cmake and gcc+ on ubuntu 22.04.

1668988694266.png

Post automatically merged:

@EyeKey , tried building the windows version, and this is what happened:

1668991193680.png

Post automatically merged:

Nm, the problem was that the recursive folders didn't download
 
Last edited by godreborn,

Rabrec

Member
Newcomer
Joined
Nov 10, 2022
Messages
8
Trophies
0
Age
51
XP
22
Country
Germany
thx for your support. After updating the compiler I could create the wfs-fuse.

Without the specific otp.bin and seeprom.bin of the console that formatted the drive I can't access it nevertheless. Right?
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
thx for your support. After updating the compiler I could create the wfs-fuse.

Without the specific otp.bin and seeprom.bin of the console that formatted the drive I can't access it nevertheless. Right?
Yeah, the otp and seeprom are needed to read a wiiu formatted drive.
 

CrazySquid

Well-Known Member
Member
Joined
May 27, 2017
Messages
232
Trophies
0
XP
862
Country
Hi, is it possible to write to a WFS HDD using wfs-fuse? or is it read-only? I found interesting that NUSSpli is capable of installing titles by reading them in USB:/install , so my idea would be to connect my Wii U HDD to the PC and put the contents I want to install there, using WFS utilities. The reason for this is because my Wii U is picky with SD Cards once I eject them... and it's a pain to make them work again.

Thanks!
 

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...