wfs-tools icon indicating copy to clipboard operation
wfs-tools copied to clipboard

Encryption of decrypted mlc using wfs-reencryptor read out of file

Open LittleStinky123 opened this issue 3 weeks ago • 0 comments

I really appreciate your project, thank you very much for your work so far. To save space when storing my mlc backup I want to compress the plain decrypted version of it to encrypt and restore it in the worst case. So I first dumped it using minute and decrypted it using this command: ./wfs-reencryptor --input '/home/lel/wiiu2/wiiu_mlc.img' --output '/home/lel/wiiu2/wiiu_mlc_dec.img' --input-type mlc --input-otp '/home/lel/wii_u_sd/otp.bin' --input-seeprom '/home/lel/wii_u_sd/seeprom.bin' --output-type plain I have attached the output that I receive from running it.

decryption.zip

I receive a 29.2GB file with apparently 6.36GB used. When trying to encrypt it again using this command: ./wfs-reencryptor --input '/home/lel/wiiu2/wiiu_mlc_dec.img' --output '/home/lel/wiiu2/wiiu_mlc_reenc.img' --input-type plain --output-otp '/home/lel/wii_u_sd/otp.bin' --output-seeprom '/home/lel/wii_u_sd/seeprom.bin' --output-type mlc

I receive this output: Exploring: 0.00 GB | 1 blocks | Exploring: transactions Error: FileDevice: Read out of file.

wfs-info is also similar: Allocator state: Error: FileDevice: Read out of file.

I hope this is not a duplicate of #52

LittleStinky123 avatar Feb 03 '25 22:02 LittleStinky123