Many files cannot be accessed
While browsing contents of an encrypted WFS partition on a USB drive for safekeeping, I realised that under a wfs-fuse mount point, running find displayed many "file does not exist" entries.
It wasn't a fluke, as while verifying a wfs-extract I performed, I only found about 1 GB out of nearly 10 GB worth of Sonic Boom assets, for example. Many missing files, less than a dozen remained.
The USB drive doesn't appear to be corrupted, but I will perform additional tests later on just to make sure.
Does wfs-extract print any error? If running with --verbose, are the missing files showing in the list?
I just tested with the debug parameter, here's a sample of found and not found files when running find on the mount point:
sudo wfs-fuse /dev/sdb /mnt/ext01 --otp /path/to/otp.bin --seeprom /path/to/seeprom.bin -d
...
unique: 2074, opcode: LOOKUP (1), nodeid: 528, insize: 57, pid: 5633
LOOKUP /usr/title/00050000/10111f00/content/data/gamedata/GameComplete.dat
getattr /usr/title/00050000/10111f00/content/data/gamedata/GameComplete.dat
NODEID: 550
unique: 2074, success, outsize: 144
unique: 2076, opcode: LOOKUP (1), nodeid: 528, insize: 54, pid: 5633
LOOKUP /usr/title/00050000/10111f00/content/data/gamedata/GameModes.dat
getattr /usr/title/00050000/10111f00/content/data/gamedata/GameModes.dat
NODEID: 551
unique: 2076, success, outsize: 144
unique: 2078, opcode: LOOKUP (1), nodeid: 528, insize: 61, pid: 5633
LOOKUP /usr/title/00050000/10111f00/content/data/gamedata/GoldenAxe_Tuning.dat
getattr /usr/title/00050000/10111f00/content/data/gamedata/GoldenAxe_Tuning.dat
unique: 2078, error: -2 (No such file or directory), outsize: 16
unique: 2080, opcode: LOOKUP (1), nodeid: 528, insize: 61, pid: 5633
LOOKUP /usr/title/00050000/10111f00/content/data/gamedata/GoldenAxe_Tuning.dat
getattr /usr/title/00050000/10111f00/content/data/gamedata/GoldenAxe_Tuning.dat
unique: 2080, error: -2 (No such file or directory), outsize: 16
...
Also, I tried playing the game from the USB drive on the Wii U, and it ran without any issues. The USB drive doesn't seem to be corrupt or damaged.
wfs-fuse doesn’t output good errors. Can you show part of the output of wfs-extract —verbose with the problematic files?
Oddly enough, it might be that doing it one more time did the trick. There still may be missing files though (Sonic Boom base game backup at 5.7 GB...?), and with --verbose I couldn't spot any errors. Kind of inconclusive, unfortunately.