1. snk4ever

    snk4ever Advanced Member
    Newcomer

    Joined:
    May 22, 2006
    Messages:
    54
    Country:
    France
    Hi,

    I tried to install from GIT but the compilation is giving me an error:
    [email protected]:~/wfslib$ make
    make -C wfslib
    make[1]: Entering directory '/home/me/wfslib/wfslib'
    Makefile:21: .depend: No such file or directory
    rm -f .depend
    g++ -c -Wall -Werror -std=c++14 -MM Area.cpp Block.cpp DataBlock.cpp DeviceEncryption.cpp Directory.cpp File.cpp FileDevice.cpp KeyFile.cpp MetadataBlock.cpp Structs.cpp SubBlockAllocator.cpp Wfs.cpp WfsItem.cpp > .depend
    g++ -c -Wall -Werror -std=c++14 Area.cpp -o Area.o
    In file included from Area.cpp:13:0:
    Structs.h:10:37: fatal error: boost/endian/buffers.hpp: No such file or directory
    #include <boost/endian/buffers.hpp>
    ^
    compilation terminated.
    Makefile:13: recipe for target 'Area.o' failed
    make[1]: *** [Area.o] Error 1
    make[1]: Leaving directory '/home/me/wfslib/wfslib'
    Makefile:19: recipe for target 'wfslib' failed
    make: *** [wfslib] Error 2
    I'm on Debian and installed the dependencies mentionned in the github page. Any idea if I'm doing something wrong ?
     
  2. EyeKey

    OP EyeKey GBAtemp Regular
    Member

    Joined:
    Feb 10, 2017
    Messages:
    232
    Country:
    Israel
    You need boost >= 1.60 I think. You are probably not on the newest Debian stable
     
    snk4ever likes this.
  3. snk4ever

    snk4ever Advanced Member
    Newcomer

    Joined:
    May 22, 2006
    Messages:
    54
    Country:
    France
    Thanks, indeed this is on my home server and it's still on the previous stable. I've been too lazy to upgrade. Time to do it.
     
  4. snk4ever

    snk4ever Advanced Member
    Newcomer

    Joined:
    May 22, 2006
    Messages:
    54
    Country:
    France
    I upgraded my Debian, compiled the software but unfortunately I couldn't get my image or my drive to mount.
    My goal was to try to recover my save files from a WiiU drive that the WiiU doesn't recognize anymore after a power outage.

    I guess the partition is too damaged to have any hope to recover my saves.
    I'm leaving the messages I got just in case someone has an idea or there is a forcing option I could try:

    From my image:
    [email protected]:~/wfslib/wfs-fuse$ sudo ./wfs-fuse /data/transmission/WiiU/WiiUHDDImage.dd /mnt/disque/ --otp ../mywiiukeys/otp.bin --seeprom ../mywiiukeys/seeprom.bin
    Error: Wfs: Failed to detect sector size and sectors count​

    From the HDD itself:
    [email protected]:~/wfslib/wfs-fuse$ sudo ./wfs-fuse /dev/sdd /mnt/disque/ --otp ../mywiiukeys/otp.bin --seeprom ../mywiiukeys/seeprom.bin
    Error: Wfs: Failed to detect sector size and sectors count​
     
    Last edited by snk4ever, Nov 3, 2017
  5. FirmeBatera

    FirmeBatera Newbie
    Newcomer

    Joined:
    Dec 5, 2017
    Messages:
    1
    Country:
    Brazil
    wii u comando.png


    I need help to extract the files from the usb drive on my computer, after executing command get message
    . ERRO: Unexpected WFS version (bad Key?)
     
  6. Pachee

    Pachee GBAtemp Fan
    Member

    Joined:
    Nov 3, 2015
    Messages:
    412
    Country:
    United States
    No idea why these failed, everything else was dumped perfectly fine.
    Code:
    Dumping...
    Error: Failed to dump folder "usr\import"
    Error: Failed to read "usr\title\00050000\1fa82000\code\title.fst"
    Error: Failed to read "usr\title\00050000\1fa82000\meta\AboutWiiU00.mp4"
    Error: Failed to read "usr\title\00050000\1fa82000\meta\AboutWiiU01.mp4"
    Error: Failed to read "usr\title\00050000\1fa82000\meta\AboutWiiU05.mp4"
    Error: Failed to read "usr\title\00050000\1fa82000\meta\bootDrcTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82000\meta\bootMovie.h264"
    Error: Failed to read "usr\title\00050000\1fa82000\meta\bootTvTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82000\meta\Manual.bfma"
    Error: Failed to read "usr\title\00050000\1fa82100\code\attractmode_wrapper.rpx"
    Error: Failed to read "usr\title\00050000\1fa82100\code\title.fst"
    Error: Failed to read "usr\title\00050000\1fa82100\code\title.tmd"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\AttractMode00.mp4"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\AttractMode01.mp4"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\AttractMode02.mp4"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\AttractMode03.mp4"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\AttractMode04.mp4"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\AttractMode05.mp4"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\AttractMode06.mp4"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\AttractMode07.mp4"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\bootDrcTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\bootLogoTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\bootMovie.h264"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\bootTvTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\iconTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\Manual.bfma"
    Error: Failed to read "usr\title\00050000\1fa82100\meta\meta.xml"
    Error: Failed to read "usr\title\00050000\1fa82200\code\featured_wrapper.rpx"
    Error: Failed to read "usr\title\00050000\1fa82200\code\title.fst"
    Error: Failed to read "usr\title\00050000\1fa82200\code\title.tmd"
    Error: Failed to read "usr\title\00050000\1fa82200\meta\bootDrcTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82200\meta\bootLogoTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82200\meta\bootMovie.h264"
    Error: Failed to read "usr\title\00050000\1fa82200\meta\bootTvTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82200\meta\Featured.xml"
    Error: Failed to read "usr\title\00050000\1fa82200\meta\iconTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82200\meta\Manual.bfma"
    Error: Failed to read "usr\title\00050000\1fa82200\meta\meta.xml"
    Error: Failed to read "usr\title\00050000\1fa82300\code\newreleases_wrapper.rpx"
    Error: Failed to read "usr\title\00050000\1fa82300\meta\bootDrcTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82300\meta\bootLogoTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82300\meta\bootMovie.h264"
    Error: Failed to read "usr\title\00050000\1fa82300\meta\bootTvTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82300\meta\iconTex.tga"
    Error: Failed to read "usr\title\00050000\1fa82300\meta\meta.xml"
    Error: Failed to read "usr\title\00050000\1fa82300\meta\NewReleases.xml"
    Error: Failed to dump folder "usr\title\00050002"
    Done!
    
     
  7. Drak

    Drak Member
    Newcomer

    Joined:
    Oct 29, 2007
    Messages:
    41
    Country:
    Canada
    Hi, I have a problem and it seems that this tool could help me.

    Here's my topic: https://gbatemp.net/threads/wii-u-external-hard-drive-recovery.494111/

    Here's in my mind what I would need to do after reading this thread:

    DONE - 1- Buy another external drive;
    DONE - 2- Format that Drive with the WII U;
    3- Plug-in old hard drive (unallocated) and scan with software recovery tool;
    4- Get the files otp.bin and seeprom.bin
    5- Download this: https://gbatemp.net/threads/wfsdump-pc-util-for-dumping-wfs-devices-wiiu-file-system.478480/
    6- Put the recovery data at the same place as wfs-extract.exe;
    7- Open command prompt and use the following:

    8- Use the file injector to inject the save folder into the new drive;
    9- Redownload all the games on the new drive.

    I can't seem to get a recovery tool to scan my unallocated drive to find the bin files. I tried Stellar Phoenix Windows Data Recovery, Recuva and testdisk. Testdisk/Stellar don't see the drive. Recuva has the error "cannot determine file system".

    Any help would be appreciated.
     
    Well likes this.
  8. piratesephiroth

    piratesephiroth I wish I could read
    Member

    Joined:
    Sep 5, 2013
    Messages:
    3,429
    Country:
    Brazil
    No recovery tool can recognize the Wii U filesystem.
    What are you trying to recover? If you want save files then maybe you can dump them with wfs-extract, then reinstall the games and inject them back.
     
  9. Drak

    Drak Member
    Newcomer

    Joined:
    Oct 29, 2007
    Messages:
    41
    Country:
    Canada
    Yup I want save files. How do I dump them with wfs-extract though? It says in the thread I need the bin files? Where can I find them?
     
  10. piratesephiroth

    piratesephiroth I wish I could read
    Member

    Joined:
    Sep 5, 2013
    Messages:
    3,429
    Country:
    Brazil
    You need otp.bin and seeprom.bin. You can dump them using the homebrew "WiiU Nand Dumper 0.3".
     
  11. Drak

    Drak Member
    Newcomer

    Joined:
    Oct 29, 2007
    Messages:
    41
    Country:
    Canada
    Ok thanks! My console is not hacked though. Do I need to do some steps to use that homebrew or should I just put the dumper on the sd card and it should work?
     
  12. piratesephiroth

    piratesephiroth I wish I could read
    Member

    Joined:
    Sep 5, 2013
    Messages:
    3,429
    Country:
    Brazil
    You can just set up the fies on the SD and run the homebrew launcher using the only the browser but the sucess rate isn't the greatest. You should install Haxchi for better results.
     
  13. Drak

    Drak Member
    Newcomer

    Joined:
    Oct 29, 2007
    Messages:
    41
    Country:
    Canada
    Hello I installed everything. After following this https://wiiu.hacks.guide/nand-backup, I get an error saying: "Failed to open /otp.bin for writing!"

    Where are the save files located? Do I need to plug in my external hard drive at this point? From my understanding, all the save files should be on the console right?
     
  14. piratesephiroth

    piratesephiroth I wish I could read
    Member

    Joined:
    Sep 5, 2013
    Messages:
    3,429
    Country:
    Brazil
    Check the little lock on the SD card to see if it is write-protected.

    The save files are kept on the same drive that contains the game. If you had them on the USB HDD then you have to connect it to the PC to get the saves (once you have otp.bin and seeprom.bin)
     
    Last edited by piratesephiroth, Feb 27, 2018
  15. Drak

    Drak Member
    Newcomer

    Joined:
    Oct 29, 2007
    Messages:
    41
    Country:
    Canada
    Unfortunately, it's not.... :/
     
  16. piratesephiroth

    piratesephiroth I wish I could read
    Member

    Joined:
    Sep 5, 2013
    Messages:
    3,429
    Country:
    Brazil
    Run Mii Maker and try to save a Mii as photo. See what it says.
     
  17. tivu100

    tivu100 GBAtemp Addict
    Member

    Joined:
    Jun 6, 2015
    Messages:
    2,219
    Country:
    United States
    Can I just use this to dump just one specific save data folder? Got few games on, but only one game (BOTW) that I want to recover the save data.
     
    Last edited by tivu100, Feb 28, 2018
  18. piratesephiroth

    piratesephiroth I wish I could read
    Member

    Joined:
    Sep 5, 2013
    Messages:
    3,429
    Country:
    Brazil
    yes, by default it dumps the whole drive but you can specify a path to dump
     
  19. tivu100

    tivu100 GBAtemp Addict
    Member

    Joined:
    Jun 6, 2015
    Messages:
    2,219
    Country:
    United States
    Can you help with the path for BOTW save? Not sure how to get the path given I don't have Linux to run Wfsfuse
     
    Last edited by tivu100, Feb 28, 2018
  20. piratesephiroth

    piratesephiroth I wish I could read
    Member

    Joined:
    Sep 5, 2013
    Messages:
    3,429
    Country:
    Brazil
    add this to the command line

    --dump-path usr\save\00050000\101c9400
     
    tivu100 likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - wfsdump, dumping, devices